@alauda-fe/common 1.4.7 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/platform-ui.service.d.ts +1 -2
- package/api/project-api.service.d.ts +2 -0
- package/api/types.d.ts +3 -0
- package/business/public-api.d.ts +0 -1
- package/core/module.d.ts +23 -23
- package/core/pipes/marked.pipe.d.ts +1 -1
- package/core/types/k8s/core.d.ts +1 -2
- package/core/types/k8s/crd.d.ts +201 -91
- package/core/types/k8s/raw.d.ts +1 -0
- package/core/types/resource-definitions.d.ts +91 -11
- package/core/utils/operators.d.ts +5 -2
- package/esm2022/api/platform-ui.service.mjs +1 -7
- package/esm2022/api/project-api.service.mjs +11 -1
- package/esm2022/api/types.mjs +1 -1
- package/esm2022/business/public-api.mjs +1 -2
- package/esm2022/core/constants/tokens.mjs +2 -2
- package/esm2022/core/module.mjs +8 -8
- package/esm2022/core/pipes/marked.pipe.mjs +3 -2
- package/esm2022/core/types/k8s/core.mjs +1 -1
- package/esm2022/core/types/k8s/crd.mjs +28 -1
- package/esm2022/core/types/k8s/raw.mjs +2 -1
- package/esm2022/core/types/resource-definitions.mjs +46 -6
- package/esm2022/core/utils/operators.mjs +8 -2
- package/esm2022/grid-layout/components/grid/component.mjs +2 -2
- package/esm2022/k8s-shared/k8s-shared-util.service.mjs +6 -6
- package/esm2022/k8s-shared/update-description-dialog/component.mjs +17 -11
- package/esm2022/k8s-shared/update-display-name-dialog/component.mjs +16 -10
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.component.mjs +3 -3
- package/esm2022/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.mjs +6 -6
- package/esm2022/page-scaffold/page-header/account-menu/component/component.mjs +47 -56
- package/esm2022/page-scaffold/page-header/account-menu/module.mjs +4 -5
- package/esm2022/page-scaffold/page-header/common-layout/product-select/component.mjs +27 -42
- package/esm2022/page-scaffold/page-header/common-layout/store.service.mjs +2 -2
- package/esm2022/page-scaffold/page-header/component.mjs +16 -17
- package/esm2022/page-scaffold/page-header/enterprise-support-status/component.mjs +4 -4
- package/esm2022/page-scaffold/page-header/help-menu/component/component.mjs +48 -65
- package/esm2022/page-scaffold/page-header/help-menu/module.mjs +4 -5
- package/esm2022/page-scaffold/page-header/module.mjs +7 -8
- package/k8s-shared/k8s-shared-util.service.d.ts +11 -3
- package/k8s-shared/update-description-dialog/component.d.ts +9 -0
- package/k8s-shared/update-display-name-dialog/component.d.ts +9 -1
- package/package.json +1 -1
- package/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.d.ts +2 -2
- package/page-scaffold/page-header/account-menu/component/component.d.ts +1 -2
- package/page-scaffold/page-header/account-menu/module.d.ts +2 -2
- package/page-scaffold/page-header/common-layout/product-select/component.d.ts +1 -3
- package/page-scaffold/page-header/component.d.ts +1 -4
- package/styles/tailwind-preset.scss +1 -1
- package/business/module-info/api.service.d.ts +0 -24
- package/business/module-info/public-api.d.ts +0 -1
- package/esm2022/business/module-info/api.service.mjs +0 -39
- package/esm2022/business/module-info/public-api.mjs +0 -2
|
@@ -16,9 +16,8 @@ import * as i2 from "../../../translate/translate.directive";
|
|
|
16
16
|
import * as i3 from "@angular/common";
|
|
17
17
|
import * as i4 from "@alauda/ui";
|
|
18
18
|
import * as i5 from "../../../widget/loading-mask/loading-mask.component";
|
|
19
|
-
import * as i6 from "../../../
|
|
20
|
-
import * as i7 from "../../../
|
|
21
|
-
import * as i8 from "../../../help-document/directive";
|
|
19
|
+
import * as i6 from "../../../effect-directive/e2e-attribute-binding.directive";
|
|
20
|
+
import * as i7 from "../../../help-document/directive";
|
|
22
21
|
export class HelpMenuModule {
|
|
23
22
|
static { this.ɵfac = function HelpMenuModule_Factory(t) { return new (t || HelpMenuModule)(); }; }
|
|
24
23
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: HelpMenuModule }); }
|
|
@@ -60,5 +59,5 @@ export class HelpMenuModule {
|
|
|
60
59
|
CoreModule,
|
|
61
60
|
TooltipModule,
|
|
62
61
|
HelpDocumentModule, i1.TranslatePipe, i2.TranslateDirective, i2.TranslateMatchDirective, i2.TranslateTextDirective], exports: [HelpMenuComponent] }); })();
|
|
63
|
-
i0.ɵɵsetComponentScope(HelpMenuComponent, [i3.NgForOf, i3.NgIf, i4.IconComponent, i4.DropdownDirective, i4.MenuComponent, i4.MenuItemComponent, i4.DialogContentComponent, i4.ButtonComponent, i5.LoadingMaskComponent, i6.
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
62
|
+
i0.ɵɵsetComponentScope(HelpMenuComponent, [i3.NgForOf, i3.NgIf, i4.IconComponent, i4.DropdownDirective, i4.MenuComponent, i4.MenuItemComponent, i4.DialogContentComponent, i4.ButtonComponent, i5.LoadingMaskComponent, i6.E2eAttributeBindingDirective, i4.TooltipDirective, i7.DocsDirective], [i1.TranslatePipe]);
|
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21tb24vc3JjL3BhZ2Utc2NhZmZvbGQvcGFnZS1oZWFkZXIvaGVscC1tZW51L21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFFSCxPQUFPLEVBQ0wsWUFBWSxFQUNaLFlBQVksRUFDWixjQUFjLEVBQ2QsVUFBVSxFQUNWLGFBQWEsR0FDZCxNQUFNLFlBQVksQ0FBQztBQUNwQixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDdEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1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ZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgSGVscE1lbnVNb2R1bGUge31cbiJdfQ==
|
|
@@ -11,11 +11,10 @@ import { HelpMenuModule } from './help-menu/module';
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "@angular/common";
|
|
13
13
|
import * as i2 from "./common-layout/product-select/component";
|
|
14
|
-
import * as i3 from "./
|
|
15
|
-
import * as i4 from "./
|
|
16
|
-
import * as i5 from "
|
|
17
|
-
import * as i6 from "
|
|
18
|
-
import * as i7 from "../../translate/translate.pipe";
|
|
14
|
+
import * as i3 from "./help-menu/component/component";
|
|
15
|
+
import * as i4 from "./account-menu/component/component";
|
|
16
|
+
import * as i5 from "@alauda/ui";
|
|
17
|
+
import * as i6 from "../../translate/translate.pipe";
|
|
19
18
|
export class PageHeaderModule {
|
|
20
19
|
static { this.ɵfac = function PageHeaderModule_Factory(t) { return new (t || PageHeaderModule)(); }; }
|
|
21
20
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PageHeaderModule }); }
|
|
@@ -56,6 +55,6 @@ export class PageHeaderModule {
|
|
|
56
55
|
IconModule,
|
|
57
56
|
TranslateModule,
|
|
58
57
|
TooltipModule], exports: [PageHeaderComponent, EnterpriseSupportStatusComponent] }); })();
|
|
59
|
-
i0.ɵɵsetComponentScope(PageHeaderComponent, [i1.NgIf, i2.ProductSelectComponent, i3.
|
|
60
|
-
i0.ɵɵsetComponentScope(EnterpriseSupportStatusComponent, [i1.NgForOf, i1.NgIf,
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
i0.ɵɵsetComponentScope(PageHeaderComponent, [i1.NgIf, i2.ProductSelectComponent, i3.HelpMenuComponent, i4.AccountMenuComponent, EnterpriseSupportStatusComponent], []);
|
|
59
|
+
i0.ɵɵsetComponentScope(EnterpriseSupportStatusComponent, [i1.NgForOf, i1.NgIf, i5.TagComponent, i5.IconComponent, i5.TooltipDirective], [i1.Async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import { Observable } from 'rxjs';
|
|
3
|
-
import { ResourceWriteParams } from '../api/types';
|
|
3
|
+
import { K8sResourceDefinition, ResourceWriteParams } from '../api/types';
|
|
4
4
|
import { ANNOTATIONS, KubernetesResource, StringMap } from '../core/public-api';
|
|
5
5
|
import { K8sUtilService, LABELS } from '../core/services/k8s-util.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -15,13 +15,21 @@ export declare class K8sSharedUtilService<R extends string = string> extends K8s
|
|
|
15
15
|
getResourceSpec?: (stringMap: StringMap) => Record<string, unknown>;
|
|
16
16
|
dialogClass?: string;
|
|
17
17
|
}): Observable<T>;
|
|
18
|
-
updateDisplayName<T extends KubernetesResource>({ type, cluster, resource, }: {
|
|
18
|
+
updateDisplayName<T extends KubernetesResource>({ type, cluster, resource, definition, }: {
|
|
19
|
+
definition?: K8sResourceDefinition;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use `definition` instead
|
|
22
|
+
*/
|
|
19
23
|
type?: R;
|
|
20
24
|
cluster?: string;
|
|
21
25
|
resource: T;
|
|
22
26
|
}, validateMaxLength?: boolean): Observable<T>;
|
|
23
|
-
updateDescription<T extends KubernetesResource>({ type, cluster, resource, }: {
|
|
27
|
+
updateDescription<T extends KubernetesResource>({ type, cluster, resource, definition, }: {
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated use `definition` instead
|
|
30
|
+
*/
|
|
24
31
|
type?: R;
|
|
32
|
+
definition?: K8sResourceDefinition;
|
|
25
33
|
cluster?: string;
|
|
26
34
|
resource: T;
|
|
27
35
|
}): Observable<T>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DialogRef } from '@alauda/ui';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { K8sApiService } from '../../api/k8s-api.service';
|
|
4
|
+
import { K8sResourceDefinition } from '../../api/types';
|
|
4
5
|
import { K8sUtilService, KubernetesResource, ResourceType } from '../../core/public-api';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class UpdateDescriptionDialogComponent<T extends KubernetesResource> {
|
|
@@ -8,6 +9,10 @@ export declare class UpdateDescriptionDialogComponent<T extends KubernetesResour
|
|
|
8
9
|
private readonly k8sApi;
|
|
9
10
|
private readonly k8sUtil;
|
|
10
11
|
data: {
|
|
12
|
+
definition?: K8sResourceDefinition;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated use `definition` instead
|
|
15
|
+
*/
|
|
11
16
|
type?: ResourceType;
|
|
12
17
|
cluster?: string;
|
|
13
18
|
resource: T;
|
|
@@ -15,6 +20,10 @@ export declare class UpdateDescriptionDialogComponent<T extends KubernetesResour
|
|
|
15
20
|
description: string;
|
|
16
21
|
confirming$$: BehaviorSubject<boolean>;
|
|
17
22
|
constructor(dialogRef: DialogRef, k8sApi: K8sApiService<ResourceType>, k8sUtil: K8sUtilService, data: {
|
|
23
|
+
definition?: K8sResourceDefinition;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use `definition` instead
|
|
26
|
+
*/
|
|
18
27
|
type?: ResourceType;
|
|
19
28
|
cluster?: string;
|
|
20
29
|
resource: T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DialogRef } from '@alauda/ui';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { K8sApiService } from '../../api/public-api';
|
|
3
|
+
import { K8sApiService, K8sResourceDefinition } from '../../api/public-api';
|
|
4
4
|
import { K8sUtilService, KubernetesResource, ResourceType } from '../../core/public-api';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UpdateDisplayNameDialogComponent<T extends KubernetesResource> {
|
|
@@ -8,6 +8,10 @@ export declare class UpdateDisplayNameDialogComponent<T extends KubernetesResour
|
|
|
8
8
|
private readonly k8sApi;
|
|
9
9
|
private readonly k8sUtil;
|
|
10
10
|
data: {
|
|
11
|
+
definition?: K8sResourceDefinition;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated use `definition` instead
|
|
14
|
+
*/
|
|
11
15
|
type?: ResourceType;
|
|
12
16
|
cluster?: string;
|
|
13
17
|
resource: T;
|
|
@@ -16,6 +20,10 @@ export declare class UpdateDisplayNameDialogComponent<T extends KubernetesResour
|
|
|
16
20
|
displayName: string;
|
|
17
21
|
confirming$$: BehaviorSubject<boolean>;
|
|
18
22
|
constructor(dialogRef: DialogRef, k8sApi: K8sApiService<ResourceType>, k8sUtil: K8sUtilService, data: {
|
|
23
|
+
definition?: K8sResourceDefinition;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use `definition` instead
|
|
26
|
+
*/
|
|
19
27
|
type?: ResourceType;
|
|
20
28
|
cluster?: string;
|
|
21
29
|
resource: T;
|
package/package.json
CHANGED
|
@@ -36,9 +36,9 @@ export declare class NavConfigLoaderService {
|
|
|
36
36
|
private readonly cachedConfig;
|
|
37
37
|
constructor(http: HttpClient, translate: TranslateService, notification: NotificationService, localStorageKey: string, k8sApi: K8sApiService);
|
|
38
38
|
loadNavConfig(address: string): Observable<string>;
|
|
39
|
-
loadNavTree(address: string, cmConfigName: string, withGroup?: boolean): Observable<Nav[]>;
|
|
39
|
+
loadNavTree(address: string, cmConfigName: string, withGroup?: boolean, enjoyEmpty?: boolean): Observable<Nav[]>;
|
|
40
40
|
configTree(treeItemConfig: NavItemConfig[], config: NavigationConfigConfigMapData): import("../../../core/public-api").Tree[];
|
|
41
|
-
configTreeWithGroup(treeGroupConfig: NavGroupConfig[], config: NavigationConfigConfigMapData): {
|
|
41
|
+
configTreeWithGroup(treeGroupConfig: NavGroupConfig[], config: NavigationConfigConfigMapData, enjoyEmpty?: boolean): {
|
|
42
42
|
items: NavItemConfig[];
|
|
43
43
|
name?: string;
|
|
44
44
|
title?: string;
|
|
@@ -34,9 +34,8 @@ export declare class AccountMenuComponent {
|
|
|
34
34
|
constructor(auth: AuthorizationStateService, translate: TranslateService, theme: ThemeService, monacoService: AlaudaMonacoProviderService);
|
|
35
35
|
logout(): void;
|
|
36
36
|
changeLanguage(lang: string): void;
|
|
37
|
-
navigateToLink(): void;
|
|
38
37
|
setThemeMode(v: ThemeMode): void;
|
|
39
38
|
private initThemeMode;
|
|
40
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountMenuComponent, [null, null, null, { optional: true; }]>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccountMenuComponent, "acl-account-menu", never, {}, {}, never,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountMenuComponent, "acl-account-menu", never, {}, {}, never, ["*"], false, never>;
|
|
42
41
|
}
|
|
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./component/component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@alauda/ui";
|
|
5
|
-
import * as i4 from "../../../translate/translate.
|
|
5
|
+
import * as i4 from "../../../translate/translate.pipe";
|
|
6
6
|
export declare class AccountMenuModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountMenuModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AccountMenuModule, [typeof i1.AccountMenuComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccountMenuModule, [typeof i1.AccountMenuComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof i4.TranslatePipe, typeof i3.DropdownModule, typeof i3.RadioModule], [typeof i1.AccountMenuComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AccountMenuModule>;
|
|
10
10
|
}
|
|
@@ -12,7 +12,6 @@ export declare class ProductSelectComponent implements OnInit {
|
|
|
12
12
|
private readonly router;
|
|
13
13
|
private readonly k8sPermission;
|
|
14
14
|
private readonly productSelectService;
|
|
15
|
-
platformPath: string;
|
|
16
15
|
current?: ProductEntryName;
|
|
17
16
|
title?: string;
|
|
18
17
|
PRODUCT_ICON_MAP: StringMap;
|
|
@@ -27,10 +26,9 @@ export declare class ProductSelectComponent implements OnInit {
|
|
|
27
26
|
navigateToPortal(event: MouseEvent): void;
|
|
28
27
|
navigateToProduct(item: ProductEntry, event: MouseEvent): void;
|
|
29
28
|
trackFn: (_: number, item: ProductEntry) => string;
|
|
30
|
-
navigateToPlatform(item: ProductEntry): void;
|
|
31
29
|
isProductActive(item: ProductEntry, current: ProductEntryName): boolean;
|
|
32
30
|
isPortalProduct(item: ProductEntry): boolean;
|
|
33
31
|
getProductTitle: (products: ProductEntry[], title: string, current: ProductEntryName) => string | import("../../../../core/public-api").LocaleDisplay;
|
|
34
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSelectComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSelectComponent, "acl-product-select", never, { "
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSelectComponent, "acl-product-select", never, { "current": { "alias": "current"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
34
|
}
|
|
@@ -2,20 +2,17 @@ import { DocsOption } from '../../help-document/directive';
|
|
|
2
2
|
import { TranslateService } from '../../translate/public-api';
|
|
3
3
|
import { ProductEntryName } from './common-layout/public-api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare const DEFAULT_PLATFORM_PATH = "/console-platform";
|
|
6
5
|
export declare class PageHeaderComponent {
|
|
7
6
|
logoUrl: string;
|
|
8
7
|
private readonly translate;
|
|
9
|
-
DEFAULT_PLATFORM_PATH: string;
|
|
10
8
|
logoSrc: string;
|
|
11
9
|
locale$: import("rxjs").Observable<string>;
|
|
12
10
|
title: string;
|
|
13
11
|
currentProduct: ProductEntryName;
|
|
14
12
|
docsOption: DocsOption;
|
|
15
|
-
isPlatform: boolean;
|
|
16
13
|
menuActions: boolean;
|
|
17
14
|
menuSeparator: boolean;
|
|
18
15
|
constructor(logoUrl: string, translate: TranslateService);
|
|
19
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "acl-page-header", never, { "title": { "alias": "title"; "required": false; }; "currentProduct": { "alias": "currentProduct"; "required": false; }; "docsOption": { "alias": "docsOption"; "required": false; }; "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "acl-page-header", never, { "title": { "alias": "title"; "required": false; }; "currentProduct": { "alias": "currentProduct"; "required": false; }; "docsOption": { "alias": "docsOption"; "required": false; }; "menuActions": { "alias": "menuActions"; "required": false; }; "menuSeparator": { "alias": "menuSeparator"; "required": false; }; }, {}, never, ["*", "[customActions]", "[aclHelpMenuContent]", "[aclAccountMenuContent]"], false, never>;
|
|
21
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v3.4.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!tw-visible{visibility:visible!important}.tw-invisible{visibility:hidden}.tw-fixed{position:fixed}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-0{left:0}.tw-right-\[12px\]{right:12px}.tw-right-\[16px\]{right:16px}.tw-top-0{top:0}.tw-top-\[12px\]{top:12px}.tw-z-10{z-index:10}.tw-mx-8{margin-left:8px;margin-right:8px}.tw-my-16{margin-bottom:16px;margin-top:16px}.\!tw-ml-0{margin-left:0!important}.\!tw-mr-8{margin-right:8px!important}.\!tw-mt-16{margin-top:16px!important}.tw-mb-12{margin-bottom:12px}.tw-mb-16{margin-bottom:16px}.tw-mb-20{margin-bottom:20px}.tw-mb-4{margin-bottom:4px}.tw-mb-8{margin-bottom:8px}.tw-ml-12{margin-left:12px}.tw-ml-16{margin-left:16px}.tw-ml-20{margin-left:20px}.tw-ml-24{margin-left:24px}.tw-ml-32{margin-left:32px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-ml-\[4px\]{margin-left:4px}.tw-mr-0{margin-right:0}.tw-mr-16{margin-right:16px}.tw-mr-4{margin-right:4px}.tw-mr-6{margin-right:6px}.tw-mr-8{margin-right:8px}.tw-mr-\[4px\]{margin-right:4px}.tw-mt-0{margin-top:0}.tw-mt-16{margin-top:16px}.tw-mt-20{margin-top:20px}.tw-mt-8{margin-top:8px}.tw-line-clamp-2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.tw-block{display:block}.\!tw-flex{display:flex!important}.tw-flex{display:flex}.tw-inline-flex{display:inline-flex}.tw-hidden{display:none}.\!tw-h-\[20px\]{height:20px!important}.tw-h-0{height:0}.tw-h-1\/2{height:50%}.tw-h-\[100\%\]{height:100%}.tw-h-\[100vh\]{height:100vh}.tw-h-\[200px\]{height:200px}.tw-h-\[22px\]{height:22px}.tw-h-\[600px\]{height:600px}.tw-h-\[8px\]{height:8px}.tw-h-full{height:100%}.tw-min-h-0{min-height:0}.tw-min-h-\[360px\]{min-height:360px}.tw-min-h-screen{min-height:100vh}.\!tw-w-\[20px\]{width:20px!important}.tw-w-\[100\%\]{width:100%}.tw-w-\[135px\]{width:135px}.tw-w-\[160px\]{width:160px}.tw-w-\[200px\]{width:200px}.tw-w-\[260px\]{width:260px}.tw-w-\[950px\]{width:950px}.tw-w-full{width:100%}.tw-min-w-0{min-width:0}.tw-min-w-\[100px\]{min-width:100px}.tw-min-w-\[135px\]{min-width:135px}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[220px\]{min-width:220px}.tw-min-w-\[260px\]{min-width:260px}.tw-min-w-\[50px\]{min-width:50px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-\[1\]{flex:1}.tw-flex-\[2\]{flex:2}.tw-flex-shrink-0{flex-shrink:0}.\!tw-cursor-move{cursor:move!important}.tw-cursor-move{cursor:move}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-list-disc{list-style-type:disc}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-flex-wrap{flex-wrap:wrap}.tw-items-start{align-items:flex-start}.tw-items-center{align-items:center}.tw-justify-start{justify-content:flex-start}.tw-justify-end{justify-content:flex-end}.tw-justify-center{justify-content:center}.tw-justify-between{justify-content:space-between}.tw-space-y-\[8px\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(8px*var(--tw-space-y-reverse));margin-top:calc(8px*(1 - var(--tw-space-y-reverse)))}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-overflow-y-auto{overflow-y:auto}.tw-overflow-x-hidden{overflow-x:hidden}.tw-overflow-ellipsis,.tw-text-ellipsis{text-overflow:ellipsis}.tw-whitespace-nowrap{white-space:nowrap}.tw-break-words{overflow-wrap:break-word}.tw-break-all{word-break:break-all}.tw-rounded-l{border-radius:var(--aui-border-radius-l);border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.tw-bg-n-10{background-color:rgb(var(--aui-color-n-10))}.tw-bg-n-8{background-color:rgb(var(--aui-color-n-8))}.tw-bg-n-9{background-color:rgb(var(--aui-color-n-9))}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-p-12{padding:12px}.tw-p-16{padding:16px}.tw-p-20{padding:20px}.tw-p-\[12px_16px\]{padding:12px 16px}.tw-px-12{padding-left:12px;padding-right:12px}.tw-px-16{padding-left:16px;padding-right:16px}.tw-px-4{padding-left:4px;padding-right:4px}.tw-py-8{padding-bottom:8px;padding-top:8px}.tw-pl-8{padding-left:8px}.tw-pr-16{padding-right:16px}.tw-pr-20{padding-right:20px}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-\[12px\]{font-size:12px}.tw-text-l{font-size:var(--aui-font-size-l)}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-s{font-size:var(--aui-font-size-s)}.tw-font-bold{font-weight:var(--aui-font-weight-bold)}.tw-font-bolder{font-weight:var(--aui-font-weight-bolder)}.tw-leading-m{line-height:var(--aui-line-height-m)}.\!tw-text-n-2{color:rgb(var(--aui-color-n-2))!important}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-primary{color:rgb(var(--aui-color-primary))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.tw-icon-l{font-size:var(--aui-icon-size-l)}.tw-icon-m{font-size:var(--aui-icon-size-m)}.tw-leading-text-xl{font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl)}.tw-question{color:rgb(var(--aui-color-n-4));cursor:pointer}.tw-question:hover{color:rgb(var(--aui-color-primary))}.tw-required-mark:before{--tw-text-opacity:1;--tw-content:"*";color:rgb(235 98 98/var(--tw-text-opacity));content:var(--tw-content);margin-right:var(--aui-spacing-s)}.tw-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hover\:\!tw-text-primary:hover{color:rgb(var(--aui-color-primary))!important}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}html:not([lang|=zh]) .lang-not-zh\:\!tw-w-\[230px\]{width:230px!important}@media (min-width:1280px){.vw1280\:tw-ml-\[40px\]{margin-left:40px}.vw1280\:tw-mr-20{margin-right:20px}}
|
|
1
|
+
/*! tailwindcss v3.4.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!tw-visible{visibility:visible!important}.tw-invisible{visibility:hidden}.tw-fixed{position:fixed}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-0{left:0}.tw-right-\[12px\]{right:12px}.tw-right-\[16px\]{right:16px}.tw-top-0{top:0}.tw-top-\[12px\]{top:12px}.tw-z-10{z-index:10}.tw-mx-8{margin-left:8px;margin-right:8px}.tw-my-16{margin-bottom:16px;margin-top:16px}.\!tw-ml-0{margin-left:0!important}.\!tw-mr-8{margin-right:8px!important}.\!tw-mt-16{margin-top:16px!important}.tw-mb-12{margin-bottom:12px}.tw-mb-16{margin-bottom:16px}.tw-mb-20{margin-bottom:20px}.tw-mb-4{margin-bottom:4px}.tw-mb-8{margin-bottom:8px}.tw-ml-12{margin-left:12px}.tw-ml-16{margin-left:16px}.tw-ml-20{margin-left:20px}.tw-ml-24{margin-left:24px}.tw-ml-32{margin-left:32px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-ml-\[4px\]{margin-left:4px}.tw-mr-0{margin-right:0}.tw-mr-16{margin-right:16px}.tw-mr-4{margin-right:4px}.tw-mr-6{margin-right:6px}.tw-mr-8{margin-right:8px}.tw-mr-\[4px\]{margin-right:4px}.tw-mt-0{margin-top:0}.tw-mt-16{margin-top:16px}.tw-mt-20{margin-top:20px}.tw-mt-8{margin-top:8px}.tw-line-clamp-2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.tw-block{display:block}.\!tw-flex{display:flex!important}.tw-flex{display:flex}.tw-inline-flex{display:inline-flex}.tw-hidden{display:none}.\!tw-h-\[20px\]{height:20px!important}.tw-h-0{height:0}.tw-h-1\/2{height:50%}.tw-h-\[100\%\]{height:100%}.tw-h-\[100vh\]{height:100vh}.tw-h-\[200px\]{height:200px}.tw-h-\[22px\]{height:22px}.tw-h-\[600px\]{height:600px}.tw-h-\[8px\]{height:8px}.tw-h-full{height:100%}.tw-min-h-0{min-height:0}.tw-min-h-\[360px\]{min-height:360px}.tw-min-h-screen{min-height:100vh}.\!tw-w-\[20px\]{width:20px!important}.tw-w-\[100\%\]{width:100%}.tw-w-\[135px\]{width:135px}.tw-w-\[160px\]{width:160px}.tw-w-\[200px\]{width:200px}.tw-w-\[260px\]{width:260px}.tw-w-\[950px\]{width:950px}.tw-w-full{width:100%}.tw-min-w-0{min-width:0}.tw-min-w-\[100px\]{min-width:100px}.tw-min-w-\[135px\]{min-width:135px}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[220px\]{min-width:220px}.tw-min-w-\[260px\]{min-width:260px}.tw-min-w-\[50px\]{min-width:50px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-\[1\]{flex:1}.tw-flex-\[2\]{flex:2}.tw-flex-shrink-0{flex-shrink:0}.\!tw-cursor-move{cursor:move!important}.tw-cursor-move{cursor:move}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-list-disc{list-style-type:disc}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-flex-wrap{flex-wrap:wrap}.tw-items-start{align-items:flex-start}.tw-items-center{align-items:center}.tw-justify-start{justify-content:flex-start}.tw-justify-end{justify-content:flex-end}.tw-justify-center{justify-content:center}.tw-justify-between{justify-content:space-between}.tw-space-y-\[8px\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(8px*var(--tw-space-y-reverse));margin-top:calc(8px*(1 - var(--tw-space-y-reverse)))}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-overflow-y-auto{overflow-y:auto}.tw-overflow-x-hidden{overflow-x:hidden}.tw-overflow-ellipsis,.tw-text-ellipsis{text-overflow:ellipsis}.tw-whitespace-nowrap{white-space:nowrap}.tw-break-words{overflow-wrap:break-word}.tw-break-all{word-break:break-all}.tw-rounded-l{border-radius:var(--aui-border-radius-l);border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.tw-bg-n-10{background-color:rgb(var(--aui-color-n-10))}.tw-bg-n-8{background-color:rgb(var(--aui-color-n-8))}.tw-bg-n-9{background-color:rgb(var(--aui-color-n-9))}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-p-12{padding:12px}.tw-p-16{padding:16px}.tw-p-20{padding:20px}.tw-p-\[12px_16px\]{padding:12px 16px}.tw-px-12{padding-left:12px;padding-right:12px}.tw-px-16{padding-left:16px;padding-right:16px}.tw-px-4{padding-left:4px;padding-right:4px}.tw-py-8{padding-bottom:8px;padding-top:8px}.tw-pl-8{padding-left:8px}.tw-pr-16{padding-right:16px}.tw-pr-20{padding-right:20px}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-\[12px\]{font-size:12px}.tw-text-l{font-size:var(--aui-font-size-l)}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-s{font-size:var(--aui-font-size-s)}.tw-font-bold{font-weight:var(--aui-font-weight-bold)}.tw-font-bolder{font-weight:var(--aui-font-weight-bolder)}.tw-leading-m{line-height:var(--aui-line-height-m)}.\!tw-text-n-2{color:rgb(var(--aui-color-n-2))!important}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-primary{color:rgb(var(--aui-color-primary))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.tw-icon-l{font-size:var(--aui-icon-size-l)}.tw-icon-m{font-size:var(--aui-icon-size-m)}.tw-leading-text-xl{font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl)}.tw-question{color:rgb(var(--aui-color-n-4));cursor:pointer}.tw-question:hover{color:rgb(var(--aui-color-primary))}.tw-required-mark:before{--tw-content:"*";color:rgb(var(--aui-color-red));content:var(--tw-content);margin-right:var(--aui-spacing-s)}.tw-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hover\:\!tw-text-primary:hover{color:rgb(var(--aui-color-primary))!important}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}html:not([lang|=zh]) .lang-not-zh\:\!tw-w-\[230px\]{width:230px!important}@media (min-width:1280px){.vw1280\:tw-ml-\[40px\]{margin-left:40px}.vw1280\:tw-mr-20{margin-right:20px}}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { K8sApiService } from '../../api/k8s-api.service';
|
|
3
|
-
import { ModuleInfo } from '../../core/public-api';
|
|
4
|
-
import { K8sUtilService } from '../../core/services/public-api';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface ModuleInfoGetParams {
|
|
7
|
-
cluster: string;
|
|
8
|
-
module: string;
|
|
9
|
-
single?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class ModuleInfoApiService {
|
|
12
|
-
private readonly k8sUtil;
|
|
13
|
-
private readonly k8sApi;
|
|
14
|
-
constructor(k8sUtil: K8sUtilService, k8sApi: K8sApiService);
|
|
15
|
-
getModuleInfo({ cluster, module, }: Omit<ModuleInfoGetParams, 'single'> | (ModuleInfoGetParams & {
|
|
16
|
-
single: true;
|
|
17
|
-
})): Observable<ModuleInfo>;
|
|
18
|
-
getModuleInfo({ cluster, module, }: ModuleInfoGetParams & {
|
|
19
|
-
single: false;
|
|
20
|
-
}): Observable<ModuleInfo[]>;
|
|
21
|
-
isModuleEnabled({ cluster, module }: Omit<ModuleInfoGetParams, 'single'>): Observable<boolean>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleInfoApiService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModuleInfoApiService>;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './api.service';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { map, pluck } from 'rxjs';
|
|
3
|
-
import { K8sApiService } from '../../api/k8s-api.service';
|
|
4
|
-
import { COMMON_RESOURCE_DEFINITIONS } from '../../core/public-api';
|
|
5
|
-
import { K8sUtilService } from '../../core/services/public-api';
|
|
6
|
-
import { skipError } from '../../core/utils/public-api';
|
|
7
|
-
import { matchLabelsToString } from '../../k8s-resource-list/utils';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../../core/services/public-api";
|
|
10
|
-
import * as i2 from "../../api/k8s-api.service";
|
|
11
|
-
export class ModuleInfoApiService {
|
|
12
|
-
constructor(k8sUtil, k8sApi) {
|
|
13
|
-
this.k8sUtil = k8sUtil;
|
|
14
|
-
this.k8sApi = k8sApi;
|
|
15
|
-
}
|
|
16
|
-
getModuleInfo({ cluster, module, single = true }) {
|
|
17
|
-
return this.k8sApi
|
|
18
|
-
.getGlobalResourceList({
|
|
19
|
-
definition: COMMON_RESOURCE_DEFINITIONS.MODULE_INFO,
|
|
20
|
-
queryParams: {
|
|
21
|
-
labelSelector: matchLabelsToString({
|
|
22
|
-
[this.k8sUtil.normalizeType('cluster-name')]: cluster,
|
|
23
|
-
[this.k8sUtil.normalizeType('module-name')]: module,
|
|
24
|
-
}),
|
|
25
|
-
},
|
|
26
|
-
})
|
|
27
|
-
.pipe(skipError({ items: [] }), pluck('items'), map(items => (single ? items?.[0] : items)));
|
|
28
|
-
}
|
|
29
|
-
isModuleEnabled({ cluster, module }) {
|
|
30
|
-
return this.getModuleInfo({ cluster, module }).pipe(map(moduleInfo => moduleInfo?.status?.phase === 'Running'));
|
|
31
|
-
}
|
|
32
|
-
static { this.ɵfac = function ModuleInfoApiService_Factory(t) { return new (t || ModuleInfoApiService)(i0.ɵɵinject(i1.K8sUtilService), i0.ɵɵinject(i2.K8sApiService)); }; }
|
|
33
|
-
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ModuleInfoApiService, factory: ModuleInfoApiService.ɵfac, providedIn: 'root' }); }
|
|
34
|
-
}
|
|
35
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModuleInfoApiService, [{
|
|
36
|
-
type: Injectable,
|
|
37
|
-
args: [{ providedIn: 'root' }]
|
|
38
|
-
}], () => [{ type: i1.K8sUtilService }, { type: i2.K8sApiService }], null); })();
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvYnVzaW5lc3MvbW9kdWxlLWluZm8vYXBpLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsR0FBRyxFQUFjLEtBQUssRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUU5QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDMUQsT0FBTyxFQUFFLDJCQUEyQixFQUFjLE1BQU0sdUJBQXVCLENBQUM7QUFDaEYsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ2hFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7OztBQVNwRSxNQUFNLE9BQU8sb0JBQW9CO0lBQy9CLFlBQ21CLE9BQXVCLEVBQ3ZCLE1BQXFCO1FBRHJCLFlBQU8sR0FBUCxPQUFPLENBQWdCO1FBQ3ZCLFdBQU0sR0FBTixNQUFNLENBQWU7SUFDckMsQ0FBQztJQWNKLGFBQWEsQ0FBQyxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxHQUFHLElBQUksRUFBdUI7UUFDbkUsT0FBTyxJQUFJLENBQUMsTUFBTTthQUNmLHFCQUFxQixDQUFhO1lBQ2pDLFVBQVUsRUF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VuYWJsZWQoeyBjbHVzdGVyLCBtb2R1bGUgfTogT21pdDxNb2R1bGVJbmZvR2V0UGFyYW1zLCAnc2luZ2xlJz4pIHtcbiAgICByZXR1cm4gdGhpcy5nZXRNb2R1bGVJbmZvKHsgY2x1c3RlciwgbW9kdWxlIH0pLnBpcGUoXG4gICAgICBtYXAobW9kdWxlSW5mbyA9PiBtb2R1bGVJbmZvPy5zdGF0dXM/LnBoYXNlID09PSAnUnVubmluZycpLFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './api.service';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tbW9uL3NyYy9idXNpbmVzcy9tb2R1bGUtaW5mby9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hcGkuc2VydmljZSc7XG4iXX0=
|