diff --git a/README.md b/README.md index 797e3050..399cb440 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Refer to the following pricing guides for Cloud, Maps, and CFR for detailed cost > with just a few large scenarios. ## License -Code is license under an MIT-style license, +Code is licensed under an the Apache 2.0 license, see [LICENSE](LICENSE) for details. ## Terms of Use diff --git a/application/backend/app.ts b/application/backend/app.ts index 0703232e..4238cc5c 100644 --- a/application/backend/app.ts +++ b/application/backend/app.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { promises as fs } from "fs"; diff --git a/application/backend/jest.config.ts b/application/backend/jest.config.ts index 5967c271..c9ed2233 100644 --- a/application/backend/jest.config.ts +++ b/application/backend/jest.config.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ diff --git a/application/backend/logging.ts b/application/backend/logging.ts index f8278362..84188a5a 100644 --- a/application/backend/logging.ts +++ b/application/backend/logging.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { pino, Logger } from "pino"; diff --git a/application/backend/package-lock.json b/application/backend/package-lock.json index 40b66483..ab986aa1 100644 --- a/application/backend/package-lock.json +++ b/application/backend/package-lock.json @@ -7,7 +7,7 @@ "": { "name": "fleetrouting-app-backend", "version": "0.0.0", - "license": "MIT", + "license": "Apache-2.0", "dependencies": { "@google-cloud/optimization": "file:./lib/optimization-api/", "@google-cloud/storage": "^5.18.2", diff --git a/application/backend/routes/api.ts b/application/backend/routes/api.ts index 8e38deae..ca6a73ec 100644 --- a/application/backend/routes/api.ts +++ b/application/backend/routes/api.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import url from "url"; diff --git a/application/backend/routes/optimization.ts b/application/backend/routes/optimization.ts index 1166039d..a89d015f 100644 --- a/application/backend/routes/optimization.ts +++ b/application/backend/routes/optimization.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import express, { Response, Request } from "express"; export const router = express.Router(); diff --git a/application/backend/server.ts b/application/backend/server.ts index dcfe570e..77d8725a 100644 --- a/application/backend/server.ts +++ b/application/backend/server.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { app } from "./app" import { log } from "./logging"; diff --git a/application/backend/services/optimization-status-codes.ts b/application/backend/services/optimization-status-codes.ts index 18379b11..8f974892 100644 --- a/application/backend/services/optimization-status-codes.ts +++ b/application/backend/services/optimization-status-codes.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // grpc core status codes // (https://grpc.github.io/grpc/core/md_doc_statuscodes.html) diff --git a/application/backend/services/optimization.ts b/application/backend/services/optimization.ts index 9bb24b8b..6c6e1847 100644 --- a/application/backend/services/optimization.ts +++ b/application/backend/services/optimization.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { v1 } from "@google-cloud/optimization"; import { google } from "@google-cloud/optimization/build/protos/protos"; diff --git a/application/backend/services/storage.ts b/application/backend/services/storage.ts index 8b333267..8e9bbc43 100644 --- a/application/backend/services/storage.ts +++ b/application/backend/services/storage.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import fs, { constants } from "fs"; import path from "path"; diff --git a/application/backend/tests/app.test.ts b/application/backend/tests/app.test.ts index 75d853ee..3d6ebc4c 100644 --- a/application/backend/tests/app.test.ts +++ b/application/backend/tests/app.test.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import request from "supertest"; import { describe, expect, test } from "@jest/globals"; diff --git a/application/backend/tests/mocks/optimization-api.mock.ts b/application/backend/tests/mocks/optimization-api.mock.ts index cec8bea4..ca6709eb 100644 --- a/application/backend/tests/mocks/optimization-api.mock.ts +++ b/application/backend/tests/mocks/optimization-api.mock.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import fs from "fs"; import path from "path"; diff --git a/application/backend/tests/optimization.test.ts b/application/backend/tests/optimization.test.ts index b20567c2..1c6357b8 100644 --- a/application/backend/tests/optimization.test.ts +++ b/application/backend/tests/optimization.test.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import request from "supertest"; import { describe, expect, test } from "@jest/globals"; diff --git a/application/backend/tests/storage.test.ts b/application/backend/tests/storage.test.ts index de8f0477..90886934 100644 --- a/application/backend/tests/storage.test.ts +++ b/application/backend/tests/storage.test.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { describe, expect, test } from "@jest/globals"; import request from "supertest"; diff --git a/application/frontend/app.yaml b/application/frontend/app.yaml index 90a3617d..ba733df7 100644 --- a/application/frontend/app.yaml +++ b/application/frontend/app.yaml @@ -1,8 +1,17 @@ -# Copyright 2022 Google LLC +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style -# license that can be found in the LICENSE file or at -# https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + runtime: nodejs12 handlers: diff --git a/application/frontend/e2e/src/app.e2e-spec.ts b/application/frontend/e2e/src/app.e2e-spec.ts index 4cfc2d49..ba89ce7d 100644 --- a/application/frontend/e2e/src/app.e2e-spec.ts +++ b/application/frontend/e2e/src/app.e2e-spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { AppPage } from './app.po'; import { browser, logging, ExpectedConditions as EC } from 'protractor'; diff --git a/application/frontend/e2e/src/app.po.ts b/application/frontend/e2e/src/app.po.ts index f8659111..a59d83f1 100644 --- a/application/frontend/e2e/src/app.po.ts +++ b/application/frontend/e2e/src/app.po.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { browser, element, by } from 'protractor'; diff --git a/application/frontend/e2e/src/upload/upload.e2e-spec.ts b/application/frontend/e2e/src/upload/upload.e2e-spec.ts index 8c585324..03a0ea26 100644 --- a/application/frontend/e2e/src/upload/upload.e2e-spec.ts +++ b/application/frontend/e2e/src/upload/upload.e2e-spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as path from 'path'; import { browser, ExpectedConditions as EC, logging } from 'protractor'; diff --git a/application/frontend/e2e/src/upload/upload.po.ts b/application/frontend/e2e/src/upload/upload.po.ts index 8eacd019..cfc63bab 100644 --- a/application/frontend/e2e/src/upload/upload.po.ts +++ b/application/frontend/e2e/src/upload/upload.po.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { by, element } from 'protractor'; import { AppPage } from '../app.po'; diff --git a/application/frontend/e2e/src/welcome/welcome.e2e-spec.ts b/application/frontend/e2e/src/welcome/welcome.e2e-spec.ts index 2335671c..84eb74f1 100644 --- a/application/frontend/e2e/src/welcome/welcome.e2e-spec.ts +++ b/application/frontend/e2e/src/welcome/welcome.e2e-spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { WelcomePage } from './welcome.po'; import { browser, logging, ExpectedConditions as EC } from 'protractor'; diff --git a/application/frontend/e2e/src/welcome/welcome.po.ts b/application/frontend/e2e/src/welcome/welcome.po.ts index 2a3f73bc..96833b21 100644 --- a/application/frontend/e2e/src/welcome/welcome.po.ts +++ b/application/frontend/e2e/src/welcome/welcome.po.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { browser, by, element } from 'protractor'; import { AppPage } from '../app.po'; diff --git a/application/frontend/package-lock.json b/application/frontend/package-lock.json index 3a083d2e..4ed70028 100644 --- a/application/frontend/package-lock.json +++ b/application/frontend/package-lock.json @@ -7,7 +7,7 @@ "": { "name": "fleetrouting-app-frontend", "version": "0.0.0", - "license": "MIT", + "license": "Apache-2.0", "dependencies": { "@angular/animations": "14.3.0", "@angular/cdk": "14.2.7", diff --git a/application/frontend/src/app/app-initializer.ts b/application/frontend/src/app/app-initializer.ts index 2d24aa54..fa2572e2 100644 --- a/application/frontend/src/app/app-initializer.ts +++ b/application/frontend/src/app/app-initializer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { select, Store } from '@ngrx/store'; import { asyncScheduler, race, scheduled, zip } from 'rxjs'; diff --git a/application/frontend/src/app/app-routing.module.ts b/application/frontend/src/app/app-routing.module.ts index 8147a947..f05d0c3e 100644 --- a/application/frontend/src/app/app-routing.module.ts +++ b/application/frontend/src/app/app-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { Routes, RouterModule, PreloadAllModules } from '@angular/router'; diff --git a/application/frontend/src/app/app.module.ts b/application/frontend/src/app/app.module.ts index f0f78dd4..4e0bc27e 100644 --- a/application/frontend/src/app/app.module.ts +++ b/application/frontend/src/app/app.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { BrowserModule } from '@angular/platform-browser'; import { NgModule, APP_INITIALIZER } from '@angular/core'; diff --git a/application/frontend/src/app/core/actions/config.actions.ts b/application/frontend/src/app/core/actions/config.actions.ts index c6701364..4cdb992a 100644 --- a/application/frontend/src/app/core/actions/config.actions.ts +++ b/application/frontend/src/app/core/actions/config.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Timezone } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/actions/dispatcher-api.actions.ts b/application/frontend/src/app/core/actions/dispatcher-api.actions.ts index a9da17c4..8ef5e2eb 100644 --- a/application/frontend/src/app/core/actions/dispatcher-api.actions.ts +++ b/application/frontend/src/app/core/actions/dispatcher-api.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Scenario } from '../models'; diff --git a/application/frontend/src/app/core/actions/dispatcher.actions.ts b/application/frontend/src/app/core/actions/dispatcher.actions.ts index 9623d6ba..af278dcb 100644 --- a/application/frontend/src/app/core/actions/dispatcher.actions.ts +++ b/application/frontend/src/app/core/actions/dispatcher.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { diff --git a/application/frontend/src/app/core/actions/documentation.actions.ts b/application/frontend/src/app/core/actions/documentation.actions.ts index 26c4d8d5..16099461 100644 --- a/application/frontend/src/app/core/actions/documentation.actions.ts +++ b/application/frontend/src/app/core/actions/documentation.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/download.actions.ts b/application/frontend/src/app/core/actions/download.actions.ts index 632cca95..a89d0b8e 100644 --- a/application/frontend/src/app/core/actions/download.actions.ts +++ b/application/frontend/src/app/core/actions/download.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/edit-visit.actions.ts b/application/frontend/src/app/core/actions/edit-visit.actions.ts index 90289924..a580fc66 100644 --- a/application/frontend/src/app/core/actions/edit-visit.actions.ts +++ b/application/frontend/src/app/core/actions/edit-visit.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ShipmentRoute, Visit } from '../models'; diff --git a/application/frontend/src/app/core/actions/index.ts b/application/frontend/src/app/core/actions/index.ts index 2f94da9c..24f3d33e 100644 --- a/application/frontend/src/app/core/actions/index.ts +++ b/application/frontend/src/app/core/actions/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as ConfigActions from './config.actions'; import * as DispatcherApiActions from './dispatcher-api.actions'; diff --git a/application/frontend/src/app/core/actions/init.actions.ts b/application/frontend/src/app/core/actions/init.actions.ts index de0f1832..2f343d23 100644 --- a/application/frontend/src/app/core/actions/init.actions.ts +++ b/application/frontend/src/app/core/actions/init.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/main-nav.actions.ts b/application/frontend/src/app/core/actions/main-nav.actions.ts index 2fa8d15d..5265f02c 100644 --- a/application/frontend/src/app/core/actions/main-nav.actions.ts +++ b/application/frontend/src/app/core/actions/main-nav.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/map-api.actions.ts b/application/frontend/src/app/core/actions/map-api.actions.ts index b0402250..ed83b133 100644 --- a/application/frontend/src/app/core/actions/map-api.actions.ts +++ b/application/frontend/src/app/core/actions/map-api.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { MapConfig } from '../models'; diff --git a/application/frontend/src/app/core/actions/map.actions.ts b/application/frontend/src/app/core/actions/map.actions.ts index 24533c6f..1b2c76c2 100644 --- a/application/frontend/src/app/core/actions/map.actions.ts +++ b/application/frontend/src/app/core/actions/map.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/metadata-control-bar.actions.ts b/application/frontend/src/app/core/actions/metadata-control-bar.actions.ts index 285de6fd..20568cc1 100644 --- a/application/frontend/src/app/core/actions/metadata-control-bar.actions.ts +++ b/application/frontend/src/app/core/actions/metadata-control-bar.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/actions/points-of-interest.actions.ts b/application/frontend/src/app/core/actions/points-of-interest.actions.ts index 04b0f042..6fc84249 100644 --- a/application/frontend/src/app/core/actions/points-of-interest.actions.ts +++ b/application/frontend/src/app/core/actions/points-of-interest.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { diff --git a/application/frontend/src/app/core/actions/post-solve-control-bar.actions.ts b/application/frontend/src/app/core/actions/post-solve-control-bar.actions.ts index 8f91b724..675412c8 100644 --- a/application/frontend/src/app/core/actions/post-solve-control-bar.actions.ts +++ b/application/frontend/src/app/core/actions/post-solve-control-bar.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/post-solve-metrics.actions.ts b/application/frontend/src/app/core/actions/post-solve-metrics.actions.ts index 410b707d..66c05831 100644 --- a/application/frontend/src/app/core/actions/post-solve-metrics.actions.ts +++ b/application/frontend/src/app/core/actions/post-solve-metrics.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/pre-solve-shipment.actions.ts b/application/frontend/src/app/core/actions/pre-solve-shipment.actions.ts index 913217c5..a6ee7f13 100644 --- a/application/frontend/src/app/core/actions/pre-solve-shipment.actions.ts +++ b/application/frontend/src/app/core/actions/pre-solve-shipment.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/actions/pre-solve-vehicle-operator.actions.ts b/application/frontend/src/app/core/actions/pre-solve-vehicle-operator.actions.ts index 3ed4799b..dc0ad7f9 100644 --- a/application/frontend/src/app/core/actions/pre-solve-vehicle-operator.actions.ts +++ b/application/frontend/src/app/core/actions/pre-solve-vehicle-operator.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/actions/pre-solve-vehicle.actions.ts b/application/frontend/src/app/core/actions/pre-solve-vehicle.actions.ts index 523ae72b..40cdb1da 100644 --- a/application/frontend/src/app/core/actions/pre-solve-vehicle.actions.ts +++ b/application/frontend/src/app/core/actions/pre-solve-vehicle.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/actions/request-settings.actions.ts b/application/frontend/src/app/core/actions/request-settings.actions.ts index 1c10c3ce..c3cde515 100644 --- a/application/frontend/src/app/core/actions/request-settings.actions.ts +++ b/application/frontend/src/app/core/actions/request-settings.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { IDuration, IConstraintRelaxation } from '../models'; diff --git a/application/frontend/src/app/core/actions/routes-chart.actions.spec.ts b/application/frontend/src/app/core/actions/routes-chart.actions.spec.ts index afd84e92..8ef86523 100644 --- a/application/frontend/src/app/core/actions/routes-chart.actions.spec.ts +++ b/application/frontend/src/app/core/actions/routes-chart.actions.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromRoutesChart from './routes-chart.actions'; diff --git a/application/frontend/src/app/core/actions/routes-chart.actions.ts b/application/frontend/src/app/core/actions/routes-chart.actions.ts index f66a0784..3d177061 100644 --- a/application/frontend/src/app/core/actions/routes-chart.actions.ts +++ b/application/frontend/src/app/core/actions/routes-chart.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/actions/routes-metadata.actions.ts b/application/frontend/src/app/core/actions/routes-metadata.actions.ts index b5580e98..fefa2961 100644 --- a/application/frontend/src/app/core/actions/routes-metadata.actions.ts +++ b/application/frontend/src/app/core/actions/routes-metadata.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/shipment-model.actions.ts b/application/frontend/src/app/core/actions/shipment-model.actions.ts index e5aee921..159c50dd 100644 --- a/application/frontend/src/app/core/actions/shipment-model.actions.ts +++ b/application/frontend/src/app/core/actions/shipment-model.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { diff --git a/application/frontend/src/app/core/actions/shipment-route.actions.ts b/application/frontend/src/app/core/actions/shipment-route.actions.ts index 0a188782..61d08c22 100644 --- a/application/frontend/src/app/core/actions/shipment-route.actions.ts +++ b/application/frontend/src/app/core/actions/shipment-route.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Update } from '@ngrx/entity'; import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/shipment.actions.ts b/application/frontend/src/app/core/actions/shipment.actions.ts index d39ab46f..fe6a9297 100644 --- a/application/frontend/src/app/core/actions/shipment.actions.ts +++ b/application/frontend/src/app/core/actions/shipment.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Update } from '@ngrx/entity'; diff --git a/application/frontend/src/app/core/actions/shipments-metadata.actions.ts b/application/frontend/src/app/core/actions/shipments-metadata.actions.ts index 37b8c153..e012b2be 100644 --- a/application/frontend/src/app/core/actions/shipments-metadata.actions.ts +++ b/application/frontend/src/app/core/actions/shipments-metadata.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/storage-api.actions.ts b/application/frontend/src/app/core/actions/storage-api.actions.ts index de3d4be5..b6764672 100644 --- a/application/frontend/src/app/core/actions/storage-api.actions.ts +++ b/application/frontend/src/app/core/actions/storage-api.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/ui.actions.ts b/application/frontend/src/app/core/actions/ui.actions.ts index a6f54462..a23c3072 100644 --- a/application/frontend/src/app/core/actions/ui.actions.ts +++ b/application/frontend/src/app/core/actions/ui.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/undo-redo.actions.ts b/application/frontend/src/app/core/actions/undo-redo.actions.ts index b3fcda02..4e1ab949 100644 --- a/application/frontend/src/app/core/actions/undo-redo.actions.ts +++ b/application/frontend/src/app/core/actions/undo-redo.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Page } from '../models'; diff --git a/application/frontend/src/app/core/actions/upload.actions.ts b/application/frontend/src/app/core/actions/upload.actions.ts index e05c0613..43e5e7ba 100644 --- a/application/frontend/src/app/core/actions/upload.actions.ts +++ b/application/frontend/src/app/core/actions/upload.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/actions/validation-result.actions.ts b/application/frontend/src/app/core/actions/validation-result.actions.ts index 260d558a..ce3b6d19 100644 --- a/application/frontend/src/app/core/actions/validation-result.actions.ts +++ b/application/frontend/src/app/core/actions/validation-result.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { ValidationResult } from '../models'; diff --git a/application/frontend/src/app/core/actions/vehicle-operator.actions.ts b/application/frontend/src/app/core/actions/vehicle-operator.actions.ts index e9ac872c..31e69482 100644 --- a/application/frontend/src/app/core/actions/vehicle-operator.actions.ts +++ b/application/frontend/src/app/core/actions/vehicle-operator.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Update } from '@ngrx/entity'; diff --git a/application/frontend/src/app/core/actions/vehicle.actions.ts b/application/frontend/src/app/core/actions/vehicle.actions.ts index f17ae246..0bd5c90f 100644 --- a/application/frontend/src/app/core/actions/vehicle.actions.ts +++ b/application/frontend/src/app/core/actions/vehicle.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Update } from '@ngrx/entity'; diff --git a/application/frontend/src/app/core/actions/visit-request.actions.ts b/application/frontend/src/app/core/actions/visit-request.actions.ts index 28446b93..7a2f9463 100644 --- a/application/frontend/src/app/core/actions/visit-request.actions.ts +++ b/application/frontend/src/app/core/actions/visit-request.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction, props } from '@ngrx/store'; import { Update } from '@ngrx/entity'; diff --git a/application/frontend/src/app/core/actions/visit.actions.ts b/application/frontend/src/app/core/actions/visit.actions.ts index a38f1a57..b5d07538 100644 --- a/application/frontend/src/app/core/actions/visit.actions.ts +++ b/application/frontend/src/app/core/actions/visit.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Update } from '@ngrx/entity'; import { createAction, props } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.spec.ts index fa1addc8..5d5e4991 100644 --- a/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.ts b/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.ts index 3e0c84c6..12b5e4c5 100644 --- a/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-documentation-dialog/base-documentation-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClient } from '@angular/common/http'; import { marked } from 'marked'; diff --git a/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.spec.ts index 2d1349b4..bc4e71aa 100644 --- a/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.ts b/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.ts index a9d8e4a8..1e128399 100644 --- a/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-edit-shipment-dialog/base-edit-shipment-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DomPortal } from '@angular/cdk/portal'; import { diff --git a/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.spec.ts index 9be41636..cb6c08b7 100644 --- a/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.ts b/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.ts index 0b129023..5b64e98b 100644 --- a/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-edit-vehicle-dialog/base-edit-vehicle-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { COMMA, ENTER } from '@angular/cdk/keycodes'; import { diff --git a/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.spec.ts index 16ccdb25..3e043458 100644 --- a/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.ts b/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.ts index 5b8fced4..74e132b8 100644 --- a/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-edit-vehicle-operator-dialog/base-edit-vehicle-operator-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.spec.ts index 2f988a55..cc79061f 100644 --- a/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.ts b/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.ts index b0900b01..8dc59e54 100644 --- a/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-edit-visit-dialog/base-edit-visit-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { Shipment, Vehicle, Visit, VisitRequest } from 'src/app/core/models'; diff --git a/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.spec.ts b/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.spec.ts index d2318b53..f9d38fb8 100644 --- a/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.spec.ts +++ b/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.ts b/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.ts index c69c57df..e838d5bc 100644 --- a/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.ts +++ b/application/frontend/src/app/core/components/base-generate-button/base-generate-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.spec.ts b/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.spec.ts index bdd6118a..b21616c8 100644 --- a/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.spec.ts +++ b/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.ts b/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.ts index 91f1b092..bced7ddf 100644 --- a/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.ts +++ b/application/frontend/src/app/core/components/base-main-nav/base-main-nav.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.spec.ts b/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.spec.ts index 5a6b1238..fbec394b 100644 --- a/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.spec.ts +++ b/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.ts b/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.ts index fe075d9f..dec5f195 100644 --- a/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.ts +++ b/application/frontend/src/app/core/components/base-post-solve-message/base-post-solve-message.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, Input } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.spec.ts b/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.spec.ts index 69a00511..cb36ef62 100644 --- a/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.spec.ts +++ b/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.ts b/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.ts index 9566a363..090d2c1b 100644 --- a/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.ts +++ b/application/frontend/src/app/core/components/base-post-solve-metrics/base-post-solve-metrics.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.spec.ts b/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.spec.ts index f8e38a1f..9d8992c4 100644 --- a/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.spec.ts +++ b/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.ts b/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.ts index 0ccb0054..43c784c0 100644 --- a/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.ts +++ b/application/frontend/src/app/core/components/base-pre-solve-message/base-pre-solve-message.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.spec.ts index e247f0ff..e353b483 100644 --- a/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.ts b/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.ts index 6c3e4c66..f9e385ab 100644 --- a/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-regenerate-confirmation-dialog/base-regenerate-confirmation-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.spec.ts b/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.spec.ts index bf66a82a..90b909d9 100644 --- a/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.spec.ts +++ b/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.ts b/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.ts index 7702c0f4..4866f8ac 100644 --- a/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.ts +++ b/application/frontend/src/app/core/components/base-shipments-kpis/base-shipments-kpis.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { ShipmentsKpis } from '../../models'; diff --git a/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.spec.ts index 0adf2e70..9292d61c 100644 --- a/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.ts b/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.ts index 81401d97..1961c90b 100644 --- a/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-storage-api-save-load-dialog/base-storage-api-save-load-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.spec.ts b/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.spec.ts index b265f6a0..4e03d08c 100644 --- a/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.ts b/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.ts index dbeb59a0..9ef0de49 100644 --- a/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.ts +++ b/application/frontend/src/app/core/components/base-validation-result-dialog/base-validation-result-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { Shipment, Vehicle } from '../../models'; diff --git a/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.spec.ts b/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.spec.ts index 03da5986..046f4d09 100644 --- a/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.spec.ts +++ b/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; diff --git a/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.ts b/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.ts index dc13512c..849ef578 100644 --- a/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.ts +++ b/application/frontend/src/app/core/components/base-vehicle-info-window/base-vehicle-info-window.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { Vehicle } from '../../models'; diff --git a/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.spec.ts b/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.spec.ts index f7be9912..eea53aff 100644 --- a/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.spec.ts +++ b/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.ts b/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.ts index 4de60658..fd83c063 100644 --- a/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.ts +++ b/application/frontend/src/app/core/components/base-vehicle-operators-kpis/base-vehicle-operators-kpis.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, Input } from '@angular/core'; import { VehicleOperatorsKpis } from '../../models'; diff --git a/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.spec.ts b/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.spec.ts index 3e94ff8b..62a0179f 100644 --- a/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.spec.ts +++ b/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.ts b/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.ts index e8b3899a..013506fb 100644 --- a/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.ts +++ b/application/frontend/src/app/core/components/base-vehicles-kpis/base-vehicles-kpis.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { VehiclesKpis } from '../../models'; diff --git a/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.spec.ts b/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.spec.ts index 989c434d..e4cd952d 100644 --- a/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.spec.ts +++ b/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.ts b/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.ts index 1737f3fb..562bc2c7 100644 --- a/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.ts +++ b/application/frontend/src/app/core/components/base-visit-request-info-window/base-visit-request-info-window.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { formatDate } from '@angular/common'; import { diff --git a/application/frontend/src/app/core/components/body/body.component.spec.ts b/application/frontend/src/app/core/components/body/body.component.spec.ts index 98a671cf..2f66dfae 100644 --- a/application/frontend/src/app/core/components/body/body.component.spec.ts +++ b/application/frontend/src/app/core/components/body/body.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/body/body.component.ts b/application/frontend/src/app/core/components/body/body.component.ts index 17f1e073..a699a1b1 100644 --- a/application/frontend/src/app/core/components/body/body.component.ts +++ b/application/frontend/src/app/core/components/body/body.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.spec.ts b/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.spec.ts index 223c605f..24ce820b 100644 --- a/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.spec.ts +++ b/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.ts b/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.ts index 56e52e89..18ea587b 100644 --- a/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.ts +++ b/application/frontend/src/app/core/components/confirm-bulk-edit-dialog/confirm-bulk-edit-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, Inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.spec.ts b/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.spec.ts index 95fb5c30..9a3d7a5e 100644 --- a/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.spec.ts +++ b/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.ts b/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.ts index 756ea8db..2568fc7e 100644 --- a/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.ts +++ b/application/frontend/src/app/core/components/hide-map-button/hide-map-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/components/index.ts b/application/frontend/src/app/core/components/index.ts index bfe49e64..790b8d18 100644 --- a/application/frontend/src/app/core/components/index.ts +++ b/application/frontend/src/app/core/components/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-documentation-dialog/base-documentation-dialog.component'; export * from './base-edit-shipment-dialog/base-edit-shipment-dialog.component'; diff --git a/application/frontend/src/app/core/components/logo/logo.component.spec.ts b/application/frontend/src/app/core/components/logo/logo.component.spec.ts index 8fab67d6..7efc7f90 100644 --- a/application/frontend/src/app/core/components/logo/logo.component.spec.ts +++ b/application/frontend/src/app/core/components/logo/logo.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; diff --git a/application/frontend/src/app/core/components/logo/logo.component.ts b/application/frontend/src/app/core/components/logo/logo.component.ts index ed3d95ed..7dfe4493 100644 --- a/application/frontend/src/app/core/components/logo/logo.component.ts +++ b/application/frontend/src/app/core/components/logo/logo.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.spec.ts b/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.spec.ts index 9f09707b..73734853 100644 --- a/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.spec.ts +++ b/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.ts b/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.ts index 55f08586..d7956499 100644 --- a/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.ts +++ b/application/frontend/src/app/core/components/map-toggle-button/map-toggle-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/map-type-button/map-type-button.component.spec.ts b/application/frontend/src/app/core/components/map-type-button/map-type-button.component.spec.ts index 391ca650..58cb12af 100644 --- a/application/frontend/src/app/core/components/map-type-button/map-type-button.component.spec.ts +++ b/application/frontend/src/app/core/components/map-type-button/map-type-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/map-type-button/map-type-button.component.ts b/application/frontend/src/app/core/components/map-type-button/map-type-button.component.ts index d5439e60..2c0255d9 100644 --- a/application/frontend/src/app/core/components/map-type-button/map-type-button.component.ts +++ b/application/frontend/src/app/core/components/map-type-button/map-type-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.spec.ts b/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.spec.ts index 630a4d24..7a027b2f 100644 --- a/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.spec.ts +++ b/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.ts b/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.ts index d562a73c..b95ce890 100644 --- a/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.ts +++ b/application/frontend/src/app/core/components/message-snack-bar/message-snack-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Inject, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core'; import { MatSnackBarRef, MAT_SNACK_BAR_DATA } from '@angular/material/snack-bar'; diff --git a/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.spec.ts b/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.spec.ts index 4512a90c..221fe5f5 100644 --- a/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.spec.ts +++ b/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.ts b/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.ts index c8028e5b..c427d5f7 100644 --- a/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.ts +++ b/application/frontend/src/app/core/components/post-solve-timeline-legend/post-solve-timeline-legend.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/core/components/progress-bar/progress-bar.component.spec.ts b/application/frontend/src/app/core/components/progress-bar/progress-bar.component.spec.ts index 197a23a1..acee878e 100644 --- a/application/frontend/src/app/core/components/progress-bar/progress-bar.component.spec.ts +++ b/application/frontend/src/app/core/components/progress-bar/progress-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/progress-bar/progress-bar.component.ts b/application/frontend/src/app/core/components/progress-bar/progress-bar.component.ts index 325d35fa..a1167707 100644 --- a/application/frontend/src/app/core/components/progress-bar/progress-bar.component.ts +++ b/application/frontend/src/app/core/components/progress-bar/progress-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.spec.ts b/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.spec.ts index 6ccf7c90..59b884c3 100644 --- a/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.spec.ts +++ b/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.ts b/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.ts index 24cd8504..70c084da 100644 --- a/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.ts +++ b/application/frontend/src/app/core/components/select-map-items-button/select-map-items-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/core/components/shared-defs/shared-defs.component.spec.ts b/application/frontend/src/app/core/components/shared-defs/shared-defs.component.spec.ts index 62413c6d..76d6296e 100644 --- a/application/frontend/src/app/core/components/shared-defs/shared-defs.component.spec.ts +++ b/application/frontend/src/app/core/components/shared-defs/shared-defs.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/shared-defs/shared-defs.component.ts b/application/frontend/src/app/core/components/shared-defs/shared-defs.component.ts index 60667edf..9580cf84 100644 --- a/application/frontend/src/app/core/components/shared-defs/shared-defs.component.ts +++ b/application/frontend/src/app/core/components/shared-defs/shared-defs.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/side-bar/side-bar.component.spec.ts b/application/frontend/src/app/core/components/side-bar/side-bar.component.spec.ts index a35215fb..ec95f10a 100644 --- a/application/frontend/src/app/core/components/side-bar/side-bar.component.spec.ts +++ b/application/frontend/src/app/core/components/side-bar/side-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/components/side-bar/side-bar.component.ts b/application/frontend/src/app/core/components/side-bar/side-bar.component.ts index e0177c77..9f19ebc4 100644 --- a/application/frontend/src/app/core/components/side-bar/side-bar.component.ts +++ b/application/frontend/src/app/core/components/side-bar/side-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy } from '@angular/core'; diff --git a/application/frontend/src/app/core/components/time-navigation/time-navigation.component.spec.ts b/application/frontend/src/app/core/components/time-navigation/time-navigation.component.spec.ts index cf4bc2e9..85477548 100644 --- a/application/frontend/src/app/core/components/time-navigation/time-navigation.component.spec.ts +++ b/application/frontend/src/app/core/components/time-navigation/time-navigation.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/time-navigation/time-navigation.component.ts b/application/frontend/src/app/core/components/time-navigation/time-navigation.component.ts index 71b1ec04..c853ea59 100644 --- a/application/frontend/src/app/core/components/time-navigation/time-navigation.component.ts +++ b/application/frontend/src/app/core/components/time-navigation/time-navigation.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { formatDate } from '@angular/common'; import { diff --git a/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.spec.ts b/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.spec.ts index d029f8ec..9165e947 100644 --- a/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.spec.ts +++ b/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.ts b/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.ts index d4b71be8..6a1e059c 100644 --- a/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.ts +++ b/application/frontend/src/app/core/components/toggle-selection-filter-button/toggle-selection-filter-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.spec.ts b/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.spec.ts index 135cb23c..1fa3ede0 100644 --- a/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.spec.ts +++ b/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.ts b/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.ts index 5384cc2c..e745aeca 100644 --- a/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.ts +++ b/application/frontend/src/app/core/components/zoom-home-button/zoom-home-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/app/app.component.spec.ts b/application/frontend/src/app/core/containers/app/app.component.spec.ts index f6e2ec6e..2ddc7aad 100644 --- a/application/frontend/src/app/core/containers/app/app.component.spec.ts +++ b/application/frontend/src/app/core/containers/app/app.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/app/app.component.ts b/application/frontend/src/app/core/containers/app/app.component.ts index 8bc49198..d102f906 100644 --- a/application/frontend/src/app/core/containers/app/app.component.ts +++ b/application/frontend/src/app/core/containers/app/app.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.spec.ts b/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.spec.ts index f2500c72..d349288a 100644 --- a/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.ts b/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.ts index d13ea9cc..e2f7282f 100644 --- a/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.ts +++ b/application/frontend/src/app/core/containers/csv-help-dialog/csv-help-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.spec.ts b/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.spec.ts index c2e2a20e..4c31a0f5 100644 --- a/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.ts b/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.ts index 24d9f47a..21fdd570 100644 --- a/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.ts +++ b/application/frontend/src/app/core/containers/csv-upload-dialog/csv-upload-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DomPortal } from '@angular/cdk/portal'; import { StepperSelectionEvent } from '@angular/cdk/stepper'; diff --git a/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.spec.ts b/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.spec.ts index d85b2e66..816ee0f2 100644 --- a/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.ts b/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.ts index 606c044d..c6ee85cc 100644 --- a/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.ts +++ b/application/frontend/src/app/core/containers/documentation-dialog/documentation-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; diff --git a/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.spec.ts b/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.spec.ts index fe94bf31..6bba4fb6 100644 --- a/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.ts b/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.ts index 1bd4b1cb..da216ddb 100644 --- a/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.ts +++ b/application/frontend/src/app/core/containers/download-pdf-dialog/download-pdf-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.spec.ts b/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.spec.ts index 7850eafd..6a72f20b 100644 --- a/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.ts b/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.ts index d399d062..0c9a0716 100644 --- a/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.ts +++ b/application/frontend/src/app/core/containers/edit-global-relaxation-constraints-dialog/edit-global-relaxation-constraints-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.spec.ts b/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.spec.ts index 9d7bbf05..cb5a194a 100644 --- a/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.ts b/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.ts index 7cfd6f2d..57c597ae 100644 --- a/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.ts +++ b/application/frontend/src/app/core/containers/edit-visit-dialog/edit-visit-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, ElementRef, OnDestroy, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/form-map/form-map.component.spec.ts b/application/frontend/src/app/core/containers/form-map/form-map.component.spec.ts index 7c0bdd31..3e0dee47 100644 --- a/application/frontend/src/app/core/containers/form-map/form-map.component.spec.ts +++ b/application/frontend/src/app/core/containers/form-map/form-map.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/form-map/form-map.component.ts b/application/frontend/src/app/core/containers/form-map/form-map.component.ts index ae721ac0..ab02512f 100644 --- a/application/frontend/src/app/core/containers/form-map/form-map.component.ts +++ b/application/frontend/src/app/core/containers/form-map/form-map.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DomPortal } from '@angular/cdk/portal'; import { ChangeDetectionStrategy, Component, ElementRef, OnInit } from '@angular/core'; diff --git a/application/frontend/src/app/core/containers/generate-button/generate-button.component.spec.ts b/application/frontend/src/app/core/containers/generate-button/generate-button.component.spec.ts index 5363500b..9a8455b7 100644 --- a/application/frontend/src/app/core/containers/generate-button/generate-button.component.spec.ts +++ b/application/frontend/src/app/core/containers/generate-button/generate-button.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/generate-button/generate-button.component.ts b/application/frontend/src/app/core/containers/generate-button/generate-button.component.ts index 31e36443..54a9b583 100644 --- a/application/frontend/src/app/core/containers/generate-button/generate-button.component.ts +++ b/application/frontend/src/app/core/containers/generate-button/generate-button.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/index.ts b/application/frontend/src/app/core/containers/index.ts index ae06ae04..e6e5f450 100644 --- a/application/frontend/src/app/core/containers/index.ts +++ b/application/frontend/src/app/core/containers/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './app/app.component'; export * from './documentation-dialog/documentation-dialog.component'; diff --git a/application/frontend/src/app/core/containers/main-actions/main-actions.component.spec.ts b/application/frontend/src/app/core/containers/main-actions/main-actions.component.spec.ts index c6eafdba..9611e9d7 100644 --- a/application/frontend/src/app/core/containers/main-actions/main-actions.component.spec.ts +++ b/application/frontend/src/app/core/containers/main-actions/main-actions.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/main-actions/main-actions.component.ts b/application/frontend/src/app/core/containers/main-actions/main-actions.component.ts index 1a3084d8..2619f760 100644 --- a/application/frontend/src/app/core/containers/main-actions/main-actions.component.ts +++ b/application/frontend/src/app/core/containers/main-actions/main-actions.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/main-nav/main-nav.component.spec.ts b/application/frontend/src/app/core/containers/main-nav/main-nav.component.spec.ts index 37bbef74..049d4cf4 100644 --- a/application/frontend/src/app/core/containers/main-nav/main-nav.component.spec.ts +++ b/application/frontend/src/app/core/containers/main-nav/main-nav.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/main-nav/main-nav.component.ts b/application/frontend/src/app/core/containers/main-nav/main-nav.component.ts index 6670f4f0..53c57dba 100644 --- a/application/frontend/src/app/core/containers/main-nav/main-nav.component.ts +++ b/application/frontend/src/app/core/containers/main-nav/main-nav.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.spec.ts b/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.spec.ts index 65aaed4c..57cebdfa 100644 --- a/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.spec.ts +++ b/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MockMapService } from 'src/test/service-mocks'; diff --git a/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.ts b/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.ts index b8225f2e..b1cbaec1 100644 --- a/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.ts +++ b/application/frontend/src/app/core/containers/map-wrapper/map-wrapper.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/map/map.component.spec.ts b/application/frontend/src/app/core/containers/map/map.component.spec.ts index 16c8a905..548d4b5f 100644 --- a/application/frontend/src/app/core/containers/map/map.component.spec.ts +++ b/application/frontend/src/app/core/containers/map/map.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/map/map.component.ts b/application/frontend/src/app/core/containers/map/map.component.ts index 627fc1ef..8bfb744c 100644 --- a/application/frontend/src/app/core/containers/map/map.component.ts +++ b/application/frontend/src/app/core/containers/map/map.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.spec.ts index ada03b28..912a03a3 100644 --- a/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.ts b/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.ts index a87c6e25..e5deca4f 100644 --- a/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/metadata-control-bar/metadata-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.spec.ts b/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.spec.ts index 81ca0c9e..d53f36ab 100644 --- a/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.spec.ts +++ b/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.ts b/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.ts index 873d888b..d98bff5c 100644 --- a/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.ts +++ b/application/frontend/src/app/core/containers/pdf-map/pdf-map.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, ElementRef, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.spec.ts b/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.spec.ts index cc62b592..f1b0343e 100644 --- a/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.spec.ts +++ b/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { provideMockStore } from '@ngrx/store/testing'; diff --git a/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.ts b/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.ts index e62c4000..827a1d38 100644 --- a/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.ts +++ b/application/frontend/src/app/core/containers/point-of-interest-drag/point-of-interest-drag.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { AfterViewInit, diff --git a/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.spec.ts index ce965b56..cad73769 100644 --- a/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.ts b/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.ts index 17fd8dc8..4099c289 100644 --- a/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/post-solve-control-bar/post-solve-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.spec.ts b/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.spec.ts index 064ca474..46e4aca5 100644 --- a/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.spec.ts +++ b/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.ts b/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.ts index 1cf5b4e4..edfd8935 100644 --- a/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.ts +++ b/application/frontend/src/app/core/containers/post-solve-message/post-solve-message.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.spec.ts b/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.spec.ts index 7b494e57..ca65035b 100644 --- a/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.spec.ts +++ b/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.ts b/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.ts index af434880..620183ac 100644 --- a/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.ts +++ b/application/frontend/src/app/core/containers/post-solve-metrics/post-solve-metrics.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.spec.ts index 0bb76f25..c64ccb2a 100644 --- a/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.ts b/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.ts index 89bfad1f..15cfdf21 100644 --- a/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-control-bar/pre-solve-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { animate, state, style, transition, trigger } from '@angular/animations'; import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core'; diff --git a/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.spec.ts index 7e48431a..9f6c6776 100644 --- a/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.ts b/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.ts index 52cca45d..e9aa6ad3 100644 --- a/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-edit-shipment-dialog/pre-solve-edit-shipment-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.spec.ts index af4160e3..37e35af8 100644 --- a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.ts b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.ts index 50e52253..440ffe92 100644 --- a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-dialog/pre-solve-edit-vehicle-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.spec.ts index 25724794..6edcc026 100644 --- a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.ts b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.ts index 60841cb1..9bfbb01e 100644 --- a/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-edit-vehicle-operator-dialog/pre-solve-edit-vehicle-operator-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.spec.ts index 25bfa463..c338f548 100644 --- a/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.ts b/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.ts index f40b705d..cc5348ba 100644 --- a/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-global-settings/pre-solve-global-settings.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy } from '@angular/core'; import { diff --git a/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.spec.ts index c58689b0..9e9ffd8c 100644 --- a/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.ts b/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.ts index 45916480..f3203288 100644 --- a/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-message/pre-solve-message.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/pre-solve-settings-dialog/pre-solve-settings-dialog.component.ts b/application/frontend/src/app/core/containers/pre-solve-settings-dialog/pre-solve-settings-dialog.component.ts index 4c2c50ae..65f06324 100644 --- a/application/frontend/src/app/core/containers/pre-solve-settings-dialog/pre-solve-settings-dialog.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-settings-dialog/pre-solve-settings-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { AfterViewInit, Component, ViewChild } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.spec.ts b/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.spec.ts index 1d1d29b2..712affed 100644 --- a/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.spec.ts +++ b/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { UntypedFormGroup, ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.ts b/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.ts index f3228e18..420fd6ae 100644 --- a/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.ts +++ b/application/frontend/src/app/core/containers/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core'; import { diff --git a/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.spec.ts b/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.spec.ts index b40e8825..2e48ef1e 100644 --- a/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.ts b/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.ts index 8e906069..e2350bc1 100644 --- a/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.ts +++ b/application/frontend/src/app/core/containers/regenerate-confirmation-dialog/regenerate-confirmation-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.spec.ts index c3c21272..03e7ea30 100644 --- a/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.ts b/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.ts index 1eac128b..b182a7de 100644 --- a/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/routes-chart-control-bar/routes-chart-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.spec.ts b/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.spec.ts index 64820ea7..8b0b3a4e 100644 --- a/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.ts b/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.ts index c01e008b..70a1d77f 100644 --- a/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.ts +++ b/application/frontend/src/app/core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.spec.ts index f7cea32c..35edc98c 100644 --- a/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.ts b/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.ts index cd61ae67..51ca8cfd 100644 --- a/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/shipments-control-bar/shipments-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.spec.ts b/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.spec.ts index 64fdaebf..05e78eca 100644 --- a/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.spec.ts +++ b/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.ts b/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.ts index dff64430..5e03e1c6 100644 --- a/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.ts +++ b/application/frontend/src/app/core/containers/shipments-kpis/shipments-kpis.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.spec.ts b/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.spec.ts index 65ef4b7e..c5f9b5bc 100644 --- a/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { provideMockStore } from '@ngrx/store/testing'; diff --git a/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.ts b/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.ts index 3eb50cdf..d26835a3 100644 --- a/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.ts +++ b/application/frontend/src/app/core/containers/storage-api-save-load-dialog/storage-api-save-load-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, Input, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.spec.ts b/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.spec.ts index 340c80e0..431731cd 100644 --- a/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.ts b/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.ts index 5d12ce64..1b5267b8 100644 --- a/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.ts +++ b/application/frontend/src/app/core/containers/upload-dialog/upload-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, ElementRef, ViewChild } from '@angular/core'; import { diff --git a/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.spec.ts b/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.spec.ts index ce9cce5b..534e628d 100644 --- a/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.spec.ts +++ b/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.ts b/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.ts index e93f57e4..2bc7bece 100644 --- a/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.ts +++ b/application/frontend/src/app/core/containers/validation-result-dialog/validation-result-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.spec.ts b/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.spec.ts index 45006bf7..6988ddfc 100644 --- a/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.spec.ts +++ b/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.ts b/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.ts index b4a4e84d..fac77d4b 100644 --- a/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.ts +++ b/application/frontend/src/app/core/containers/vehicle-info-window/vehicle-info-window.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.spec.ts index fb0c93f0..060b9a10 100644 --- a/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.ts b/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.ts index 712ef612..b3c4afec 100644 --- a/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/vehicle-operators-control-bar/vehicle-operators-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.spec.ts b/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.spec.ts index 0f6575b3..cb969da1 100644 --- a/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.spec.ts +++ b/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.ts b/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.ts index 8b57a869..220a328c 100644 --- a/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.ts +++ b/application/frontend/src/app/core/containers/vehicle-operators-kpis/vehicle-operators-kpis.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { Observable } from 'rxjs'; diff --git a/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.spec.ts b/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.spec.ts index aaac1974..830ff70d 100644 --- a/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.spec.ts +++ b/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.ts b/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.ts index cb1de2a1..21b392ac 100644 --- a/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.ts +++ b/application/frontend/src/app/core/containers/vehicles-control-bar/vehicles-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.spec.ts b/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.spec.ts index 4dd2b832..5ac49dd8 100644 --- a/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.spec.ts +++ b/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.ts b/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.ts index a5f6fb24..a3bedfe4 100644 --- a/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.ts +++ b/application/frontend/src/app/core/containers/vehicles-kpis/vehicles-kpis.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.spec.ts b/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.spec.ts index cd73cd27..8ba2e49e 100644 --- a/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.spec.ts +++ b/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.ts b/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.ts index 4fe80bf7..9154c114 100644 --- a/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.ts +++ b/application/frontend/src/app/core/containers/visit-request-info-window/visit-request-info-window.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/core/core.module.ts b/application/frontend/src/app/core/core.module.ts index 9e7b94fd..23531acb 100644 --- a/application/frontend/src/app/core/core.module.ts +++ b/application/frontend/src/app/core/core.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; diff --git a/application/frontend/src/app/core/effects/config.effects.spec.ts b/application/frontend/src/app/core/effects/config.effects.spec.ts index b5df2b35..2783bf26 100644 --- a/application/frontend/src/app/core/effects/config.effects.spec.ts +++ b/application/frontend/src/app/core/effects/config.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; diff --git a/application/frontend/src/app/core/effects/config.effects.ts b/application/frontend/src/app/core/effects/config.effects.ts index 5160a76f..542f5344 100644 --- a/application/frontend/src/app/core/effects/config.effects.ts +++ b/application/frontend/src/app/core/effects/config.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; diff --git a/application/frontend/src/app/core/effects/depot-layer.effects.ts b/application/frontend/src/app/core/effects/depot-layer.effects.ts index d785667e..1e8dd39b 100644 --- a/application/frontend/src/app/core/effects/depot-layer.effects.ts +++ b/application/frontend/src/app/core/effects/depot-layer.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/dispatcher-api.effects.spec.ts b/application/frontend/src/app/core/effects/dispatcher-api.effects.spec.ts index 0648aa4d..4283623f 100644 --- a/application/frontend/src/app/core/effects/dispatcher-api.effects.spec.ts +++ b/application/frontend/src/app/core/effects/dispatcher-api.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/effects/dispatcher-api.effects.ts b/application/frontend/src/app/core/effects/dispatcher-api.effects.ts index 331b7fe3..416cd6fe 100644 --- a/application/frontend/src/app/core/effects/dispatcher-api.effects.ts +++ b/application/frontend/src/app/core/effects/dispatcher-api.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/dispatcher.effects.spec.ts b/application/frontend/src/app/core/effects/dispatcher.effects.spec.ts index 2ebcb48d..b6529cc8 100644 --- a/application/frontend/src/app/core/effects/dispatcher.effects.spec.ts +++ b/application/frontend/src/app/core/effects/dispatcher.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/effects/dispatcher.effects.ts b/application/frontend/src/app/core/effects/dispatcher.effects.ts index 7709fe6a..24741089 100644 --- a/application/frontend/src/app/core/effects/dispatcher.effects.ts +++ b/application/frontend/src/app/core/effects/dispatcher.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/documentation.effects.ts b/application/frontend/src/app/core/effects/documentation.effects.ts index f8712a40..c23ac9ab 100644 --- a/application/frontend/src/app/core/effects/documentation.effects.ts +++ b/application/frontend/src/app/core/effects/documentation.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/download.effects.spec.ts b/application/frontend/src/app/core/effects/download.effects.spec.ts index 49fe47b6..6a63559d 100644 --- a/application/frontend/src/app/core/effects/download.effects.spec.ts +++ b/application/frontend/src/app/core/effects/download.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/download.effects.ts b/application/frontend/src/app/core/effects/download.effects.ts index e43e8ff3..21d84cce 100644 --- a/application/frontend/src/app/core/effects/download.effects.ts +++ b/application/frontend/src/app/core/effects/download.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, Inject, LOCALE_ID } from '@angular/core'; import { formatDate } from '@angular/common'; diff --git a/application/frontend/src/app/core/effects/edit-visit.effects.spec.ts b/application/frontend/src/app/core/effects/edit-visit.effects.spec.ts index 3aa97cd5..3c7866dc 100644 --- a/application/frontend/src/app/core/effects/edit-visit.effects.spec.ts +++ b/application/frontend/src/app/core/effects/edit-visit.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/edit-visit.effects.ts b/application/frontend/src/app/core/effects/edit-visit.effects.ts index bd137ce9..3183b583 100644 --- a/application/frontend/src/app/core/effects/edit-visit.effects.ts +++ b/application/frontend/src/app/core/effects/edit-visit.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/index.ts b/application/frontend/src/app/core/effects/index.ts index 14dd7a01..09c89eda 100644 --- a/application/frontend/src/app/core/effects/index.ts +++ b/application/frontend/src/app/core/effects/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './config.effects'; export * from './depot-layer.effects'; diff --git a/application/frontend/src/app/core/effects/init.effects.spec.ts b/application/frontend/src/app/core/effects/init.effects.spec.ts index ee074ea9..01fadaa7 100644 --- a/application/frontend/src/app/core/effects/init.effects.spec.ts +++ b/application/frontend/src/app/core/effects/init.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { Actions } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/init.effects.ts b/application/frontend/src/app/core/effects/init.effects.ts index efbf808c..9e9c9913 100644 --- a/application/frontend/src/app/core/effects/init.effects.ts +++ b/application/frontend/src/app/core/effects/init.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEffect, ofType, Actions, EffectNotification, OnRunEffects } from '@ngrx/effects'; import { first, exhaustMap, takeUntil, map, mergeMapTo } from 'rxjs/operators'; diff --git a/application/frontend/src/app/core/effects/map-api.effects.spec.ts b/application/frontend/src/app/core/effects/map-api.effects.spec.ts index 6d763ab2..79b29557 100644 --- a/application/frontend/src/app/core/effects/map-api.effects.spec.ts +++ b/application/frontend/src/app/core/effects/map-api.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { Actions } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/map-api.effects.ts b/application/frontend/src/app/core/effects/map-api.effects.ts index 75514caa..39d51201 100644 --- a/application/frontend/src/app/core/effects/map-api.effects.ts +++ b/application/frontend/src/app/core/effects/map-api.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/map.effects.ts b/application/frontend/src/app/core/effects/map.effects.ts index 13526b00..35a4b6c4 100644 --- a/application/frontend/src/app/core/effects/map.effects.ts +++ b/application/frontend/src/app/core/effects/map.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/metadata.effects.spec.ts b/application/frontend/src/app/core/effects/metadata.effects.spec.ts index f9ca3b94..6ba08005 100644 --- a/application/frontend/src/app/core/effects/metadata.effects.spec.ts +++ b/application/frontend/src/app/core/effects/metadata.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; diff --git a/application/frontend/src/app/core/effects/metadata.effects.ts b/application/frontend/src/app/core/effects/metadata.effects.ts index e94e9547..ea2c41a6 100644 --- a/application/frontend/src/app/core/effects/metadata.effects.ts +++ b/application/frontend/src/app/core/effects/metadata.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/application/frontend/src/app/core/effects/point-of-interest.effects.ts b/application/frontend/src/app/core/effects/point-of-interest.effects.ts index 6d3a5f27..f9c7d8db 100644 --- a/application/frontend/src/app/core/effects/point-of-interest.effects.ts +++ b/application/frontend/src/app/core/effects/point-of-interest.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/pre-solve-settings.effects.ts b/application/frontend/src/app/core/effects/pre-solve-settings.effects.ts index 0bc52959..03e32c1a 100644 --- a/application/frontend/src/app/core/effects/pre-solve-settings.effects.ts +++ b/application/frontend/src/app/core/effects/pre-solve-settings.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/pre-solve-shipment.effects.ts b/application/frontend/src/app/core/effects/pre-solve-shipment.effects.ts index 2b21afe9..8ec80f0e 100644 --- a/application/frontend/src/app/core/effects/pre-solve-shipment.effects.ts +++ b/application/frontend/src/app/core/effects/pre-solve-shipment.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/pre-solve-vehicle-operator.effects.ts b/application/frontend/src/app/core/effects/pre-solve-vehicle-operator.effects.ts index 3ccc1a5e..fff57fd9 100644 --- a/application/frontend/src/app/core/effects/pre-solve-vehicle-operator.effects.ts +++ b/application/frontend/src/app/core/effects/pre-solve-vehicle-operator.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/pre-solve-vehicle.effects.ts b/application/frontend/src/app/core/effects/pre-solve-vehicle.effects.ts index 6934542a..10f580a5 100644 --- a/application/frontend/src/app/core/effects/pre-solve-vehicle.effects.ts +++ b/application/frontend/src/app/core/effects/pre-solve-vehicle.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/request-settings.effects.ts b/application/frontend/src/app/core/effects/request-settings.effects.ts index 7aae4eb9..b03205ff 100644 --- a/application/frontend/src/app/core/effects/request-settings.effects.ts +++ b/application/frontend/src/app/core/effects/request-settings.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/routes-chart.effects.spec.ts b/application/frontend/src/app/core/effects/routes-chart.effects.spec.ts index 91cbe243..d402513d 100644 --- a/application/frontend/src/app/core/effects/routes-chart.effects.spec.ts +++ b/application/frontend/src/app/core/effects/routes-chart.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { Actions } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/routes-chart.effects.ts b/application/frontend/src/app/core/effects/routes-chart.effects.ts index 4513ad44..c3c9177e 100644 --- a/application/frontend/src/app/core/effects/routes-chart.effects.ts +++ b/application/frontend/src/app/core/effects/routes-chart.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/shipment-model.effects.ts b/application/frontend/src/app/core/effects/shipment-model.effects.ts index 1a2437de..3f4c8edb 100644 --- a/application/frontend/src/app/core/effects/shipment-model.effects.ts +++ b/application/frontend/src/app/core/effects/shipment-model.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; diff --git a/application/frontend/src/app/core/effects/shipment.effects.ts b/application/frontend/src/app/core/effects/shipment.effects.ts index 1d022d7d..9ebde321 100644 --- a/application/frontend/src/app/core/effects/shipment.effects.ts +++ b/application/frontend/src/app/core/effects/shipment.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/storage-api.effects.ts b/application/frontend/src/app/core/effects/storage-api.effects.ts index 6689af5a..c8d53d7d 100644 --- a/application/frontend/src/app/core/effects/storage-api.effects.ts +++ b/application/frontend/src/app/core/effects/storage-api.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/undo-redo.effects.spec.ts b/application/frontend/src/app/core/effects/undo-redo.effects.spec.ts index f9ca3b94..6ba08005 100644 --- a/application/frontend/src/app/core/effects/undo-redo.effects.spec.ts +++ b/application/frontend/src/app/core/effects/undo-redo.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; diff --git a/application/frontend/src/app/core/effects/undo-redo.effects.ts b/application/frontend/src/app/core/effects/undo-redo.effects.ts index e94e9547..ea2c41a6 100644 --- a/application/frontend/src/app/core/effects/undo-redo.effects.ts +++ b/application/frontend/src/app/core/effects/undo-redo.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/application/frontend/src/app/core/effects/upload.effects.spec.ts b/application/frontend/src/app/core/effects/upload.effects.spec.ts index a0fc9a36..d9f30a77 100644 --- a/application/frontend/src/app/core/effects/upload.effects.spec.ts +++ b/application/frontend/src/app/core/effects/upload.effects.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/upload.effects.ts b/application/frontend/src/app/core/effects/upload.effects.ts index bab70b92..d3971af4 100644 --- a/application/frontend/src/app/core/effects/upload.effects.ts +++ b/application/frontend/src/app/core/effects/upload.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/vehicle-operator.effects.ts b/application/frontend/src/app/core/effects/vehicle-operator.effects.ts index 3eebe300..99a28e30 100644 --- a/application/frontend/src/app/core/effects/vehicle-operator.effects.ts +++ b/application/frontend/src/app/core/effects/vehicle-operator.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/effects/vehicle.effects.ts b/application/frontend/src/app/core/effects/vehicle.effects.ts index 65f9d88b..377dd686 100644 --- a/application/frontend/src/app/core/effects/vehicle.effects.ts +++ b/application/frontend/src/app/core/effects/vehicle.effects.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/core/index.ts b/application/frontend/src/app/core/index.ts index 60428a35..d97f017c 100644 --- a/application/frontend/src/app/core/index.ts +++ b/application/frontend/src/app/core/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './core.module'; diff --git a/application/frontend/src/app/core/models/column.ts b/application/frontend/src/app/core/models/column.ts index b097e1ed..f52e366d 100644 --- a/application/frontend/src/app/core/models/column.ts +++ b/application/frontend/src/app/core/models/column.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface Column { id: string; diff --git a/application/frontend/src/app/core/models/config.ts b/application/frontend/src/app/core/models/config.ts index e97631d5..8569267a 100644 --- a/application/frontend/src/app/core/models/config.ts +++ b/application/frontend/src/app/core/models/config.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { MapConfig } from './map-config'; import { MessagesConfig } from './messages-config'; diff --git a/application/frontend/src/app/core/models/csv.ts b/application/frontend/src/app/core/models/csv.ts index 2fc8f1c6..48a06ec3 100644 --- a/application/frontend/src/app/core/models/csv.ts +++ b/application/frontend/src/app/core/models/csv.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum ShipmentFields { Label, diff --git a/application/frontend/src/app/core/models/dispatcher.model.ts b/application/frontend/src/app/core/models/dispatcher.model.ts index 5fe87aa8..88af76de 100644 --- a/application/frontend/src/app/core/models/dispatcher.model.ts +++ b/application/frontend/src/app/core/models/dispatcher.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { google } from '@google-cloud/optimization/build/protos/protos'; import dispatcher = google.cloud.optimization.v1; diff --git a/application/frontend/src/app/core/models/elapsed-solution.ts b/application/frontend/src/app/core/models/elapsed-solution.ts index 50b1f754..4b5d2c12 100644 --- a/application/frontend/src/app/core/models/elapsed-solution.ts +++ b/application/frontend/src/app/core/models/elapsed-solution.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IOptimizeToursRequest, IOptimizeToursResponse } from 'src/app/core/models'; diff --git a/application/frontend/src/app/core/models/entity-change.ts b/application/frontend/src/app/core/models/entity-change.ts index 8fa7704c..e09b5209 100644 --- a/application/frontend/src/app/core/models/entity-change.ts +++ b/application/frontend/src/app/core/models/entity-change.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Shipment } from './shipment.model'; import { VisitRequest } from './visit-request.model'; diff --git a/application/frontend/src/app/core/models/index.ts b/application/frontend/src/app/core/models/index.ts index 8a74fec9..49648b69 100644 --- a/application/frontend/src/app/core/models/index.ts +++ b/application/frontend/src/app/core/models/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './column'; export * from './config'; diff --git a/application/frontend/src/app/core/models/key-performance-indicators.ts b/application/frontend/src/app/core/models/key-performance-indicators.ts index d1d7b17c..c79b1cda 100644 --- a/application/frontend/src/app/core/models/key-performance-indicators.ts +++ b/application/frontend/src/app/core/models/key-performance-indicators.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface ShipmentsKpis { total: number; diff --git a/application/frontend/src/app/core/models/map-config.ts b/application/frontend/src/app/core/models/map-config.ts index eeda4570..d823badb 100644 --- a/application/frontend/src/app/core/models/map-config.ts +++ b/application/frontend/src/app/core/models/map-config.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface MapConfig { apiKey: string; diff --git a/application/frontend/src/app/core/models/messages-config.ts b/application/frontend/src/app/core/models/messages-config.ts index 9cbaa85b..a3fae265 100644 --- a/application/frontend/src/app/core/models/messages-config.ts +++ b/application/frontend/src/app/core/models/messages-config.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface MessagesConfig { grpcStatusCodes?: { [code: string]: string }; diff --git a/application/frontend/src/app/core/models/modal.ts b/application/frontend/src/app/core/models/modal.ts index 682dcfcd..7d8aee41 100644 --- a/application/frontend/src/app/core/models/modal.ts +++ b/application/frontend/src/app/core/models/modal.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum Modal { Upload = 'upload', diff --git a/application/frontend/src/app/core/models/normalized-shipment-model.ts b/application/frontend/src/app/core/models/normalized-shipment-model.ts index 2cdef28d..9beaa738 100644 --- a/application/frontend/src/app/core/models/normalized-shipment-model.ts +++ b/application/frontend/src/app/core/models/normalized-shipment-model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IPrecedenceRule, diff --git a/application/frontend/src/app/core/models/page.ts b/application/frontend/src/app/core/models/page.ts index 21f6ba86..d2fc8c3b 100644 --- a/application/frontend/src/app/core/models/page.ts +++ b/application/frontend/src/app/core/models/page.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ /** * @remarks diff --git a/application/frontend/src/app/core/models/point-of-interest.ts b/application/frontend/src/app/core/models/point-of-interest.ts index 52cf6216..bdcdcac4 100644 --- a/application/frontend/src/app/core/models/point-of-interest.ts +++ b/application/frontend/src/app/core/models/point-of-interest.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum PointOfInterestCategory { Depot = 1, diff --git a/application/frontend/src/app/core/models/request-settings.ts b/application/frontend/src/app/core/models/request-settings.ts index 4e394f63..3a3c838f 100644 --- a/application/frontend/src/app/core/models/request-settings.ts +++ b/application/frontend/src/app/core/models/request-settings.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IInjectedSolution, ITimestamp, RelaxationLevel } from 'src/app/core/models'; import { diff --git a/application/frontend/src/app/core/models/route-filter.ts b/application/frontend/src/app/core/models/route-filter.ts index 8855d6c5..021daff7 100644 --- a/application/frontend/src/app/core/models/route-filter.ts +++ b/application/frontend/src/app/core/models/route-filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { FilterBooleanFormComponent } from 'src/app/shared/components/filter-boolean-form/filter-boolean-form.component'; import { FilterNumberFormComponent } from 'src/app/shared/components/filter-number-form/filter-number-form.component'; diff --git a/application/frontend/src/app/core/models/route-metadata-filter.ts b/application/frontend/src/app/core/models/route-metadata-filter.ts index 3f659456..2796f244 100644 --- a/application/frontend/src/app/core/models/route-metadata-filter.ts +++ b/application/frontend/src/app/core/models/route-metadata-filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { RouteMetadata } from 'src/app/routes-metadata/models'; import { FilterNumberFormComponent } from 'src/app/shared/components/filter-number-form/filter-number-form.component'; diff --git a/application/frontend/src/app/core/models/route-stats.ts b/application/frontend/src/app/core/models/route-stats.ts index 92c62476..ca77663d 100644 --- a/application/frontend/src/app/core/models/route-stats.ts +++ b/application/frontend/src/app/core/models/route-stats.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ShipmentRoute } from '.'; diff --git a/application/frontend/src/app/core/models/scenario.ts b/application/frontend/src/app/core/models/scenario.ts index 26b9f984..90d125f7 100644 --- a/application/frontend/src/app/core/models/scenario.ts +++ b/application/frontend/src/app/core/models/scenario.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ILatLng, IOptimizeToursRequest } from 'src/app/core/models'; diff --git a/application/frontend/src/app/core/models/shipment-filter.ts b/application/frontend/src/app/core/models/shipment-filter.ts index 0b4164af..e6f16bdc 100644 --- a/application/frontend/src/app/core/models/shipment-filter.ts +++ b/application/frontend/src/app/core/models/shipment-filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { FilterDateFormComponent } from 'src/app/shared/components/filter-date-form/filter-date-form.component'; diff --git a/application/frontend/src/app/core/models/shipment-form-fields.ts b/application/frontend/src/app/core/models/shipment-form-fields.ts index 66bf4550..ec4fe664 100644 --- a/application/frontend/src/app/core/models/shipment-form-fields.ts +++ b/application/frontend/src/app/core/models/shipment-form-fields.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum ShipmentFormFields { Label = 'label', diff --git a/application/frontend/src/app/core/models/shipment-metadata-filter.ts b/application/frontend/src/app/core/models/shipment-metadata-filter.ts index 1bfa4c38..a5a2aef8 100644 --- a/application/frontend/src/app/core/models/shipment-metadata-filter.ts +++ b/application/frontend/src/app/core/models/shipment-metadata-filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { FilterDateFormComponent } from 'src/app/shared/components/filter-date-form/filter-date-form.component'; import { FilterNumberFormComponent } from 'src/app/shared/components/filter-number-form/filter-number-form.component'; diff --git a/application/frontend/src/app/core/models/shipment-route.model.ts b/application/frontend/src/app/core/models/shipment-route.model.ts index 691d28ed..99e58aa7 100644 --- a/application/frontend/src/app/core/models/shipment-route.model.ts +++ b/application/frontend/src/app/core/models/shipment-route.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IShipmentRoute } from 'src/app/core/models'; diff --git a/application/frontend/src/app/core/models/shipment.model.ts b/application/frontend/src/app/core/models/shipment.model.ts index 28dc61c2..08b1a067 100644 --- a/application/frontend/src/app/core/models/shipment.model.ts +++ b/application/frontend/src/app/core/models/shipment.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IShipment } from 'src/app/core/models'; diff --git a/application/frontend/src/app/core/models/solution.ts b/application/frontend/src/app/core/models/solution.ts index a70ec819..5c1f40da 100644 --- a/application/frontend/src/app/core/models/solution.ts +++ b/application/frontend/src/app/core/models/solution.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IOptimizeToursResponse as Solution } from 'src/app/core/models/dispatcher.model'; export { Solution }; diff --git a/application/frontend/src/app/core/models/storage-api.ts b/application/frontend/src/app/core/models/storage-api.ts index 72e935d8..44974a6e 100644 --- a/application/frontend/src/app/core/models/storage-api.ts +++ b/application/frontend/src/app/core/models/storage-api.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Scenario } from './scenario'; import { Solution } from './solution'; diff --git a/application/frontend/src/app/core/models/time-range.ts b/application/frontend/src/app/core/models/time-range.ts index 98dbf864..69c34cdb 100644 --- a/application/frontend/src/app/core/models/time-range.ts +++ b/application/frontend/src/app/core/models/time-range.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface TimeRange { min: number; diff --git a/application/frontend/src/app/core/models/timeline.ts b/application/frontend/src/app/core/models/timeline.ts index 7a6a228d..0ef38ec0 100644 --- a/application/frontend/src/app/core/models/timeline.ts +++ b/application/frontend/src/app/core/models/timeline.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum TimelineCategory { Service = 1, diff --git a/application/frontend/src/app/core/models/upload.ts b/application/frontend/src/app/core/models/upload.ts index 730ca0b4..cbf25113 100644 --- a/application/frontend/src/app/core/models/upload.ts +++ b/application/frontend/src/app/core/models/upload.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum UploadType { Scenario, diff --git a/application/frontend/src/app/core/models/validation.ts b/application/frontend/src/app/core/models/validation.ts index a1dbfcb1..b28b4ccb 100644 --- a/application/frontend/src/app/core/models/validation.ts +++ b/application/frontend/src/app/core/models/validation.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { IShipmentTypeIncompatibility, IShipmentTypeRequirement } from './dispatcher.model'; diff --git a/application/frontend/src/app/core/models/vehicle-filter.ts b/application/frontend/src/app/core/models/vehicle-filter.ts index 7c0894d1..6d2230c4 100644 --- a/application/frontend/src/app/core/models/vehicle-filter.ts +++ b/application/frontend/src/app/core/models/vehicle-filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { FilterNumberFormComponent } from 'src/app/shared/components/filter-number-form/filter-number-form.component'; import { FilterStringFormComponent } from 'src/app/shared/components/filter-string-form/filter-string-form.component'; diff --git a/application/frontend/src/app/core/models/vehicle-form-fields.ts b/application/frontend/src/app/core/models/vehicle-form-fields.ts index bd7f18be..256dbcdd 100644 --- a/application/frontend/src/app/core/models/vehicle-form-fields.ts +++ b/application/frontend/src/app/core/models/vehicle-form-fields.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum VehicleFormFields { RouteEmpty = 'route-empty', diff --git a/application/frontend/src/app/core/models/vehicle-operator-filter.ts b/application/frontend/src/app/core/models/vehicle-operator-filter.ts index ff05b1aa..112a4194 100644 --- a/application/frontend/src/app/core/models/vehicle-operator-filter.ts +++ b/application/frontend/src/app/core/models/vehicle-operator-filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { FilterNumberFormComponent } from 'src/app/shared/components/filter-number-form/filter-number-form.component'; import { FilterStringFormComponent } from 'src/app/shared/components/filter-string-form/filter-string-form.component'; diff --git a/application/frontend/src/app/core/models/vehicle-operator.model.ts b/application/frontend/src/app/core/models/vehicle-operator.model.ts index 539027b9..ce2e07a5 100644 --- a/application/frontend/src/app/core/models/vehicle-operator.model.ts +++ b/application/frontend/src/app/core/models/vehicle-operator.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IVehicleOperator } from './dispatcher.model'; diff --git a/application/frontend/src/app/core/models/vehicle.model.ts b/application/frontend/src/app/core/models/vehicle.model.ts index 7402b48b..ba1603f9 100644 --- a/application/frontend/src/app/core/models/vehicle.model.ts +++ b/application/frontend/src/app/core/models/vehicle.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IVehicle } from './dispatcher.model'; diff --git a/application/frontend/src/app/core/models/visit-category.ts b/application/frontend/src/app/core/models/visit-category.ts index 63a21ed0..048d2d3b 100644 --- a/application/frontend/src/app/core/models/visit-category.ts +++ b/application/frontend/src/app/core/models/visit-category.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum VisitCategory { Pickup = 0, diff --git a/application/frontend/src/app/core/models/visit-request.model.ts b/application/frontend/src/app/core/models/visit-request.model.ts index e45263f5..21a9ee41 100644 --- a/application/frontend/src/app/core/models/visit-request.model.ts +++ b/application/frontend/src/app/core/models/visit-request.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IVisitRequest } from './dispatcher.model'; diff --git a/application/frontend/src/app/core/models/visit.model.ts b/application/frontend/src/app/core/models/visit.model.ts index fed61e40..f85d485a 100644 --- a/application/frontend/src/app/core/models/visit.model.ts +++ b/application/frontend/src/app/core/models/visit.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IVisit } from '.'; import { VisitRequest } from './visit-request.model'; diff --git a/application/frontend/src/app/core/reducers/config.reducer.spec.ts b/application/frontend/src/app/core/reducers/config.reducer.spec.ts index db96c590..9254d5b7 100644 --- a/application/frontend/src/app/core/reducers/config.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/config.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './config.reducer'; diff --git a/application/frontend/src/app/core/reducers/config.reducer.ts b/application/frontend/src/app/core/reducers/config.reducer.ts index a6bf409e..8842dc26 100644 --- a/application/frontend/src/app/core/reducers/config.reducer.ts +++ b/application/frontend/src/app/core/reducers/config.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Config } from '../models/config'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/reducers/dispatcher-api.reducer.spec.ts b/application/frontend/src/app/core/reducers/dispatcher-api.reducer.spec.ts index 647bada9..941fea7b 100644 --- a/application/frontend/src/app/core/reducers/dispatcher-api.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/dispatcher-api.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './dispatcher-api.reducer'; diff --git a/application/frontend/src/app/core/reducers/dispatcher-api.reducer.ts b/application/frontend/src/app/core/reducers/dispatcher-api.reducer.ts index ef09f41b..568a8be5 100644 --- a/application/frontend/src/app/core/reducers/dispatcher-api.reducer.ts +++ b/application/frontend/src/app/core/reducers/dispatcher-api.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { DispatcherActions, DispatcherApiActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/dispatcher.reducer.spec.ts b/application/frontend/src/app/core/reducers/dispatcher.reducer.spec.ts index 1548600a..dfe57293 100644 --- a/application/frontend/src/app/core/reducers/dispatcher.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/dispatcher.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './dispatcher.reducer'; diff --git a/application/frontend/src/app/core/reducers/dispatcher.reducer.ts b/application/frontend/src/app/core/reducers/dispatcher.reducer.ts index b8c9b18a..55ff4db9 100644 --- a/application/frontend/src/app/core/reducers/dispatcher.reducer.ts +++ b/application/frontend/src/app/core/reducers/dispatcher.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { DispatcherActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/edit-visit.reducer.spec.ts b/application/frontend/src/app/core/reducers/edit-visit.reducer.spec.ts index 1e9c6745..91c715ce 100644 --- a/application/frontend/src/app/core/reducers/edit-visit.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/edit-visit.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './edit-visit.reducer'; diff --git a/application/frontend/src/app/core/reducers/edit-visit.reducer.ts b/application/frontend/src/app/core/reducers/edit-visit.reducer.ts index bb367bec..8516e53d 100644 --- a/application/frontend/src/app/core/reducers/edit-visit.reducer.ts +++ b/application/frontend/src/app/core/reducers/edit-visit.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { EditVisitActions, MapActions, RoutesChartActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/map-api.reducer.spec.ts b/application/frontend/src/app/core/reducers/map-api.reducer.spec.ts index c757c3bf..dbac168d 100644 --- a/application/frontend/src/app/core/reducers/map-api.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/map-api.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './map-api.reducer'; diff --git a/application/frontend/src/app/core/reducers/map-api.reducer.ts b/application/frontend/src/app/core/reducers/map-api.reducer.ts index d630eea7..e4d1a705 100644 --- a/application/frontend/src/app/core/reducers/map-api.reducer.ts +++ b/application/frontend/src/app/core/reducers/map-api.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { MapApiActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/points-of-interest.reducer.ts b/application/frontend/src/app/core/reducers/points-of-interest.reducer.ts index 4e701dd4..ba91b9b9 100644 --- a/application/frontend/src/app/core/reducers/points-of-interest.reducer.ts +++ b/application/frontend/src/app/core/reducers/points-of-interest.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { PointOfInterestEndDrag, PointOfInterestStartDrag, ShipmentRoute, Visit } from '../models'; diff --git a/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.spec.ts b/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.spec.ts index 641013c3..6c557156 100644 --- a/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './pre-solve-shipment.reducer'; import { diff --git a/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.ts b/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.ts index 95239a51..7c320df0 100644 --- a/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.ts +++ b/application/frontend/src/app/core/reducers/pre-solve-shipment.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.spec.ts b/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.spec.ts index 7934a3bb..7d989493 100644 --- a/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './pre-solve-vehicle-operator.reducer'; import { diff --git a/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.ts b/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.ts index 2c5ac976..101a13af 100644 --- a/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.ts +++ b/application/frontend/src/app/core/reducers/pre-solve-vehicle-operator.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.spec.ts b/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.spec.ts index 727da7bb..5e611a39 100644 --- a/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './pre-solve-vehicle.reducer'; import { DispatcherActions, VehicleActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.ts b/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.ts index 97f0e9af..af0edeca 100644 --- a/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.ts +++ b/application/frontend/src/app/core/reducers/pre-solve-vehicle.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/reducers/request-settings.reducer.ts b/application/frontend/src/app/core/reducers/request-settings.reducer.ts index 691a98ca..6b2fa3da 100644 --- a/application/frontend/src/app/core/reducers/request-settings.reducer.ts +++ b/application/frontend/src/app/core/reducers/request-settings.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { RequestSettingsActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/routes-chart.reducer.spec.ts b/application/frontend/src/app/core/reducers/routes-chart.reducer.spec.ts index 643be15c..8d71c544 100644 --- a/application/frontend/src/app/core/reducers/routes-chart.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/routes-chart.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DispatcherActions, diff --git a/application/frontend/src/app/core/reducers/routes-chart.reducer.ts b/application/frontend/src/app/core/reducers/routes-chart.reducer.ts index 67079143..794c50c3 100644 --- a/application/frontend/src/app/core/reducers/routes-chart.reducer.ts +++ b/application/frontend/src/app/core/reducers/routes-chart.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/reducers/routes-metadata.reducer.spec.ts b/application/frontend/src/app/core/reducers/routes-metadata.reducer.spec.ts index 9b8ccc5d..c0140280 100644 --- a/application/frontend/src/app/core/reducers/routes-metadata.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/routes-metadata.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NumberFilterOperation } from 'src/app/shared/models'; import { diff --git a/application/frontend/src/app/core/reducers/routes-metadata.reducer.ts b/application/frontend/src/app/core/reducers/routes-metadata.reducer.ts index 001cb6e7..6ac99997 100644 --- a/application/frontend/src/app/core/reducers/routes-metadata.reducer.ts +++ b/application/frontend/src/app/core/reducers/routes-metadata.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ActiveFilter, NumberFilterOperation } from 'src/app/shared/models/filter'; diff --git a/application/frontend/src/app/core/reducers/shipment-model.reducer.ts b/application/frontend/src/app/core/reducers/shipment-model.reducer.ts index ea74e233..c0d41676 100644 --- a/application/frontend/src/app/core/reducers/shipment-model.reducer.ts +++ b/application/frontend/src/app/core/reducers/shipment-model.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ShipmentModelActions } from '../actions'; diff --git a/application/frontend/src/app/core/reducers/shipment-route.reducer.ts b/application/frontend/src/app/core/reducers/shipment-route.reducer.ts index 2c22e0bf..ab1ed71a 100644 --- a/application/frontend/src/app/core/reducers/shipment-route.reducer.ts +++ b/application/frontend/src/app/core/reducers/shipment-route.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/reducers/shipment.reducer.ts b/application/frontend/src/app/core/reducers/shipment.reducer.ts index af80adec..97b99938 100644 --- a/application/frontend/src/app/core/reducers/shipment.reducer.ts +++ b/application/frontend/src/app/core/reducers/shipment.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/reducers/shipments-metadata.reducer.spec.ts b/application/frontend/src/app/core/reducers/shipments-metadata.reducer.spec.ts index 3fa9da7c..071f80bf 100644 --- a/application/frontend/src/app/core/reducers/shipments-metadata.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/shipments-metadata.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './shipments-metadata.reducer'; diff --git a/application/frontend/src/app/core/reducers/shipments-metadata.reducer.ts b/application/frontend/src/app/core/reducers/shipments-metadata.reducer.ts index c0bcc876..3ee9af05 100644 --- a/application/frontend/src/app/core/reducers/shipments-metadata.reducer.ts +++ b/application/frontend/src/app/core/reducers/shipments-metadata.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ActiveFilter } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/reducers/ui.reducer.spec.ts b/application/frontend/src/app/core/reducers/ui.reducer.spec.ts index c028f25e..a73a0fb8 100644 --- a/application/frontend/src/app/core/reducers/ui.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/ui.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './ui.reducer'; diff --git a/application/frontend/src/app/core/reducers/ui.reducer.ts b/application/frontend/src/app/core/reducers/ui.reducer.ts index b34b82d0..1c6ed67d 100644 --- a/application/frontend/src/app/core/reducers/ui.reducer.ts +++ b/application/frontend/src/app/core/reducers/ui.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createReducer, on } from '@ngrx/store'; import { ShipmentsActions } from 'src/app/shipments/actions'; diff --git a/application/frontend/src/app/core/reducers/undo-redo.reducer.spec.ts b/application/frontend/src/app/core/reducers/undo-redo.reducer.spec.ts index 6b09da9f..00f3112b 100644 --- a/application/frontend/src/app/core/reducers/undo-redo.reducer.spec.ts +++ b/application/frontend/src/app/core/reducers/undo-redo.reducer.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { reducer, initialState } from './undo-redo.reducer'; diff --git a/application/frontend/src/app/core/reducers/undo-redo.reducer.ts b/application/frontend/src/app/core/reducers/undo-redo.reducer.ts index 9d164bab..01a1c440 100644 --- a/application/frontend/src/app/core/reducers/undo-redo.reducer.ts +++ b/application/frontend/src/app/core/reducers/undo-redo.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Action, createReducer } from '@ngrx/store'; import * as fromRoot from '../../reducers'; diff --git a/application/frontend/src/app/core/reducers/vehicle-operator.reducer.ts b/application/frontend/src/app/core/reducers/vehicle-operator.reducer.ts index 7db203fd..b4175f0c 100644 --- a/application/frontend/src/app/core/reducers/vehicle-operator.reducer.ts +++ b/application/frontend/src/app/core/reducers/vehicle-operator.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/reducers/vehicle.reducer.ts b/application/frontend/src/app/core/reducers/vehicle.reducer.ts index 332035ee..1620c3d6 100644 --- a/application/frontend/src/app/core/reducers/vehicle.reducer.ts +++ b/application/frontend/src/app/core/reducers/vehicle.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/reducers/visit-request.reducer.ts b/application/frontend/src/app/core/reducers/visit-request.reducer.ts index de3499e0..5de41091 100644 --- a/application/frontend/src/app/core/reducers/visit-request.reducer.ts +++ b/application/frontend/src/app/core/reducers/visit-request.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/reducers/visit.reducer.ts b/application/frontend/src/app/core/reducers/visit.reducer.ts index dcfc218d..bd97276d 100644 --- a/application/frontend/src/app/core/reducers/visit.reducer.ts +++ b/application/frontend/src/app/core/reducers/visit.reducer.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createReducer, on } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/capacity-quantity.selectors.ts b/application/frontend/src/app/core/selectors/capacity-quantity.selectors.ts index 76aa6fd9..932ed00d 100644 --- a/application/frontend/src/app/core/selectors/capacity-quantity.selectors.ts +++ b/application/frontend/src/app/core/selectors/capacity-quantity.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import * as fromShipments from 'src/app/core/selectors/shipment.selectors'; diff --git a/application/frontend/src/app/core/selectors/config.selectors.ts b/application/frontend/src/app/core/selectors/config.selectors.ts index 074d7173..121d3fa2 100644 --- a/application/frontend/src/app/core/selectors/config.selectors.ts +++ b/application/frontend/src/app/core/selectors/config.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import { SkippedShipmentReasonCode } from '../models/dispatcher.model'; diff --git a/application/frontend/src/app/core/selectors/denormalize.selectors.ts b/application/frontend/src/app/core/selectors/denormalize.selectors.ts index 647adf93..fe5b5c1b 100644 --- a/application/frontend/src/app/core/selectors/denormalize.selectors.ts +++ b/application/frontend/src/app/core/selectors/denormalize.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/depot.selectors.spec.ts b/application/frontend/src/app/core/selectors/depot.selectors.spec.ts index 31956a67..a434cbe4 100644 --- a/application/frontend/src/app/core/selectors/depot.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/depot.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Vehicle } from '../models'; import * as fromDepot from './depot.selectors'; diff --git a/application/frontend/src/app/core/selectors/depot.selectors.ts b/application/frontend/src/app/core/selectors/depot.selectors.ts index df4d01bd..1e5b298a 100644 --- a/application/frontend/src/app/core/selectors/depot.selectors.ts +++ b/application/frontend/src/app/core/selectors/depot.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { fromDispatcherLatLng, getBounds, pointsAreCoincident } from 'src/app/util'; diff --git a/application/frontend/src/app/core/selectors/dispatcher-api.selectors.ts b/application/frontend/src/app/core/selectors/dispatcher-api.selectors.ts index 7085b35e..69a1e58a 100644 --- a/application/frontend/src/app/core/selectors/dispatcher-api.selectors.ts +++ b/application/frontend/src/app/core/selectors/dispatcher-api.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import { ShipmentRoute, Visit } from '../models'; diff --git a/application/frontend/src/app/core/selectors/dispatcher.selectors.ts b/application/frontend/src/app/core/selectors/dispatcher.selectors.ts index afa2a804..a43f1372 100644 --- a/application/frontend/src/app/core/selectors/dispatcher.selectors.ts +++ b/application/frontend/src/app/core/selectors/dispatcher.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import * as fromDispatcher from '../reducers/dispatcher.reducer'; diff --git a/application/frontend/src/app/core/selectors/download.selectors.ts b/application/frontend/src/app/core/selectors/download.selectors.ts index 148e93fd..8c6ba3f9 100644 --- a/application/frontend/src/app/core/selectors/download.selectors.ts +++ b/application/frontend/src/app/core/selectors/download.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { IInjectedSolution, IOptimizeToursRequest, IOptimizeToursResponse } from '../models'; diff --git a/application/frontend/src/app/core/selectors/edit-visit.selectors.spec.ts b/application/frontend/src/app/core/selectors/edit-visit.selectors.spec.ts index 9e607032..6ecc5e77 100644 --- a/application/frontend/src/app/core/selectors/edit-visit.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/edit-visit.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { ShipmentRoute, Visit } from '../models'; diff --git a/application/frontend/src/app/core/selectors/edit-visit.selectors.ts b/application/frontend/src/app/core/selectors/edit-visit.selectors.ts index 326d8dd3..e20623e9 100644 --- a/application/frontend/src/app/core/selectors/edit-visit.selectors.ts +++ b/application/frontend/src/app/core/selectors/edit-visit.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/map-api.selectors.ts b/application/frontend/src/app/core/selectors/map-api.selectors.ts index 9640c779..7e013dec 100644 --- a/application/frontend/src/app/core/selectors/map-api.selectors.ts +++ b/application/frontend/src/app/core/selectors/map-api.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import * as fromMapApi from '../reducers/map-api.reducer'; diff --git a/application/frontend/src/app/core/selectors/map.selectors.ts b/application/frontend/src/app/core/selectors/map.selectors.ts index dad3f16c..d6b59e13 100644 --- a/application/frontend/src/app/core/selectors/map.selectors.ts +++ b/application/frontend/src/app/core/selectors/map.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import buffer from '@turf/buffer'; diff --git a/application/frontend/src/app/core/selectors/point-of-interest.selectors.ts b/application/frontend/src/app/core/selectors/point-of-interest.selectors.ts index 556f8f6e..ba12b296 100644 --- a/application/frontend/src/app/core/selectors/point-of-interest.selectors.ts +++ b/application/frontend/src/app/core/selectors/point-of-interest.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector, MemoizedSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/post-solve-shipment.selectors.ts b/application/frontend/src/app/core/selectors/post-solve-shipment.selectors.ts index 63da2e29..4470567f 100644 --- a/application/frontend/src/app/core/selectors/post-solve-shipment.selectors.ts +++ b/application/frontend/src/app/core/selectors/post-solve-shipment.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import PreSolveShipmentSelectors from './pre-solve-shipment.selectors'; diff --git a/application/frontend/src/app/core/selectors/post-solve-vehicle-layer.selectors.ts b/application/frontend/src/app/core/selectors/post-solve-vehicle-layer.selectors.ts index e799ad71..e837355e 100644 --- a/application/frontend/src/app/core/selectors/post-solve-vehicle-layer.selectors.ts +++ b/application/frontend/src/app/core/selectors/post-solve-vehicle-layer.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { selectVehicleHeadings, selectVehicleStartLocationsOnRoute } from './map.selectors'; diff --git a/application/frontend/src/app/core/selectors/post-solve-visit-request-layer.selectors.ts b/application/frontend/src/app/core/selectors/post-solve-visit-request-layer.selectors.ts index b1ab905a..ca296593 100644 --- a/application/frontend/src/app/core/selectors/post-solve-visit-request-layer.selectors.ts +++ b/application/frontend/src/app/core/selectors/post-solve-visit-request-layer.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { VisitRequest } from '../models'; diff --git a/application/frontend/src/app/core/selectors/post-solve.selectors.ts b/application/frontend/src/app/core/selectors/post-solve.selectors.ts index 479f7778..f3d84ac5 100644 --- a/application/frontend/src/app/core/selectors/post-solve.selectors.ts +++ b/application/frontend/src/app/core/selectors/post-solve.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { Page } from '../models'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.spec.ts b/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.spec.ts index 9709ef01..1e6f6751 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromPreSolveShipment from '../reducers/pre-solve-shipment.reducer'; import { selectPreSolveShipmentState } from './pre-solve-shipment.selectors'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.ts b/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.ts index 9da24d86..28c4748a 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-shipment.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-vehicle-layer.selectors.ts b/application/frontend/src/app/core/selectors/pre-solve-vehicle-layer.selectors.ts index 2c9ff885..4e8920da 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-vehicle-layer.selectors.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-vehicle-layer.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { Feature, Point } from '@turf/helpers'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.spec.ts b/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.spec.ts index 96d547a8..1e3e0af5 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromPreSolveVehicleOperator from '../reducers/pre-solve-vehicle-operator.reducer'; import { selectPreSolveVehicleOperatorState } from './pre-solve-vehicle-operator.selectors'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.ts b/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.ts index 07d825fd..d51bbf6a 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-vehicle-operator.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import { diff --git a/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.spec.ts b/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.spec.ts index 64ccef6f..1a3b8fed 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromPreSolveVehicle from '../reducers/pre-solve-vehicle.reducer'; import { selectPreSolveVehicleState } from './pre-solve-vehicle.selectors'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.ts b/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.ts index 7c534623..932e0875 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-vehicle.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import * as Long from 'long'; diff --git a/application/frontend/src/app/core/selectors/pre-solve-visit-request-layer.selectors.ts b/application/frontend/src/app/core/selectors/pre-solve-visit-request-layer.selectors.ts index 2d0ccc6c..c36ddd7c 100644 --- a/application/frontend/src/app/core/selectors/pre-solve-visit-request-layer.selectors.ts +++ b/application/frontend/src/app/core/selectors/pre-solve-visit-request-layer.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { fromDispatcherToTurfPoint } from 'src/app/util'; diff --git a/application/frontend/src/app/core/selectors/pre-solve.selectors.ts b/application/frontend/src/app/core/selectors/pre-solve.selectors.ts index a175e96f..9ae88aaf 100644 --- a/application/frontend/src/app/core/selectors/pre-solve.selectors.ts +++ b/application/frontend/src/app/core/selectors/pre-solve.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { Page } from '../models'; diff --git a/application/frontend/src/app/core/selectors/request-settings.selectors.ts b/application/frontend/src/app/core/selectors/request-settings.selectors.ts index e80aeb89..cc18c2e7 100644 --- a/application/frontend/src/app/core/selectors/request-settings.selectors.ts +++ b/application/frontend/src/app/core/selectors/request-settings.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromRequestSettings from '../reducers/request-settings.reducer'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/route-layer.selectors.ts b/application/frontend/src/app/core/selectors/route-layer.selectors.ts index 2dc62cc3..2247417f 100644 --- a/application/frontend/src/app/core/selectors/route-layer.selectors.ts +++ b/application/frontend/src/app/core/selectors/route-layer.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import ShipmentRouteSelectors, * as fromShipmentRoute from './shipment-route.selectors'; diff --git a/application/frontend/src/app/core/selectors/routes-chart.selectors.spec.ts b/application/frontend/src/app/core/selectors/routes-chart.selectors.spec.ts index 7c770154..4761e5fa 100644 --- a/application/frontend/src/app/core/selectors/routes-chart.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/routes-chart.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromRoutesChart from '../reducers/routes-chart.reducer'; import { selectRoutesChartState } from './routes-chart.selectors'; diff --git a/application/frontend/src/app/core/selectors/routes-chart.selectors.ts b/application/frontend/src/app/core/selectors/routes-chart.selectors.ts index 92e9096e..83ea5d32 100644 --- a/application/frontend/src/app/core/selectors/routes-chart.selectors.ts +++ b/application/frontend/src/app/core/selectors/routes-chart.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import * as Long from 'long'; diff --git a/application/frontend/src/app/core/selectors/routes-metadata.selectors.spec.ts b/application/frontend/src/app/core/selectors/routes-metadata.selectors.spec.ts index e72ceaad..e6933c97 100644 --- a/application/frontend/src/app/core/selectors/routes-metadata.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/routes-metadata.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromRoutesMetadata from '../reducers/routes-metadata.reducer'; import { selectRoutesMetadataState } from './routes-metadata.selectors'; diff --git a/application/frontend/src/app/core/selectors/routes-metadata.selectors.ts b/application/frontend/src/app/core/selectors/routes-metadata.selectors.ts index be671b64..88add4de 100644 --- a/application/frontend/src/app/core/selectors/routes-metadata.selectors.ts +++ b/application/frontend/src/app/core/selectors/routes-metadata.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import { FilterOption } from 'src/app/shared/models/filter'; diff --git a/application/frontend/src/app/core/selectors/scenario.selectors.ts b/application/frontend/src/app/core/selectors/scenario.selectors.ts index 8766634f..2c8009f8 100644 --- a/application/frontend/src/app/core/selectors/scenario.selectors.ts +++ b/application/frontend/src/app/core/selectors/scenario.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { durationSeconds } from 'src/app/util'; diff --git a/application/frontend/src/app/core/selectors/shipment-model.selectors.ts b/application/frontend/src/app/core/selectors/shipment-model.selectors.ts index 1373b391..4449ddbc 100644 --- a/application/frontend/src/app/core/selectors/shipment-model.selectors.ts +++ b/application/frontend/src/app/core/selectors/shipment-model.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromShipmentModel from '../reducers/shipment-model.reducer'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/shipment-route.selectors.ts b/application/frontend/src/app/core/selectors/shipment-route.selectors.ts index e587b423..7af170e8 100644 --- a/application/frontend/src/app/core/selectors/shipment-route.selectors.ts +++ b/application/frontend/src/app/core/selectors/shipment-route.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import * as Long from 'long'; diff --git a/application/frontend/src/app/core/selectors/shipment.selectors.ts b/application/frontend/src/app/core/selectors/shipment.selectors.ts index 6b4a481f..26059765 100644 --- a/application/frontend/src/app/core/selectors/shipment.selectors.ts +++ b/application/frontend/src/app/core/selectors/shipment.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/shipments-metadata.selectors.spec.ts b/application/frontend/src/app/core/selectors/shipments-metadata.selectors.spec.ts index e62d4db1..8edf5960 100644 --- a/application/frontend/src/app/core/selectors/shipments-metadata.selectors.spec.ts +++ b/application/frontend/src/app/core/selectors/shipments-metadata.selectors.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as fromShipmentsMetadata from '../reducers/shipments-metadata.reducer'; import { selectShipmentsMetadataState } from './shipments-metadata.selectors'; diff --git a/application/frontend/src/app/core/selectors/shipments-metadata.selectors.ts b/application/frontend/src/app/core/selectors/shipments-metadata.selectors.ts index d1a8b08b..af6aa469 100644 --- a/application/frontend/src/app/core/selectors/shipments-metadata.selectors.ts +++ b/application/frontend/src/app/core/selectors/shipments-metadata.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import { FilterOption } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/core/selectors/solution.selectors.ts b/application/frontend/src/app/core/selectors/solution.selectors.ts index 19c3f755..e1e57e35 100644 --- a/application/frontend/src/app/core/selectors/solution.selectors.ts +++ b/application/frontend/src/app/core/selectors/solution.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import * as fromDispatcher from './dispatcher.selectors'; diff --git a/application/frontend/src/app/core/selectors/timeline.selectors.ts b/application/frontend/src/app/core/selectors/timeline.selectors.ts index 3e2c6256..7578ff4e 100644 --- a/application/frontend/src/app/core/selectors/timeline.selectors.ts +++ b/application/frontend/src/app/core/selectors/timeline.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createSelector, MemoizedSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/ui.selectors.ts b/application/frontend/src/app/core/selectors/ui.selectors.ts index 09f35b61..ce891330 100644 --- a/application/frontend/src/app/core/selectors/ui.selectors.ts +++ b/application/frontend/src/app/core/selectors/ui.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import { Page } from '../models'; diff --git a/application/frontend/src/app/core/selectors/undo-redo.selectors.ts b/application/frontend/src/app/core/selectors/undo-redo.selectors.ts index 8c6afc81..8c857b8f 100644 --- a/application/frontend/src/app/core/selectors/undo-redo.selectors.ts +++ b/application/frontend/src/app/core/selectors/undo-redo.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createFeatureSelector, createSelector } from '@ngrx/store'; import * as fromUndoRedo from '../reducers/undo-redo.reducer'; diff --git a/application/frontend/src/app/core/selectors/validation.selectors.ts b/application/frontend/src/app/core/selectors/validation.selectors.ts index 825c632e..fea5b59a 100644 --- a/application/frontend/src/app/core/selectors/validation.selectors.ts +++ b/application/frontend/src/app/core/selectors/validation.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createSelector } from '@ngrx/store'; import { ValidationContext } from '../models'; diff --git a/application/frontend/src/app/core/selectors/vehicle-operator.selectors.ts b/application/frontend/src/app/core/selectors/vehicle-operator.selectors.ts index 23ce1430..03a6fc40 100644 --- a/application/frontend/src/app/core/selectors/vehicle-operator.selectors.ts +++ b/application/frontend/src/app/core/selectors/vehicle-operator.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/vehicle.selectors.ts b/application/frontend/src/app/core/selectors/vehicle.selectors.ts index db91cc79..eee86e1d 100644 --- a/application/frontend/src/app/core/selectors/vehicle.selectors.ts +++ b/application/frontend/src/app/core/selectors/vehicle.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/visit-request.selectors.ts b/application/frontend/src/app/core/selectors/visit-request.selectors.ts index 8ca2f771..d3fcff2c 100644 --- a/application/frontend/src/app/core/selectors/visit-request.selectors.ts +++ b/application/frontend/src/app/core/selectors/visit-request.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/selectors/visit.selectors.ts b/application/frontend/src/app/core/selectors/visit.selectors.ts index 465ce9ea..f3b6e35c 100644 --- a/application/frontend/src/app/core/selectors/visit.selectors.ts +++ b/application/frontend/src/app/core/selectors/visit.selectors.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { createFeatureSelector, createSelector } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/base-info-window.service.spec.ts b/application/frontend/src/app/core/services/base-info-window.service.spec.ts index 68f009f5..6096ba2e 100644 --- a/application/frontend/src/app/core/services/base-info-window.service.spec.ts +++ b/application/frontend/src/app/core/services/base-info-window.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ApplicationRef, Component, EnvironmentInjector, Injectable } from '@angular/core'; import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/services/base-info-window.service.ts b/application/frontend/src/app/core/services/base-info-window.service.ts index f1675fc3..a51fb60f 100644 --- a/application/frontend/src/app/core/services/base-info-window.service.ts +++ b/application/frontend/src/app/core/services/base-info-window.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ApplicationRef, diff --git a/application/frontend/src/app/core/services/base-markers-layer.service.ts b/application/frontend/src/app/core/services/base-markers-layer.service.ts index 4f69c678..b9330afc 100644 --- a/application/frontend/src/app/core/services/base-markers-layer.service.ts +++ b/application/frontend/src/app/core/services/base-markers-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgZone } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/base-vehicle-layer.service.ts b/application/frontend/src/app/core/services/base-vehicle-layer.service.ts index dd52197e..3aa12e66 100644 --- a/application/frontend/src/app/core/services/base-vehicle-layer.service.ts +++ b/application/frontend/src/app/core/services/base-vehicle-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgZone } from '@angular/core'; import { GoogleMapsOverlay } from '@deck.gl/google-maps'; diff --git a/application/frontend/src/app/core/services/base-visit-request-layer.service.ts b/application/frontend/src/app/core/services/base-visit-request-layer.service.ts index 844efbe6..441669e9 100644 --- a/application/frontend/src/app/core/services/base-visit-request-layer.service.ts +++ b/application/frontend/src/app/core/services/base-visit-request-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgZone } from '@angular/core'; import { GoogleMapsOverlay } from '@deck.gl/google-maps'; diff --git a/application/frontend/src/app/core/services/csv-vehicle-layer.service.ts b/application/frontend/src/app/core/services/csv-vehicle-layer.service.ts index f8a7bd85..9e43134b 100644 --- a/application/frontend/src/app/core/services/csv-vehicle-layer.service.ts +++ b/application/frontend/src/app/core/services/csv-vehicle-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/csv-visit-request-layer.service.ts b/application/frontend/src/app/core/services/csv-visit-request-layer.service.ts index 959d87fb..90849f01 100644 --- a/application/frontend/src/app/core/services/csv-visit-request-layer.service.ts +++ b/application/frontend/src/app/core/services/csv-visit-request-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/csv.service.spec.ts b/application/frontend/src/app/core/services/csv.service.spec.ts index 4a64e387..e5864ed5 100644 --- a/application/frontend/src/app/core/services/csv.service.spec.ts +++ b/application/frontend/src/app/core/services/csv.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/services/csv.service.ts b/application/frontend/src/app/core/services/csv.service.ts index 270f3f68..842e1a34 100644 --- a/application/frontend/src/app/core/services/csv.service.ts +++ b/application/frontend/src/app/core/services/csv.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/depot-layer.service.ts b/application/frontend/src/app/core/services/depot-layer.service.ts index 42a0459d..526341af 100644 --- a/application/frontend/src/app/core/services/depot-layer.service.ts +++ b/application/frontend/src/app/core/services/depot-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/dispatcher-client.spec.ts b/application/frontend/src/app/core/services/dispatcher-client.spec.ts index 750a87dd..85324aff 100644 --- a/application/frontend/src/app/core/services/dispatcher-client.spec.ts +++ b/application/frontend/src/app/core/services/dispatcher-client.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/dispatcher-client.ts b/application/frontend/src/app/core/services/dispatcher-client.ts index 5ee1ea0a..e9cb2110 100644 --- a/application/frontend/src/app/core/services/dispatcher-client.ts +++ b/application/frontend/src/app/core/services/dispatcher-client.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Store, select } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/dispatcher.service.spec.ts b/application/frontend/src/app/core/services/dispatcher.service.spec.ts index ed3ae4d1..ab7595e4 100644 --- a/application/frontend/src/app/core/services/dispatcher.service.spec.ts +++ b/application/frontend/src/app/core/services/dispatcher.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { DispatcherService } from './dispatcher.service'; diff --git a/application/frontend/src/app/core/services/dispatcher.service.ts b/application/frontend/src/app/core/services/dispatcher.service.ts index 2c8f5268..b1e304a8 100644 --- a/application/frontend/src/app/core/services/dispatcher.service.ts +++ b/application/frontend/src/app/core/services/dispatcher.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { IConversionOptions } from 'protobufjs'; diff --git a/application/frontend/src/app/core/services/file.service.spec.ts b/application/frontend/src/app/core/services/file.service.spec.ts index c1154222..8318ca3f 100644 --- a/application/frontend/src/app/core/services/file.service.spec.ts +++ b/application/frontend/src/app/core/services/file.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/services/file.service.ts b/application/frontend/src/app/core/services/file.service.ts index 9352dd7a..f4b49f32 100644 --- a/application/frontend/src/app/core/services/file.service.ts +++ b/application/frontend/src/app/core/services/file.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, RendererFactory2 } from '@angular/core'; import { from, Observable } from 'rxjs'; diff --git a/application/frontend/src/app/core/services/form-map.service.ts b/application/frontend/src/app/core/services/form-map.service.ts index 1d47ca5e..0f0de173 100644 --- a/application/frontend/src/app/core/services/form-map.service.ts +++ b/application/frontend/src/app/core/services/form-map.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DomPortal } from '@angular/cdk/portal'; import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/form-visit-request-info-window.service.ts b/application/frontend/src/app/core/services/form-visit-request-info-window.service.ts index c461b0e9..64510164 100644 --- a/application/frontend/src/app/core/services/form-visit-request-info-window.service.ts +++ b/application/frontend/src/app/core/services/form-visit-request-info-window.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ApplicationRef, EnvironmentInjector, Injectable } from '@angular/core'; import { BaseVisitRequestInfoWindowComponent } from '../components/base-visit-request-info-window/base-visit-request-info-window.component'; diff --git a/application/frontend/src/app/core/services/form-visit-request-layer.service.ts b/application/frontend/src/app/core/services/form-visit-request-layer.service.ts index bc3faf2b..94c5f804 100644 --- a/application/frontend/src/app/core/services/form-visit-request-layer.service.ts +++ b/application/frontend/src/app/core/services/form-visit-request-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/geocoding.service.ts b/application/frontend/src/app/core/services/geocoding.service.ts index e41b7d1f..b10fc3ee 100644 --- a/application/frontend/src/app/core/services/geocoding.service.ts +++ b/application/frontend/src/app/core/services/geocoding.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { Store, select } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/index.ts b/application/frontend/src/app/core/services/index.ts index 1dca15c4..847eb06d 100644 --- a/application/frontend/src/app/core/services/index.ts +++ b/application/frontend/src/app/core/services/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './csv-vehicle-layer.service'; export * from './depot-layer.service'; diff --git a/application/frontend/src/app/core/services/map-api.service.ts b/application/frontend/src/app/core/services/map-api.service.ts index 5a12bc95..6a5ae71b 100644 --- a/application/frontend/src/app/core/services/map-api.service.ts +++ b/application/frontend/src/app/core/services/map-api.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DOCUMENT } from '@angular/common'; import { Inject, Injectable, NgZone, RendererFactory2 } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/map-theme.service.ts b/application/frontend/src/app/core/services/map-theme.service.ts index ada8cfba..7e23723a 100644 --- a/application/frontend/src/app/core/services/map-theme.service.ts +++ b/application/frontend/src/app/core/services/map-theme.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export enum ZIndex { Depot = 100, diff --git a/application/frontend/src/app/core/services/map.service.spec.ts b/application/frontend/src/app/core/services/map.service.spec.ts index 559b29b8..4ab0208c 100644 --- a/application/frontend/src/app/core/services/map.service.spec.ts +++ b/application/frontend/src/app/core/services/map.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { provideMockStore } from '@ngrx/store/testing'; diff --git a/application/frontend/src/app/core/services/map.service.ts b/application/frontend/src/app/core/services/map.service.ts index cd2377af..a73fa427 100644 --- a/application/frontend/src/app/core/services/map.service.ts +++ b/application/frontend/src/app/core/services/map.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { BehaviorSubject, fromEventPattern, Observable, of, race, Subject } from 'rxjs'; diff --git a/application/frontend/src/app/core/services/message.service.spec.ts b/application/frontend/src/app/core/services/message.service.spec.ts index 721e88e0..c2082d1d 100644 --- a/application/frontend/src/app/core/services/message.service.spec.ts +++ b/application/frontend/src/app/core/services/message.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { MatSnackBar } from '@angular/material/snack-bar'; diff --git a/application/frontend/src/app/core/services/message.service.ts b/application/frontend/src/app/core/services/message.service.ts index 44d18037..316aacbc 100644 --- a/application/frontend/src/app/core/services/message.service.ts +++ b/application/frontend/src/app/core/services/message.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatSnackBar, MatSnackBarRef } from '@angular/material/snack-bar'; diff --git a/application/frontend/src/app/core/services/normalization.service.spec.ts b/application/frontend/src/app/core/services/normalization.service.spec.ts index d26d2f65..433b727e 100644 --- a/application/frontend/src/app/core/services/normalization.service.spec.ts +++ b/application/frontend/src/app/core/services/normalization.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IInjectedSolution, diff --git a/application/frontend/src/app/core/services/normalization.service.ts b/application/frontend/src/app/core/services/normalization.service.ts index a8423358..03e88f26 100644 --- a/application/frontend/src/app/core/services/normalization.service.ts +++ b/application/frontend/src/app/core/services/normalization.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/optimize-tours-message.service.spec.ts b/application/frontend/src/app/core/services/optimize-tours-message.service.spec.ts index 29ab9063..2110f9be 100644 --- a/application/frontend/src/app/core/services/optimize-tours-message.service.spec.ts +++ b/application/frontend/src/app/core/services/optimize-tours-message.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { MatSnackBar } from '@angular/material/snack-bar'; diff --git a/application/frontend/src/app/core/services/optimize-tours-message.service.ts b/application/frontend/src/app/core/services/optimize-tours-message.service.ts index 112dcdb3..c1cee050 100644 --- a/application/frontend/src/app/core/services/optimize-tours-message.service.ts +++ b/application/frontend/src/app/core/services/optimize-tours-message.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MessageService } from './message.service'; diff --git a/application/frontend/src/app/core/services/pdf-download.service.spec.ts b/application/frontend/src/app/core/services/pdf-download.service.spec.ts index a6a3d175..db8dfc3e 100644 --- a/application/frontend/src/app/core/services/pdf-download.service.spec.ts +++ b/application/frontend/src/app/core/services/pdf-download.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/services/pdf-download.service.ts b/application/frontend/src/app/core/services/pdf-download.service.ts index ff5631fd..e6e27d6f 100644 --- a/application/frontend/src/app/core/services/pdf-download.service.ts +++ b/application/frontend/src/app/core/services/pdf-download.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/pdf-map.service.ts b/application/frontend/src/app/core/services/pdf-map.service.ts index df0c1d4e..5c4b62ad 100644 --- a/application/frontend/src/app/core/services/pdf-map.service.ts +++ b/application/frontend/src/app/core/services/pdf-map.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DomPortal } from '@angular/cdk/portal'; import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/pdf-route-layer.service.ts b/application/frontend/src/app/core/services/pdf-route-layer.service.ts index ee365e3e..c4e2558c 100644 --- a/application/frontend/src/app/core/services/pdf-route-layer.service.ts +++ b/application/frontend/src/app/core/services/pdf-route-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { GoogleMapsOverlay } from '@deck.gl/google-maps'; diff --git a/application/frontend/src/app/core/services/pdf-visit-request-layer.service.ts b/application/frontend/src/app/core/services/pdf-visit-request-layer.service.ts index b64c7f54..ebfdb4cb 100644 --- a/application/frontend/src/app/core/services/pdf-visit-request-layer.service.ts +++ b/application/frontend/src/app/core/services/pdf-visit-request-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/places.service.spec.ts b/application/frontend/src/app/core/services/places.service.spec.ts index 2461983a..585ab991 100644 --- a/application/frontend/src/app/core/services/places.service.spec.ts +++ b/application/frontend/src/app/core/services/places.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { provideMockStore } from '@ngrx/store/testing'; diff --git a/application/frontend/src/app/core/services/places.service.ts b/application/frontend/src/app/core/services/places.service.ts index c88b1a35..985c2f74 100644 --- a/application/frontend/src/app/core/services/places.service.ts +++ b/application/frontend/src/app/core/services/places.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MapService } from './map.service'; diff --git a/application/frontend/src/app/core/services/post-solve-vehicle-layer.service.ts b/application/frontend/src/app/core/services/post-solve-vehicle-layer.service.ts index 8628a0c2..4b34d73e 100644 --- a/application/frontend/src/app/core/services/post-solve-vehicle-layer.service.ts +++ b/application/frontend/src/app/core/services/post-solve-vehicle-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/post-solve-visit-request-layer.service.ts b/application/frontend/src/app/core/services/post-solve-visit-request-layer.service.ts index 8919327a..a258e0e8 100644 --- a/application/frontend/src/app/core/services/post-solve-visit-request-layer.service.ts +++ b/application/frontend/src/app/core/services/post-solve-visit-request-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/pre-solve-vehicle-layer.service.ts b/application/frontend/src/app/core/services/pre-solve-vehicle-layer.service.ts index d92ac989..a16ee969 100644 --- a/application/frontend/src/app/core/services/pre-solve-vehicle-layer.service.ts +++ b/application/frontend/src/app/core/services/pre-solve-vehicle-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { State } from 'src/app/reducers'; diff --git a/application/frontend/src/app/core/services/pre-solve-visit-request-layer.service.ts b/application/frontend/src/app/core/services/pre-solve-visit-request-layer.service.ts index c052fccc..938a8ca8 100644 --- a/application/frontend/src/app/core/services/pre-solve-visit-request-layer.service.ts +++ b/application/frontend/src/app/core/services/pre-solve-visit-request-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { MapService } from './map.service'; diff --git a/application/frontend/src/app/core/services/route-layer.service.ts b/application/frontend/src/app/core/services/route-layer.service.ts index e5ba0b38..78de1c71 100644 --- a/application/frontend/src/app/core/services/route-layer.service.ts +++ b/application/frontend/src/app/core/services/route-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { GoogleMapsOverlay } from '@deck.gl/google-maps'; diff --git a/application/frontend/src/app/core/services/routes-chart.service.ts b/application/frontend/src/app/core/services/routes-chart.service.ts index 2f92c3fd..250ee50e 100644 --- a/application/frontend/src/app/core/services/routes-chart.service.ts +++ b/application/frontend/src/app/core/services/routes-chart.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CdkVirtualScrollViewport, ExtendedScrollToOptions } from '@angular/cdk/scrolling'; import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/storage-api.service.ts b/application/frontend/src/app/core/services/storage-api.service.ts index 278158b3..674b7780 100644 --- a/application/frontend/src/app/core/services/storage-api.service.ts +++ b/application/frontend/src/app/core/services/storage-api.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { HttpClient, HttpParams } from '@angular/common/http'; import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/core/services/upload.service.spec.ts b/application/frontend/src/app/core/services/upload.service.spec.ts index d6dfb0a4..d80e9495 100644 --- a/application/frontend/src/app/core/services/upload.service.spec.ts +++ b/application/frontend/src/app/core/services/upload.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { DispatcherService } from './dispatcher.service'; diff --git a/application/frontend/src/app/core/services/upload.service.ts b/application/frontend/src/app/core/services/upload.service.ts index 93fe5d1b..7fc96926 100644 --- a/application/frontend/src/app/core/services/upload.service.ts +++ b/application/frontend/src/app/core/services/upload.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { DispatcherService } from './dispatcher.service'; diff --git a/application/frontend/src/app/core/services/validation.service.spec.ts b/application/frontend/src/app/core/services/validation.service.spec.ts index fdc53dea..1d456520 100644 --- a/application/frontend/src/app/core/services/validation.service.spec.ts +++ b/application/frontend/src/app/core/services/validation.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { Dictionary } from '@ngrx/entity'; diff --git a/application/frontend/src/app/core/services/validation.service.ts b/application/frontend/src/app/core/services/validation.service.ts index 4e1bf4fc..7c9f8452 100644 --- a/application/frontend/src/app/core/services/validation.service.ts +++ b/application/frontend/src/app/core/services/validation.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/vehicle-info-window.service.spec.ts b/application/frontend/src/app/core/services/vehicle-info-window.service.spec.ts index 04cb60a1..866ef328 100644 --- a/application/frontend/src/app/core/services/vehicle-info-window.service.spec.ts +++ b/application/frontend/src/app/core/services/vehicle-info-window.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { provideMockStore } from '@ngrx/store/testing'; diff --git a/application/frontend/src/app/core/services/vehicle-info-window.service.ts b/application/frontend/src/app/core/services/vehicle-info-window.service.ts index c0b3e61f..200d3fde 100644 --- a/application/frontend/src/app/core/services/vehicle-info-window.service.ts +++ b/application/frontend/src/app/core/services/vehicle-info-window.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ApplicationRef, EnvironmentInjector, Injectable } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/vehicle-layer.service.ts b/application/frontend/src/app/core/services/vehicle-layer.service.ts index 191dba19..301a2e78 100644 --- a/application/frontend/src/app/core/services/vehicle-layer.service.ts +++ b/application/frontend/src/app/core/services/vehicle-layer.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable, NgZone } from '@angular/core'; import { Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/visit-request-info-window.service.spec.ts b/application/frontend/src/app/core/services/visit-request-info-window.service.spec.ts index 0968e6e6..f0c4b96c 100644 --- a/application/frontend/src/app/core/services/visit-request-info-window.service.spec.ts +++ b/application/frontend/src/app/core/services/visit-request-info-window.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { provideMockStore } from '@ngrx/store/testing'; diff --git a/application/frontend/src/app/core/services/visit-request-info-window.service.ts b/application/frontend/src/app/core/services/visit-request-info-window.service.ts index cc1661e2..9138645c 100644 --- a/application/frontend/src/app/core/services/visit-request-info-window.service.ts +++ b/application/frontend/src/app/core/services/visit-request-info-window.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ApplicationRef, EnvironmentInjector, Injectable, OnDestroy } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/core/services/window.service.spec.ts b/application/frontend/src/app/core/services/window.service.spec.ts index 945981c1..43fd0f46 100644 --- a/application/frontend/src/app/core/services/window.service.spec.ts +++ b/application/frontend/src/app/core/services/window.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/core/services/window.service.ts b/application/frontend/src/app/core/services/window.service.ts index b68ba257..7f10d663 100644 --- a/application/frontend/src/app/core/services/window.service.ts +++ b/application/frontend/src/app/core/services/window.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; diff --git a/application/frontend/src/app/material/index.ts b/application/frontend/src/app/material/index.ts index 31eaedfd..2824bcd7 100644 --- a/application/frontend/src/app/material/index.ts +++ b/application/frontend/src/app/material/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './material.module'; diff --git a/application/frontend/src/app/material/material.module.ts b/application/frontend/src/app/material/material.module.ts index 7838bed8..bd5bad02 100644 --- a/application/frontend/src/app/material/material.module.ts +++ b/application/frontend/src/app/material/material.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { PortalModule } from '@angular/cdk/portal'; import { ScrollingModule } from '@angular/cdk/scrolling'; diff --git a/application/frontend/src/app/reducers/index.ts b/application/frontend/src/app/reducers/index.ts index 1d8326fc..5ba2598c 100644 --- a/application/frontend/src/app/reducers/index.ts +++ b/application/frontend/src/app/reducers/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { InjectionToken } from '@angular/core'; import * as fromRouter from '@ngrx/router-store'; diff --git a/application/frontend/src/app/reducers/undo-redo.ts b/application/frontend/src/app/reducers/undo-redo.ts index eafbc75f..ecb45b9d 100644 --- a/application/frontend/src/app/reducers/undo-redo.ts +++ b/application/frontend/src/app/reducers/undo-redo.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Action, ActionReducer } from '@ngrx/store'; import { State } from '.'; diff --git a/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.spec.ts b/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.spec.ts index ed3d15af..4218c994 100644 --- a/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.spec.ts +++ b/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.ts b/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.ts index b4b55f0c..fb8d32a4 100644 --- a/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.ts +++ b/application/frontend/src/app/routes-chart/components/base-routes-chart/base-routes-chart.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.spec.ts b/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.spec.ts index da865751..42a5f0c8 100644 --- a/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.spec.ts +++ b/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MaterialModule } from 'src/app/material'; diff --git a/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.ts b/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.ts index fe10f457..a7074fd4 100644 --- a/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.ts +++ b/application/frontend/src/app/routes-chart/components/base-routes-row-column-header/base-routes-row-column-header.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { MatCheckboxChange } from '@angular/material/checkbox'; diff --git a/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.spec.ts b/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.spec.ts index 928ba64a..fe6bb050 100644 --- a/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.spec.ts +++ b/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MaterialModule } from 'src/app/material'; diff --git a/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.ts b/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.ts index bfd7bb11..42b31dce 100644 --- a/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.ts +++ b/application/frontend/src/app/routes-chart/components/base-routes-row/base-routes-row.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/routes-chart/components/index.ts b/application/frontend/src/app/routes-chart/components/index.ts index 99f4f008..fcea2059 100644 --- a/application/frontend/src/app/routes-chart/components/index.ts +++ b/application/frontend/src/app/routes-chart/components/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-routes-chart/base-routes-chart.component'; export * from './base-routes-row-column-header/base-routes-row-column-header.component'; diff --git a/application/frontend/src/app/routes-chart/containers/index.ts b/application/frontend/src/app/routes-chart/containers/index.ts index e6df1125..47759bae 100644 --- a/application/frontend/src/app/routes-chart/containers/index.ts +++ b/application/frontend/src/app/routes-chart/containers/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './routes-chart/routes-chart.component'; export * from './routes-row-column-header/routes-row-column-header.component'; diff --git a/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.spec.ts b/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.spec.ts index bc9faa87..98581489 100644 --- a/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.spec.ts +++ b/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.ts b/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.ts index 8d0961ed..29339b0a 100644 --- a/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.ts +++ b/application/frontend/src/app/routes-chart/containers/routes-chart/routes-chart.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DOCUMENT } from '@angular/common'; import { diff --git a/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.spec.ts b/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.spec.ts index acc3f702..be23e823 100644 --- a/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.spec.ts +++ b/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.ts b/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.ts index 3c17b012..730fc505 100644 --- a/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.ts +++ b/application/frontend/src/app/routes-chart/containers/routes-row-column-header/routes-row-column-header.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.spec.ts b/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.spec.ts index 6b87eaad..62f95ee9 100644 --- a/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.spec.ts +++ b/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.ts b/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.ts index bcb35aa7..b8abf317 100644 --- a/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.ts +++ b/application/frontend/src/app/routes-chart/containers/routes-row/routes-row.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/routes-chart/routes-chart-routing.module.ts b/application/frontend/src/app/routes-chart/routes-chart-routing.module.ts index d4eae3cc..31de6b23 100644 --- a/application/frontend/src/app/routes-chart/routes-chart-routing.module.ts +++ b/application/frontend/src/app/routes-chart/routes-chart-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; diff --git a/application/frontend/src/app/routes-chart/routes-chart.module.ts b/application/frontend/src/app/routes-chart/routes-chart.module.ts index 5d01817f..10835bee 100644 --- a/application/frontend/src/app/routes-chart/routes-chart.module.ts +++ b/application/frontend/src/app/routes-chart/routes-chart.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/routes-chart/routes-paginator-intl.ts b/application/frontend/src/app/routes-chart/routes-paginator-intl.ts index cccb8f60..5b5314e2 100644 --- a/application/frontend/src/app/routes-chart/routes-paginator-intl.ts +++ b/application/frontend/src/app/routes-chart/routes-paginator-intl.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { MatPaginatorIntl } from '@angular/material/paginator'; diff --git a/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.spec.ts b/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.spec.ts index 4f59e6da..641c5848 100644 --- a/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.spec.ts +++ b/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.ts b/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.ts index cd7ee83a..36a3a833 100644 --- a/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.ts +++ b/application/frontend/src/app/routes-metadata/components/base-routes-metadata-table/base-routes-metadata-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/routes-metadata/components/index.ts b/application/frontend/src/app/routes-metadata/components/index.ts index f26ff87f..53a1b3b1 100644 --- a/application/frontend/src/app/routes-metadata/components/index.ts +++ b/application/frontend/src/app/routes-metadata/components/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-routes-metadata-table/base-routes-metadata-table.component'; diff --git a/application/frontend/src/app/routes-metadata/containers/index.ts b/application/frontend/src/app/routes-metadata/containers/index.ts index 2fd3b52e..cc6a857b 100644 --- a/application/frontend/src/app/routes-metadata/containers/index.ts +++ b/application/frontend/src/app/routes-metadata/containers/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './routes-metadata-table/routes-metadata-table.component'; diff --git a/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.spec.ts b/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.spec.ts index fa4d36c2..16e0daf2 100644 --- a/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.spec.ts +++ b/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.ts b/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.ts index b09a8c88..a2ef3e2b 100644 --- a/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.ts +++ b/application/frontend/src/app/routes-metadata/containers/routes-metadata-table/routes-metadata-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { PageEvent } from '@angular/material/paginator'; diff --git a/application/frontend/src/app/routes-metadata/models/index.ts b/application/frontend/src/app/routes-metadata/models/index.ts index 1383ab3d..c58a9c49 100644 --- a/application/frontend/src/app/routes-metadata/models/index.ts +++ b/application/frontend/src/app/routes-metadata/models/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './route-metadata-column.model'; export * from './route-metadata.model'; diff --git a/application/frontend/src/app/routes-metadata/models/route-metadata-column.model.ts b/application/frontend/src/app/routes-metadata/models/route-metadata-column.model.ts index 78635c56..46ce1da9 100644 --- a/application/frontend/src/app/routes-metadata/models/route-metadata-column.model.ts +++ b/application/frontend/src/app/routes-metadata/models/route-metadata-column.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Column } from 'src/app/core/models'; import { RouteMetadata } from './route-metadata.model'; diff --git a/application/frontend/src/app/routes-metadata/models/route-metadata.model.ts b/application/frontend/src/app/routes-metadata/models/route-metadata.model.ts index cf085ed5..90477a91 100644 --- a/application/frontend/src/app/routes-metadata/models/route-metadata.model.ts +++ b/application/frontend/src/app/routes-metadata/models/route-metadata.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ShipmentRoute } from 'src/app/core/models'; import { google } from '@google-cloud/optimization/build/protos/protos'; diff --git a/application/frontend/src/app/routes-metadata/routes-metadata-routing.module.ts b/application/frontend/src/app/routes-metadata/routes-metadata-routing.module.ts index 07489d3f..14187451 100644 --- a/application/frontend/src/app/routes-metadata/routes-metadata-routing.module.ts +++ b/application/frontend/src/app/routes-metadata/routes-metadata-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; diff --git a/application/frontend/src/app/routes-metadata/routes-metadata.module.ts b/application/frontend/src/app/routes-metadata/routes-metadata.module.ts index 2002ed73..7e9b14c6 100644 --- a/application/frontend/src/app/routes-metadata/routes-metadata.module.ts +++ b/application/frontend/src/app/routes-metadata/routes-metadata.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.spec.ts b/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.spec.ts index 6a351485..2ee21ce0 100644 --- a/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.ts b/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.ts index 03094e62..9c674048 100644 --- a/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.ts +++ b/application/frontend/src/app/shared/components/break-request-form/break-request-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.spec.ts b/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.spec.ts index 06301afa..249125a0 100644 --- a/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.spec.ts +++ b/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.ts b/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.ts index 865f42ec..87f59737 100644 --- a/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.ts +++ b/application/frontend/src/app/shared/components/bulk-edit-unset/bulk-edit-unset.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.spec.ts b/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.spec.ts index bcc8b097..9fdd779f 100644 --- a/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.spec.ts +++ b/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.ts b/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.ts index 85d31813..164c3aa0 100644 --- a/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.ts +++ b/application/frontend/src/app/shared/components/capacity-quantity/capacity-quantity.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.spec.ts b/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.spec.ts index 46fd2bab..d9732ec4 100644 --- a/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.spec.ts +++ b/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.ts b/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.ts index ff0d934b..dfca6a3e 100644 --- a/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.ts +++ b/application/frontend/src/app/shared/components/confirm-dialog/confirm-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, Inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.spec.ts b/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.spec.ts index 6e3f35dd..ae0caac0 100644 --- a/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.spec.ts +++ b/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.ts b/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.ts index af315d7e..0e6cd1b1 100644 --- a/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.ts +++ b/application/frontend/src/app/shared/components/confirm-overwrite-dialog/confirm-overwrite-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.spec.ts b/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.spec.ts index 327a8e07..2cce88c5 100644 --- a/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { diff --git a/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.ts b/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.ts index 98b4f153..617af4e1 100644 --- a/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.ts +++ b/application/frontend/src/app/shared/components/duration-min-sec-form/duration-min-sec-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { UntypedFormGroup } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.spec.ts b/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.spec.ts index 35de843a..04056e1a 100644 --- a/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.ts b/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.ts index 2ed6d17b..b0d4d02a 100644 --- a/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.ts +++ b/application/frontend/src/app/shared/components/extra-visit-duration-form/extra-visit-duration-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.spec.ts b/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.spec.ts index ca2b523e..0249f6df 100644 --- a/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.ts b/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.ts index 0f026a93..bb99564b 100644 --- a/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.ts +++ b/application/frontend/src/app/shared/components/filter-boolean-form/filter-boolean-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.spec.ts b/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.spec.ts index 2449178e..054f2c46 100644 --- a/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.ts b/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.ts index 039c06f2..c7412bfc 100644 --- a/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.ts +++ b/application/frontend/src/app/shared/components/filter-date-form/filter-date-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/filter-list/filter-list.component.spec.ts b/application/frontend/src/app/shared/components/filter-list/filter-list.component.spec.ts index 270d3338..3e44c11f 100644 --- a/application/frontend/src/app/shared/components/filter-list/filter-list.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-list/filter-list.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MaterialModule } from 'src/app/material'; diff --git a/application/frontend/src/app/shared/components/filter-list/filter-list.component.ts b/application/frontend/src/app/shared/components/filter-list/filter-list.component.ts index 9a1b4662..cc9666a2 100644 --- a/application/frontend/src/app/shared/components/filter-list/filter-list.component.ts +++ b/application/frontend/src/app/shared/components/filter-list/filter-list.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { ActiveFilter } from '../../models'; diff --git a/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.spec.ts b/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.spec.ts index 58164bf3..934ec5de 100644 --- a/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; diff --git a/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.ts b/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.ts index 67e4e700..7b158cd3 100644 --- a/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.ts +++ b/application/frontend/src/app/shared/components/filter-menu/filter-menu.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { ActiveFilter, FilterOption } from '../../models'; diff --git a/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.spec.ts b/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.spec.ts index 5a0aa9e1..8bc2d3d6 100644 --- a/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.ts b/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.ts index dd1cc57a..9c0ff50d 100644 --- a/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.ts +++ b/application/frontend/src/app/shared/components/filter-number-form/filter-number-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.spec.ts b/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.spec.ts index f1fb525e..834193be 100644 --- a/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.ts b/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.ts index 62e924b4..5624c892 100644 --- a/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.ts +++ b/application/frontend/src/app/shared/components/filter-select-form/filter-select-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.spec.ts b/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.spec.ts index a4c1783d..e8bee793 100644 --- a/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.ts b/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.ts index bbb89501..22562c62 100644 --- a/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.ts +++ b/application/frontend/src/app/shared/components/filter-string-form/filter-string-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/filter/filter.component.spec.ts b/application/frontend/src/app/shared/components/filter/filter.component.spec.ts index 99b5574c..c97cbbb0 100644 --- a/application/frontend/src/app/shared/components/filter/filter.component.spec.ts +++ b/application/frontend/src/app/shared/components/filter/filter.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatDialogRef } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/components/filter/filter.component.ts b/application/frontend/src/app/shared/components/filter/filter.component.ts index b5b1bb52..54a9cfa5 100644 --- a/application/frontend/src/app/shared/components/filter/filter.component.ts +++ b/application/frontend/src/app/shared/components/filter/filter.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.spec.ts b/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.spec.ts index 6540ef1c..8f3a1ee1 100644 --- a/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.ts b/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.ts index d975e809..85529884 100644 --- a/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.ts +++ b/application/frontend/src/app/shared/components/frequency-constraint-form/frequency-constraint-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.spec.ts b/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.spec.ts index f68fed48..2419488b 100644 --- a/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.spec.ts +++ b/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.ts b/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.ts index fe933bff..486426e0 100644 --- a/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.ts +++ b/application/frontend/src/app/shared/components/gantt-chart-control-bar/gantt-chart-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { ActiveFilter, Range, Timezone } from '../../models'; diff --git a/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.spec.ts b/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.spec.ts index bc3a0c9e..f6f29960 100644 --- a/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.spec.ts +++ b/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ScrollingModule } from '@angular/cdk/scrolling'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.ts b/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.ts index 5a74d6e8..8fb6dfb3 100644 --- a/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.ts +++ b/application/frontend/src/app/shared/components/gantt-chart/gantt-chart.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { diff --git a/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.spec.ts b/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.spec.ts index 0021e9ed..7a63ea0f 100644 --- a/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.spec.ts +++ b/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.ts b/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.ts index 2c2c241c..53a4a928 100644 --- a/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.ts +++ b/application/frontend/src/app/shared/components/gantt-settings-dialog/gantt-settings-dialog.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/components/index.ts b/application/frontend/src/app/shared/components/index.ts index f57ca548..3ce6eacf 100644 --- a/application/frontend/src/app/shared/components/index.ts +++ b/application/frontend/src/app/shared/components/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './capacity-quantity/capacity-quantity.component'; export * from './load-demands-form/load-demands-form.component'; diff --git a/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.spec.ts b/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.spec.ts index 24b3b446..613626e9 100644 --- a/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MaterialModule } from 'src/app/material'; diff --git a/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.ts b/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.ts index 360441a4..bd199b42 100644 --- a/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.ts +++ b/application/frontend/src/app/shared/components/injected-relaxation-constraints-form/injected-relaxation-constraints-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.spec.ts b/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.spec.ts index fb84aeaf..848eae03 100644 --- a/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.ts b/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.ts index 5292d9ec..ba123709 100644 --- a/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.ts +++ b/application/frontend/src/app/shared/components/load-demands-form/load-demands-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.spec.ts b/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.spec.ts index b8e402d9..8e7b0e20 100644 --- a/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ControlContainer, UntypedFormArray, ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.ts b/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.ts index f0be9548..3966f3be 100644 --- a/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.ts +++ b/application/frontend/src/app/shared/components/load-limits-form/load-limits-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.spec.ts b/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.spec.ts index 855f6c18..1f0cd664 100644 --- a/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.spec.ts +++ b/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed, ComponentFixture } from '@angular/core/testing'; import { PlaceAutocompleteComponent } from './place-autocomplete.component'; diff --git a/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.ts b/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.ts index 9cb52f0a..dcbf0bdd 100644 --- a/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.ts +++ b/application/frontend/src/app/shared/components/place-autocomplete/place-autocomplete.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { FocusMonitor } from '@angular/cdk/a11y'; import { diff --git a/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.spec.ts b/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.spec.ts index cdb8fdc7..40f5f0cf 100644 --- a/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.spec.ts +++ b/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.ts b/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.ts index b9dea253..a8687359 100644 --- a/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.ts +++ b/application/frontend/src/app/shared/components/points-of-interest/points-of-interest.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DOCUMENT } from '@angular/common'; import { diff --git a/application/frontend/src/app/shared/components/range-slider/range-slider.component.spec.ts b/application/frontend/src/app/shared/components/range-slider/range-slider.component.spec.ts index d4ee578a..e976ff29 100644 --- a/application/frontend/src/app/shared/components/range-slider/range-slider.component.spec.ts +++ b/application/frontend/src/app/shared/components/range-slider/range-slider.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/range-slider/range-slider.component.ts b/application/frontend/src/app/shared/components/range-slider/range-slider.component.ts index 853f1b46..14ff9bb6 100644 --- a/application/frontend/src/app/shared/components/range-slider/range-slider.component.ts +++ b/application/frontend/src/app/shared/components/range-slider/range-slider.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { AfterViewInit, diff --git a/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.spec.ts b/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.spec.ts index 849e403f..f19cb1a1 100644 --- a/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.ts b/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.ts index 579073f1..39dcf587 100644 --- a/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.ts +++ b/application/frontend/src/app/shared/components/shipment-form/shipment-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { COMMA, ENTER } from '@angular/cdk/keycodes'; import { diff --git a/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.spec.ts b/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.spec.ts index d3e95ec7..28705138 100644 --- a/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.spec.ts +++ b/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.ts b/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.ts index b4f7619a..7a222318 100644 --- a/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.ts +++ b/application/frontend/src/app/shared/components/table-control-bar/table-control-bar.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/table/table.component.spec.ts b/application/frontend/src/app/shared/components/table/table.component.spec.ts index 2b6b068f..8469177d 100644 --- a/application/frontend/src/app/shared/components/table/table.component.spec.ts +++ b/application/frontend/src/app/shared/components/table/table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MaterialModule } from 'src/app/material'; diff --git a/application/frontend/src/app/shared/components/table/table.component.ts b/application/frontend/src/app/shared/components/table/table.component.ts index d23d8fac..025f7d70 100644 --- a/application/frontend/src/app/shared/components/table/table.component.ts +++ b/application/frontend/src/app/shared/components/table/table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CollectionViewer, ListRange } from '@angular/cdk/collections'; import { DataSource } from '@angular/cdk/table'; diff --git a/application/frontend/src/app/shared/components/time-label/time-label.component.spec.ts b/application/frontend/src/app/shared/components/time-label/time-label.component.spec.ts index d2711686..827bee32 100644 --- a/application/frontend/src/app/shared/components/time-label/time-label.component.spec.ts +++ b/application/frontend/src/app/shared/components/time-label/time-label.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/time-label/time-label.component.ts b/application/frontend/src/app/shared/components/time-label/time-label.component.ts index 7f7a30fc..0843e7d7 100644 --- a/application/frontend/src/app/shared/components/time-label/time-label.component.ts +++ b/application/frontend/src/app/shared/components/time-label/time-label.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, Input, OnChanges, ChangeDetectionStrategy } from '@angular/core'; import { pixelToTime, formatLongTime } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/components/time-window/time-window.component.spec.ts b/application/frontend/src/app/shared/components/time-window/time-window.component.spec.ts index e2f9df9f..f80fb397 100644 --- a/application/frontend/src/app/shared/components/time-window/time-window.component.spec.ts +++ b/application/frontend/src/app/shared/components/time-window/time-window.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { diff --git a/application/frontend/src/app/shared/components/time-window/time-window.component.ts b/application/frontend/src/app/shared/components/time-window/time-window.component.ts index f5703a05..0122b73e 100644 --- a/application/frontend/src/app/shared/components/time-window/time-window.component.ts +++ b/application/frontend/src/app/shared/components/time-window/time-window.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/time-window/validators.ts b/application/frontend/src/app/shared/components/time-window/validators.ts index 4e0d5118..236ef7b0 100644 --- a/application/frontend/src/app/shared/components/time-window/validators.ts +++ b/application/frontend/src/app/shared/components/time-window/validators.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { UntypedFormArray } from '@angular/forms'; import { detectTimeWindowOverlap, localDateTimeToUtcSeconds } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/components/timeline/timeline.component.spec.ts b/application/frontend/src/app/shared/components/timeline/timeline.component.spec.ts index 9ba82d62..f4ff2803 100644 --- a/application/frontend/src/app/shared/components/timeline/timeline.component.spec.ts +++ b/application/frontend/src/app/shared/components/timeline/timeline.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shared/components/timeline/timeline.component.ts b/application/frontend/src/app/shared/components/timeline/timeline.component.ts index cc7b8028..38b57d27 100644 --- a/application/frontend/src/app/shared/components/timeline/timeline.component.ts +++ b/application/frontend/src/app/shared/components/timeline/timeline.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.spec.ts b/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.spec.ts index 28aa054b..581335d3 100644 --- a/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.spec.ts +++ b/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.ts b/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.ts index 3a9fce22..62896363 100644 --- a/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.ts +++ b/application/frontend/src/app/shared/components/timezone-edit/timezone-edit.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/visit-form/visit-form.component.spec.ts b/application/frontend/src/app/shared/components/visit-form/visit-form.component.spec.ts index 96b6ba72..35c9df7f 100644 --- a/application/frontend/src/app/shared/components/visit-form/visit-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/visit-form/visit-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/visit-form/visit-form.component.ts b/application/frontend/src/app/shared/components/visit-form/visit-form.component.ts index 23a325f6..084d866c 100644 --- a/application/frontend/src/app/shared/components/visit-form/visit-form.component.ts +++ b/application/frontend/src/app/shared/components/visit-form/visit-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.spec.ts b/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.spec.ts index 0e101722..2f39a3c4 100644 --- a/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.spec.ts +++ b/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; diff --git a/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.ts b/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.ts index 1145a101..b2f0fc53 100644 --- a/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.ts +++ b/application/frontend/src/app/shared/components/visit-request-form/visit-request-form.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { COMMA, ENTER } from '@angular/cdk/keycodes'; import { diff --git a/application/frontend/src/app/shared/directives/gantt-column-header.directive.spec.ts b/application/frontend/src/app/shared/directives/gantt-column-header.directive.spec.ts index bfa789c8..3e1ee442 100644 --- a/application/frontend/src/app/shared/directives/gantt-column-header.directive.spec.ts +++ b/application/frontend/src/app/shared/directives/gantt-column-header.directive.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { GanttColumnHeaderDirective } from './gantt-column-header.directive'; diff --git a/application/frontend/src/app/shared/directives/gantt-column-header.directive.ts b/application/frontend/src/app/shared/directives/gantt-column-header.directive.ts index a5af71fb..2d076538 100644 --- a/application/frontend/src/app/shared/directives/gantt-column-header.directive.ts +++ b/application/frontend/src/app/shared/directives/gantt-column-header.directive.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Directive, TemplateRef } from '@angular/core'; diff --git a/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.spec.ts b/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.spec.ts index 4f4c21b9..00fdadfd 100644 --- a/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.spec.ts +++ b/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { GanttColumnHeadersOverlayDirective } from './gantt-column-headers-overlay.directive'; diff --git a/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.ts b/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.ts index 0908c3ba..b38f39a8 100644 --- a/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.ts +++ b/application/frontend/src/app/shared/directives/gantt-column-headers-overlay.directive.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Directive, TemplateRef } from '@angular/core'; diff --git a/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.spec.ts b/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.spec.ts index 7ba780d4..70b800fa 100644 --- a/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.spec.ts +++ b/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { GanttRowColumnHeaderDirective } from './gantt-row-column-header.directive'; diff --git a/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.ts b/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.ts index 54a481e4..57854c57 100644 --- a/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.ts +++ b/application/frontend/src/app/shared/directives/gantt-row-column-header.directive.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Directive, TemplateRef } from '@angular/core'; diff --git a/application/frontend/src/app/shared/directives/gantt-row.directive.spec.ts b/application/frontend/src/app/shared/directives/gantt-row.directive.spec.ts index 44109333..de670d8d 100644 --- a/application/frontend/src/app/shared/directives/gantt-row.directive.spec.ts +++ b/application/frontend/src/app/shared/directives/gantt-row.directive.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { GanttRowDirective } from './gantt-row.directive'; diff --git a/application/frontend/src/app/shared/directives/gantt-row.directive.ts b/application/frontend/src/app/shared/directives/gantt-row.directive.ts index 07cff8f2..e0a8ca0f 100644 --- a/application/frontend/src/app/shared/directives/gantt-row.directive.ts +++ b/application/frontend/src/app/shared/directives/gantt-row.directive.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Directive, TemplateRef } from '@angular/core'; diff --git a/application/frontend/src/app/shared/directives/index.ts b/application/frontend/src/app/shared/directives/index.ts index 47ed7d81..905f985e 100644 --- a/application/frontend/src/app/shared/directives/index.ts +++ b/application/frontend/src/app/shared/directives/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './gantt-column-header.directive'; export * from './gantt-column-headers-overlay.directive'; diff --git a/application/frontend/src/app/shared/models/break-rule.ts b/application/frontend/src/app/shared/models/break-rule.ts index bb29c751..35765cde 100644 --- a/application/frontend/src/app/shared/models/break-rule.ts +++ b/application/frontend/src/app/shared/models/break-rule.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface BreakRuleValue { earliestStartTime?: string; diff --git a/application/frontend/src/app/shared/models/capacity-quantity.ts b/application/frontend/src/app/shared/models/capacity-quantity.ts index 1e54e921..7e4256de 100644 --- a/application/frontend/src/app/shared/models/capacity-quantity.ts +++ b/application/frontend/src/app/shared/models/capacity-quantity.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface CapacityQuantityFormValue { type?: string; diff --git a/application/frontend/src/app/shared/models/chart-config.ts b/application/frontend/src/app/shared/models/chart-config.ts index 88a5f78e..a015641a 100644 --- a/application/frontend/src/app/shared/models/chart-config.ts +++ b/application/frontend/src/app/shared/models/chart-config.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface Range { label: string; diff --git a/application/frontend/src/app/shared/models/cluster.ts b/application/frontend/src/app/shared/models/cluster.ts index 785b12fc..19d0d24b 100644 --- a/application/frontend/src/app/shared/models/cluster.ts +++ b/application/frontend/src/app/shared/models/cluster.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface Cluster { start: number; diff --git a/application/frontend/src/app/shared/models/data-source.ts b/application/frontend/src/app/shared/models/data-source.ts index ed6107e4..b01e3d66 100644 --- a/application/frontend/src/app/shared/models/data-source.ts +++ b/application/frontend/src/app/shared/models/data-source.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { DataSource as CdkDataSource } from '@angular/cdk/table'; diff --git a/application/frontend/src/app/shared/models/extra-visit-duration.ts b/application/frontend/src/app/shared/models/extra-visit-duration.ts index 9e2b2f1d..8111aa8a 100644 --- a/application/frontend/src/app/shared/models/extra-visit-duration.ts +++ b/application/frontend/src/app/shared/models/extra-visit-duration.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { IDuration } from '../../core/models'; diff --git a/application/frontend/src/app/shared/models/filter.ts b/application/frontend/src/app/shared/models/filter.ts index c09b3e4b..793b808b 100644 --- a/application/frontend/src/app/shared/models/filter.ts +++ b/application/frontend/src/app/shared/models/filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { EventEmitter } from '@angular/core'; diff --git a/application/frontend/src/app/shared/models/index.ts b/application/frontend/src/app/shared/models/index.ts index ff61fedd..25db0068 100644 --- a/application/frontend/src/app/shared/models/index.ts +++ b/application/frontend/src/app/shared/models/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './capacity-quantity'; export * from './chart-config'; diff --git a/application/frontend/src/app/shared/models/load-demand.ts b/application/frontend/src/app/shared/models/load-demand.ts index 1d1d4cce..49cf4a9b 100644 --- a/application/frontend/src/app/shared/models/load-demand.ts +++ b/application/frontend/src/app/shared/models/load-demand.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ILoad } from '../../core/models'; diff --git a/application/frontend/src/app/shared/models/load-limit.ts b/application/frontend/src/app/shared/models/load-limit.ts index 31a3db9e..ca143177 100644 --- a/application/frontend/src/app/shared/models/load-limit.ts +++ b/application/frontend/src/app/shared/models/load-limit.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface LoadLimitFormValue { type: string; diff --git a/application/frontend/src/app/shared/models/place.ts b/application/frontend/src/app/shared/models/place.ts index d6c758db..cd8e5cde 100644 --- a/application/frontend/src/app/shared/models/place.ts +++ b/application/frontend/src/app/shared/models/place.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { google } from '@google-cloud/optimization/build/protos/protos'; diff --git a/application/frontend/src/app/shared/models/points-of-interest-image.ts b/application/frontend/src/app/shared/models/points-of-interest-image.ts index 896b6d74..3b063406 100644 --- a/application/frontend/src/app/shared/models/points-of-interest-image.ts +++ b/application/frontend/src/app/shared/models/points-of-interest-image.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { PointOfInterestCategory } from 'src/app/core/models/point-of-interest'; diff --git a/application/frontend/src/app/shared/models/range-slider-connect.ts b/application/frontend/src/app/shared/models/range-slider-connect.ts index 23ccac3d..ee9715bb 100644 --- a/application/frontend/src/app/shared/models/range-slider-connect.ts +++ b/application/frontend/src/app/shared/models/range-slider-connect.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export type RangeSliderConnect = boolean | 'lower' | 'upper'; diff --git a/application/frontend/src/app/shared/models/range-slider-tooltip.ts b/application/frontend/src/app/shared/models/range-slider-tooltip.ts index 2f19f1dd..ad807164 100644 --- a/application/frontend/src/app/shared/models/range-slider-tooltip.ts +++ b/application/frontend/src/app/shared/models/range-slider-tooltip.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface RangeSliderTooltipFormatter { to: (value: number) => string; diff --git a/application/frontend/src/app/shared/models/timeline-line-attribute.ts b/application/frontend/src/app/shared/models/timeline-line-attribute.ts index d161458d..8582f581 100644 --- a/application/frontend/src/app/shared/models/timeline-line-attribute.ts +++ b/application/frontend/src/app/shared/models/timeline-line-attribute.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface TimelineLineAttribute { title: string; diff --git a/application/frontend/src/app/shared/models/utc-zones.ts b/application/frontend/src/app/shared/models/utc-zones.ts index 85b8dba2..45eda2dd 100644 --- a/application/frontend/src/app/shared/models/utc-zones.ts +++ b/application/frontend/src/app/shared/models/utc-zones.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface Timezone { description: string; diff --git a/application/frontend/src/app/shared/models/vehicle-operator-type.ts b/application/frontend/src/app/shared/models/vehicle-operator-type.ts index ee33de2e..0b53b2d6 100644 --- a/application/frontend/src/app/shared/models/vehicle-operator-type.ts +++ b/application/frontend/src/app/shared/models/vehicle-operator-type.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface VehicleOperatorTypeFormValue { type: string; diff --git a/application/frontend/src/app/shared/pipes/capacity-quantities-has-value.pipe.ts b/application/frontend/src/app/shared/pipes/capacity-quantities-has-value.pipe.ts index ac70b5c5..255517be 100644 --- a/application/frontend/src/app/shared/pipes/capacity-quantities-has-value.pipe.ts +++ b/application/frontend/src/app/shared/pipes/capacity-quantities-has-value.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { ICapacityQuantity } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/capacity-quantity-label.pipe.ts b/application/frontend/src/app/shared/pipes/capacity-quantity-label.pipe.ts index 175abe04..76d5dd1d 100644 --- a/application/frontend/src/app/shared/pipes/capacity-quantity-label.pipe.ts +++ b/application/frontend/src/app/shared/pipes/capacity-quantity-label.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { getCapacityQuantityRoot } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/pipes/capacity-quantity-unit.pipe.ts b/application/frontend/src/app/shared/pipes/capacity-quantity-unit.pipe.ts index 47b34bdd..d6763465 100644 --- a/application/frontend/src/app/shared/pipes/capacity-quantity-unit.pipe.ts +++ b/application/frontend/src/app/shared/pipes/capacity-quantity-unit.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { getCapacityQuantityUnit, getUnitAbbreviation } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/pipes/distance-limit.pipe.ts b/application/frontend/src/app/shared/pipes/distance-limit.pipe.ts index e697d152..3f316edd 100644 --- a/application/frontend/src/app/shared/pipes/distance-limit.pipe.ts +++ b/application/frontend/src/app/shared/pipes/distance-limit.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { IDistanceLimit } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/duration-limit.pipe.ts b/application/frontend/src/app/shared/pipes/duration-limit.pipe.ts index ccc460e3..81f9c6d6 100644 --- a/application/frontend/src/app/shared/pipes/duration-limit.pipe.ts +++ b/application/frontend/src/app/shared/pipes/duration-limit.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { IDuration, IDurationLimit } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/duration-value.pipe.ts b/application/frontend/src/app/shared/pipes/duration-value.pipe.ts index 47e23256..928808b1 100644 --- a/application/frontend/src/app/shared/pipes/duration-value.pipe.ts +++ b/application/frontend/src/app/shared/pipes/duration-value.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { durationSeconds } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/pipes/entity-name.pipe.ts b/application/frontend/src/app/shared/pipes/entity-name.pipe.ts index 54db4792..2acd5918 100644 --- a/application/frontend/src/app/shared/pipes/entity-name.pipe.ts +++ b/application/frontend/src/app/shared/pipes/entity-name.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { Shipment, Vehicle, VisitRequest } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/format-duration.pipe.ts b/application/frontend/src/app/shared/pipes/format-duration.pipe.ts index fdfc94e1..fe31d9bb 100644 --- a/application/frontend/src/app/shared/pipes/format-duration.pipe.ts +++ b/application/frontend/src/app/shared/pipes/format-duration.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; diff --git a/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.spec.ts b/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.spec.ts index bba3b943..ece5c8d4 100644 --- a/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.spec.ts +++ b/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import Long from 'long'; import { ITimeWindow } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.ts b/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.ts index dfdae73e..ae4bd634 100644 --- a/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.ts +++ b/application/frontend/src/app/shared/pipes/format-hard-time-window.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core'; import * as Long from 'long'; diff --git a/application/frontend/src/app/shared/pipes/format-lat-lng.pipe.ts b/application/frontend/src/app/shared/pipes/format-lat-lng.pipe.ts index 50d592ef..ab981f92 100644 --- a/application/frontend/src/app/shared/pipes/format-lat-lng.pipe.ts +++ b/application/frontend/src/app/shared/pipes/format-lat-lng.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { formatDispatcherLatLng } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/pipes/format-seconds-date.pipe.ts b/application/frontend/src/app/shared/pipes/format-seconds-date.pipe.ts index 8e8697ee..cd7d75db 100644 --- a/application/frontend/src/app/shared/pipes/format-seconds-date.pipe.ts +++ b/application/frontend/src/app/shared/pipes/format-seconds-date.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core'; import * as Long from 'long'; diff --git a/application/frontend/src/app/shared/pipes/format-soft-time-window.pipe.ts b/application/frontend/src/app/shared/pipes/format-soft-time-window.pipe.ts index 4dab9b16..92bf69c0 100644 --- a/application/frontend/src/app/shared/pipes/format-soft-time-window.pipe.ts +++ b/application/frontend/src/app/shared/pipes/format-soft-time-window.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core'; import * as Long from 'long'; diff --git a/application/frontend/src/app/shared/pipes/format-timestamp.pipe.ts b/application/frontend/src/app/shared/pipes/format-timestamp.pipe.ts index 6138ed6f..a8cd34b9 100644 --- a/application/frontend/src/app/shared/pipes/format-timestamp.pipe.ts +++ b/application/frontend/src/app/shared/pipes/format-timestamp.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core'; import { ITimestamp } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/index.ts b/application/frontend/src/app/shared/pipes/index.ts index 9e06dd80..1a170a87 100644 --- a/application/frontend/src/app/shared/pipes/index.ts +++ b/application/frontend/src/app/shared/pipes/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './capacity-quantities-has-value.pipe'; export * from './capacity-quantity-label.pipe'; diff --git a/application/frontend/src/app/shared/pipes/soft-time-windows.pipe.ts b/application/frontend/src/app/shared/pipes/soft-time-windows.pipe.ts index 07798c92..49041339 100644 --- a/application/frontend/src/app/shared/pipes/soft-time-windows.pipe.ts +++ b/application/frontend/src/app/shared/pipes/soft-time-windows.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { ITimeWindow } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shared/pipes/split-label.pipe.ts b/application/frontend/src/app/shared/pipes/split-label.pipe.ts index 75fdfc79..3b0166de 100644 --- a/application/frontend/src/app/shared/pipes/split-label.pipe.ts +++ b/application/frontend/src/app/shared/pipes/split-label.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { splitLabel } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/pipes/unit-abbreviation.pipe.ts b/application/frontend/src/app/shared/pipes/unit-abbreviation.pipe.ts index edf41d0e..533e7a2c 100644 --- a/application/frontend/src/app/shared/pipes/unit-abbreviation.pipe.ts +++ b/application/frontend/src/app/shared/pipes/unit-abbreviation.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; import { getUnitAbbreviation } from 'src/app/util'; diff --git a/application/frontend/src/app/shared/pipes/vehicle-image-source.pipe.ts b/application/frontend/src/app/shared/pipes/vehicle-image-source.pipe.ts index aefc65d9..10156df4 100644 --- a/application/frontend/src/app/shared/pipes/vehicle-image-source.pipe.ts +++ b/application/frontend/src/app/shared/pipes/vehicle-image-source.pipe.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Pipe, PipeTransform } from '@angular/core'; diff --git a/application/frontend/src/app/shared/services/filter.service.spec.ts b/application/frontend/src/app/shared/services/filter.service.spec.ts index 04d75711..01934291 100644 --- a/application/frontend/src/app/shared/services/filter.service.spec.ts +++ b/application/frontend/src/app/shared/services/filter.service.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/services/filter.service.ts b/application/frontend/src/app/shared/services/filter.service.ts index 43575f5a..13a010e5 100644 --- a/application/frontend/src/app/shared/services/filter.service.ts +++ b/application/frontend/src/app/shared/services/filter.service.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Injectable } from '@angular/core'; import { DialogPosition, MatDialog } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/shared/services/index.ts b/application/frontend/src/app/shared/services/index.ts index b9d92f3b..c4cd6007 100644 --- a/application/frontend/src/app/shared/services/index.ts +++ b/application/frontend/src/app/shared/services/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './filter.service'; diff --git a/application/frontend/src/app/shared/shared.module.ts b/application/frontend/src/app/shared/shared.module.ts index bf66b25c..f2a02e90 100644 --- a/application/frontend/src/app/shared/shared.module.ts +++ b/application/frontend/src/app/shared/shared.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.spec.ts b/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.spec.ts index 4bfc36a7..693bb5ff 100644 --- a/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.spec.ts +++ b/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.ts b/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.ts index f6f2f988..853b08eb 100644 --- a/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.ts +++ b/application/frontend/src/app/shipments-metadata/components/base-shipments-metadata-table/base-shipments-metadata-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DataSource } from '@angular/cdk/table'; import { diff --git a/application/frontend/src/app/shipments-metadata/components/index.ts b/application/frontend/src/app/shipments-metadata/components/index.ts index 03f7ff65..b36c1dad 100644 --- a/application/frontend/src/app/shipments-metadata/components/index.ts +++ b/application/frontend/src/app/shipments-metadata/components/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-shipments-metadata-table/base-shipments-metadata-table.component'; diff --git a/application/frontend/src/app/shipments-metadata/containers/index.ts b/application/frontend/src/app/shipments-metadata/containers/index.ts index fd44ab37..9159fb8c 100644 --- a/application/frontend/src/app/shipments-metadata/containers/index.ts +++ b/application/frontend/src/app/shipments-metadata/containers/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './shipments-metadata-table/shipments-metadata-table.component'; diff --git a/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.spec.ts b/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.spec.ts index e4a9b983..7828883e 100644 --- a/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.spec.ts +++ b/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.ts b/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.ts index 09ed1429..89a17a70 100644 --- a/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.ts +++ b/application/frontend/src/app/shipments-metadata/containers/shipments-metadata-table/shipments-metadata-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { PageEvent } from '@angular/material/paginator'; diff --git a/application/frontend/src/app/shipments-metadata/models/index.ts b/application/frontend/src/app/shipments-metadata/models/index.ts index d7310c15..631edef3 100644 --- a/application/frontend/src/app/shipments-metadata/models/index.ts +++ b/application/frontend/src/app/shipments-metadata/models/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './shipment-metadata-column.model'; export * from './shipment-metadata.model'; diff --git a/application/frontend/src/app/shipments-metadata/models/shipment-metadata-column.model.ts b/application/frontend/src/app/shipments-metadata/models/shipment-metadata-column.model.ts index c7a9ec06..8f584be0 100644 --- a/application/frontend/src/app/shipments-metadata/models/shipment-metadata-column.model.ts +++ b/application/frontend/src/app/shipments-metadata/models/shipment-metadata-column.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Column } from 'src/app/core/models'; import { durationSeconds, getSoftPenalty } from 'src/app/util'; diff --git a/application/frontend/src/app/shipments-metadata/models/shipment-metadata.model.ts b/application/frontend/src/app/shipments-metadata/models/shipment-metadata.model.ts index 4977d2ac..96d5ed53 100644 --- a/application/frontend/src/app/shipments-metadata/models/shipment-metadata.model.ts +++ b/application/frontend/src/app/shipments-metadata/models/shipment-metadata.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ITimeWindow, diff --git a/application/frontend/src/app/shipments-metadata/shipments-metadata-routing.module.ts b/application/frontend/src/app/shipments-metadata/shipments-metadata-routing.module.ts index 32a1e647..380d1397 100644 --- a/application/frontend/src/app/shipments-metadata/shipments-metadata-routing.module.ts +++ b/application/frontend/src/app/shipments-metadata/shipments-metadata-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; diff --git a/application/frontend/src/app/shipments-metadata/shipments-metadata.module.ts b/application/frontend/src/app/shipments-metadata/shipments-metadata.module.ts index 12619021..399cd1e3 100644 --- a/application/frontend/src/app/shipments-metadata/shipments-metadata.module.ts +++ b/application/frontend/src/app/shipments-metadata/shipments-metadata.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/shipments/actions/index.ts b/application/frontend/src/app/shipments/actions/index.ts index 5609e956..4053a871 100644 --- a/application/frontend/src/app/shipments/actions/index.ts +++ b/application/frontend/src/app/shipments/actions/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as ShipmentsActions from './shipments.actions'; diff --git a/application/frontend/src/app/shipments/actions/shipments.actions.ts b/application/frontend/src/app/shipments/actions/shipments.actions.ts index 8e0cd7e1..194d19f5 100644 --- a/application/frontend/src/app/shipments/actions/shipments.actions.ts +++ b/application/frontend/src/app/shipments/actions/shipments.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.spec.ts b/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.spec.ts index 3f74d957..012094a5 100644 --- a/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.spec.ts +++ b/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.ts b/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.ts index 3e778a9a..a155762e 100644 --- a/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.ts +++ b/application/frontend/src/app/shipments/components/base-shipments-table/base-shipments-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/shipments/components/index.ts b/application/frontend/src/app/shipments/components/index.ts index e23ec0d5..156e0778 100644 --- a/application/frontend/src/app/shipments/components/index.ts +++ b/application/frontend/src/app/shipments/components/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-shipments-table/base-shipments-table.component'; diff --git a/application/frontend/src/app/shipments/containers/index.ts b/application/frontend/src/app/shipments/containers/index.ts index 6ff3cb16..47b4948b 100644 --- a/application/frontend/src/app/shipments/containers/index.ts +++ b/application/frontend/src/app/shipments/containers/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './shipments/shipments.component'; diff --git a/application/frontend/src/app/shipments/containers/shipments/shipments.component.spec.ts b/application/frontend/src/app/shipments/containers/shipments/shipments.component.spec.ts index ff81dcb0..8aa6820c 100644 --- a/application/frontend/src/app/shipments/containers/shipments/shipments.component.spec.ts +++ b/application/frontend/src/app/shipments/containers/shipments/shipments.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/shipments/containers/shipments/shipments.component.ts b/application/frontend/src/app/shipments/containers/shipments/shipments.component.ts index e4f535a6..0df2278f 100644 --- a/application/frontend/src/app/shipments/containers/shipments/shipments.component.ts +++ b/application/frontend/src/app/shipments/containers/shipments/shipments.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { PageEvent } from '@angular/material/paginator'; diff --git a/application/frontend/src/app/shipments/models/index.ts b/application/frontend/src/app/shipments/models/index.ts index 3e9f281b..11a20591 100644 --- a/application/frontend/src/app/shipments/models/index.ts +++ b/application/frontend/src/app/shipments/models/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './shipment-column.model'; export * from './shipment-item.model'; diff --git a/application/frontend/src/app/shipments/models/shipment-column.model.ts b/application/frontend/src/app/shipments/models/shipment-column.model.ts index 2f9954ad..12980a9f 100644 --- a/application/frontend/src/app/shipments/models/shipment-column.model.ts +++ b/application/frontend/src/app/shipments/models/shipment-column.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Column, Shipment, VisitRequest } from 'src/app/core/models'; import { durationSeconds } from 'src/app/util'; diff --git a/application/frontend/src/app/shipments/models/shipment-item.model.ts b/application/frontend/src/app/shipments/models/shipment-item.model.ts index 407479e9..0a199412 100644 --- a/application/frontend/src/app/shipments/models/shipment-item.model.ts +++ b/application/frontend/src/app/shipments/models/shipment-item.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Shipment, VisitRequest } from 'src/app/core/models'; diff --git a/application/frontend/src/app/shipments/shipments-routing.module.ts b/application/frontend/src/app/shipments/shipments-routing.module.ts index e54ade7a..1175aa91 100644 --- a/application/frontend/src/app/shipments/shipments-routing.module.ts +++ b/application/frontend/src/app/shipments/shipments-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; diff --git a/application/frontend/src/app/shipments/shipments.module.ts b/application/frontend/src/app/shipments/shipments.module.ts index 5b151b65..21a0e904 100644 --- a/application/frontend/src/app/shipments/shipments.module.ts +++ b/application/frontend/src/app/shipments/shipments.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/util/bounds.spec.ts b/application/frontend/src/app/util/bounds.spec.ts index 192119dd..59aba9a7 100644 --- a/application/frontend/src/app/util/bounds.spec.ts +++ b/application/frontend/src/app/util/bounds.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { getBounds } from './bounds'; diff --git a/application/frontend/src/app/util/bounds.ts b/application/frontend/src/app/util/bounds.ts index 7ea245eb..b82f2277 100644 --- a/application/frontend/src/app/util/bounds.ts +++ b/application/frontend/src/app/util/bounds.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ILatLng } from '../core/models'; diff --git a/application/frontend/src/app/util/canonical-protobuf.spec.ts b/application/frontend/src/app/util/canonical-protobuf.spec.ts index b03961c1..0a035a49 100644 --- a/application/frontend/src/app/util/canonical-protobuf.spec.ts +++ b/application/frontend/src/app/util/canonical-protobuf.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { isCanonicalDuration, isCanonicalTimestamp } from './canonical-protobuf'; diff --git a/application/frontend/src/app/util/canonical-protobuf.ts b/application/frontend/src/app/util/canonical-protobuf.ts index e94d74e9..bed5ad60 100644 --- a/application/frontend/src/app/util/canonical-protobuf.ts +++ b/application/frontend/src/app/util/canonical-protobuf.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { google } from '@google-cloud/optimization/build/protos/protos'; diff --git a/application/frontend/src/app/util/capacity-quantity.spec.ts b/application/frontend/src/app/util/capacity-quantity.spec.ts index 43691881..f4e3cc6b 100644 --- a/application/frontend/src/app/util/capacity-quantity.spec.ts +++ b/application/frontend/src/app/util/capacity-quantity.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { getCapacityQuantityRoot, diff --git a/application/frontend/src/app/util/capacity-quantity.ts b/application/frontend/src/app/util/capacity-quantity.ts index 6b809b73..9991ebf3 100644 --- a/application/frontend/src/app/util/capacity-quantity.ts +++ b/application/frontend/src/app/util/capacity-quantity.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export function getCapacityQuantityRoot(type?: string): string { if (typeof type !== 'string') { diff --git a/application/frontend/src/app/util/configure-protobuf.ts b/application/frontend/src/app/util/configure-protobuf.ts index eb831f72..ed0691f6 100644 --- a/application/frontend/src/app/util/configure-protobuf.ts +++ b/application/frontend/src/app/util/configure-protobuf.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import * as protobuf from 'protobufjs/minimal'; diff --git a/application/frontend/src/app/util/conversions.spec.ts b/application/frontend/src/app/util/conversions.spec.ts index fed9289d..be8ba51f 100644 --- a/application/frontend/src/app/util/conversions.spec.ts +++ b/application/frontend/src/app/util/conversions.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { metersToMiles, diff --git a/application/frontend/src/app/util/conversions.ts b/application/frontend/src/app/util/conversions.ts index 9eb6090d..f8aa4fd3 100644 --- a/application/frontend/src/app/util/conversions.ts +++ b/application/frontend/src/app/util/conversions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ const metersPerMile = 1609.34; diff --git a/application/frontend/src/app/util/datetime.spec.ts b/application/frontend/src/app/util/datetime.spec.ts index 22c8bd64..ec39358e 100644 --- a/application/frontend/src/app/util/datetime.spec.ts +++ b/application/frontend/src/app/util/datetime.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { getNormalTimeString, isValidTimeString } from './datetime'; diff --git a/application/frontend/src/app/util/datetime.ts b/application/frontend/src/app/util/datetime.ts index 24b1ac99..2a0cfc13 100644 --- a/application/frontend/src/app/util/datetime.ts +++ b/application/frontend/src/app/util/datetime.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ const timeRegex = /^\s*([0-9]?[0-9]):([0-9]{2})\s*(am|pm)?\s*$/i; diff --git a/application/frontend/src/app/util/dialog-position-strategy.spec.ts b/application/frontend/src/app/util/dialog-position-strategy.spec.ts index 54ec1faa..108c7669 100644 --- a/application/frontend/src/app/util/dialog-position-strategy.spec.ts +++ b/application/frontend/src/app/util/dialog-position-strategy.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DialogPosition } from '@angular/material/dialog'; import { positionTopLeftRelativeToTopLeft, positionTopLeftRelativeToTopRight } from '.'; diff --git a/application/frontend/src/app/util/dialog-position-strategy.ts b/application/frontend/src/app/util/dialog-position-strategy.ts index 91945d01..d68c4203 100644 --- a/application/frontend/src/app/util/dialog-position-strategy.ts +++ b/application/frontend/src/app/util/dialog-position-strategy.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { DialogPosition } from '@angular/material/dialog'; diff --git a/application/frontend/src/app/util/dispatcher.spec.ts b/application/frontend/src/app/util/dispatcher.spec.ts index b4481eca..829f2f03 100644 --- a/application/frontend/src/app/util/dispatcher.spec.ts +++ b/application/frontend/src/app/util/dispatcher.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import Long from 'long'; import { createTimestamp } from './dispatcher'; diff --git a/application/frontend/src/app/util/dispatcher.ts b/application/frontend/src/app/util/dispatcher.ts index 287a2691..0f4ee6a6 100644 --- a/application/frontend/src/app/util/dispatcher.ts +++ b/application/frontend/src/app/util/dispatcher.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { google } from '@google-cloud/optimization/build/protos/protos'; import * as Long from 'long'; diff --git a/application/frontend/src/app/util/duration.spec.ts b/application/frontend/src/app/util/duration.spec.ts index c502fd5d..b384b573 100644 --- a/application/frontend/src/app/util/duration.spec.ts +++ b/application/frontend/src/app/util/duration.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import Long from 'long'; import { diff --git a/application/frontend/src/app/util/duration.ts b/application/frontend/src/app/util/duration.ts index 44c314ed..5e784bf7 100644 --- a/application/frontend/src/app/util/duration.ts +++ b/application/frontend/src/app/util/duration.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { IDuration, ITimestamp } from '../core/models'; diff --git a/application/frontend/src/app/util/entity-change.spec.ts b/application/frontend/src/app/util/entity-change.spec.ts index 9245ce31..e8ddac09 100644 --- a/application/frontend/src/app/util/entity-change.spec.ts +++ b/application/frontend/src/app/util/entity-change.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { getShipmentEditChanges } from '.'; import { VisitRequest } from '../core/models'; diff --git a/application/frontend/src/app/util/entity-change.ts b/application/frontend/src/app/util/entity-change.ts index c005c59c..b2853b77 100644 --- a/application/frontend/src/app/util/entity-change.ts +++ b/application/frontend/src/app/util/entity-change.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Dictionary } from '@ngrx/entity'; import { Shipment, VisitRequest } from '../core/models'; diff --git a/application/frontend/src/app/util/filter.spec.ts b/application/frontend/src/app/util/filter.spec.ts index ecbbde85..ed1d53e4 100644 --- a/application/frontend/src/app/util/filter.spec.ts +++ b/application/frontend/src/app/util/filter.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import Long from 'long'; import { diff --git a/application/frontend/src/app/util/filter.ts b/application/frontend/src/app/util/filter.ts index e3dcc9ef..eb6a812a 100644 --- a/application/frontend/src/app/util/filter.ts +++ b/application/frontend/src/app/util/filter.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { IDuration, ITimestamp } from 'src/app/core/models'; diff --git a/application/frontend/src/app/util/form.spec.ts b/application/frontend/src/app/util/form.spec.ts index 3c43d225..9633d2f9 100644 --- a/application/frontend/src/app/util/form.spec.ts +++ b/application/frontend/src/app/util/form.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { setControlDisabled, showError } from './form'; import { UntypedFormControl } from '@angular/forms'; diff --git a/application/frontend/src/app/util/form.ts b/application/frontend/src/app/util/form.ts index 9c37b224..9d793fe6 100644 --- a/application/frontend/src/app/util/form.ts +++ b/application/frontend/src/app/util/form.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { AbstractControl } from '@angular/forms'; diff --git a/application/frontend/src/app/util/geo-translation.spec.ts b/application/frontend/src/app/util/geo-translation.spec.ts index c88236a4..c0620950 100644 --- a/application/frontend/src/app/util/geo-translation.spec.ts +++ b/application/frontend/src/app/util/geo-translation.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { boundsToTurfPolygon, diff --git a/application/frontend/src/app/util/geo-translation.ts b/application/frontend/src/app/util/geo-translation.ts index 3e58bbe2..257798c8 100644 --- a/application/frontend/src/app/util/geo-translation.ts +++ b/application/frontend/src/app/util/geo-translation.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Polygon, Point, LineString, Feature, point, lineString, polygon } from '@turf/helpers'; import * as cheapRuler from '../../../node_modules/cheap-ruler'; diff --git a/application/frontend/src/app/util/has-own-property.spec.ts b/application/frontend/src/app/util/has-own-property.spec.ts index fe1e74c3..ccb8133b 100644 --- a/application/frontend/src/app/util/has-own-property.spec.ts +++ b/application/frontend/src/app/util/has-own-property.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { boundHasOwnProperty, hasOwnProperty } from '.'; diff --git a/application/frontend/src/app/util/has-own-property.ts b/application/frontend/src/app/util/has-own-property.ts index 0879c1ee..98ae3d3f 100644 --- a/application/frontend/src/app/util/has-own-property.ts +++ b/application/frontend/src/app/util/has-own-property.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export function boundHasOwnProperty(root: object, property: string): boolean { return Object.prototype.hasOwnProperty.bind(root).call(root, property); diff --git a/application/frontend/src/app/util/index.ts b/application/frontend/src/app/util/index.ts index 2dddf223..3fa49dab 100644 --- a/application/frontend/src/app/util/index.ts +++ b/application/frontend/src/app/util/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import cloneDeep from 'lodash/cloneDeep'; import isEqual from 'lodash/isEqual'; diff --git a/application/frontend/src/app/util/int32.ts b/application/frontend/src/app/util/int32.ts index 7b9b6df9..9dc59595 100644 --- a/application/frontend/src/app/util/int32.ts +++ b/application/frontend/src/app/util/int32.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export const maxInt32Value = 2147483647; diff --git a/application/frontend/src/app/util/label.spec.ts b/application/frontend/src/app/util/label.spec.ts index c414c7d4..f550a992 100644 --- a/application/frontend/src/app/util/label.spec.ts +++ b/application/frontend/src/app/util/label.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { joinLabel, splitLabel, getEntityName } from '.'; diff --git a/application/frontend/src/app/util/label.ts b/application/frontend/src/app/util/label.ts index a72590b2..4c1ca8b5 100644 --- a/application/frontend/src/app/util/label.ts +++ b/application/frontend/src/app/util/label.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Shipment, Vehicle, VehicleOperator, VisitRequest } from '../core/models'; diff --git a/application/frontend/src/app/util/linear-referencing.spec.ts b/application/frontend/src/app/util/linear-referencing.spec.ts index 92bd0b8d..6ccb2bc1 100644 --- a/application/frontend/src/app/util/linear-referencing.spec.ts +++ b/application/frontend/src/app/util/linear-referencing.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { TestBed } from '@angular/core/testing'; import { diff --git a/application/frontend/src/app/util/linear-referencing.ts b/application/frontend/src/app/util/linear-referencing.ts index decc8b4b..2e3d90d7 100644 --- a/application/frontend/src/app/util/linear-referencing.ts +++ b/application/frontend/src/app/util/linear-referencing.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import along from '@turf/along'; import simplify from '@turf/simplify'; diff --git a/application/frontend/src/app/util/long.spec.ts b/application/frontend/src/app/util/long.spec.ts index a2761245..210c4e09 100644 --- a/application/frontend/src/app/util/long.spec.ts +++ b/application/frontend/src/app/util/long.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import Long from 'long'; import { minLong, maxLong } from '.'; diff --git a/application/frontend/src/app/util/long.ts b/application/frontend/src/app/util/long.ts index ee727c2c..83df92ff 100644 --- a/application/frontend/src/app/util/long.ts +++ b/application/frontend/src/app/util/long.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; diff --git a/application/frontend/src/app/util/map.ts b/application/frontend/src/app/util/map.ts index cceb575b..5e9e501f 100644 --- a/application/frontend/src/app/util/map.ts +++ b/application/frontend/src/app/util/map.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { asyncScheduler, timer } from 'rxjs'; import { filter, take } from 'rxjs/operators'; diff --git a/application/frontend/src/app/util/patch-dispatcher-protobuf.spec.ts b/application/frontend/src/app/util/patch-dispatcher-protobuf.spec.ts index 458eeaf4..00701f6d 100644 --- a/application/frontend/src/app/util/patch-dispatcher-protobuf.spec.ts +++ b/application/frontend/src/app/util/patch-dispatcher-protobuf.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { google } from '@google-cloud/optimization/build/protos/protos'; import { configureProtobuf } from './configure-protobuf'; diff --git a/application/frontend/src/app/util/patch-dispatcher-protobuf.ts b/application/frontend/src/app/util/patch-dispatcher-protobuf.ts index 2158380e..261d6eec 100644 --- a/application/frontend/src/app/util/patch-dispatcher-protobuf.ts +++ b/application/frontend/src/app/util/patch-dispatcher-protobuf.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { google } from '@google-cloud/optimization/build/protos/protos'; import { isCanonicalDuration, isCanonicalTimestamp } from './canonical-protobuf'; diff --git a/application/frontend/src/app/util/patch-primitive-protobuf.spec.ts b/application/frontend/src/app/util/patch-primitive-protobuf.spec.ts index 1786cc52..b7adb4be 100644 --- a/application/frontend/src/app/util/patch-primitive-protobuf.spec.ts +++ b/application/frontend/src/app/util/patch-primitive-protobuf.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import * as protobuf from 'protobufjs/minimal'; diff --git a/application/frontend/src/app/util/patch-primitive-protobuf.ts b/application/frontend/src/app/util/patch-primitive-protobuf.ts index 28995c02..d3731b4e 100644 --- a/application/frontend/src/app/util/patch-primitive-protobuf.ts +++ b/application/frontend/src/app/util/patch-primitive-protobuf.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { google } from '@google-cloud/optimization/build/protos/protos'; diff --git a/application/frontend/src/app/util/request-settings.ts b/application/frontend/src/app/util/request-settings.ts index a022cd64..f3bc5a91 100644 --- a/application/frontend/src/app/util/request-settings.ts +++ b/application/frontend/src/app/util/request-settings.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { SearchMode } from 'src/app/core/models/dispatcher.model'; diff --git a/application/frontend/src/app/util/retry-strategy.ts b/application/frontend/src/app/util/retry-strategy.ts index 22ae5f87..14e0c6d6 100644 --- a/application/frontend/src/app/util/retry-strategy.ts +++ b/application/frontend/src/app/util/retry-strategy.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Observable, throwError, timer } from 'rxjs'; import { mergeMap } from 'rxjs/operators'; diff --git a/application/frontend/src/app/util/string.spec.ts b/application/frontend/src/app/util/string.spec.ts index 2fe8f530..63b83c64 100644 --- a/application/frontend/src/app/util/string.spec.ts +++ b/application/frontend/src/app/util/string.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { replaceAll } from '.'; diff --git a/application/frontend/src/app/util/string.ts b/application/frontend/src/app/util/string.ts index 6e93e1e1..8d22c3e4 100644 --- a/application/frontend/src/app/util/string.ts +++ b/application/frontend/src/app/util/string.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export function replaceAll(str: string, from: string, to: string): string { return str.split(from).join(to); diff --git a/application/frontend/src/app/util/time-range.spec.ts b/application/frontend/src/app/util/time-range.spec.ts index 42f2e3e7..9fc887e5 100644 --- a/application/frontend/src/app/util/time-range.spec.ts +++ b/application/frontend/src/app/util/time-range.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import Long from 'long'; import { getAvailableTimeRange } from './time-range'; diff --git a/application/frontend/src/app/util/time-range.ts b/application/frontend/src/app/util/time-range.ts index 19ccd4c0..d17ae7f1 100644 --- a/application/frontend/src/app/util/time-range.ts +++ b/application/frontend/src/app/util/time-range.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { ITimeWindow } from '../core/models'; diff --git a/application/frontend/src/app/util/time-translation.spec.ts b/application/frontend/src/app/util/time-translation.spec.ts index 1d98ef6e..a484893e 100644 --- a/application/frontend/src/app/util/time-translation.spec.ts +++ b/application/frontend/src/app/util/time-translation.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { diff --git a/application/frontend/src/app/util/time-translation.ts b/application/frontend/src/app/util/time-translation.ts index 559855be..fda3353c 100644 --- a/application/frontend/src/app/util/time-translation.ts +++ b/application/frontend/src/app/util/time-translation.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as Long from 'long'; import { formatDate as ngFormatDate } from '@angular/common'; diff --git a/application/frontend/src/app/util/time-window.spec.ts b/application/frontend/src/app/util/time-window.spec.ts index cf07a43e..8ba8f13c 100644 --- a/application/frontend/src/app/util/time-window.spec.ts +++ b/application/frontend/src/app/util/time-window.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { formatDate } from '@angular/common'; import Long from 'long'; diff --git a/application/frontend/src/app/util/time-window.ts b/application/frontend/src/app/util/time-window.ts index acfc8343..5a0afd78 100644 --- a/application/frontend/src/app/util/time-window.ts +++ b/application/frontend/src/app/util/time-window.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { formatDate } from '@angular/common'; import * as Long from 'long'; diff --git a/application/frontend/src/app/util/timezones.spec.ts b/application/frontend/src/app/util/timezones.spec.ts index cb0ba533..11d4a6aa 100644 --- a/application/frontend/src/app/util/timezones.spec.ts +++ b/application/frontend/src/app/util/timezones.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { getTimezonesByName, matchTimezonesByOffset } from './timezones'; diff --git a/application/frontend/src/app/util/timezones.ts b/application/frontend/src/app/util/timezones.ts index a678428c..88493c42 100644 --- a/application/frontend/src/app/util/timezones.ts +++ b/application/frontend/src/app/util/timezones.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Timezone, utcTimezones } from 'src/app/shared/models'; diff --git a/application/frontend/src/app/util/validation-time-window.spec.ts b/application/frontend/src/app/util/validation-time-window.spec.ts index 718cd8fd..1a719b1e 100644 --- a/application/frontend/src/app/util/validation-time-window.spec.ts +++ b/application/frontend/src/app/util/validation-time-window.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { detectTimeWindowOverlap, ValidationTimeWindow } from './validation-time-window'; diff --git a/application/frontend/src/app/util/validation-time-window.ts b/application/frontend/src/app/util/validation-time-window.ts index 5f2fe9d0..34d706f2 100644 --- a/application/frontend/src/app/util/validation-time-window.ts +++ b/application/frontend/src/app/util/validation-time-window.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export interface IValidationTimeWindow { startTime: number; diff --git a/application/frontend/src/app/util/validators.spec.ts b/application/frontend/src/app/util/validators.spec.ts index 95db69bd..43623fcf 100644 --- a/application/frontend/src/app/util/validators.spec.ts +++ b/application/frontend/src/app/util/validators.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { UntypedFormArray, diff --git a/application/frontend/src/app/util/validators.ts b/application/frontend/src/app/util/validators.ts index 08deaaf0..9d038daa 100644 --- a/application/frontend/src/app/util/validators.ts +++ b/application/frontend/src/app/util/validators.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { UntypedFormArray, diff --git a/application/frontend/src/app/vehicle-operators/actions/index.ts b/application/frontend/src/app/vehicle-operators/actions/index.ts index 85fa64f8..6304af94 100644 --- a/application/frontend/src/app/vehicle-operators/actions/index.ts +++ b/application/frontend/src/app/vehicle-operators/actions/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as VehicleOperatorsActions from './vehicle-operators.actions'; diff --git a/application/frontend/src/app/vehicle-operators/actions/vehicle-operators.actions.ts b/application/frontend/src/app/vehicle-operators/actions/vehicle-operators.actions.ts index 708ddf56..1b9b9d64 100644 --- a/application/frontend/src/app/vehicle-operators/actions/vehicle-operators.actions.ts +++ b/application/frontend/src/app/vehicle-operators/actions/vehicle-operators.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.spec.ts b/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.spec.ts index 5a5bef64..9aa0ec39 100644 --- a/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.spec.ts +++ b/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { BaseVehicleOperatorsTableComponent } from './base-vehicle-operators-table.component'; diff --git a/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.ts b/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.ts index ce819e97..9bb594e9 100644 --- a/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.ts +++ b/application/frontend/src/app/vehicle-operators/components/base-vehicle-operators-table/base-vehicle-operators-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, diff --git a/application/frontend/src/app/vehicle-operators/components/index.ts b/application/frontend/src/app/vehicle-operators/components/index.ts index 5acf0195..27506ae2 100644 --- a/application/frontend/src/app/vehicle-operators/components/index.ts +++ b/application/frontend/src/app/vehicle-operators/components/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-vehicle-operators-table/base-vehicle-operators-table.component'; diff --git a/application/frontend/src/app/vehicle-operators/containers/index.ts b/application/frontend/src/app/vehicle-operators/containers/index.ts index ac5f255e..24b3ca33 100644 --- a/application/frontend/src/app/vehicle-operators/containers/index.ts +++ b/application/frontend/src/app/vehicle-operators/containers/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './vehicle-operators/vehicle-operators.component'; diff --git a/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.spec.ts b/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.spec.ts index 952319cb..386822b4 100644 --- a/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.spec.ts +++ b/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.ts b/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.ts index 18ba5a2e..ab94efd6 100644 --- a/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.ts +++ b/application/frontend/src/app/vehicle-operators/containers/vehicle-operators/vehicle-operators.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { DataSource } from '../../../shared/models'; diff --git a/application/frontend/src/app/vehicle-operators/models/index.ts b/application/frontend/src/app/vehicle-operators/models/index.ts index 134345c0..1c552a92 100644 --- a/application/frontend/src/app/vehicle-operators/models/index.ts +++ b/application/frontend/src/app/vehicle-operators/models/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './vehicle-operator-column.model'; diff --git a/application/frontend/src/app/vehicle-operators/models/vehicle-operator-column.model.ts b/application/frontend/src/app/vehicle-operators/models/vehicle-operator-column.model.ts index 5f0288d0..7c9f7a89 100644 --- a/application/frontend/src/app/vehicle-operators/models/vehicle-operator-column.model.ts +++ b/application/frontend/src/app/vehicle-operators/models/vehicle-operator-column.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Column, VehicleOperator } from 'src/app/core/models'; import { durationSeconds } from 'src/app/util'; diff --git a/application/frontend/src/app/vehicle-operators/vehicle-operators-routing.module.ts b/application/frontend/src/app/vehicle-operators/vehicle-operators-routing.module.ts index 1133e1aa..3a50aa50 100644 --- a/application/frontend/src/app/vehicle-operators/vehicle-operators-routing.module.ts +++ b/application/frontend/src/app/vehicle-operators/vehicle-operators-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; diff --git a/application/frontend/src/app/vehicle-operators/vehicle-operators.module.ts b/application/frontend/src/app/vehicle-operators/vehicle-operators.module.ts index b5dfb1a8..3e036c9e 100644 --- a/application/frontend/src/app/vehicle-operators/vehicle-operators.module.ts +++ b/application/frontend/src/app/vehicle-operators/vehicle-operators.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/vehicles/actions/index.ts b/application/frontend/src/app/vehicles/actions/index.ts index 3c3ef460..a76c634b 100644 --- a/application/frontend/src/app/vehicles/actions/index.ts +++ b/application/frontend/src/app/vehicles/actions/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as VehiclesActions from './vehicles.actions'; diff --git a/application/frontend/src/app/vehicles/actions/vehicles.actions.ts b/application/frontend/src/app/vehicles/actions/vehicles.actions.ts index e1f99b39..84de8f09 100644 --- a/application/frontend/src/app/vehicles/actions/vehicles.actions.ts +++ b/application/frontend/src/app/vehicles/actions/vehicles.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.spec.ts b/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.spec.ts index d7465d36..e3757c40 100644 --- a/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.spec.ts +++ b/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatIconRegistry } from '@angular/material/icon'; diff --git a/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.ts b/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.ts index f9b1d4c9..a83541ed 100644 --- a/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.ts +++ b/application/frontend/src/app/vehicles/components/base-vehicles-table/base-vehicles-table.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, diff --git a/application/frontend/src/app/vehicles/components/index.ts b/application/frontend/src/app/vehicles/components/index.ts index 22bb6044..5baa5fc9 100644 --- a/application/frontend/src/app/vehicles/components/index.ts +++ b/application/frontend/src/app/vehicles/components/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './base-vehicles-table/base-vehicles-table.component'; diff --git a/application/frontend/src/app/vehicles/containers/index.ts b/application/frontend/src/app/vehicles/containers/index.ts index 74ab2284..ca0be492 100644 --- a/application/frontend/src/app/vehicles/containers/index.ts +++ b/application/frontend/src/app/vehicles/containers/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './vehicles/vehicles.component'; diff --git a/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.spec.ts b/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.spec.ts index d6fcb0cd..46b19fed 100644 --- a/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.spec.ts +++ b/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.ts b/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.ts index ad843961..d1332a42 100644 --- a/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.ts +++ b/application/frontend/src/app/vehicles/containers/vehicles/vehicles.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { PageEvent } from '@angular/material/paginator'; diff --git a/application/frontend/src/app/vehicles/models/index.ts b/application/frontend/src/app/vehicles/models/index.ts index 949a4183..e8a82553 100644 --- a/application/frontend/src/app/vehicles/models/index.ts +++ b/application/frontend/src/app/vehicles/models/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './vehicle-column.model'; diff --git a/application/frontend/src/app/vehicles/models/vehicle-column.model.ts b/application/frontend/src/app/vehicles/models/vehicle-column.model.ts index 7b530d0b..da7cdc36 100644 --- a/application/frontend/src/app/vehicles/models/vehicle-column.model.ts +++ b/application/frontend/src/app/vehicles/models/vehicle-column.model.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Column, Vehicle } from 'src/app/core/models'; import { durationSeconds } from 'src/app/util'; diff --git a/application/frontend/src/app/vehicles/vehicles-routing.module.ts b/application/frontend/src/app/vehicles/vehicles-routing.module.ts index e3ab15ce..436ea361 100644 --- a/application/frontend/src/app/vehicles/vehicles-routing.module.ts +++ b/application/frontend/src/app/vehicles/vehicles-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; diff --git a/application/frontend/src/app/vehicles/vehicles.module.ts b/application/frontend/src/app/vehicles/vehicles.module.ts index 26b52f2a..5f26340c 100644 --- a/application/frontend/src/app/vehicles/vehicles.module.ts +++ b/application/frontend/src/app/vehicles/vehicles.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/app/welcome/actions/index.ts b/application/frontend/src/app/welcome/actions/index.ts index ed16a240..172619f7 100644 --- a/application/frontend/src/app/welcome/actions/index.ts +++ b/application/frontend/src/app/welcome/actions/index.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import * as WelcomePageActions from './welcome-page.actions'; diff --git a/application/frontend/src/app/welcome/actions/welcome-page.actions.ts b/application/frontend/src/app/welcome/actions/welcome-page.actions.ts index b3081394..47e0d9a1 100644 --- a/application/frontend/src/app/welcome/actions/welcome-page.actions.ts +++ b/application/frontend/src/app/welcome/actions/welcome-page.actions.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { createAction } from '@ngrx/store'; diff --git a/application/frontend/src/app/welcome/containers/index.ts b/application/frontend/src/app/welcome/containers/index.ts index 695c7878..3b457ee0 100644 --- a/application/frontend/src/app/welcome/containers/index.ts +++ b/application/frontend/src/app/welcome/containers/index.ts @@ -1,10 +1,17 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export * from './welcome-page/welcome-page.component'; diff --git a/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.spec.ts b/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.spec.ts index 22e8238c..e7295d1e 100644 --- a/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.spec.ts +++ b/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.spec.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; diff --git a/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.ts b/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.ts index 3900fb7b..3abb91b4 100644 --- a/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.ts +++ b/application/frontend/src/app/welcome/containers/welcome-page/welcome-page.component.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { Component, ChangeDetectionStrategy, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; diff --git a/application/frontend/src/app/welcome/welcome-routing.module.ts b/application/frontend/src/app/welcome/welcome-routing.module.ts index 1a70cce2..5378000d 100644 --- a/application/frontend/src/app/welcome/welcome-routing.module.ts +++ b/application/frontend/src/app/welcome/welcome-routing.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; diff --git a/application/frontend/src/app/welcome/welcome.module.ts b/application/frontend/src/app/welcome/welcome.module.ts index 9f7505f8..a0ee17fd 100644 --- a/application/frontend/src/app/welcome/welcome.module.ts +++ b/application/frontend/src/app/welcome/welcome.module.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; diff --git a/application/frontend/src/environments/environment.prod.ts b/application/frontend/src/environments/environment.prod.ts index 8a4e4e3e..9e1cb2c5 100644 --- a/application/frontend/src/environments/environment.prod.ts +++ b/application/frontend/src/environments/environment.prod.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export const environment = { production: true, diff --git a/application/frontend/src/environments/environment.ts b/application/frontend/src/environments/environment.ts index 76426e1a..78e123cf 100644 --- a/application/frontend/src/environments/environment.ts +++ b/application/frontend/src/environments/environment.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. diff --git a/application/frontend/src/main.ts b/application/frontend/src/main.ts index cb796222..74c68c4f 100644 --- a/application/frontend/src/main.ts +++ b/application/frontend/src/main.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; diff --git a/application/frontend/src/polyfills.ts b/application/frontend/src/polyfills.ts index b2d66362..ba0fec97 100644 --- a/application/frontend/src/polyfills.ts +++ b/application/frontend/src/polyfills.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ /** * This file includes polyfills needed by Angular and is loaded before the app. diff --git a/application/frontend/src/test.ts b/application/frontend/src/test.ts index 8cf22d12..324f1273 100644 --- a/application/frontend/src/test.ts +++ b/application/frontend/src/test.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // This file is required by karma.conf.js and loads recursively all the .spec and framework files diff --git a/application/frontend/src/test/google-maps-mocks.ts b/application/frontend/src/test/google-maps-mocks.ts index 47058166..1b239ce8 100644 --- a/application/frontend/src/test/google-maps-mocks.ts +++ b/application/frontend/src/test/google-maps-mocks.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // mocks for the Google Maps JavaScript API classes and functions (google.maps.*) // these mocks are incomplete, they minimally cover the components diff --git a/application/frontend/src/test/material-fakes.ts b/application/frontend/src/test/material-fakes.ts index 77591cd4..3ef54318 100644 --- a/application/frontend/src/test/material-fakes.ts +++ b/application/frontend/src/test/material-fakes.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { SafeResourceUrl } from '@angular/platform-browser'; import { IconOptions } from '@angular/material/icon'; diff --git a/application/frontend/src/test/service-mocks.ts b/application/frontend/src/test/service-mocks.ts index ee6b267c..8bfaf067 100644 --- a/application/frontend/src/test/service-mocks.ts +++ b/application/frontend/src/test/service-mocks.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ import { EMPTY, Observable, of } from 'rxjs'; import { DeckGLRoute, VisitRequest } from 'src/app/core/models'; diff --git a/application/frontend/src/test/test-fakes.ts b/application/frontend/src/test/test-fakes.ts index a80fa791..9cf7d8be 100644 --- a/application/frontend/src/test/test-fakes.ts +++ b/application/frontend/src/test/test-fakes.ts @@ -1,11 +1,18 @@ -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ export const pathCoordinates = [ [43.65578, -70.25502], // vehicle start diff --git a/application/frontend/tools/recolor-images.ts b/application/frontend/tools/recolor-images.ts index a33e9a63..52111047 100644 --- a/application/frontend/tools/recolor-images.ts +++ b/application/frontend/tools/recolor-images.ts @@ -1,12 +1,19 @@ #!/usr/bin/env ts-node-script -/** - * @license - * Copyright 2022 Google LLC - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */ +/* +Copyright 2024 Google LLC + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ // Creates one icon for each map theme color by applying color to stroke or fill. diff --git a/application/package-lock.json b/application/package-lock.json index 8b3840e3..8dd75f9e 100644 --- a/application/package-lock.json +++ b/application/package-lock.json @@ -8,7 +8,7 @@ "name": "fleetrouting-app", "version": "0.0.0", "hasInstallScript": true, - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "dotenv": "^16.0.2", "lerna": "^6.1.0" diff --git a/python/__init__.py b/python/__init__.py index 5dc74f7f..d6b03081 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -1,4 +1,13 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/python/cfr/__init__.py b/python/cfr/__init__.py index 5dc74f7f..d6b03081 100644 --- a/python/cfr/__init__.py +++ b/python/cfr/__init__.py @@ -1,4 +1,13 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/python/cfr/analysis/__init__.py b/python/cfr/analysis/__init__.py index 5dc74f7f..d6b03081 100644 --- a/python/cfr/analysis/__init__.py +++ b/python/cfr/analysis/__init__.py @@ -1,4 +1,13 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/python/cfr/analysis/cfr-json-analysis.ipynb b/python/cfr/analysis/cfr-json-analysis.ipynb index 054237e0..161a66e0 100644 --- a/python/cfr/analysis/cfr-json-analysis.ipynb +++ b/python/cfr/analysis/cfr-json-analysis.ipynb @@ -19,8 +19,8 @@ "\n", "Copyright 2023 Google LLC. All Rights Reserved.\n", "\n", - "Use of this source code is governed by an MIT-style license that can be found\n", - "in the LICENSE file or at https://opensource.org/licenses/MIT." + "Use of this source code is governed by an Apachge 2.0 license that can be found\n", + "in the LICENSE file or at https://www.apache.org/licenses/LICENSE-2.0." ] }, { @@ -71,7 +71,7 @@ " solutions to the notebook to analyze them. The easiest way is to upload\n", " either ZIP files from the fleet routing app or the scenario/solution JSON\n", " file pairs through the form in the section\n", - " [Upload scenarios and solutions](#scrollTo=G6mXfeDxgA4M\u0026line=1\u0026uniqifier=1).\n", + " [Upload scenarios and solutions](#scrollTo=G6mXfeDxgA4M&line=1&uniqifier=1).\n", "\n", "3. Now you have data to analyze. Run any other cell in the notebook to walk\n", " through the data.\n", @@ -128,8 +128,7 @@ "from cfr.python.cfr.analysis import analysis\n", "from cfr.python.cfr.json import cfr_json\n", "from cfr.python.cfr.json import human_readable\n", - "from cfr.python.cfr.two_step_routing import two_step_routing\n", - "" + "from cfr.python.cfr.two_step_routing import two_step_routing\n" ] }, { @@ -1198,7 +1197,7 @@ " data = []\n", " for vehicle_indices, shipment_indices in groups:\n", " skipped_shipments_in_group = (\n", - " scenario.skipped_shipment_indices \u0026 shipment_indices\n", + " scenario.skipped_shipment_indices & shipment_indices\n", " )\n", " vehicle_labels = sorted(\n", " str(vehicle_index) + \": \" + scenario.vehicle_label(vehicle_index)\n", @@ -1278,7 +1277,7 @@ "\n", " def add_breaks_before_timestamp(timestamp):\n", " nonlocal next_break_start\n", - " while next_break_start \u003c timestamp:\n", + " while next_break_start < timestamp:\n", " current_break = breaks.pop(0)\n", " data.append({\n", " \"vehicle\": vehicle_label,\n", diff --git a/python/cfr/json/__init__.py b/python/cfr/json/__init__.py index 5dc74f7f..d6b03081 100644 --- a/python/cfr/json/__init__.py +++ b/python/cfr/json/__init__.py @@ -1,4 +1,13 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/python/cfr/json/cfr_json.py b/python/cfr/json/cfr_json.py index 8fdf4880..725b9eea 100644 --- a/python/cfr/json/cfr_json.py +++ b/python/cfr/json/cfr_json.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """Data structures and functions for working with CFR JSON requests.""" diff --git a/python/cfr/json/cfr_json_test.py b/python/cfr/json/cfr_json_test.py index 48c715d8..add7f316 100644 --- a/python/cfr/json/cfr_json_test.py +++ b/python/cfr/json/cfr_json_test.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import copy import datetime diff --git a/python/cfr/json/io_utils.py b/python/cfr/json/io_utils.py index 321d1676..02d51e51 100644 --- a/python/cfr/json/io_utils.py +++ b/python/cfr/json/io_utils.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """IO helper functions for JSON.""" diff --git a/python/cfr/json/io_utils_test.py b/python/cfr/json/io_utils_test.py index 32197414..30ba9d4f 100644 --- a/python/cfr/json/io_utils_test.py +++ b/python/cfr/json/io_utils_test.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from os import path import tempfile diff --git a/python/cfr/json/transform_request.py b/python/cfr/json/transform_request.py index c1c5ca3a..a0aafb48 100644 --- a/python/cfr/json/transform_request.py +++ b/python/cfr/json/transform_request.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. r"""A command-line utility that transforms CFR request JSON files. diff --git a/python/cfr/json/transforms.py b/python/cfr/json/transforms.py index 9d8ea87c..51fb6749 100644 --- a/python/cfr/json/transforms.py +++ b/python/cfr/json/transforms.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """A library of transformations to CFR JSON requests.""" diff --git a/python/cfr/json/transforms_test.py b/python/cfr/json/transforms_test.py index f150bff1..8328b2ab 100644 --- a/python/cfr/json/transforms_test.py +++ b/python/cfr/json/transforms_test.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import copy import unittest diff --git a/python/cfr/testdata/__init__.py b/python/cfr/testdata/__init__.py index 6851dc89..5dd4836e 100644 --- a/python/cfr/testdata/__init__.py +++ b/python/cfr/testdata/__init__.py @@ -1,4 +1,13 @@ -# Copyright 2024 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. \ No newline at end of file diff --git a/python/cfr/testdata/testdata.py b/python/cfr/testdata/testdata.py index e969b12f..659a6dd2 100644 --- a/python/cfr/testdata/testdata.py +++ b/python/cfr/testdata/testdata.py @@ -1,7 +1,16 @@ -# Copyright 2024 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """Provides easy access to the test data in JSON format.""" diff --git a/python/cfr/two_step_routing/README.md b/python/cfr/two_step_routing/README.md index 41d99459..34869bf9 100644 --- a/python/cfr/two_step_routing/README.md +++ b/python/cfr/two_step_routing/README.md @@ -29,5 +29,5 @@ python3 -m examples.two_step_routing.two_step_routing_main \ ## License -The example code is licensed under an MIT-style license, see +The example code is licensed under the Apache 2.0 license, see [LICENSE](../../LICENSE) for details. diff --git a/python/cfr/two_step_routing/__init__.py b/python/cfr/two_step_routing/__init__.py index 5dc74f7f..d6b03081 100644 --- a/python/cfr/two_step_routing/__init__.py +++ b/python/cfr/two_step_routing/__init__.py @@ -1,4 +1,13 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/python/cfr/two_step_routing/two_step_routing.py b/python/cfr/two_step_routing/two_step_routing.py index de8139d5..017a04fc 100644 --- a/python/cfr/two_step_routing/two_step_routing.py +++ b/python/cfr/two_step_routing/two_step_routing.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """Implements a basic two-step route optimization algorithm on top of CFR. diff --git a/python/cfr/two_step_routing/two_step_routing_main.py b/python/cfr/two_step_routing/two_step_routing_main.py index a1459862..5bc72337 100644 --- a/python/cfr/two_step_routing/two_step_routing_main.py +++ b/python/cfr/two_step_routing/two_step_routing_main.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. r"""End-to-end example of running the two-step delivery planner. diff --git a/python/cfr/two_step_routing/two_step_routing_test.py b/python/cfr/two_step_routing/two_step_routing_test.py index dcae0d0c..4e9dc3ee 100644 --- a/python/cfr/two_step_routing/two_step_routing_test.py +++ b/python/cfr/two_step_routing/two_step_routing_test.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import copy import dataclasses diff --git a/python/cfr/utils.py b/python/cfr/utils.py index efbc5bed..f9e3940f 100644 --- a/python/cfr/utils.py +++ b/python/cfr/utils.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """General helper functions and classes.""" diff --git a/python/cfr/utils_test.py b/python/cfr/utils_test.py index 0f4dd9bf..63d8e835 100644 --- a/python/cfr/utils_test.py +++ b/python/cfr/utils_test.py @@ -1,7 +1,16 @@ -# Copyright 2023 Google LLC. All Rights Reserved. +# Copyright 2024 Google LLC # -# Use of this source code is governed by an MIT-style license that can be found -# in the LICENSE file or at https://opensource.org/licenses/MIT. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import argparse from os import path