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 93555c30..9629ec14 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 14aea489..e6a04117 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 7f544d91..0031aac2 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 e9a235b6..d0fb6a91 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 6a12d235..7dab660b 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 7448a9f1..b4e3c188 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 dbbe0f2b..ea4705a3 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 f52cf882..a009cc33 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 ad4c9b01..483a18a6 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 888f5573..7da374d2 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 64f40087..49ca83b3 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 386ffd1b..2a0b83e7 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 ab8e432c..01d169e7 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 df95215f..7339ef25 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 08b20ffd..dd6a09cc 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 e91655e8..be091f28 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 b4ca8143..aaf14039 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 58522fc1..7f93b9f1 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 8f1243c6..4e54a0e7 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 e3fdf6ce..7dd7728a 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 8fdee38d..93928980 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 ad3d795a..1c6f9fa8 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 7d600ada..219aeb18 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 fb80a8a2..601b0f44 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 6d163fa0..359dd2c8 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 32d1eeae..4bd7c01b 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 0f1b5c37..d8e6b41d 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 a76658ee..f03a0913 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 9d13952d..663016f6 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 a0454a73..64d51437 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 b178cb3d..be2ef33c 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 ecacaae4..ef87bdf1 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 c109df2f..a01459af 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 b21b433d..b3525367 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 f82d216f..beaa1d45 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 8b683409..92ca6f24 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 b3ef6811..60afe343 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 8fdbb3b5..10f79876 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 91b061be..8cc0a345 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 43c2a61d..fedf00c8 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 194e6537..36126db0 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 ed4aef73..256ad8fa 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 7293b916..452c5851 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 4301c16a..6ddb3748 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 08c0c941..0f7e51fa 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 c3128ef7..ba2eee28 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 4c0bc719..f2ca5c46 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 a5dab93d..949bd19c 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 cb8f5953..62af1b50 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 a9750df3..ec0a8399 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 3893d60e..9407935a 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 323bb3b3..5ad9522f 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 e6c8c00b..e4472c05 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 c9d094e1..cbcc257e 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 6526c8ea..ceb05ffe 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 ebf464a1..9fc645cf 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 04cdee63..5daec549 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 cd3be88c..ed4f6e76 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 62d33b57..91472058 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 6e6bfee4..27794aec 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 09f73b91..7116d884 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 3fbd805f..3e4722b6 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 77b2a112..60ae8b56 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 9a0e83f9..19db817c 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 f3dbb772..d4267849 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 dcf50f12..36d72c52 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 1eed0c4a..0e8527aa 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 ffc7225f..36016974 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 e063feaf..973bb429 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 6c2a68fe..a41d404d 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 0a824762..bf50cff7 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 a5b08c95..8436d152 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 5f74cf4c..beec365e 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 ec2c4ef6..324339ec 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 713a22d3..16cd4b32 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 888dc092..2e837ff1 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 a0336db8..00680cdc 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 0b739b32..e2db8643 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 43c3c7ca..844b4435 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 5bbde294..e477b0ba 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 249bcd17..3f37bbe6 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 e88012e7..abcd6792 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 2432cae4..ce8d8b69 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 0a545dd4..cae50f5e 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 7b397216..1d961697 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 9d54f8c5..a34ad2e8 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 3ea54915..6e00f734 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 ad210635..51904319 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 c9b6b7e4..ae64f9d8 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 b43cfb56..60ba16b6 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 7f791293..ba2f0f07 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 2c5a1726..0a8bfb99 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 d0702fe5..08f548be 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 700605ef..038d932c 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 e38ecbcc..82bad869 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 c75792f3..33e26ef6 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 33e03367..8c9ea39b 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 deff4361..148c9dae 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 a4dbe534..bdb87a3d 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 675afe15..9b1a3162 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 b335cd32..d3d5c52a 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 b96d6742..e17ef412 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 fa458ec1..8c8b3430 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 8afac75f..dc44df89 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 d36df557..9d47f1ee 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 3ba6ec28..e7267d9e 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 0de5c3f6..2f160036 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 e2fa6cf6..ae48a694 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 b7efc3f7..304a3a85 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 47e8cc73..87ef90d0 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 aa719a59..de47452b 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 2981fae5..66ddad2c 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 5a0c373d..8588dc07 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 04575e4f..947147bc 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 76b07a1b..423687f9 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 3517fac8..f20c7729 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 afbe4e29..5ec55211 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 4687e0a0..a97bfc7e 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 998fd5d8..354435f9 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 ab76e648..da36dabe 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 aac5496b..14c3dd98 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 2ab04545..4bba5eae 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 021ed4c6..e3d9a16b 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 16938ee4..2d3ccb81 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 23cc8486..4111a63b 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 674808a1..d3f0e52b 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 ca6d8fe7..07ef6e0f 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 8e83badc..cf6e6469 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 636aa479..421953c7 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 dd729ce4..373bd3bc 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 0aebc8d3..38749705 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 af88b0dc..5c62879b 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 135ad315..3e6a5931 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 7ef2ed23..05b53d74 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 12263fdc..e346fe56 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 8f6de0cd..221ed517 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 74c21539..1dee06b0 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 d0f5fcf4..c8925c8c 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 15d241d4..7dd4a82f 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 aac78f75..a83726a0 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 1da49043..af2fef89 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 fc94abbc..6671c682 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 f6afc63d..cf51034e 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 146e1756..437d5b9e 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 67d71d04..57039524 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 fa9be0c9..0db66054 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 817292bc..aaf082bd 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 70b74ef3..ae7b1c3f 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 d7b8d215..1cc70f2e 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 abf40902..85458e93 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 e8376cc4..c1857716 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 14a083cb..9eec3016 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 9cde42ab..806db75b 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 6c4e8b67..dc51c9c2 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 df39be06..0a586a4f 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 fac6fc64..0fde0f11 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 8a0c0496..3f636485 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 6151f351..139143d7 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 093e8850..1b376af6 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 23728240..700c6465 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 150d3a08..05150f88 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 318b76e9..e5c4c89d 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 1b8e4825..fd483f12 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 98cf9523..957ab944 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 9e91bbf5..9f006bc4 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 4f58157d..dd2c7730 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 c7127539..39f7bdf1 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 8295cc53..c85c9319 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 ac8409af..05d5c022 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 59b3efc8..3c2306d6 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 24b71064..346436ca 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 ba8178eb..42aac431 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 367f6370..516fa1a7 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 b71a8714..ebd8c47b 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 4c143a31..a84e6408 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 c006e747..ac17c357 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 c4108de5..2316f918 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 23662d22..6995238f 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 4aaf8f92..9bf5ca3d 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 2d45aa3a..e722c686 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 fd1ca3f1..e3607c81 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 79500462..4beb998d 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 24fade24..9f4e5552 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 899b69b5..1348d74b 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 75df0adf..348ce0eb 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 e7cc253a..421e66c9 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 ac7e8687..9342e456 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 87e2c670..c6a29d6f 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 c08e9d38..bb3f15c0 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 4aaf8f92..9bf5ca3d 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 54f13685..917844d5 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 15bb2056..2d027b93 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 9fce3a09..4a99bd89 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 327f2f04..a9ba18f2 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 7eda9908..40c70a05 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 2cea227c..9ad0584f 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 1e7d9001..e5d17128 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 2f3ca026..1cf992ba 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 a6f2ad02..9b092dae 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 505dbda3..5fda3327 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 9d737bc6..b43165d2 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 7448a9f1..b4e3c188 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 dbbe0f2b..ea4705a3 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 f52cf882..a009cc33 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 ad4c9b01..483a18a6 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 888f5573..7da374d2 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 64f40087..49ca83b3 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 386ffd1b..2a0b83e7 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 ab8e432c..01d169e7 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 df95215f..7339ef25 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 08b20ffd..dd6a09cc 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 e91655e8..be091f28 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 e90354fc..c89812fd 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 58522fc1..7f93b9f1 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 8f1243c6..4e54a0e7 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 e3fdf6ce..7dd7728a 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 8fdee38d..93928980 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 ad3d795a..1c6f9fa8 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 7d600ada..219aeb18 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 fb80a8a2..601b0f44 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 d28ba16a..f89c9aef 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 32d1eeae..4bd7c01b 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 0f1b5c37..d8e6b41d 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 2a4ae235..f5631409 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 23d8efc2..1c283c57 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 9a3fc88f..6a92181f 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 62a1c246..a635a989 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 3ef5f75c..e9307fc3 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 22fc6088..166b1912 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 8c92fe75..4055c62c 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 81100e78..b8f1d7bb 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 9d13952d..663016f6 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 b178cb3d..be2ef33c 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 ecacaae4..ef87bdf1 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 c109df2f..a01459af 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 b21b433d..b3525367 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 f82d216f..beaa1d45 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 8b683409..92ca6f24 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 b3ef6811..60afe343 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 8fdbb3b5..10f79876 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 91b061be..8cc0a345 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 43c2a61d..fedf00c8 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 194e6537..36126db0 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 ed4aef73..256ad8fa 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 7293b916..452c5851 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 08c0c941..0f7e51fa 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 c3128ef7..ba2eee28 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 a5dab93d..949bd19c 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 cb8f5953..62af1b50 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 a9750df3..ec0a8399 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 6d4d7cbd..a8e3dbbb 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 323bb3b3..5ad9522f 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 e6c8c00b..e4472c05 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 c9d094e1..cbcc257e 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 6526c8ea..ceb05ffe 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 ebf464a1..9fc645cf 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 04cdee63..5daec549 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 cd3be88c..ed4f6e76 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 62d33b57..91472058 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 6e6bfee4..27794aec 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 b7e67398..39c378c3 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 3fbd805f..3e4722b6 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 9c3e7083..c1c94f23 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 1de9bb3a..a76aa34f 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 f1e0caff..47dc053b 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 84929fdd..8004d674 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 5cb6148b..0c30d48d 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 14cee263..e177606f 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 c10b1187..b41cc351 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 bbb82890..67848233 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 08839141..002b3b42 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 75de2a30..a4f71222 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 f2edc546..f1a59129 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 b570b1ba..cf0d8c4a 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 e568cd55..0fc802a7 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 7c611c6d..422510d6 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 3bc2b78b..77a8779e 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 ac7734b3..e14aa846 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 f3dbb772..d4267849 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 dcf50f12..36d72c52 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 8dbc35e6..3b9a1ada 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 a12507e7..972e8b47 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 42de0300..f97f4204 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 1c81b55a..8d14319a 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 5e7f38b6..e61cb983 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 d6f17cd1..b4896e0a 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 9e7ba38b..252e4123 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 e8f641fa..34467043 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 334300e7..e2b79020 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 a7691452..58a01727 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 9a4ce267..d3477f3f 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 e9a344a6..bc68459c 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 519d8e95..b1cf8f88 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 b42ae031..cd1df1f6 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 f4be31fb..36eb76e3 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 7376a7ab..aedfbe3e 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 7e921786..8be3aeb0 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 abc88a7f..b2aae27b 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 a5207a39..7f28dc76 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 8c71e45c..e8c859ce 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 1c301b03..2c2a8ade 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 e779fe5b..3e8bd4b2 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 9dcf8cb9..2c86abe5 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 52df638d..e8ee761f 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 26a1daa4..73c04b50 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 e58b21a5..c351f88b 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 1eed0c4a..0e8527aa 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 ffc7225f..36016974 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 e063feaf..973bb429 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 6c2a68fe..a41d404d 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 8f8011fd..8dad2907 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 9fa637be..8a7aa7c5 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 0a824762..bf50cff7 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 a5b08c95..8436d152 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 82cc2786..d2179aed 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 ef488243..d5fd65c5 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 1d5ddb78..eb926a21 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 78909fde..0bfed0bb 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 e007ea3e..f413e644 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 b69013ca..13561d55 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 e670784f..6888c1a6 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 3517c522..03cbb71a 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 85bf2c0f..674d9af5 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 014b0058..df3d8498 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 faccccbd..592a1bce 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 77dd6709..948da7fa 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 154b5396..2659c24b 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 499bc101..079eef0f 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 d3998008..9b7626c0 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 9a070afd..b1f0f9eb 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 21cd7969..a23d6d4a 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 92c6ff8c..b38a5d4d 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 77c01807..d6ea6f47 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 ab2a9caf..08baf1df 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 910e376e..0d4fa1d9 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 d3ccbcf6..ac767084 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 cb23ef20..37f1a60b 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 1e22de77..77fb15a8 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 7247d87b..9979680e 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 76487505..4962bed0 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 e6500ab8..9204bc12 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 24a1f24d..24efef4b 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 9d54f8c5..a34ad2e8 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 d5377430..f31e8f39 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 f62c9511..1d2592c3 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 929beafb..3220c6b1 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 cc7860da..97658d97 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 b60158b8..46c652d4 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 b43cfb56..60ba16b6 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 7f791293..ba2f0f07 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 2c5a1726..0a8bfb99 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 056ad709..518d3c99 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 700605ef..038d932c 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 e38ecbcc..82bad869 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 c75792f3..33e26ef6 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 33e03367..8c9ea39b 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 deff4361..148c9dae 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 a4dbe534..bdb87a3d 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 675afe15..9b1a3162 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 b335cd32..d3d5c52a 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 b96d6742..e17ef412 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 fa458ec1..8c8b3430 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 8afac75f..dc44df89 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 d36df557..9d47f1ee 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 3ba6ec28..e7267d9e 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 0de5c3f6..2f160036 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 e2fa6cf6..ae48a694 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 b7efc3f7..304a3a85 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 47e8cc73..87ef90d0 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 aa719a59..de47452b 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 2981fae5..66ddad2c 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 5a0c373d..8588dc07 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 04575e4f..947147bc 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 76b07a1b..423687f9 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 3517fac8..f20c7729 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 afbe4e29..5ec55211 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 087ddb14..8a775d72 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 0f4ddde1..7f73fede 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 1bbe8b7a..dee79816 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 06633d73..7f8c6d27 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 68b8ae7e..ab47c0d0 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 aac5496b..14c3dd98 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 21b375ba..f08a5749 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 e8f1906c..77048362 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 9638c221..3ac79b48 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 d4b6e67d..41a47224 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 bafffb80..bc3c2994 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 6cf783f0..3607639f 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 3bc2b78b..77a8779e 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 0dcdf0c1..dec8eea6 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 a44fbb52..8c52963b 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 54fb9b75..cf727dca 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 00c19d3b..976231fe 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 c3932fca..bf8090f9 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 d824bedc..119c22a6 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 56cab4fd..d71e32da 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 76df8fc9..6fd31c38 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 86d81d45..135bdf6b 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 2cf0248d..07841725 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 ea64192d..4dd8c978 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 46cf82b6..24d94b2d 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 7715328d..a8e459b8 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 b4e1e3f1..294d405d 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 85add3d7..befc5506 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 86494c43..44f7f6b8 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 52382e02..2b662675 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 636aa479..421953c7 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 dd729ce4..373bd3bc 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 0aebc8d3..38749705 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 af88b0dc..5c62879b 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 135ad315..3e6a5931 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 7ef2ed23..05b53d74 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 c040d994..c8f43e4a 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 9b4a96c5..34079ee1 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 a348b56f..3362210e 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 5b3ae411..bb107bcf 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 2d6432f3..d7f36a13 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 a41f13e2..b0da20a2 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 12263fdc..e346fe56 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 8f6de0cd..221ed517 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 74c21539..1dee06b0 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 5e571b21..ace9f722 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 6afb3023..d7a82f1e 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 c5af679e..52f9764a 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 15d241d4..eb528254 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 da6b71eb..b4c9ead7 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 cf294611..5d8fb5d1 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 7d4bdacd..550e88b0 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 89d8b1a9..4e5e3535 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 ec627b4c..fc0bd206 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 237131a2..2d65a6a9 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 28698c94..0f7a8a08 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 1da49043..fb358609 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 3b854c72..e8eb410f 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 f6afc63d..6d163d68 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 146e1756..437d5b9e 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 fa9be0c9..0db66054 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 817292bc..aaf082bd 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 70b74ef3..1983a8f8 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 d7b8d215..1cc70f2e 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 abf40902..85458e93 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 e8376cc4..c1857716 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 14a083cb..69259565 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 6c4e8b67..dc51c9c2 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 df39be06..0a586a4f 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 8a0c0496..3f636485 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 6151f351..139143d7 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 093e8850..1b376af6 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 23728240..700c6465 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 150d3a08..05150f88 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 1b8e4825..fd483f12 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 64e0fd9c..675a3785 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 4f58157d..dd2c7730 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 c2122817..a821f8d9 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 62a4e028..8c9a416b 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 59b3efc8..3c2306d6 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 24b71064..346436ca 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 ba8178eb..42aac431 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 367f6370..516fa1a7 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 b71a8714..ebd8c47b 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 4c143a31..a84e6408 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 c006e747..ac17c357 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 c4108de5..2316f918 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 23662d22..6995238f 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 4aaf8f92..9bf5ca3d 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 2d45aa3a..e722c686 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 fd1ca3f1..e3607c81 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 79500462..4beb998d 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 c4a645b7..f64b1eae 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 e1d3dc78..e414e460 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 75df0adf..348ce0eb 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 fb7764a3..ffcb1d2e 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 ac7e8687..9342e456 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 87e2c670..c6a29d6f 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 c08e9d38..bb3f15c0 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 4aaf8f92..9bf5ca3d 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 54f13685..917844d5 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 15bb2056..2d027b93 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 9fce3a09..4a99bd89 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 327f2f04..a9ba18f2 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 0fc1680a..1be0cf2b 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 2cea227c..9ad0584f 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 1e7d9001..e5d17128 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 e235629a..083ab1c9 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 a6f2ad02..9b092dae 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 505dbda3..5fda3327 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 9d737bc6..b43165d2 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 397230ac..9f5061cd 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 a8be7c11..c2eacc36 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;