diff --git a/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/impl/UniqueTextCreator.java b/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/impl/UniqueTextCreator.java index 93555c309..9629ec148 100644 --- a/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/impl/UniqueTextCreator.java +++ b/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/impl/UniqueTextCreator.java @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + package com.google.code.kaptcha.impl; import java.util.Random; diff --git a/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/text/impl/RandomColorWordRenderer.java b/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/text/impl/RandomColorWordRenderer.java index 14aea4892..e6a04117a 100644 --- a/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/text/impl/RandomColorWordRenderer.java +++ b/maxkey-authentications/maxkey-authentication-captcha/src/main/java/com/google/code/kaptcha/text/impl/RandomColorWordRenderer.java @@ -125,21 +125,30 @@ public class RandomColorWordRenderer extends Configurable implements WordRendere } static String [] COLOR_LIST = { - //"255, 255, 255",//white - //"192, 192, 192",//silver - //"128, 128, 128",//gray - "0, 0, 0",//black - "255, 0, 0",//red - "128, 0, 0",//maroon - "255, 255, 0",//yellow - "128, 128, 0",//olive - "0, 255, 0",//lime - "0, 128, 0",//green - "0, 255, 255",//aqua - "0, 128, 128",//teal - "0, 0, 255",//blue - "0, 0, 128",//navy - "255, 0, 255",//fuchsia - "128, 0, 128"//purple + //"255, 255, 255", //white + //"192, 192, 192", //silver + //"128, 128, 128", //gray + "0, 0, 0", //black + "0, 0, 128", //navy + "0, 0, 255", //blue + "0, 128, 0", //green + "0, 128, 128", //teal + "0, 255, 0", //lime + "0, 255, 255", //aqua + "75, 0, 130", //Indigo + "128, 0, 0", //maroon + "128, 0, 128", //purple + "128, 128, 0", //olive + "135, 206, 235", //SkyBlue````` + "165, 42, 42", //Brown + "210, 105, 30", //Chocolate + "255, 0, 0", //red + "255, 0, 255", //fuchsia + "255, 69, 0", //OrangeRed + "255, 127, 80", //Coral + "255, 165, 0", //Orange + "255, 192, 203", //Pink + "255, 215, 0", //Gold + "255, 255, 0", //yellow }; } diff --git a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/jwt/AuthJwtService.java b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/jwt/AuthJwtService.java index 7f544d918..0031aac26 100644 --- a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/jwt/AuthJwtService.java +++ b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/jwt/AuthJwtService.java @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + package org.maxkey.authn.jwt; import java.text.ParseException; diff --git a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/provider/package-info.java b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/provider/package-info.java index e9a235b63..d0fb6a912 100644 --- a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/provider/package-info.java +++ b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/provider/package-info.java @@ -1 +1,18 @@ -package org.maxkey.authn.provider; \ No newline at end of file +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +package org.maxkey.authn.provider; diff --git a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/web/LoginRefreshPoint.java b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/web/LoginRefreshPoint.java index 6a12d2352..7dab660b0 100644 --- a/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/web/LoginRefreshPoint.java +++ b/maxkey-authentications/maxkey-authentication-core/src/main/java/org/maxkey/authn/web/LoginRefreshPoint.java @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + package org.maxkey.authn.web; import org.maxkey.authn.jwt.AuthJwt; diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_api.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_api.ts index 7448a9f1d..b4e3c1887 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_api.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_api.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { MockRequest, MockStatusError } from '@delon/mock'; // region: mock data diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_chart.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_chart.ts index dbbe0f2b7..ea4705a37 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_chart.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_chart.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { format } from 'date-fns'; import * as Mock from 'mockjs'; diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_geo.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_geo.ts index f52cf8823..a009cc33b 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_geo.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_geo.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { MockRequest } from '@delon/mock'; const DATA = [ diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_pois.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_pois.ts index ad4c9b01d..483a18a6a 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_pois.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_pois.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 POIS = { '/pois': { total: 2, diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_profile.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_profile.ts index 888f55730..7da374d2d 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_profile.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_profile.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 basicGoods = [ { id: '1234561', diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_rule.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_rule.ts index 64f400879..49ca83b36 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_rule.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_rule.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { HttpRequest } from '@angular/common/http'; import { MockRequest } from '@delon/mock'; diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/_user.ts b/maxkey-web-frontend/maxkey-web-app/_mock/_user.ts index 386ffd1b6..2a0b83e73 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/_user.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/_user.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { MockRequest } from '@delon/mock'; const list: any[] = []; diff --git a/maxkey-web-frontend/maxkey-web-app/_mock/index.ts b/maxkey-web-frontend/maxkey-web-app/_mock/index.ts index ab8e432cc..01d169e7c 100644 --- a/maxkey-web-frontend/maxkey-web-app/_mock/index.ts +++ b/maxkey-web-frontend/maxkey-web-app/_mock/index.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './_profile'; export * from './_rule'; export * from './_api'; diff --git a/maxkey-web-frontend/maxkey-web-app/e2e/src/app.e2e-spec.ts b/maxkey-web-frontend/maxkey-web-app/e2e/src/app.e2e-spec.ts index df95215fd..7339ef252 100644 --- a/maxkey-web-frontend/maxkey-web-app/e2e/src/app.e2e-spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/e2e/src/app.e2e-spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, logging } from 'protractor'; import { AppPage } from './app.po'; diff --git a/maxkey-web-frontend/maxkey-web-app/e2e/src/app.po.ts b/maxkey-web-frontend/maxkey-web-app/e2e/src/app.po.ts index 08b20ffdc..dd6a09cc9 100644 --- a/maxkey-web-frontend/maxkey-web-app/e2e/src/app.po.ts +++ b/maxkey-web-frontend/maxkey-web-app/e2e/src/app.po.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; export class AppPage { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/app.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/app.component.ts index e91655e8e..be091f28a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/app.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/app.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ElementRef, OnInit, Renderer2 } from '@angular/core'; import { NavigationEnd, NavigationError, RouteConfigLoadStart, Router } from '@angular/router'; import { TitleService, VERSION as VERSION_ALAIN } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/app.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/app.module.ts index b4ca81434..aaf140391 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/app.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/app.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/order */ /* eslint-disable import/no-duplicates */ import { HttpClientModule } from '@angular/common/http'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/core.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/core.module.ts index 58522fc1b..7f93b9f1b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/core.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/core.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Optional, SkipSelf } from '@angular/core'; import { throwIfAlreadyLoaded } from './module-import-guard'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.spec.ts index 8f1243c60..4e54a0e7f 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, TestBedStatic } from '@angular/core/testing'; import { DelonLocaleService, SettingsService } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.ts index e3fdf6cef..7dd7728a4 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/i18n/i18n.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // 请参考:https://ng-alain.com/docs/i18n import { Platform } from '@angular/cdk/platform'; import { registerLocaleData } from '@angular/common'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/index.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/index.ts index 8fdee38d5..93928980f 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/index.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/index.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './i18n/i18n.service'; export * from './module-import-guard'; export * from './net/default.interceptor'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/module-import-guard.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/module-import-guard.ts index ad3d795ac..1c6f9fa8f 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/module-import-guard.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/module-import-guard.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // https://angular.io/guide/styleguide#style-04-12 export function throwIfAlreadyLoaded(parentModule: any, moduleName: string): void { if (parentModule) { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/net/default.interceptor.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/net/default.interceptor.ts index 7d600adaf..219aeb185 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/net/default.interceptor.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/net/default.interceptor.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { HttpErrorResponse, HttpEvent, diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/core/startup/startup.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/core/startup/startup.service.ts index fb80a8a23..601b0f44b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/core/startup/startup.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/core/startup/startup.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Inject, Injectable } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Accounts.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Accounts.ts index 6d163fa0e..359dd2c8e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Accounts.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Accounts.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/AccountsStrategy.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/AccountsStrategy.ts index 32d1eeae2..4bd7c01b4 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/AccountsStrategy.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/AccountsStrategy.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Adapters.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Adapters.ts index 0f1b5c371..d8e6b41d5 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Adapters.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Adapters.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Apps.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Apps.ts index a76658ee5..f03a09130 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Apps.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Apps.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/BaseEntity.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/BaseEntity.ts index 9d13952d5..663016f6a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/BaseEntity.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/BaseEntity.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 class BaseEntity { id!: String; instId!: String; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/ChangePassword.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/ChangePassword.ts index a0454a738..64d51437f 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/ChangePassword.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/ChangePassword.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class ChangePassword extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/EmailSenders.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/EmailSenders.ts index b178cb3d8..be2ef33c7 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/EmailSenders.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/EmailSenders.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class EmailSenders extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/GroupMembers.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/GroupMembers.ts index ecacaae45..ef87bdf14 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/GroupMembers.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/GroupMembers.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class GroupMembers extends BaseEntity { } diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Groups.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Groups.ts index c109df2fb..a01459af5 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Groups.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Groups.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Institutions.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Institutions.ts index b21b433d1..b35253675 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Institutions.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Institutions.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Institutions extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/LdapContext.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/LdapContext.ts index f82d216fe..beaa1d45c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/LdapContext.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/LdapContext.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class LdapContext extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Message.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Message.ts index 8b683409c..92ca6f245 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Message.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Message.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Organizations.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Organizations.ts index b3ef6811b..60afe343b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Organizations.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Organizations.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Organizations extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/PageResults.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/PageResults.ts index 8fdbb3b51..10f798765 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/PageResults.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/PageResults.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/PasswordPolicy.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/PasswordPolicy.ts index 91b061bef..8cc0a345e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/PasswordPolicy.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/PasswordPolicy.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class PasswordPolicy extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Resources.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Resources.ts index 43c2a61d1..fedf00c80 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Resources.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Resources.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Resources extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/RoleMembers.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/RoleMembers.ts index 194e65370..36126db0c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/RoleMembers.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/RoleMembers.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class RoleMembers extends BaseEntity { } diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Roles.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Roles.ts index ed4aef73d..256ad8fac 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Roles.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Roles.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/SmsProvider.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/SmsProvider.ts index 7293b916d..452c5851d 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/SmsProvider.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/SmsProvider.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class SmsProvider extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsAssociate.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsAssociate.ts index 4301c16ac..6ddb3748f 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsAssociate.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsAssociate.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; import { SocialsProvider } from './SocialsProvider'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsProvider.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsProvider.ts index 08c0c9416..0f7e51fac 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsProvider.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/SocialsProvider.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class SocialsProvider extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Synchronizers.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Synchronizers.ts index c3128ef74..ba2eee286 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Synchronizers.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Synchronizers.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/TimeBased.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/TimeBased.ts index 4c0bc7190..f2ca5c462 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/TimeBased.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/TimeBased.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/TreeNodes.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/TreeNodes.ts index a5dab93dd..949bd19ca 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/TreeNodes.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/TreeNodes.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree'; export class TreeNodes { activated!: NzTreeNode; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Users.ts b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Users.ts index cb8f59533..62af1b50e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/entity/Users.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/entity/Users.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Users extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/global-config.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/global-config.module.ts index a9750df35..ec0a83998 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/global-config.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/global-config.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/order */ import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core'; import { DelonACLModule } from '@delon/acl'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/basic.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/basic.component.ts index 3893d60e8..9407935a8 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/basic.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/basic.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Router } from '@angular/router'; import { SettingsService, User } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/clear-storage.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/clear-storage.component.ts index 323bb3b3a..5ad9522f9 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/clear-storage.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/clear-storage.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, HostListener } from '@angular/core'; import { NzMessageService } from 'ng-zorro-antd/message'; import { NzModalService } from 'ng-zorro-antd/modal'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/fullscreen.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/fullscreen.component.ts index e6c8c00be..e4472c059 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/fullscreen.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/fullscreen.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, HostListener } from '@angular/core'; import screenfull from 'screenfull'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/i18n.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/i18n.component.ts index c9d094e11..cbcc257ec 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/i18n.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/i18n.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core'; import { I18NService } from '@core'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/icon.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/icon.component.ts index 6526c8ea7..ceb05ffe9 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/icon.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/icon.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/notify.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/notify.component.ts index ebf464a13..9fc645cfe 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/notify.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/notify.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { NoticeIconList, NoticeIconSelect, NoticeItem } from '@delon/abc/notice-icon'; import { add, formatDistanceToNow, parse } from 'date-fns'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/rtl.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/rtl.component.ts index 04cdee635..5daec5496 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/rtl.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/rtl.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, HostListener } from '@angular/core'; import { RTLService } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/search.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/search.component.ts index cd3be88c5..ed4f6e768 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/search.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/search.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectionStrategy, diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/task.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/task.component.ts index 62d33b57e..91472058b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/task.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/task.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/user.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/user.component.ts index 6e6bfee40..27794aece 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/user.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/basic/widgets/user.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Router } from '@angular/router'; import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/blank/blank.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/blank/blank.component.ts index 09f73b918..7116d8845 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/blank/blank.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/blank/blank.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/layout.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/layout.module.ts index 3fbd805f6..3e4722b61 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/layout.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/layout.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { FormsModule } from '@angular/forms'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/layout/passport/passport.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/layout/passport/passport.component.ts index 77b2a112c..60ae8b561 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/layout/passport/passport.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/layout/passport/passport.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/access.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/access.module.ts index 9a0e83f91..19db817c2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/access.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/access.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.spec.ts index f3dbb7724..d4267849c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SessionsComponent } from './sessions.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.ts index dcf50f12f..36d72c52a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/access/sessions/sessions.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts index 1eed0c4a9..0e8527aa7 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditLoginAppsComponent } from './audit-login-apps.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts index ffc7225fc..360169741 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts index e063feaf7..973bb4294 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditLoginsComponent } from './audit-logins.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.ts index 6c2a68feb..a41d404d9 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-logins/audit-logins.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts index 0a8247627..bf50cff77 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditSystemLogsComponent } from './audit-system-logs.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts index a5b08c95f..8436d1521 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit.module.ts index 5f74cf4c7..beec365eb 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/audit/audit.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/authz.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/authz.module.ts index ec2c4ef64..324339ecf 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/authz.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/authz.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.spec.ts index 713a22d37..16cd4b329 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { CredentialComponent } from './credential.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.ts index 888dc0929..2e837ff1a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/credential/credential.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit, Inject, OnDestroy, Optional } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.spec.ts index a0336db86..00680cdcd 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Oauth2ApproveComponent } from './oauth2-approve.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.ts index 0b739b325..e2db8643d 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/authz/oauth2-approve/oauth2-approve.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit, Inject, OnDestroy, Optional } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/config.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/config.module.ts index 43c3c7cae..844b4435b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/config.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/config.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.spec.ts index 5bbde294b..e477b0ba6 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { PasswordComponent } from './password.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.ts index 249bcd17d..3f37bbe69 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient, SettingsService, User } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.spec.ts index e88012e7a..abcd67925 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ProfileComponent } from './profile.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.ts index 2432cae43..ce8d8b697 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/profile/profile.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.spec.ts index 0a545dd4b..cae50f5e6 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SocialsAssociateComponent } from './socials-associate.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.ts index 7b3972161..1d9616975 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-associate/socials-associate.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts index 9d54f8c51..a34ad2e83 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SocialsProviderComponent } from './socials-provider.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.ts index 3ea54915b..6e00f7349 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/socials-provider/socials-provider.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.spec.ts index ad210635c..519043193 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { TimebasedComponent } from './timebased.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.ts index c9b6b7e4d..ae64f9d8a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/timebased/timebased.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard-routing.module.ts index b43cfb566..60ba16b64 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard.module.ts index 7f791293e..ba2f0f07c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/dashboard.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { CountDownModule } from '@delon/abc/count-down'; import { OnboardingModule } from '@delon/abc/onboarding'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.spec.ts index 2c5a17268..0a8bfb995 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { HomeComponent } from './home.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.ts index d0702fe5e..08f548be8 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/dashboard/home/home.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Platform } from '@angular/cdk/platform'; import { DOCUMENT } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, Renderer2 } from '@angular/core'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/acl/acl.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/acl/acl.component.ts index 700605ef6..038d932ce 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/acl/acl.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/acl/acl.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ACLService } from '@delon/acl'; import { MenuService } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/cache/cache.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/cache/cache.component.ts index e38ecbcc4..82bad869c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/cache/cache.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/cache/cache.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { CacheService } from '@delon/cache'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon-routing.module.ts index c75792f3e..33e26ef67 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { ACLGuard } from '@delon/acl'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon.module.ts index 33e033676..8c9ea39bf 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/delon.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { DownFileModule } from '@delon/abc/down-file'; import { FullContentModule } from '@delon/abc/full-content'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/downfile/downfile.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/downfile/downfile.component.ts index deff43616..148c9dae2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/downfile/downfile.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/downfile/downfile.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/admin.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/admin.component.ts index a4dbe534e..bdb87a3dc 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/admin.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/admin.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/auth.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/auth.component.ts index 675afe152..9b1a31622 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/auth.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/auth.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/can-leave.provide.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/can-leave.provide.ts index b335cd32b..d3d5c52a0 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/can-leave.provide.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/can-leave.provide.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router'; import { NzModalService } from 'ng-zorro-antd/modal'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/guard.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/guard.component.ts index b96d67423..e17ef412e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/guard.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/guard.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Router } from '@angular/router'; import { ACLService } from '@delon/acl'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/leave.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/leave.component.ts index fa458ec1f..8c8b34305 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/leave.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/leave.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/print/print.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/print/print.component.ts index 8afac75f1..dc44df89e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/print/print.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/print/print.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Lodop, LodopService } from '@delon/abc/lodop'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/qr/qr.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/qr/qr.component.ts index d36df5573..9d47f1ee0 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/qr/qr.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/qr/qr.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/st/st.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/st/st.component.ts index 3ba6ec280..e7267d9e2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/st/st.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/st/st.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { STColumn } from '@delon/abc/st'; import { G2MiniBarData } from '@delon/chart/mini-bar'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/util/util.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/util/util.component.ts index 0de5c3f61..2f1600361 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/util/util.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/util/util.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { copy } from '@delon/util/browser'; import { format } from '@delon/util/format'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/xlsx/xlsx.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/xlsx/xlsx.component.ts index e2fa6cf67..ae48a6948 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/xlsx/xlsx.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/xlsx/xlsx.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { STColumn } from '@delon/abc/st'; import { XlsxService } from '@delon/abc/xlsx'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/zip/zip.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/zip/zip.component.ts index b7efc3f72..304a3a85c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/zip/zip.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/zip/zip.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { ZipService } from '@delon/abc/zip'; import * as JSZip from 'jszip'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception-routing.module.ts index 47e8cc737..87ef90d09 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.component.ts index aa719a599..de47452b2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ActivatedRoute } from '@angular/router'; import { ExceptionType } from '@delon/abc/exception'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.module.ts index 2981fae5a..66ddad2c1 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/exception.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { ExceptionModule as DelonExceptionModule } from '@delon/abc/exception'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/trigger.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/trigger.component.ts index 5a0c373d0..8588dc079 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/trigger.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/exception/trigger.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras-routing.module.ts index 04575e4f6..947147bc7 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras.module.ts index 76b07a1b7..423687f92 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/extras.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/helpcenter/helpcenter.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/helpcenter/helpcenter.component.ts index 3517fac86..f20c77296 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/helpcenter/helpcenter.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/helpcenter/helpcenter.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/settings/settings.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/settings/settings.component.ts index afbe4e29b..5ec55211e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/settings/settings.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/extras/settings/settings.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/callback.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/callback.component.ts index 4687e0a04..a97bfc7e7 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/callback.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/callback.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Optional, Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { ReuseTabService } from '@delon/abc/reuse-tab'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.spec.ts index 998fd5d8c..354435f9a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ForgotComponent } from './forgot.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.ts index ab76e6487..da36dabe2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/forgot/forgot.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/lock/lock.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/lock/lock.component.ts index aac5496b9..14c3dd981 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/lock/lock.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/lock/lock.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts index 2ab04545d..4bba5eaee 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/login/login.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Inject, OnInit, OnDestroy, AfterViewInit, Optional } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router, ActivatedRoute } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport-routing.module.ts index 021ed4c60..e3d9a16bf 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport.module.ts index 16938ee4b..2d3ccb81c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/passport.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SharedModule } from '@shared'; import { NzStepsModule } from 'ng-zorro-antd/steps'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register-result/register-result.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register-result/register-result.component.ts index 23cc84865..4111a63bd 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register-result/register-result.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register-result/register-result.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ActivatedRoute } from '@angular/router'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register/register.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register/register.component.ts index 674808a1b..d3f0e52b1 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register/register.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/passport/register/register.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes-routing.module.ts index ca6d8fe7a..07ef6e0f2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { SimpleGuard } from '@delon/auth'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes.module.ts index 8e83badce..cf6e64698 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/routes.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Type } from '@angular/core'; import { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/color.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/color.service.ts index 636aa4792..421953c74 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/color.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/color.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Injectable() diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/colors/colors.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/colors/colors.component.ts index dd729ce41..373bd3bca 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/colors/colors.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/colors/colors.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { copy } from '@delon/util/browser'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts index 0aebc8d32..387497052 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style-routing.module.ts index af88b0dcd..5c62879b2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style.module.ts index 135ad3150..3e6a59313 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/style.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/typography/typography.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/typography/typography.component.ts index 7ef2ed233..05b53d74e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/typography/typography.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/style/typography/typography.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ColorService } from '../color.service'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets-routing.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets-routing.module.ts index 12263fdc7..e346fe56b 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets.module.ts index 8f6de0cd7..221ed5171 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Type } from '@angular/core'; import { G2MiniAreaModule } from '@delon/chart/mini-area'; import { G2MiniBarModule } from '@delon/chart/mini-bar'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets/widgets.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets/widgets.component.ts index 74c215396..1dee06b0f 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets/widgets.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/routes/widgets/widgets/widgets.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { G2MiniBarData } from '@delon/chart/mini-bar'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/accounts.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/accounts.service.ts index d0f5fcf4c..c8925c8cf 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/accounts.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/accounts.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/analysis.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/analysis.service.ts index 15d241d44..7dd4a82fc 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/analysis.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/analysis.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/appList.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/appList.service.ts index aac78f75f..a83726a01 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/appList.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/appList.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/apps.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/apps.service.ts index 1da490433..af2fef89c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/apps.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/apps.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/authentication.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/authentication.service.ts index fc94abbc6..6671c6828 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/authentication.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/authentication.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { Router } from '@angular/router'; import { StartupService } from '@core'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/base.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/base.service.ts index f6afc63dd..cf51034ef 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/base.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/base.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { NzSafeAny } from 'ng-zorro-antd/core/types'; import { Observable } from 'rxjs'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/email-senders.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/email-senders.service.ts index 146e17564..437d5b9ea 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/email-senders.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/email-senders.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/forgot-password.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/forgot-password.service.ts index 67d71d04c..570395243 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/forgot-password.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/forgot-password.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { _HttpClient, User } from '@delon/theme'; @Injectable({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/group-members.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/group-members.service.ts index fa9be0c91..0db660548 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/group-members.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/group-members.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/group-privileges.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/group-privileges.service.ts index 817292bc6..aaf082bd2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/group-privileges.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/group-privileges.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/groups.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/groups.service.ts index 70b74ef32..ae7b1c3fd 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/groups.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/groups.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/history.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/history.service.ts index d7b8d215e..1cc70f2e8 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/history.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/history.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/image-captcha.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/image-captcha.service.ts index abf409020..85458e939 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/image-captcha.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/image-captcha.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SettingsService, _HttpClient, User } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/institutions.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/institutions.service.ts index e8376cc47..c18577168 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/institutions.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/institutions.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/ldap-context.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/ldap-context.service.ts index 14a083cb5..9eec3016d 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/ldap-context.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/ldap-context.service.ts @@ -1,3 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/oauth2-approve.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/oauth2-approve.service.ts index 9cde42ab8..806db75b2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/oauth2-approve.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/oauth2-approve.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/organizations.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/organizations.service.ts index 6c4e8b670..dc51c9c2e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/organizations.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/organizations.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/password-policy.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/password-policy.service.ts index df39be068..0a586a4ff 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/password-policy.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/password-policy.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/password.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/password.service.ts index fac6fc64d..0fde0f11c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/password.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/password.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/resources.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/resources.service.ts index 8a0c04964..3f6364855 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/resources.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/resources.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/role-members.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/role-members.service.ts index 6151f3515..139143d7c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/role-members.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/role-members.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/role-privileges.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/role-privileges.service.ts index 093e8850f..1b376af6c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/role-privileges.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/role-privileges.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/roles.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/roles.service.ts index 237282403..700c64657 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/roles.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/roles.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/sessions.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/sessions.service.ts index 150d3a084..05150f880 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/sessions.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/sessions.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/signup.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/signup.service.ts index 318b76e98..e5c4c89dd 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/signup.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/signup.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { _HttpClient, User } from '@delon/theme'; @Injectable({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/sms-provider.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/sms-provider.service.ts index 1b8e4825c..fd483f120 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/sms-provider.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/sms-provider.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-associate.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-associate.service.ts index 98cf95239..957ab944c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-associate.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-associate.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-provider.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-provider.service.ts index 9e91bbf57..9f006bc4a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-provider.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/socials-provider.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/synchronizers.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/synchronizers.service.ts index 4f58157dc..dd2c77308 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/synchronizers.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/synchronizers.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/time-based.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/time-based.service.ts index c7127539d..39f7bdf13 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/time-based.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/time-based.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { Observable } from 'rxjs'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/service/users.service.ts b/maxkey-web-frontend/maxkey-web-app/src/app/service/users.service.ts index 8295cc535..c85c9319e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/service/users.service.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/service/users.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/consts.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/consts.ts index ac8409af5..05d5c022c 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/consts.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/consts.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 CONSTS = { CONGRESS: 'congress', ONLINE_TICKET: 'online_ticket', diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/index.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/index.ts index 59b3efc8b..3c2306d62 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/index.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/index.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // Components // Utils diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/json-schema.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/json-schema.module.ts index 24b710646..346436cae 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/json-schema.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/json-schema.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { DelonFormModule, WidgetRegistry } from '@delon/form'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/test/test.widget.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/test/test.widget.ts index ba8178eb1..42aac4310 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/test/test.widget.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/json-schema/test/test.widget.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ControlWidget } from '@delon/form'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-delon.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-delon.module.ts index 367f63709..516fa1a70 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-delon.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-delon.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { PageHeaderModule } from '@delon/abc/page-header'; import { ResultModule } from '@delon/abc/result'; import { SEModule } from '@delon/abc/se'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-zorro.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-zorro.module.ts index b71a8714a..ebd8c47b1 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-zorro.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared-zorro.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { NzAlertModule } from 'ng-zorro-antd/alert'; import { NzAvatarModule } from 'ng-zorro-antd/avatar'; import { NzBadgeModule } from 'ng-zorro-antd/badge'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared.module.ts index 4c143a312..a84e64081 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/shared.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Type } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/st-widget/st-widget.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/st-widget/st-widget.module.ts index c006e747b..ac17c3577 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/st-widget/st-widget.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/st-widget/st-widget.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { STWidgetRegistry } from '@delon/abc/st'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/set2stringstil.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/set2stringstil.ts index c4108de52..2316f9183 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/set2stringstil.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/set2stringstil.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 set2String(set: Set): string { let setValues = ''; set.forEach(value => { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/yuan.ts b/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/yuan.ts index 23662d22f..6995238fc 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/yuan.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/shared/utils/yuan.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /** * 转化成RMB元字符串 * diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/index.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/index.ts index 4aaf8f92e..9bf5ca3d4 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/index.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/index.ts @@ -1 +1,18 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './public_api'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts index 2d45aa3ac..e722c6868 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Directive({ diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item.component.ts index fd1ca3f13..e3607c81d 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header-item.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, TemplateRef, ViewChild } from '@angular/core'; import { LayoutDefaultHeaderItemDirection, LayoutDefaultHeaderItemHidden } from './types'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header.component.ts index 795004626..4beb998d3 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-header.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectionStrategy, diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.spec.ts index 24fade247..9f4e5552e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { HttpClientTestingModule } from '@angular/common/http/testing'; import { Component, DebugElement, ViewChild } from '@angular/core'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.ts index 899b69b58..1348d74b2 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout-nav.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Direction, Directionality } from '@angular/cdk/bidi'; import { DOCUMENT } from '@angular/common'; import { diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.spec.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.spec.ts index 75df0adf6..348ce0ebc 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, DebugElement, TemplateRef, ViewChild } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.ts index e7cc253af..421e66c95 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Component, ContentChildren, ElementRef, Inject, Input, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core'; import { NavigationCancel, NavigationEnd, NavigationError, RouteConfigLoadEnd, RouteConfigLoadStart, Router, Event } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.module.ts index ac7e8687f..9342e456e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/layout.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/public_api.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/public_api.ts index 87e2c6705..c6a29d6fb 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/public_api.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/public_api.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './layout.component'; export * from './layout.module'; export * from './layout-header.component'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/types.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/types.ts index c08e9d38a..bb3f15c0a 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/types.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/layout-default/types.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 LayoutDefaultHeaderItemHidden = 'pc' | 'mobile' | 'none'; export type LayoutDefaultHeaderItemDirection = 'left' | 'middle' | 'right'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/index.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/index.ts index 4aaf8f92e..9bf5ca3d4 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/index.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/index.ts @@ -1 +1,18 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './public_api'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/public_api.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/public_api.ts index 54f13685a..917844d51 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/public_api.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/public_api.ts @@ -1,2 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './theme-btn.component'; export * from './theme-btn.module'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.component.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.component.ts index 15bb2056f..2d027b933 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.component.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Direction, Directionality } from '@angular/cdk/bidi'; import { Platform } from '@angular/cdk/platform'; import { DOCUMENT } from '@angular/common'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.module.ts b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.module.ts index 9fce3a093..4a99bd898 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.module.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/app/theme/theme-btn/theme-btn.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-app/src/environments/environment.prod.ts b/maxkey-web-frontend/maxkey-web-app/src/environments/environment.prod.ts index 327f2f048..a9ba18f2e 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/environments/environment.prod.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/environments/environment.prod.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Environment } from '@delon/theme'; export const environment = { diff --git a/maxkey-web-frontend/maxkey-web-app/src/environments/environment.ts b/maxkey-web-frontend/maxkey-web-app/src/environments/environment.ts index 7eda9908e..40c70a051 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/environments/environment.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/environments/environment.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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`. // The list of file replacements can be found in `angular.json`. diff --git a/maxkey-web-frontend/maxkey-web-app/src/main.ts b/maxkey-web-frontend/maxkey-web-app/src/main.ts index 2cea227c0..9ad0584f9 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/main.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/main.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewEncapsulation } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { preloaderFinished } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/polyfills.ts b/maxkey-web-frontend/maxkey-web-app/src/polyfills.ts index 1e7d90012..e5d171284 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/polyfills.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/polyfills.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/no-unassigned-import */ /** * This file includes polyfills needed by Angular and is loaded before the app. diff --git a/maxkey-web-frontend/maxkey-web-app/src/style-icons-auto.ts b/maxkey-web-frontend/maxkey-web-app/src/style-icons-auto.ts index 2f3ca026a..1cf992baf 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/style-icons-auto.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/style-icons-auto.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* * Automatically generated by 'ng g ng-alain:plugin icon' * @see https://ng-alain.com/cli/plugin#icon diff --git a/maxkey-web-frontend/maxkey-web-app/src/style-icons.ts b/maxkey-web-frontend/maxkey-web-app/src/style-icons.ts index a6f2ad028..9b092dae7 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/style-icons.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/style-icons.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // Custom icon static resources import { BulbOutline, ExceptionOutline, InfoOutline, LinkOutline, ProfileOutline, HomeFill } from '@ant-design/icons-angular/icons'; diff --git a/maxkey-web-frontend/maxkey-web-app/src/test.ts b/maxkey-web-frontend/maxkey-web-app/src/test.ts index 505dbda3c..5fda33272 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/test.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/test.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/no-unassigned-import */ // This file is required by karma.conf.js and loads recursively all the .spec and framework files diff --git a/maxkey-web-frontend/maxkey-web-app/src/typings.d.ts b/maxkey-web-frontend/maxkey-web-app/src/typings.d.ts index 9d737bc6b..b43165d27 100644 --- a/maxkey-web-frontend/maxkey-web-app/src/typings.d.ts +++ b/maxkey-web-frontend/maxkey-web-app/src/typings.d.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // # 3rd Party Library // If the library doesn't have typings available at `@types/`, // you can still use it by manually adding typings for it diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_api.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_api.ts index 7448a9f1d..b4e3c1887 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_api.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_api.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { MockRequest, MockStatusError } from '@delon/mock'; // region: mock data diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_chart.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_chart.ts index dbbe0f2b7..ea4705a37 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_chart.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_chart.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { format } from 'date-fns'; import * as Mock from 'mockjs'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_geo.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_geo.ts index f52cf8823..a009cc33b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_geo.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_geo.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { MockRequest } from '@delon/mock'; const DATA = [ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_pois.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_pois.ts index ad4c9b01d..483a18a6a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_pois.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_pois.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 POIS = { '/pois': { total: 2, diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_profile.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_profile.ts index 888f55730..7da374d2d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_profile.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_profile.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 basicGoods = [ { id: '1234561', diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_rule.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_rule.ts index 64f400879..49ca83b36 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_rule.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_rule.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { HttpRequest } from '@angular/common/http'; import { MockRequest } from '@delon/mock'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_user.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_user.ts index 386ffd1b6..2a0b83e73 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_user.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/_user.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { MockRequest } from '@delon/mock'; const list: any[] = []; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/index.ts b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/index.ts index ab8e432cc..01d169e7c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/_mock/index.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/_mock/index.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './_profile'; export * from './_rule'; export * from './_api'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.e2e-spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.e2e-spec.ts index df95215fd..7339ef252 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.e2e-spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.e2e-spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, logging } from 'protractor'; import { AppPage } from './app.po'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.po.ts b/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.po.ts index 08b20ffdc..dd6a09cc9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.po.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/e2e/src/app.po.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; export class AppPage { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.component.ts index e91655e8e..be091f28a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ElementRef, OnInit, Renderer2 } from '@angular/core'; import { NavigationEnd, NavigationError, RouteConfigLoadStart, Router } from '@angular/router'; import { TitleService, VERSION as VERSION_ALAIN } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.module.ts index e90354fc4..c89812fdb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/app.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/order */ /* eslint-disable import/no-duplicates */ import { HttpClientModule } from '@angular/common/http'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/core.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/core.module.ts index 58522fc1b..7f93b9f1b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/core.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/core.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Optional, SkipSelf } from '@angular/core'; import { throwIfAlreadyLoaded } from './module-import-guard'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.spec.ts index 8f1243c60..4e54a0e7f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, TestBedStatic } from '@angular/core/testing'; import { DelonLocaleService, SettingsService } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.ts index e3fdf6cef..7dd7728a4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/i18n/i18n.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // 请参考:https://ng-alain.com/docs/i18n import { Platform } from '@angular/cdk/platform'; import { registerLocaleData } from '@angular/common'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/index.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/index.ts index 8fdee38d5..93928980f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/index.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/index.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './i18n/i18n.service'; export * from './module-import-guard'; export * from './net/default.interceptor'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/module-import-guard.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/module-import-guard.ts index ad3d795ac..1c6f9fa8f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/module-import-guard.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/module-import-guard.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // https://angular.io/guide/styleguide#style-04-12 export function throwIfAlreadyLoaded(parentModule: any, moduleName: string): void { if (parentModule) { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/net/default.interceptor.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/net/default.interceptor.ts index 7d600adaf..219aeb185 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/net/default.interceptor.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/net/default.interceptor.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { HttpErrorResponse, HttpEvent, diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/startup/startup.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/startup/startup.service.ts index fb80a8a23..601b0f44b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/startup/startup.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/core/startup/startup.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Inject, Injectable } from '@angular/core'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Accounts.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Accounts.ts index d28ba16a4..f89c9aefc 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Accounts.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Accounts.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AccountsStrategy.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AccountsStrategy.ts index 32d1eeae2..4bd7c01b4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AccountsStrategy.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AccountsStrategy.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Adapters.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Adapters.ts index 0f1b5c371..d8e6b41d5 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Adapters.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Adapters.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts index 2a4ae2350..f56314092 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts index 23d8efc23..1c283c574 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts index 9a3fc88f0..6a92181f9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts index 62a1c2464..a635a989f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts index 3ef5f75c6..e9307fc3d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts index 22fc6088e..166b1912f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts index 8c92fe756..4055c62cd 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts index 81100e787..b8f1d7bb4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { Apps } from './Apps'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/BaseEntity.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/BaseEntity.ts index 9d13952d5..663016f6a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/BaseEntity.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/BaseEntity.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 class BaseEntity { id!: String; instId!: String; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/EmailSenders.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/EmailSenders.ts index b178cb3d8..be2ef33c7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/EmailSenders.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/EmailSenders.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class EmailSenders extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/GroupMembers.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/GroupMembers.ts index ecacaae45..ef87bdf14 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/GroupMembers.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/GroupMembers.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class GroupMembers extends BaseEntity { } diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Groups.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Groups.ts index c109df2fb..a01459af5 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Groups.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Groups.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Institutions.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Institutions.ts index b21b433d1..b35253675 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Institutions.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Institutions.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Institutions extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/LdapContext.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/LdapContext.ts index f82d216fe..beaa1d45c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/LdapContext.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/LdapContext.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class LdapContext extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Message.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Message.ts index 8b683409c..92ca6f245 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Message.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Message.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Organizations.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Organizations.ts index b3ef6811b..60afe343b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Organizations.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Organizations.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Organizations extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PageResults.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PageResults.ts index 8fdbb3b51..10f798765 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PageResults.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PageResults.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PasswordPolicy.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PasswordPolicy.ts index 91b061bef..8cc0a345e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PasswordPolicy.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/PasswordPolicy.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class PasswordPolicy extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Resources.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Resources.ts index 43c2a61d1..fedf00c80 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Resources.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Resources.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Resources extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/RoleMembers.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/RoleMembers.ts index 194e65370..36126db0c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/RoleMembers.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/RoleMembers.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class RoleMembers extends BaseEntity { } diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Roles.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Roles.ts index ed4aef73d..256ad8fac 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Roles.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Roles.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SmsProvider.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SmsProvider.ts index 7293b916d..452c5851d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SmsProvider.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SmsProvider.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class SmsProvider extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SocialsProvider.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SocialsProvider.ts index 08c0c9416..0f7e51fac 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SocialsProvider.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/SocialsProvider.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class SocialsProvider extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Synchronizers.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Synchronizers.ts index c3128ef74..ba2eee286 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Synchronizers.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Synchronizers.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import format from 'date-fns/format'; import { BaseEntity } from './BaseEntity'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts index a5dab93dd..949bd19ca 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree'; export class TreeNodes { activated!: NzTreeNode; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Users.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Users.ts index cb8f59533..62af1b50e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Users.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Users.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { BaseEntity } from './BaseEntity'; export class Users extends BaseEntity { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/global-config.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/global-config.module.ts index a9750df35..ec0a83998 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/global-config.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/global-config.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/order */ import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core'; import { DelonACLModule } from '@delon/acl'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/basic.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/basic.component.ts index 6d4d7cbde..a8e3dbbb6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/basic.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/basic.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SettingsService, User } from '@delon/theme'; import { environment } from '@env/environment'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/clear-storage.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/clear-storage.component.ts index 323bb3b3a..5ad9522f9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/clear-storage.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/clear-storage.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, HostListener } from '@angular/core'; import { NzMessageService } from 'ng-zorro-antd/message'; import { NzModalService } from 'ng-zorro-antd/modal'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/fullscreen.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/fullscreen.component.ts index e6c8c00be..e4472c059 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/fullscreen.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/fullscreen.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, HostListener } from '@angular/core'; import screenfull from 'screenfull'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/i18n.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/i18n.component.ts index c9d094e11..cbcc257ec 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/i18n.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/i18n.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core'; import { I18NService } from '@core'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/icon.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/icon.component.ts index 6526c8ea7..ceb05ffe9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/icon.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/icon.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/notify.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/notify.component.ts index ebf464a13..9fc645cfe 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/notify.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/notify.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { NoticeIconList, NoticeIconSelect, NoticeItem } from '@delon/abc/notice-icon'; import { add, formatDistanceToNow, parse } from 'date-fns'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/rtl.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/rtl.component.ts index 04cdee635..5daec5496 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/rtl.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/rtl.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, HostListener } from '@angular/core'; import { RTLService } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/search.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/search.component.ts index cd3be88c5..ed4f6e768 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/search.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/search.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectionStrategy, diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/task.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/task.component.ts index 62d33b57e..91472058b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/task.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/task.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/user.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/user.component.ts index 6e6bfee40..27794aece 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/user.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/basic/widgets/user.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Router } from '@angular/router'; import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/blank/blank.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/blank/blank.component.ts index b7e673988..39c378c3b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/blank/blank.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/blank/blank.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/layout.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/layout.module.ts index 3fbd805f6..3e4722b61 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/layout.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/layout.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { FormsModule } from '@angular/forms'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/passport/passport.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/passport/passport.component.ts index 9c3e7083d..c1c94f235 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/passport/passport.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/layout/passport/passport.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; import { CONSTS } from 'src/app/shared/consts'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/access.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/access.module.ts index 1de9bb3ae..a76aa34fa 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/access.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/access.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.spec.ts index f1e0caff4..47dc053bb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { GroupMembersEditerComponent } from './group-members-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.ts index 84929fdd4..8004d6749 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members-editer/group-members-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, Input, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.spec.ts index 5cb6148bc..0c30d48dd 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { GroupMembersComponent } from './group-members.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.ts index 14cee2633..e177606f2 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/group-members/group-members.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.spec.ts index c10b1187c..b41cc3517 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { GroupEditerComponent } from './group-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.ts index bbb828907..678482333 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/group-editer/group-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.spec.ts index 088391419..002b3b42c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { GroupsComponent } from './groups.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.ts index 75de2a301..a4f712228 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/groups.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.spec.ts index f2edc546e..f1a591291 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SelectGroupsComponent } from './select-groups.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.ts index b570b1ba5..cf0d8c4af 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/groups/select-groups/select-groups.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.spec.ts index e568cd55d..0fc802a73 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { PrivilegesEditerComponent } from './privileges-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.ts index 7c611c6d4..422510d61 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges-editer/privileges-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, Input, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.spec.ts index 3bc2b78b1..77a8779e6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { PrivilegesComponent } from './privileges.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.ts index ac7734b3a..e14aa8463 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/privileges/privileges.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.spec.ts index f3dbb7724..d4267849c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SessionsComponent } from './sessions.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.ts index dcf50f12f..36d72c52a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/access/sessions/sessions.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.spec.ts index 8dbc35e67..3b9a1ada8 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AccountEditerComponent } from './account-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.ts index a12507e74..972e8b475 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/account-editer/account-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.spec.ts index 42de0300a..f97f4204f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AccountsComponent } from './accounts.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.ts index 1c81b55ad..8d14319ab 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/accounts/accounts.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.spec.ts index 5e7f38b61..e61cb983b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppBasicDetailsEditerComponent } from './app-basic-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.ts index d6f17cd1b..b4896e0a3 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-basic-details-editer/app-basic-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.spec.ts index 9e7ba38b5..252e41234 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppCasDetailsEditerComponent } from './app-cas-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts index e8f641fa0..34467043a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.spec.ts index 334300e7a..e2b790201 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppExtendApiDetailsEditerComponent } from './app-extend-api-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.ts index a76914527..58a017275 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-extend-api-details-editer/app-extend-api-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.spec.ts index 9a4ce2675..d3477f3f4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppFormBasedDetailsEditerComponent } from './app-form-based-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.ts index e9a344a60..bc68459c7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-form-based-details-editer/app-form-based-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.spec.ts index 519d8e958..b1cf8f881 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppJwtDetailsEditerComponent } from './app-jwt-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.ts index b42ae0315..cd1df1f66 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-jwt-details-editer/app-jwt-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.spec.ts index f4be31fb3..36eb76e38 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppOauth20DetailsEditerComponent } from './app-oauth20-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.ts index 7376a7abf..aedfbe3e5 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-oauth20-details-editer/app-oauth20-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.spec.ts index 7e9217868..8be3aeb07 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppSaml20DetailsEditerComponent } from './app-saml20-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.ts index abc88a7ff..b2aae27be 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-saml20-details-editer/app-saml20-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.spec.ts index a5207a39f..7f28dc768 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppTokenBasedDetailsEditerComponent } from './app-token-based-details-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.ts index 8c71e45cd..e8c859ced 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-token-based-details-editer/app-token-based-details-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.spec.ts index 1c301b03b..2c2a8ade9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AppsComponent } from './apps.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.ts index e779fe5bf..3e8bd4b21 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/apps.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.spec.ts index 9dcf8cb99..2c86abe59 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SelectAppsComponent } from './select-apps.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.ts index 52df638df..e8ee761fa 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/select-apps/select-apps.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.spec.ts index 26a1daa42..73c04b503 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditConnectorComponent } from './audit-connector.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.ts index e58b21a54..c351f88b7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-connector/audit-connector.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts index 1eed0c4a9..0e8527aa7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditLoginAppsComponent } from './audit-login-apps.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts index ffc7225fc..360169741 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-login-apps/audit-login-apps.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts index e063feaf7..973bb4294 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditLoginsComponent } from './audit-logins.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.ts index 6c2a68feb..a41d404d9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-logins/audit-logins.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.spec.ts index 8f8011fd9..8dad2907f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditSynchronizerComponent } from './audit-synchronizer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.ts index 9fa637be0..8a7aa7c5b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-synchronizer/audit-synchronizer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts index 0a8247627..bf50cff77 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AuditSystemLogsComponent } from './audit-system-logs.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts index a5b08c95f..8436d1521 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit-system-logs/audit-system-logs.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit.module.ts index 82cc27863..d2179aedd 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/audit/audit.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.spec.ts index ef4882431..d5fd65c59 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AccountsStrategyEditerComponent } from './accounts-strategy-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.ts index 1d5ddb789..eb926a21a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy-editer/accounts-strategy-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, ViewContainerRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.spec.ts index 78909fde9..0bfed0bb4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AccountsStrategyComponent } from './accounts-strategy.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.ts index e007ea3ee..f413e6448 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/accounts-strategy.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.spec.ts index b69013ca9..13561d55f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SelectAccountsStrategyComponent } from './select-accounts-strategy.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.ts index e670784f1..6888c1a63 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/accounts-strategy/select-accounts-strategy/select-accounts-strategy.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.spec.ts index 3517c5227..03cbb71a6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AdapterEditerComponent } from './adapter-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.ts index 85bf2c0fa..674d9af58 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapter-editer/adapter-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.spec.ts index 014b0058f..df3d84989 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AdaptersComponent } from './adapters.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.ts index faccccbdb..592a1bce4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/adapters.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.spec.ts index 77dd6709d..948da7fa6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SelectAdaptersComponent } from './select-adapters.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.ts index 154b53960..2659c24b7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/adapters/select-adapters/select-adapters.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Input, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/config.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/config.module.ts index 499bc1012..079eef0fb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/config.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/config.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.spec.ts index d3998008b..9b7626c02 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { EmailSendersComponent } from './email-senders.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.ts index 9a070afdb..b1f0f9ebf 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/email-senders/email-senders.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.spec.ts index 21cd7969e..a23d6d4aa 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { InstitutionsComponent } from './institutions.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.ts index 92c6ff8c4..b38a5d4de 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/institutions/institutions.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.spec.ts index 77c018074..d6ea6f474 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { LdapContextComponent } from './ldap-context.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.ts index ab2a9caff..08baf1dff 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/ldap-context/ldap-context.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.spec.ts index 910e376ef..0d4fa1d98 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { NoticesComponent } from './notices.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.ts index d3ccbcf6f..ac7670841 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/notices/notices.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.spec.ts index cb23ef201..37f1a60ba 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { PasswordPolicyComponent } from './password-policy.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.ts index 1e22de773..77fb15a81 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/password-policy/password-policy.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.spec.ts index 7247d87bf..9979680e1 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SmsProviderComponent } from './sms-provider.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.ts index 764875055..4962bed08 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.spec.ts index e6500ab81..9204bc124 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SocialsProviderEditerComponent } from './socials-provider-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.ts index 24a1f24dc..24efef4b0 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider-editer/socials-provider-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts index 9d54f8c51..a34ad2e83 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SocialsProviderComponent } from './socials-provider.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.ts index d53774303..f31e8f39f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/socials-provider/socials-provider.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.spec.ts index f62c9511f..1d2592c3f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SynchronizerEditerComponent } from './synchronizer-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.ts index 929beafb0..3220c6b13 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizer-editer/synchronizer-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.spec.ts index cc7860da0..97658d97c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SynchronizersComponent } from './synchronizers.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.ts index b60158b8d..46c652d46 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/synchronizers/synchronizers.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard-routing.module.ts index b43cfb566..60ba16b64 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard.module.ts index 7f791293e..ba2f0f07c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/dashboard.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { CountDownModule } from '@delon/abc/count-down'; import { OnboardingModule } from '@delon/abc/onboarding'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.spec.ts index 2c5a17268..0a8bfb995 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { HomeComponent } from './home.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts index 056ad7098..518d3c99a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Platform } from '@angular/cdk/platform'; import { DOCUMENT } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit, Renderer2 } from '@angular/core'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/acl/acl.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/acl/acl.component.ts index 700605ef6..038d932ce 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/acl/acl.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/acl/acl.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ACLService } from '@delon/acl'; import { MenuService } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/cache/cache.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/cache/cache.component.ts index e38ecbcc4..82bad869c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/cache/cache.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/cache/cache.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { CacheService } from '@delon/cache'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon-routing.module.ts index c75792f3e..33e26ef67 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { ACLGuard } from '@delon/acl'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon.module.ts index 33e033676..8c9ea39bf 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/delon.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { DownFileModule } from '@delon/abc/down-file'; import { FullContentModule } from '@delon/abc/full-content'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/downfile/downfile.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/downfile/downfile.component.ts index deff43616..148c9dae2 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/downfile/downfile.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/downfile/downfile.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/admin.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/admin.component.ts index a4dbe534e..bdb87a3dc 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/admin.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/admin.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/auth.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/auth.component.ts index 675afe152..9b1a31622 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/auth.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/auth.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/can-leave.provide.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/can-leave.provide.ts index b335cd32b..d3d5c52a0 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/can-leave.provide.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/can-leave.provide.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router'; import { NzModalService } from 'ng-zorro-antd/modal'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/guard.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/guard.component.ts index b96d67423..e17ef412e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/guard.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/guard.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Router } from '@angular/router'; import { ACLService } from '@delon/acl'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/leave.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/leave.component.ts index fa458ec1f..8c8b34305 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/leave.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/guard/leave.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/print/print.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/print/print.component.ts index 8afac75f1..dc44df89e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/print/print.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/print/print.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Lodop, LodopService } from '@delon/abc/lodop'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/qr/qr.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/qr/qr.component.ts index d36df5573..9d47f1ee0 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/qr/qr.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/qr/qr.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/st/st.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/st/st.component.ts index 3ba6ec280..e7267d9e2 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/st/st.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/st/st.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { STColumn } from '@delon/abc/st'; import { G2MiniBarData } from '@delon/chart/mini-bar'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/util/util.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/util/util.component.ts index 0de5c3f61..2f1600361 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/util/util.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/util/util.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { copy } from '@delon/util/browser'; import { format } from '@delon/util/format'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/xlsx/xlsx.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/xlsx/xlsx.component.ts index e2fa6cf67..ae48a6948 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/xlsx/xlsx.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/xlsx/xlsx.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { STColumn } from '@delon/abc/st'; import { XlsxService } from '@delon/abc/xlsx'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/zip/zip.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/zip/zip.component.ts index b7efc3f72..304a3a85c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/zip/zip.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/delon/zip/zip.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { ZipService } from '@delon/abc/zip'; import * as JSZip from 'jszip'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception-routing.module.ts index 47e8cc737..87ef90d09 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.component.ts index aa719a599..de47452b2 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ActivatedRoute } from '@angular/router'; import { ExceptionType } from '@delon/abc/exception'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.module.ts index 2981fae5a..66ddad2c1 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/exception.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { ExceptionModule as DelonExceptionModule } from '@delon/abc/exception'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/trigger.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/trigger.component.ts index 5a0c373d0..8588dc079 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/trigger.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/exception/trigger.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras-routing.module.ts index 04575e4f6..947147bc7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras.module.ts index 76b07a1b7..423687f92 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/extras.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/helpcenter/helpcenter.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/helpcenter/helpcenter.component.ts index 3517fac86..f20c77296 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/helpcenter/helpcenter.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/helpcenter/helpcenter.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/settings/settings.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/settings/settings.component.ts index afbe4e29b..5ec55211e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/settings/settings.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/extras/settings/settings.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.spec.ts index 087ddb14d..8a775d72a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { OrganizationEditerComponent } from './organization-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.ts index 0f4ddde15..7f73fedeb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organization-editer/organization-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.spec.ts index 1bbe8b7a0..dee798161 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { OrganizationsComponent } from './organizations.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.ts index 06633d73e..7f8c6d27f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/organizations/organizations.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/callback.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/callback.component.ts index 68b8ae7e0..ab47c0d08 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/callback.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/callback.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { SocialService } from '@delon/auth'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/lock/lock.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/lock/lock.component.ts index aac5496b9..14c3dd981 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/lock/lock.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/lock/lock.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts index 21b375ba0..f08a5749c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/login/login.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit, Inject, OnDestroy, Optional } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport-routing.module.ts index e8f1906c1..770483626 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport.module.ts index 9638c2217..3ac79b48c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/passport.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register-result/register-result.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register-result/register-result.component.ts index d4b6e67d3..41a47224e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register-result/register-result.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register-result/register-result.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ActivatedRoute } from '@angular/router'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register/register.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register/register.component.ts index bafffb80d..bc3c2994d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register/register.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/passport/register/register.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/permissions.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/permissions.module.ts index 6cf783f02..3607639fc 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/permissions.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/permissions.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule, Routes } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.spec.ts index 3bc2b78b1..77a8779e6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { PrivilegesComponent } from './privileges.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.ts index 0dcdf0c10..dec8eea6d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/privileges/privileges.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit, AfterViewInit, ViewChild } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.spec.ts index a44fbb528..8c52963b0 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ResourceEditerComponent } from './resource-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.ts index 54fb9b753..cf727dcaa 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resource-editer/resource-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.spec.ts index 00c19d3b4..976231fec 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ResourcesComponent } from './resources.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.ts index c3932fca2..bf8090f99 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/resources/resources.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.spec.ts index d824bedc0..119c22a67 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { RoleMembersEditerComponent } from './role-members-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.ts index 56cab4fd6..d71e32dac 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members-editer/role-members-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, Input, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.spec.ts index 76df8fc9f..6fd31c38c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { RoleMembersComponent } from './role-members.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.ts index 86d81d453..135bdf6bb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/role-members/role-members.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.spec.ts index 2cf0248d3..078417252 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { RoleEditerComponent } from './role-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.ts index ea64192d4..4dd8c978a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/role-editer/role-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.spec.ts index 46cf82b6d..24d94b2d9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { RolesComponent } from './roles.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.ts index 7715328dd..a8e459b8c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/roles.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.spec.ts index b4e1e3f15..294d405d7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SelectRolesComponent } from './select-roles.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.ts index 85add3d7c..befc55063 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/permissions/roles/select-roles/select-roles.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes-routing.module.ts index 86494c430..44f7f6b8b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { SimpleGuard } from '@delon/auth'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes.module.ts index 52382e02b..2b662675a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/routes.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Type } from '@angular/core'; import { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/color.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/color.service.ts index 636aa4792..421953c74 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/color.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/color.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Injectable() diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/colors/colors.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/colors/colors.component.ts index dd729ce41..373bd3bca 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/colors/colors.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/colors/colors.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { copy } from '@delon/util/browser'; import { NzMessageService } from 'ng-zorro-antd/message'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts index 0aebc8d32..387497052 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/gridmasonry/gridmasonry.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; @Component({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style-routing.module.ts index af88b0dcd..5c62879b2 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style.module.ts index 135ad3150..3e6a59313 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/style.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SharedModule } from '@shared'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/typography/typography.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/typography/typography.component.ts index 7ef2ed233..05b53d74e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/typography/typography.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/style/typography/typography.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ColorService } from '../color.service'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.spec.ts index c040d9942..c8f43e4a7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SelectUserComponent } from './select-user.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.ts index 9b4a96c58..34079ee16 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/select-user/select-user.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.spec.ts index a348b56ff..3362210e3 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { UserEditerComponent } from './user-editer.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.ts index 5b3ae411c..bb107bcfd 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/user-editer/user-editer.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectorRef, Input, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.spec.ts index 2d6432f36..d7f36a13e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { UsersComponent } from './users.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.ts index a41f13e2c..b0da20a21 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/users/users.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewContainerRef, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets-routing.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets-routing.module.ts index 12263fdc7..e346fe56b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets-routing.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets-routing.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets.module.ts index 8f6de0cd7..221ed5171 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Type } from '@angular/core'; import { G2MiniAreaModule } from '@delon/chart/mini-area'; import { G2MiniBarModule } from '@delon/chart/mini-bar'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets/widgets.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets/widgets.component.ts index 74c215396..1dee06b0f 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets/widgets.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/widgets/widgets/widgets.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, OnInit } from '@angular/core'; import { G2MiniBarData } from '@delon/chart/mini-bar'; import { _HttpClient } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts-strategy.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts-strategy.service.ts index 5e571b212..ace9f722c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts-strategy.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts-strategy.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts.service.ts index 6afb30239..d7a82f1ec 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/accounts.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/adapters.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/adapters.service.ts index c5af679ef..52f9764a0 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/adapters.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/adapters.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/analysis.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/analysis.service.ts index 15d241d44..eb5282543 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/analysis.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/analysis.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-cas-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-cas-details.service.ts index da6b71eb0..b4c9ead74 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-cas-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-cas-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-extend-api-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-extend-api-details.service.ts index cf2946116..5d8fb5d12 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-extend-api-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-extend-api-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-form-based-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-form-based-details.service.ts index 7d4bdacd6..550e88b0e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-form-based-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-form-based-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-jwt-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-jwt-details.service.ts index 89d8b1a90..4e5e35359 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-jwt-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-jwt-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-oauth20-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-oauth20-details.service.ts index ec627b4c5..fc0bd2066 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-oauth20-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-oauth20-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-saml-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-saml-details.service.ts index 237131a25..2d65a6a93 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-saml-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-saml-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-token-based-details.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-token-based-details.service.ts index 28698c946..0f7a8a087 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-token-based-details.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps-token-based-details.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps.service.ts index 1da490433..fb3586091 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/apps.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/authentication.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/authentication.service.ts index 3b854c72b..e8eb410f5 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/authentication.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/authentication.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; import { Router } from '@angular/router'; import { StartupService } from '@core'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/base.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/base.service.ts index f6afc63dd..6d163d681 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/base.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/base.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { NzSafeAny } from 'ng-zorro-antd/core/types'; import { Observable } from 'rxjs'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/email-senders.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/email-senders.service.ts index 146e17564..437d5b9ea 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/email-senders.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/email-senders.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-members.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-members.service.ts index fa9be0c91..0db660548 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-members.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-members.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-privileges.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-privileges.service.ts index 817292bc6..aaf082bd2 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-privileges.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/group-privileges.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/groups.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/groups.service.ts index 70b74ef32..1983a8f8e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/groups.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/groups.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/history.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/history.service.ts index d7b8d215e..1cc70f2e8 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/history.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/history.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/image-captcha.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/image-captcha.service.ts index abf409020..85458e939 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/image-captcha.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/image-captcha.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { SettingsService, _HttpClient, User } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/institutions.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/institutions.service.ts index e8376cc47..c18577168 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/institutions.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/institutions.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/ldap-context.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/ldap-context.service.ts index 14a083cb5..692595650 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/ldap-context.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/ldap-context.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/organizations.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/organizations.service.ts index 6c4e8b670..dc51c9c2e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/organizations.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/organizations.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/password-policy.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/password-policy.service.ts index df39be068..0a586a4ff 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/password-policy.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/password-policy.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/resources.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/resources.service.ts index 8a0c04964..3f6364855 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/resources.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/resources.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-members.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-members.service.ts index 6151f3515..139143d7c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-members.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-members.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-privileges.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-privileges.service.ts index 093e8850f..1b376af6c 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-privileges.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/role-privileges.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/roles.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/roles.service.ts index 237282403..700c64657 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/roles.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/roles.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sessions.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sessions.service.ts index 150d3a084..05150f880 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sessions.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sessions.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sms-provider.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sms-provider.service.ts index 1b8e4825c..fd483f120 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sms-provider.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/sms-provider.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/socials-provider.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/socials-provider.service.ts index 64e0fd9c3..675a37857 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/socials-provider.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/socials-provider.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/synchronizers.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/synchronizers.service.ts index 4f58157dc..dd2c77308 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/synchronizers.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/synchronizers.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/users.service.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/users.service.ts index c21228175..a821f8d94 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/users.service.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/service/users.service.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/consts.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/consts.ts index 62a4e028d..8c9a416bb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/consts.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/consts.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 CONSTS = { CONGRESS: 'congress', REDIRECT_URI: 'redirect_uri', diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/index.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/index.ts index 59b3efc8b..3c2306d62 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/index.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/index.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // Components // Utils diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/json-schema.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/json-schema.module.ts index 24b710646..346436cae 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/json-schema.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/json-schema.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { DelonFormModule, WidgetRegistry } from '@delon/form'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/test/test.widget.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/test/test.widget.ts index ba8178eb1..42aac4310 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/test/test.widget.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/json-schema/test/test.widget.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { ControlWidget } from '@delon/form'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-delon.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-delon.module.ts index 367f63709..516fa1a70 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-delon.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-delon.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { PageHeaderModule } from '@delon/abc/page-header'; import { ResultModule } from '@delon/abc/result'; import { SEModule } from '@delon/abc/se'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-zorro.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-zorro.module.ts index b71a8714a..ebd8c47b1 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-zorro.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared-zorro.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { NzAlertModule } from 'ng-zorro-antd/alert'; import { NzAvatarModule } from 'ng-zorro-antd/avatar'; import { NzBadgeModule } from 'ng-zorro-antd/badge'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared.module.ts index 4c143a312..a84e64081 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/shared.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, Type } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/st-widget/st-widget.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/st-widget/st-widget.module.ts index c006e747b..ac17c3577 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/st-widget/st-widget.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/st-widget/st-widget.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { STWidgetRegistry } from '@delon/abc/st'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/set2stringstil.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/set2stringstil.ts index c4108de52..2316f9183 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/set2stringstil.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/set2stringstil.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 set2String(set: Set): string { let setValues = ''; set.forEach(value => { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/yuan.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/yuan.ts index 23662d22f..6995238fc 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/yuan.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/shared/utils/yuan.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /** * 转化成RMB元字符串 * diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/index.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/index.ts index 4aaf8f92e..9bf5ca3d4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/index.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/index.ts @@ -1 +1,18 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './public_api'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts index 2d45aa3ac..e722c6868 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item-trigger.directive.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 } from '@angular/core'; @Directive({ diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item.component.ts index fd1ca3f13..e3607c81d 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header-item.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, TemplateRef, ViewChild } from '@angular/core'; import { LayoutDefaultHeaderItemDirection, LayoutDefaultHeaderItemHidden } from './types'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header.component.ts index 795004626..4beb998d3 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-header.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ChangeDetectionStrategy, diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.spec.ts index c4a645b75..f64b1eae9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { HttpClientTestingModule } from '@angular/common/http/testing'; import { Component, DebugElement, ViewChild } from '@angular/core'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.ts index e1d3dc786..e414e4608 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout-nav.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Direction, Directionality } from '@angular/cdk/bidi'; import { DOCUMENT } from '@angular/common'; import { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.spec.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.spec.ts index 75df0adf6..348ce0ebc 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.spec.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.spec.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, DebugElement, TemplateRef, ViewChild } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.ts index fb7764a37..ffcb1d2e7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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 { Component, ContentChildren, ElementRef, Inject, Input, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core'; import { NavigationCancel, NavigationEnd, NavigationError, RouteConfigLoadEnd, RouteConfigLoadStart, Router, Event } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.module.ts index ac7e8687f..9342e456e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/layout.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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'; import { RouterModule } from '@angular/router'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/public_api.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/public_api.ts index 87e2c6705..c6a29d6fb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/public_api.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/public_api.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './layout.component'; export * from './layout.module'; export * from './layout-header.component'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/types.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/types.ts index c08e9d38a..bb3f15c0a 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/types.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/layout-default/types.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 LayoutDefaultHeaderItemHidden = 'pc' | 'mobile' | 'none'; export type LayoutDefaultHeaderItemDirection = 'left' | 'middle' | 'right'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/index.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/index.ts index 4aaf8f92e..9bf5ca3d4 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/index.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/index.ts @@ -1 +1,18 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './public_api'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/public_api.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/public_api.ts index 54f13685a..917844d51 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/public_api.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/public_api.ts @@ -1,2 +1,19 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 './theme-btn.component'; export * from './theme-btn.module'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.component.ts index 15bb2056f..2d027b933 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.component.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Direction, Directionality } from '@angular/cdk/bidi'; import { Platform } from '@angular/cdk/platform'; import { DOCUMENT } from '@angular/common'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.module.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.module.ts index 9fce3a093..4a99bd898 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.module.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/theme/theme-btn/theme-btn.module.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.prod.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.prod.ts index 327f2f048..a9ba18f2e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.prod.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.prod.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + import { Environment } from '@delon/theme'; export const environment = { diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts index 0fc1680a8..1be0cf2b6 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/environments/environment.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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`. // The list of file replacements can be found in `angular.json`. diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/main.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/main.ts index 2cea227c0..9ad0584f9 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/main.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/main.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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, ViewEncapsulation } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { preloaderFinished } from '@delon/theme'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/polyfills.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/polyfills.ts index 1e7d90012..e5d171284 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/polyfills.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/polyfills.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/no-unassigned-import */ /** * This file includes polyfills needed by Angular and is loaded before the app. diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons-auto.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons-auto.ts index e235629a1..083ab1c9e 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons-auto.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons-auto.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* * Automatically generated by 'ng g ng-alain:plugin icon' * @see https://ng-alain.com/cli/plugin#icon diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons.ts index a6f2ad028..9b092dae7 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/style-icons.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // Custom icon static resources import { BulbOutline, ExceptionOutline, InfoOutline, LinkOutline, ProfileOutline, HomeFill } from '@ant-design/icons-angular/icons'; diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/test.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/test.ts index 505dbda3c..5fda33272 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/test.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/test.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + /* eslint-disable import/no-unassigned-import */ // This file is required by karma.conf.js and loads recursively all the .spec and framework files diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/typings.d.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/typings.d.ts index 9d737bc6b..b43165d27 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/typings.d.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/typings.d.ts @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + // # 3rd Party Library // If the library doesn't have typings available at `@types/`, // you can still use it by manually adding typings for it diff --git a/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/listener/ListenerParameter.java b/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/listener/ListenerParameter.java index 397230acd..9f5061cdd 100644 --- a/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/listener/ListenerParameter.java +++ b/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/listener/ListenerParameter.java @@ -1,3 +1,20 @@ +/* + * Copyright [2022] [MaxKey of copyright http://www.maxkey.top] + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + package org.maxkey.listener; import org.quartz.JobDataMap; diff --git a/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/contorller/LoginEntryPoint.java b/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/contorller/LoginEntryPoint.java index a8be7c110..c2eacc365 100644 --- a/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/contorller/LoginEntryPoint.java +++ b/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/contorller/LoginEntryPoint.java @@ -31,7 +31,6 @@ import org.maxkey.web.WebContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.http.ResponseEntity; import org.springframework.security.core.Authentication; import org.springframework.stereotype.Controller;