@alauda-fe/dynamic-plugin-shared 0.0.4-alpha.2 → 0.0.4-alpha.21
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/assets/i18n/en.json +17 -0
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs +2477 -357
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs.map +1 -1
- package/package.json +31 -22
- package/styles/mixins.scss +3 -246
- package/types/alauda-fe-dynamic-plugin-shared.d.ts +503 -105
- package/assets/i18n/en/dynamic-plugin-shared.json +0 -3
- package/assets/images/abnormal.svg +0 -1
- package/assets/images/dark/403.svg +0 -1
- package/assets/images/dark/404.svg +0 -1
- package/assets/images/dark/500.svg +0 -1
- package/assets/images/dark/disconnected.svg +0 -1
- package/assets/images/dark/feature-reach-bg.svg +0 -1
- package/assets/images/dark/license-abnormal.svg +0 -1
- package/assets/images/dark/network-abnormal.svg +0 -1
- package/assets/images/dark/no-data-for-list-or-card.svg +0 -1
- package/assets/images/dark/no-data.svg +0 -1
- package/assets/images/dark/no-message.svg +0 -1
- package/assets/images/dark/no-permission.svg +0 -1
- package/assets/images/dark/no_realtime_alarm.svg +0 -1
- package/assets/images/dark/not-deployed.svg +0 -1
- package/assets/images/dark/not-found.svg +0 -1
- package/assets/images/dark/not-supported.svg +0 -1
- package/assets/images/dark/system-abnormal.svg +0 -1
- package/assets/images/light/403.svg +0 -1
- package/assets/images/light/404.svg +0 -1
- package/assets/images/light/500.svg +0 -1
- package/assets/images/light/disconnected.svg +0 -1
- package/assets/images/light/feature-reach-bg.svg +0 -1
- package/assets/images/light/license-abnormal.svg +0 -1
- package/assets/images/light/network-abnormal.svg +0 -1
- package/assets/images/light/no-data-for-list-or-card.svg +0 -1
- package/assets/images/light/no-data.svg +0 -1
- package/assets/images/light/no-message.svg +0 -1
- package/assets/images/light/no-permission.svg +0 -1
- package/assets/images/light/no_realtime_alarm.svg +0 -1
- package/assets/images/light/not-deployed.svg +0 -1
- package/assets/images/light/not-found.svg +0 -1
- package/assets/images/light/not-supported.svg +0 -1
- package/assets/images/light/system-abnormal.svg +0 -1
- package/assets/images/no-data.png +0 -0
- package/assets/images/overview-banner.svg +0 -1
- package/styles/lib.scss +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as _alauda_fe_dynamic_plugin_sdk from '@alauda-fe/dynamic-plugin-sdk';
|
|
2
|
-
import { WorkspaceParams, TranslateService, TimeService, TranslatePipe, TranslateKey, FeatureGateService, WatchAPIResponse, K8sUtilService, Translation, TranslationValue,
|
|
2
|
+
import { WorkspaceParams, TranslateService, TimeService, TranslatePipe, TranslateKey, FeatureGateService, WatchAPIResponse, K8sUtilService, Translation, TranslationValue, KubernetesResource as KubernetesResource$1, ConfigurableField, ResourceSelectorPopupRef, ProjectService, ClusterDataItem, K8sResourceDefinition, K8sApiService, StringMap as StringMap$1, ResourceWriteParams, OpenAPIV3SchemaObject as OpenAPIV3SchemaObject$1, KubernetesSchemaService, Arrayable as Arrayable$1, Status as Status$1, Callback as Callback$1 } from '@alauda-fe/dynamic-plugin-sdk';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, Subject, BehaviorSubject, ReplaySubject, Subscription } from 'rxjs';
|
|
5
5
|
import { Primitive, ValueOf as ValueOf$1, UnionToIntersection } from 'ts-essentials';
|
|
6
6
|
export { DeepPartial, DeepReadonly, Dictionary, ValueOf as LooseValueOf } from 'ts-essentials';
|
|
7
7
|
import * as _alauda_code_editor from '@alauda/code-editor';
|
|
8
|
-
import {
|
|
8
|
+
import { IEditorConstructionOptions, MonacoEditor } from '@alauda/code-editor';
|
|
9
9
|
import * as i1 from '@alauda/ui';
|
|
10
|
-
import { Sort, ThemeService, AttrBoolean, FormItemControlDirective, MessageService, NotificationService, DialogRef,
|
|
10
|
+
import { Sort, ThemeService, AttrBoolean, FormItemControlDirective, MessageService, NotificationService, DialogRef, TooltipDirective, DateNavRange, DisabledTimeFn, TagType, TooltipComponent, BaseTooltip, FormItemWidth, OptionFilterFn, TrackFn, SelectFilterOption, InputComponent, SortDirection, NotificationConfig, Status as Status$2 } from '@alauda/ui';
|
|
11
11
|
import { Params, ParamMap, ActivatedRoute, ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot, Router } from '@angular/router';
|
|
12
12
|
import { CompareOperator } from 'compare-versions';
|
|
13
13
|
export { CompareOperator as VersionCompareOperator, compareVersions as compareVersionToNum, satisfies as satisfiesVersion } from 'compare-versions';
|
|
14
14
|
import * as _angular_forms from '@angular/forms';
|
|
15
15
|
import { AsyncValidatorFn, ValidatorFn, AbstractControl, FormArray, ControlContainer, NgControl, Validator, ValidationErrors, DefaultValueAccessor, ControlValueAccessor, AsyncValidator, MaxLengthValidator, MinLengthValidator, NgForm, FormGroupDirective, FormGroup, FormBuilder, FormControl } from '@angular/forms';
|
|
16
16
|
import * as i0 from '@angular/core';
|
|
17
|
-
import { AfterViewInit, OnDestroy, NgZone, PipeTransform, ChangeDetectorRef, OnInit, TemplateRef, ViewContainerRef, ElementRef,
|
|
17
|
+
import { AfterViewInit, OnDestroy, NgZone, PipeTransform, ChangeDetectorRef, OnInit, TemplateRef, ViewContainerRef, ElementRef, Injector, EventEmitter, OnChanges, SimpleChanges, ApplicationRef, QueryList, InjectionToken, Signal, TrackByFunction, AfterViewChecked } from '@angular/core';
|
|
18
18
|
import { MarkedOptions } from 'marked';
|
|
19
19
|
import { DecimalPipe, Location } from '@angular/common';
|
|
20
20
|
import { CdkScrollable, CdkVirtualForOfContext, CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
@@ -24,9 +24,9 @@ import * as _alauda_fe_dynamic_plugin_shared from '@alauda-fe/dynamic-plugin-sha
|
|
|
24
24
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
25
25
|
import { DomPortalOutlet, ComponentPortal } from '@angular/cdk/portal';
|
|
26
26
|
import { BaseResourceFormComponent } from 'ng-resource-form-util';
|
|
27
|
-
import
|
|
27
|
+
import * as _angular_common_http from '@angular/common/http';
|
|
28
|
+
import { HttpErrorResponse, HttpRequest, HttpInterceptor, HttpHandler } from '@angular/common/http';
|
|
28
29
|
import * as monaco_editor_esm_vs_editor_editor_api from 'monaco-editor/esm/vs/editor/editor.api';
|
|
29
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* @packageDocumentation
|
|
@@ -57,7 +57,7 @@ interface ResourceListParams extends StringMap {
|
|
|
57
57
|
}
|
|
58
58
|
interface WorkspaceListParams extends WorkspaceParams, ResourceListParams {
|
|
59
59
|
}
|
|
60
|
-
interface WorkspaceDetailParams extends
|
|
60
|
+
interface WorkspaceDetailParams extends WorkspaceParams {
|
|
61
61
|
name?: string;
|
|
62
62
|
}
|
|
63
63
|
type Pagination<T, O = {
|
|
@@ -214,7 +214,46 @@ interface OpenAPIV3SchemaObject {
|
|
|
214
214
|
default?: any;
|
|
215
215
|
additionalProperties?: OpenAPIV3SchemaObject;
|
|
216
216
|
}
|
|
217
|
+
interface OpenAPIV3SchemaObjects {
|
|
218
|
+
[name: string]: OpenAPIV3SchemaObject;
|
|
219
|
+
}
|
|
217
220
|
type JSONSchema6TypeName = 'string' | 'number' | 'integer' | 'boolean' | 'object' | 'array' | 'null' | 'any';
|
|
221
|
+
interface OpenAPIV2Document {
|
|
222
|
+
swagger: string;
|
|
223
|
+
info: {
|
|
224
|
+
title: string;
|
|
225
|
+
version: string;
|
|
226
|
+
description?: string;
|
|
227
|
+
};
|
|
228
|
+
host?: string;
|
|
229
|
+
basePath?: string;
|
|
230
|
+
schemes?: string[];
|
|
231
|
+
consumes?: string[];
|
|
232
|
+
produces?: string[];
|
|
233
|
+
paths: Record<string, any>;
|
|
234
|
+
definitions: Record<string, OpenAPIV3SchemaObject>;
|
|
235
|
+
parameters?: Record<string, any>;
|
|
236
|
+
responses?: Record<string, any>;
|
|
237
|
+
securityDefinitions?: Record<string, any>;
|
|
238
|
+
security?: any[];
|
|
239
|
+
tags?: any[];
|
|
240
|
+
externalDocs?: any;
|
|
241
|
+
}
|
|
242
|
+
interface SchemaProperty {
|
|
243
|
+
name: string;
|
|
244
|
+
type: string;
|
|
245
|
+
description?: string;
|
|
246
|
+
required: boolean;
|
|
247
|
+
properties?: {
|
|
248
|
+
[key: string]: OpenAPIV3SchemaObject;
|
|
249
|
+
};
|
|
250
|
+
items?: OpenAPIV3SchemaObject;
|
|
251
|
+
}
|
|
252
|
+
interface SchemaBreadcrumb {
|
|
253
|
+
name: string;
|
|
254
|
+
path: string[];
|
|
255
|
+
schema: OpenAPIV3SchemaObject;
|
|
256
|
+
}
|
|
218
257
|
|
|
219
258
|
/**
|
|
220
259
|
* 此文件只维护 所有的 k8s 原生类型
|
|
@@ -464,6 +503,7 @@ declare const AccessMode: {
|
|
|
464
503
|
readonly RWO: "ReadWriteOnce";
|
|
465
504
|
readonly ROX: "ReadOnlyMany";
|
|
466
505
|
readonly RWX: "ReadWriteMany";
|
|
506
|
+
readonly RWOP: "ReadWriteOncePod";
|
|
467
507
|
};
|
|
468
508
|
type AccessMode = ValueOf<typeof AccessMode>;
|
|
469
509
|
declare const AccessModes: ("ReadWriteOnce" | "ReadOnlyMany" | "ReadWriteMany")[];
|
|
@@ -2807,12 +2847,13 @@ declare class ReadonlyFieldDirective implements OnInit, OnDestroy {
|
|
|
2807
2847
|
aclReadonlyField$: Observable<boolean>;
|
|
2808
2848
|
hidden: boolean;
|
|
2809
2849
|
private isControlRequired;
|
|
2810
|
-
private spanComponentRef
|
|
2850
|
+
private spanComponentRef?;
|
|
2851
|
+
private templateViewRef?;
|
|
2811
2852
|
private readonly templateContext;
|
|
2812
2853
|
private readonly destroy$;
|
|
2813
2854
|
readonly control: NgControl;
|
|
2814
|
-
readonly cfr: ComponentFactoryResolver;
|
|
2815
2855
|
readonly viewContainerRef: ViewContainerRef;
|
|
2856
|
+
readonly injector: Injector;
|
|
2816
2857
|
readonly controlDirective: FormItemControlDirective;
|
|
2817
2858
|
template: TemplateRef<any>;
|
|
2818
2859
|
context: object;
|
|
@@ -2822,6 +2863,8 @@ declare class ReadonlyFieldDirective implements OnInit, OnDestroy {
|
|
|
2822
2863
|
private applyValidators;
|
|
2823
2864
|
private clearValidators;
|
|
2824
2865
|
ngOnDestroy(): void;
|
|
2866
|
+
private attachReadonlyView;
|
|
2867
|
+
private detachReadonlyView;
|
|
2825
2868
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReadonlyFieldDirective, never>;
|
|
2826
2869
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ReadonlyFieldDirective, "[aclReadonlyField]", never, { "aclReadonlyField": { "alias": "aclReadonlyField"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "template": { "alias": "aclReadonlyFieldTemplate"; "required": false; }; "context": { "alias": "aclReadonlyFieldTemplateContext"; "required": false; }; }, {}, never, never, true, never>;
|
|
2827
2870
|
}
|
|
@@ -2933,8 +2976,7 @@ declare class ControlValueTraceDirective implements OnInit, OnDestroy {
|
|
|
2933
2976
|
destroy$$: Subject<void>;
|
|
2934
2977
|
ngOnDestroy(): void;
|
|
2935
2978
|
ngOnInit(): void;
|
|
2936
|
-
|
|
2937
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ControlValueTraceDirective, [{ host: true; }]>;
|
|
2979
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ControlValueTraceDirective, never>;
|
|
2938
2980
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlValueTraceDirective, "[aclValueTrack]", never, { "aclValueTrackSkipFirst": { "alias": "aclValueTrackSkipFirst"; "required": false; }; "aclValueTrack": { "alias": "aclValueTrack"; "required": false; }; }, {}, never, never, true, never>;
|
|
2939
2981
|
}
|
|
2940
2982
|
|
|
@@ -3160,8 +3202,7 @@ declare class SelectPrefixLabelDirective {
|
|
|
3160
3202
|
queryElementByClassName(className: string): Element;
|
|
3161
3203
|
createInlineLabel(value: string | TemplateRef<any>, className?: string): HTMLSpanElement;
|
|
3162
3204
|
insertNode(container: Element, value: string | TemplateRef<any>, refChild?: Element): void;
|
|
3163
|
-
|
|
3164
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPrefixLabelDirective, [null, null, null, { optional: true; }]>;
|
|
3205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPrefixLabelDirective, never>;
|
|
3165
3206
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectPrefixLabelDirective, "aui-select[aclPrefixLabel],aui-multi-select[aclPrefixLabel]", never, { "aclPrefixLabel": { "alias": "aclPrefixLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
3166
3207
|
}
|
|
3167
3208
|
|
|
@@ -3185,7 +3226,6 @@ declare class RelativeTimeComponent implements OnInit, OnDestroy {
|
|
|
3185
3226
|
private readonly cdr;
|
|
3186
3227
|
private readonly translate;
|
|
3187
3228
|
private readonly destroy$;
|
|
3188
|
-
constructor(cdr: ChangeDetectorRef, translate: TranslateService);
|
|
3189
3229
|
time: dayjs.ConfigType;
|
|
3190
3230
|
ngOnInit(): void;
|
|
3191
3231
|
ngOnDestroy(): void;
|
|
@@ -3270,7 +3310,7 @@ declare class CurrentTimeComponent {
|
|
|
3270
3310
|
* 效果:
|
|
3271
3311
|
* 发生截取的文案会显示完整内容的 tooltip。未发生截取的文案不显示 tooltip。
|
|
3272
3312
|
* @example:
|
|
3273
|
-
* <span
|
|
3313
|
+
* <span aclTextTooltip>TEXT...</span>
|
|
3274
3314
|
*
|
|
3275
3315
|
* tooltip 的一些设置(位置、类型)可以使用 aui 相同设置。未传 tooltip content 则取元素 text content
|
|
3276
3316
|
*/
|
|
@@ -3567,7 +3607,7 @@ declare class StrongPasswordDirective extends BaseTooltip implements Validator,
|
|
|
3567
3607
|
registerOnValidatorChange(fn: () => void): void;
|
|
3568
3608
|
ngOnChanges(): void;
|
|
3569
3609
|
onValidatorChange: () => void;
|
|
3570
|
-
constructor(
|
|
3610
|
+
constructor();
|
|
3571
3611
|
protected onFocus(): void;
|
|
3572
3612
|
validate: (control: AbstractControl) => ValidationErrors;
|
|
3573
3613
|
private resetContext;
|
|
@@ -3765,7 +3805,6 @@ declare class InterceptDeactivateService implements OnDestroy {
|
|
|
3765
3805
|
private readonly dialog;
|
|
3766
3806
|
private readonly translate;
|
|
3767
3807
|
destroy$$: Subject<void>;
|
|
3768
|
-
constructor(location: Location, router: Router, dialog: DialogService, translate: TranslateService);
|
|
3769
3808
|
ngOnDestroy(): void;
|
|
3770
3809
|
intercept({ title, content, context, errorFallback, }?: {
|
|
3771
3810
|
title?: string;
|
|
@@ -3788,7 +3827,6 @@ declare class InterceptDeactivateDirective implements AfterViewInit, OnDestroy {
|
|
|
3788
3827
|
enabled$$: Observable<boolean | ''>;
|
|
3789
3828
|
enabled$: Observable<boolean>;
|
|
3790
3829
|
destroy$$: Subject<void>;
|
|
3791
|
-
constructor(elRef: ElementRef<HTMLElement>, interceptDeactivate: InterceptDeactivateService);
|
|
3792
3830
|
ngAfterViewInit(): void;
|
|
3793
3831
|
ngOnDestroy(): void;
|
|
3794
3832
|
onBeforeUnload(): boolean;
|
|
@@ -3805,7 +3843,7 @@ declare abstract class BaseFormContainer<T = any> implements OnInit {
|
|
|
3805
3843
|
initResource: T;
|
|
3806
3844
|
initResource$: Observable<T>;
|
|
3807
3845
|
private readonly ngForm;
|
|
3808
|
-
codeEditorOptions:
|
|
3846
|
+
codeEditorOptions: _alauda_code_editor.IEditorConstructionOptions;
|
|
3809
3847
|
actionsConfig: _alauda_code_editor.CodeEditorActionsConfig;
|
|
3810
3848
|
formView: 'UI' | 'YAML';
|
|
3811
3849
|
submitting: boolean;
|
|
@@ -4131,7 +4169,6 @@ declare class UploadFileComponent implements ControlValueAccessor {
|
|
|
4131
4169
|
resultType: FileResultType;
|
|
4132
4170
|
fileInput: ElementRef<HTMLInputElement>;
|
|
4133
4171
|
valueChange: (ev: FileResult | FileResult[]) => void;
|
|
4134
|
-
constructor(notification: NotificationService, translate: TranslateService);
|
|
4135
4172
|
onClick(): void;
|
|
4136
4173
|
onChange(e: Event): Promise<void>;
|
|
4137
4174
|
writeValue(): void;
|
|
@@ -4447,7 +4484,7 @@ declare class MultiSearchActionInputComponent extends BaseResourceFormComponent<
|
|
|
4447
4484
|
}>;
|
|
4448
4485
|
editing: EventEmitter<void>;
|
|
4449
4486
|
delete: EventEmitter<void>;
|
|
4450
|
-
|
|
4487
|
+
search: EventEmitter<void>;
|
|
4451
4488
|
inputRef: InputComponent;
|
|
4452
4489
|
toolTipRef: TooltipDirective;
|
|
4453
4490
|
get hiddenState(): boolean;
|
|
@@ -4539,7 +4576,7 @@ declare class MultiSearchActionInputComponent extends BaseResourceFormComponent<
|
|
|
4539
4576
|
isConditionSelected(current: string, conditionsModel: string): boolean;
|
|
4540
4577
|
isValueSelected: (current: string, conditionsModel: string, condition: SearchConditionModel) => boolean;
|
|
4541
4578
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSearchActionInputComponent, never>;
|
|
4542
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchActionInputComponent, "acl-multi-search-action-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "isEditing": { "alias": "isEditing"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "autoScroll": { "alias": "autoScroll"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; "existingConditions": { "alias": "existingConditions"; "required": false; }; }, { "completed": "completed"; "editing": "editing"; "delete": "delete"; "
|
|
4579
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchActionInputComponent, "acl-multi-search-action-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "isEditing": { "alias": "isEditing"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "autoScroll": { "alias": "autoScroll"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; "existingConditions": { "alias": "existingConditions"; "required": false; }; }, { "completed": "completed"; "editing": "editing"; "delete": "delete"; "search": "search"; }, never, never, true, never>;
|
|
4543
4580
|
}
|
|
4544
4581
|
|
|
4545
4582
|
declare class MultiSearchTagsComponent {
|
|
@@ -4551,7 +4588,7 @@ declare class MultiSearchTagsComponent {
|
|
|
4551
4588
|
removeCondition: EventEmitter<SearchConditionModel>;
|
|
4552
4589
|
setConditionEditing: EventEmitter<SearchConditionModel>;
|
|
4553
4590
|
setConditionDeleting: EventEmitter<number>;
|
|
4554
|
-
|
|
4591
|
+
search: EventEmitter<void>;
|
|
4555
4592
|
completed: EventEmitter<{
|
|
4556
4593
|
activeCondition: SearchConditionModel;
|
|
4557
4594
|
toContinue: boolean;
|
|
@@ -4563,7 +4600,7 @@ declare class MultiSearchTagsComponent {
|
|
|
4563
4600
|
getConditionLabel(condition: SearchConditionModel): string;
|
|
4564
4601
|
getValueContent(condition: SearchConditionModel): string;
|
|
4565
4602
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSearchTagsComponent, never>;
|
|
4566
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchTagsComponent, "acl-multi-search-tags", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "existingConditions": { "alias": "existingConditions"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; }, { "removeCondition": "removeCondition"; "setConditionEditing": "setConditionEditing"; "setConditionDeleting": "setConditionDeleting"; "
|
|
4603
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchTagsComponent, "acl-multi-search-tags", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "existingConditions": { "alias": "existingConditions"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; }, { "removeCondition": "removeCondition"; "setConditionEditing": "setConditionEditing"; "setConditionDeleting": "setConditionDeleting"; "search": "search"; "completed": "completed"; }, never, ["*"], true, never>;
|
|
4567
4604
|
}
|
|
4568
4605
|
|
|
4569
4606
|
declare const DEFAULT_OPERATOR: string;
|
|
@@ -4576,7 +4613,7 @@ declare class MultiSearchComponent implements OnDestroy {
|
|
|
4576
4613
|
conditionConfig$: Observable<SearchConditionConfig[]>;
|
|
4577
4614
|
autoScroll: boolean;
|
|
4578
4615
|
searchSuffix: boolean;
|
|
4579
|
-
|
|
4616
|
+
search: EventEmitter<SearchCondition[]>;
|
|
4580
4617
|
showFootAction: boolean;
|
|
4581
4618
|
conditionsChange: EventEmitter<SearchCondition[]>;
|
|
4582
4619
|
normalInputComponent: MultiSearchActionInputComponent;
|
|
@@ -4624,7 +4661,7 @@ declare class MultiSearchComponent implements OnDestroy {
|
|
|
4624
4661
|
conditionInAction(condition: SearchConditionModel): boolean;
|
|
4625
4662
|
ngOnDestroy(): void;
|
|
4626
4663
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSearchComponent, never>;
|
|
4627
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchComponent, "acl-multi-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "autoScroll": { "alias": "autoScroll"; "required": false; }; "searchSuffix": { "alias": "searchSuffix"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; }, { "
|
|
4664
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSearchComponent, "acl-multi-search", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "conditionCreatable": { "alias": "conditionCreatable"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "conditionConfig": { "alias": "conditionConfig"; "required": false; }; "autoScroll": { "alias": "autoScroll"; "required": false; }; "searchSuffix": { "alias": "searchSuffix"; "required": false; }; "showFootAction": { "alias": "showFootAction"; "required": false; }; }, { "search": "search"; "conditionsChange": "conditionsChange"; }, never, never, true, never>;
|
|
4628
4665
|
}
|
|
4629
4666
|
|
|
4630
4667
|
/**
|
|
@@ -4990,22 +5027,15 @@ declare function queryListParams(): (queryParams: Params) => void;
|
|
|
4990
5027
|
|
|
4991
5028
|
declare const K8S_RESOURCE_LIST_MODULE: readonly [typeof K8SResourceListFooterComponent, typeof K8sListFooterNoDataDirective, typeof K8sListFooterLoadingErrorDirective];
|
|
4992
5029
|
|
|
5030
|
+
declare class TableHeaderCellDefDirective {
|
|
5031
|
+
aclTableHeaderCellDef: string;
|
|
5032
|
+
templateRef: TemplateRef<any>;
|
|
5033
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDefDirective, never>;
|
|
5034
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[aclTableHeaderCellDef]", never, { "aclTableHeaderCellDef": { "alias": "aclTableHeaderCellDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
5035
|
+
}
|
|
4993
5036
|
declare class TableCellDefDirective<Item extends object> {
|
|
4994
|
-
templateRef: TemplateRef<{
|
|
4995
|
-
$implicit: Item;
|
|
4996
|
-
index: number;
|
|
4997
|
-
even: boolean;
|
|
4998
|
-
odd: boolean;
|
|
4999
|
-
last: boolean;
|
|
5000
|
-
}>;
|
|
5001
5037
|
aclTableCellDef: string;
|
|
5002
|
-
|
|
5003
|
-
$implicit: Item;
|
|
5004
|
-
index: number;
|
|
5005
|
-
even: boolean;
|
|
5006
|
-
odd: boolean;
|
|
5007
|
-
last: boolean;
|
|
5008
|
-
}>);
|
|
5038
|
+
templateRef: TemplateRef<any>;
|
|
5009
5039
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDefDirective<any>, never>;
|
|
5010
5040
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDefDirective<any>, "[aclTableCellDef]", never, { "aclTableCellDef": { "alias": "aclTableCellDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
5011
5041
|
}
|
|
@@ -5013,7 +5043,7 @@ declare class TableCellDefDirective<Item extends object> {
|
|
|
5013
5043
|
declare const KNOWN_COLUMNS: Set<string>;
|
|
5014
5044
|
declare class TableUtilService<Item extends object, K8sUtil extends K8sUtilService = K8sUtilService> {
|
|
5015
5045
|
readonly k8sUtil: K8sUtil;
|
|
5016
|
-
constructor(
|
|
5046
|
+
constructor();
|
|
5017
5047
|
getValueFromPath(item: Item, name?: string, path?: TableColumnDefPath<Item, unknown>, context?: unknown): string | number;
|
|
5018
5048
|
defaultFilterFn(items: Item[], columnDefs: Array<TableColumnDef<Item, unknown>>, activeSort?: Sort, filterParams?: Record<string, unknown>, context?: unknown): Item[];
|
|
5019
5049
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableUtilService<any, any>, never>;
|
|
@@ -5035,6 +5065,7 @@ interface TableColumnDef<Item extends object, Context = TableUtilService<Item>,
|
|
|
5035
5065
|
path?: TableColumnDefPath<Item, Context>;
|
|
5036
5066
|
direction?: 'column' | 'row';
|
|
5037
5067
|
translate?: string | Translation | TableColumnTranslateHandler<Item, Context, Value> | true;
|
|
5068
|
+
scopedTranslate?: boolean;
|
|
5038
5069
|
sort?: TableColumnSortDirection | TableColumnSortHandler<Item, Context> | TableColumnSort<Item, Context> | true;
|
|
5039
5070
|
filter?(this: Context, value: Value, filterValue: Value, item: Item, name: string, params: Record<string, unknown>): boolean;
|
|
5040
5071
|
ellipsis?: boolean;
|
|
@@ -5153,13 +5184,7 @@ declare class TableComponent<Item extends object, Context = TableUtilService<Ite
|
|
|
5153
5184
|
normalizeColumnDefSort(column: TableColumnDef<Item, Context>): TableColumnDef<Item, Context, object, string, string | number>;
|
|
5154
5185
|
onSortChange($event: Sort): void;
|
|
5155
5186
|
normalizeActionColumnDef(column: TableColumnDef<Item, Context>): NormalizedTableColumnDef<Item, Context>;
|
|
5156
|
-
getColumnTemplate(column: string): TemplateRef<
|
|
5157
|
-
$implicit: Item;
|
|
5158
|
-
index: number;
|
|
5159
|
-
even: boolean;
|
|
5160
|
-
odd: boolean;
|
|
5161
|
-
last: boolean;
|
|
5162
|
-
}>;
|
|
5187
|
+
getColumnTemplate(column: string): TemplateRef<any>;
|
|
5163
5188
|
trackByFn(index: number, item: Item): string | number;
|
|
5164
5189
|
onUpdate(data: Item, columnDef: TableColumnDef<Item, Context>): void;
|
|
5165
5190
|
getValue<T, F extends (...args: unknown[]) => T>(functionOrValue: T | F, ...args: Parameters<F>): T;
|
|
@@ -5181,7 +5206,23 @@ declare class TestTagComponent {
|
|
|
5181
5206
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestTagComponent, "acl-test-tag", never, {}, {}, never, never, true, never>;
|
|
5182
5207
|
}
|
|
5183
5208
|
|
|
5184
|
-
declare class
|
|
5209
|
+
declare class AclTableVirtualHeaderDefDirective {
|
|
5210
|
+
templateRef: TemplateRef<any>;
|
|
5211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AclTableVirtualHeaderDefDirective, never>;
|
|
5212
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AclTableVirtualHeaderDefDirective, "[aclTableVirtualHeader]", never, {}, {}, never, never, true, never>;
|
|
5213
|
+
}
|
|
5214
|
+
declare class AclTableVirtualRowDefDirective<T> {
|
|
5215
|
+
templateRef: TemplateRef<any>;
|
|
5216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AclTableVirtualRowDefDirective<any>, never>;
|
|
5217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AclTableVirtualRowDefDirective<any>, "[aclTableVirtualRow]", never, {}, {}, never, never, true, never>;
|
|
5218
|
+
}
|
|
5219
|
+
declare class AclTableVirtualPlaceholderDefDirective {
|
|
5220
|
+
templateRef: TemplateRef<any>;
|
|
5221
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AclTableVirtualPlaceholderDefDirective, never>;
|
|
5222
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AclTableVirtualPlaceholderDefDirective, "[aclTableVirtualPlaceholder]", never, {}, {}, never, never, true, never>;
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5225
|
+
declare class AclTableVirtualComponent<T> implements AfterViewChecked, OnDestroy {
|
|
5185
5226
|
dataSource: T[];
|
|
5186
5227
|
itemSize: number;
|
|
5187
5228
|
minBufferPx: number;
|
|
@@ -5194,8 +5235,11 @@ declare class AclTableVirtualComponent<T> implements AfterViewInit, OnDestroy {
|
|
|
5194
5235
|
placeholderTemplate?: TemplateRef<any>;
|
|
5195
5236
|
viewport?: CdkVirtualScrollViewport;
|
|
5196
5237
|
scrollContainerRef: ElementRef<HTMLElement>;
|
|
5238
|
+
headerRow: ElementRef<HTMLElement>;
|
|
5239
|
+
private checked$;
|
|
5197
5240
|
private destroy$;
|
|
5198
|
-
|
|
5241
|
+
ngAfterViewChecked(): void;
|
|
5242
|
+
onHeaderRowScroll(ev: Event): void;
|
|
5199
5243
|
ngOnDestroy(): void;
|
|
5200
5244
|
private getScroller;
|
|
5201
5245
|
private placeClass;
|
|
@@ -5205,52 +5249,54 @@ declare class AclTableVirtualComponent<T> implements AfterViewInit, OnDestroy {
|
|
|
5205
5249
|
static ɵcmp: i0.ɵɵComponentDeclaration<AclTableVirtualComponent<any>, "acl-table-virtual", ["aclTableVirtual"], { "dataSource": { "alias": "dataSource"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "minBufferPx": { "alias": "minBufferPx"; "required": false; }; "maxBufferPx": { "alias": "maxBufferPx"; "required": false; }; "height": { "alias": "height"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "placeholderActive": { "alias": "placeholderActive"; "required": false; }; }, {}, ["headerTemplate", "rowTemplate", "placeholderTemplate"], never, true, never>;
|
|
5206
5250
|
}
|
|
5207
5251
|
|
|
5208
|
-
declare
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
templateRef: TemplateRef<any>;
|
|
5215
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AclTableVirtualRowDefDirective<any>, never>;
|
|
5216
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AclTableVirtualRowDefDirective<any>, "[aclTableVirtualRow]", never, {}, {}, never, never, true, never>;
|
|
5217
|
-
}
|
|
5218
|
-
declare class AclTableVirtualPlaceholderDefDirective {
|
|
5219
|
-
templateRef: TemplateRef<any>;
|
|
5220
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AclTableVirtualPlaceholderDefDirective, never>;
|
|
5221
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AclTableVirtualPlaceholderDefDirective, "[aclTableVirtualPlaceholder]", never, {}, {}, never, never, true, never>;
|
|
5252
|
+
declare const TABLE_VIRTUAL_MODULE: readonly [typeof AclTableVirtualComponent, typeof AclTableVirtualHeaderDefDirective, typeof AclTableVirtualRowDefDirective, typeof AclTableVirtualPlaceholderDefDirective];
|
|
5253
|
+
|
|
5254
|
+
declare class TerminatingTagComponent {
|
|
5255
|
+
resource: KubernetesResource$1;
|
|
5256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TerminatingTagComponent, never>;
|
|
5257
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TerminatingTagComponent, "acl-deleting-tag", never, { "resource": { "alias": "resource"; "required": false; }; }, {}, never, never, true, never>;
|
|
5222
5258
|
}
|
|
5223
5259
|
|
|
5224
|
-
declare class
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5260
|
+
declare class PluginClusterSelectorComponent implements AfterViewInit {
|
|
5261
|
+
value: string;
|
|
5262
|
+
valueChange: EventEmitter<string>;
|
|
5263
|
+
disabled: boolean;
|
|
5264
|
+
disabled$: Observable<boolean>;
|
|
5265
|
+
projectName: string;
|
|
5266
|
+
popupTemplate: TemplateRef<any>;
|
|
5267
|
+
fields: ConfigurableField[];
|
|
5268
|
+
isActive: boolean;
|
|
5269
|
+
popupRef: ResourceSelectorPopupRef;
|
|
5270
|
+
private readonly popupService;
|
|
5271
|
+
private readonly cdr;
|
|
5272
|
+
private readonly elementRef;
|
|
5273
|
+
private readonly http;
|
|
5274
|
+
projectApi: ProjectService;
|
|
5275
|
+
displayFields: ConfigurableField[];
|
|
5276
|
+
filterClusters$: Observable<string[]>;
|
|
5277
|
+
getFilterFn(filterClusters: string[]): (clusters: ClusterDataItem[]) => ClusterDataItem[];
|
|
5278
|
+
ngAfterViewInit(): void;
|
|
5279
|
+
openPopup(): void;
|
|
5280
|
+
closePopup(): void;
|
|
5281
|
+
onSelect(item: {
|
|
5282
|
+
name: string;
|
|
5283
|
+
}): void;
|
|
5284
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PluginClusterSelectorComponent, never>;
|
|
5285
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PluginClusterSelectorComponent, "acl-plugin-cluster-selector", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "projectName": { "alias": "projectName"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
5286
|
+
static ngAcceptInputType_disabled: unknown;
|
|
5228
5287
|
}
|
|
5229
5288
|
|
|
5230
5289
|
declare class UpdateDescriptionDialogComponent<T extends KubernetesResource> {
|
|
5231
5290
|
private readonly dialogRef;
|
|
5232
5291
|
private readonly k8sApi;
|
|
5233
5292
|
private readonly k8sUtil;
|
|
5234
|
-
data: {
|
|
5293
|
+
readonly data: {
|
|
5235
5294
|
definition?: K8sResourceDefinition;
|
|
5236
|
-
/**
|
|
5237
|
-
* @deprecated use `definition` instead
|
|
5238
|
-
*/
|
|
5239
|
-
type?: ResourceType$1;
|
|
5240
5295
|
cluster?: string;
|
|
5241
5296
|
resource: T;
|
|
5242
5297
|
};
|
|
5243
5298
|
description: string;
|
|
5244
5299
|
confirming$$: BehaviorSubject<boolean>;
|
|
5245
|
-
constructor(dialogRef: DialogRef, k8sApi: K8sApiService, k8sUtil: K8sUtilService, data: {
|
|
5246
|
-
definition?: K8sResourceDefinition;
|
|
5247
|
-
/**
|
|
5248
|
-
* @deprecated use `definition` instead
|
|
5249
|
-
*/
|
|
5250
|
-
type?: ResourceType$1;
|
|
5251
|
-
cluster?: string;
|
|
5252
|
-
resource: T;
|
|
5253
|
-
});
|
|
5254
5300
|
confirm(): void;
|
|
5255
5301
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateDescriptionDialogComponent<any>, never>;
|
|
5256
5302
|
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateDescriptionDialogComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -5299,10 +5345,10 @@ declare class UpdateKeyValueDialogComponent<R = unknown, Context = unknown, T =
|
|
|
5299
5345
|
private readonly originalKeyValues;
|
|
5300
5346
|
keyValues: T;
|
|
5301
5347
|
private readonly destroy$$;
|
|
5302
|
-
constructor(
|
|
5348
|
+
constructor();
|
|
5303
5349
|
ngOnInit(): void;
|
|
5304
5350
|
ngOnDestroy(): void;
|
|
5305
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateKeyValueDialogComponent<any, any, any>,
|
|
5351
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateKeyValueDialogComponent<any, any, any>, never>;
|
|
5306
5352
|
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateKeyValueDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5307
5353
|
}
|
|
5308
5354
|
|
|
@@ -5370,21 +5416,6 @@ declare class K8sResourceMarkComponent {
|
|
|
5370
5416
|
static ɵcmp: i0.ɵɵComponentDeclaration<K8sResourceMarkComponent, "acl-k8s-mark", never, { "size": { "alias": "size"; "required": false; }; "kind": { "alias": "kind"; "required": false; "isSignal": true; }; "apiVersion": { "alias": "apiVersion"; "required": false; "isSignal": true; }; "resource": { "alias": "resource"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5371
5417
|
}
|
|
5372
5418
|
|
|
5373
|
-
type IEditorConstructionOptions = monaco_editor_esm_vs_editor_editor_api.editor.IEditorConstructionOptions & {
|
|
5374
|
-
language?: string;
|
|
5375
|
-
tabSize?: number;
|
|
5376
|
-
};
|
|
5377
|
-
declare const createActions: CodeEditorActionsConfig;
|
|
5378
|
-
declare const viewActions: CodeEditorActionsConfig;
|
|
5379
|
-
declare const updateActions: CodeEditorActionsConfig;
|
|
5380
|
-
declare const logsActions: CodeEditorActionsConfig;
|
|
5381
|
-
declare const commonOptions: IEditorConstructionOptions;
|
|
5382
|
-
declare const readonlyOptions: IEditorConstructionOptions;
|
|
5383
|
-
declare const yamlReadOptions: IEditorConstructionOptions;
|
|
5384
|
-
declare const yamlWriteOptions: IEditorConstructionOptions;
|
|
5385
|
-
declare const textWriteOptions: IEditorConstructionOptions;
|
|
5386
|
-
declare const logsReadOptions: IEditorConstructionOptions;
|
|
5387
|
-
|
|
5388
5419
|
interface CodeDisplayDialogData {
|
|
5389
5420
|
language?: string;
|
|
5390
5421
|
title?: string;
|
|
@@ -5401,11 +5432,24 @@ declare class CodeDisplayDialogComponent {
|
|
|
5401
5432
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeDisplayDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5402
5433
|
}
|
|
5403
5434
|
|
|
5435
|
+
/**
|
|
5436
|
+
* @packageDocumentation
|
|
5437
|
+
* @module code
|
|
5438
|
+
*/
|
|
5439
|
+
|
|
5440
|
+
declare const logsReadOptions: IEditorConstructionOptions;
|
|
5441
|
+
|
|
5442
|
+
/**
|
|
5443
|
+
* @packageDocumentation
|
|
5444
|
+
* @module code
|
|
5445
|
+
*/
|
|
5446
|
+
|
|
5404
5447
|
interface K8sYamlDisplayDialogData {
|
|
5405
5448
|
title?: string;
|
|
5406
5449
|
ellipsis?: boolean;
|
|
5407
5450
|
extra?: string;
|
|
5408
5451
|
resource: KubernetesResource;
|
|
5452
|
+
clusterName: string;
|
|
5409
5453
|
}
|
|
5410
5454
|
declare class K8sYamlDisplayDialogComponent {
|
|
5411
5455
|
codeEditorOptions: IEditorConstructionOptions;
|
|
@@ -5414,23 +5458,183 @@ declare class K8sYamlDisplayDialogComponent {
|
|
|
5414
5458
|
static ɵcmp: i0.ɵɵComponentDeclaration<K8sYamlDisplayDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5415
5459
|
}
|
|
5416
5460
|
|
|
5417
|
-
declare class ResourceYamlDisplayComponent<T extends KubernetesResource> {
|
|
5461
|
+
declare class ResourceYamlDisplayComponent<T extends KubernetesResource> implements AfterViewInit, OnDestroy {
|
|
5462
|
+
private destroy$;
|
|
5418
5463
|
concise$$: BehaviorSubject<boolean>;
|
|
5419
5464
|
reduce$$: BehaviorSubject<boolean>;
|
|
5465
|
+
showSidebar$$: BehaviorSubject<boolean>;
|
|
5466
|
+
showDebugPanel$$: BehaviorSubject<boolean>;
|
|
5467
|
+
modelUri: string;
|
|
5468
|
+
private yamlSchemaService;
|
|
5469
|
+
private monacoEditor;
|
|
5470
|
+
private registeredSchemas;
|
|
5471
|
+
private pendingSchemas;
|
|
5472
|
+
codeEditorRef: {
|
|
5473
|
+
editor: monaco_editor_esm_vs_editor_editor_api.editor.IStandaloneCodeEditor;
|
|
5474
|
+
};
|
|
5420
5475
|
hasWrapper: boolean;
|
|
5476
|
+
showDebugInfo: boolean;
|
|
5421
5477
|
conciseEnable: boolean;
|
|
5422
5478
|
manageFieldActionEnable: boolean;
|
|
5479
|
+
sidebarEnable: boolean;
|
|
5480
|
+
schemaEnable: boolean;
|
|
5481
|
+
exampleEnable: boolean;
|
|
5482
|
+
autoFoldManagedFields: boolean;
|
|
5483
|
+
schema: OpenAPIV3SchemaObject$1;
|
|
5423
5484
|
resource: Arrayable<T>;
|
|
5424
5485
|
readonly resource$: Observable<Arrayable<T>>;
|
|
5425
|
-
readonly
|
|
5486
|
+
readonly schema$: Observable<OpenAPIV3SchemaObject$1>;
|
|
5487
|
+
minimap: boolean;
|
|
5488
|
+
clusterName: string;
|
|
5489
|
+
yamlReadMinimapOptions: _alauda_code_editor.IEditorConstructionOptions;
|
|
5490
|
+
yamlReadOptions: _alauda_code_editor.IEditorConstructionOptions;
|
|
5491
|
+
hasFolded: boolean;
|
|
5492
|
+
/**
|
|
5493
|
+
* 自动获取的 schema,当没有手动提供 schema 时使用
|
|
5494
|
+
*/
|
|
5495
|
+
autoSchema$: Observable<OpenAPIV3SchemaObject$1>;
|
|
5496
|
+
/**
|
|
5497
|
+
* 最终使用的 schema,优先使用手动提供的,否则使用自动获取的
|
|
5498
|
+
*/
|
|
5499
|
+
finalSchema$: Observable<OpenAPIV3SchemaObject$1>;
|
|
5500
|
+
private readonly yamlUtil;
|
|
5501
|
+
private readonly schemaService;
|
|
5502
|
+
private readonly monacoLanguageService;
|
|
5503
|
+
constructor();
|
|
5426
5504
|
yaml$: Observable<string>;
|
|
5427
|
-
editorOptions:
|
|
5505
|
+
get editorOptions(): _alauda_code_editor.IEditorConstructionOptions;
|
|
5428
5506
|
viewActions: _alauda_code_editor.CodeEditorActionsConfig;
|
|
5429
5507
|
conciseChange(value: boolean): void;
|
|
5508
|
+
toggleSidebar(): void;
|
|
5509
|
+
toggleDebugInfo(): void;
|
|
5510
|
+
getCurrentResource(): T | null;
|
|
5511
|
+
getCurrentSchema(): OpenAPIV3SchemaObject$1 | null;
|
|
5512
|
+
selfFoldManagedFields(): void;
|
|
5513
|
+
/**
|
|
5514
|
+
* 设置 YAML schema 以提供 hover 提示和自动完成
|
|
5515
|
+
*/
|
|
5516
|
+
setYamlSchema(resource: T, schema: OpenAPIV3SchemaObject$1): void;
|
|
5517
|
+
ngAfterViewInit(): void;
|
|
5518
|
+
/**
|
|
5519
|
+
* 获取 Monaco Editor 实例
|
|
5520
|
+
*/
|
|
5521
|
+
getEditorInstance(): monaco_editor_esm_vs_editor_editor_api.editor.IStandaloneCodeEditor | null;
|
|
5522
|
+
/**
|
|
5523
|
+
* 自动折叠 managedFields 字段
|
|
5524
|
+
*/
|
|
5525
|
+
foldManagedFields(): void;
|
|
5526
|
+
ngOnDestroy(): void;
|
|
5430
5527
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceYamlDisplayComponent<any>, never>;
|
|
5431
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceYamlDisplayComponent<any>, "acl-resource-yaml-display", never, { "hasWrapper": { "alias": "hasWrapper"; "required": false; }; "conciseEnable": { "alias": "conciseEnable"; "required": false; }; "manageFieldActionEnable": { "alias": "manageFieldActionEnable"; "required": false; }; "resource": { "alias": "resource"; "required": false; }; }, {}, never, never, true, never>;
|
|
5528
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceYamlDisplayComponent<any>, "acl-resource-yaml-display", never, { "hasWrapper": { "alias": "hasWrapper"; "required": false; }; "showDebugInfo": { "alias": "showDebugInfo"; "required": false; }; "conciseEnable": { "alias": "conciseEnable"; "required": false; }; "manageFieldActionEnable": { "alias": "manageFieldActionEnable"; "required": false; }; "sidebarEnable": { "alias": "sidebarEnable"; "required": false; }; "schemaEnable": { "alias": "schemaEnable"; "required": false; }; "exampleEnable": { "alias": "exampleEnable"; "required": false; }; "autoFoldManagedFields": { "alias": "autoFoldManagedFields"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "resource": { "alias": "resource"; "required": false; }; "minimap": { "alias": "minimap"; "required": false; }; "clusterName": { "alias": "clusterName"; "required": false; }; }, {}, never, never, true, never>;
|
|
5529
|
+
}
|
|
5530
|
+
|
|
5531
|
+
/**
|
|
5532
|
+
* 编辑器实例获取器接口
|
|
5533
|
+
*/
|
|
5534
|
+
interface EditorInstanceProvider {
|
|
5535
|
+
getEditorInstance(): MonacoEditor | null;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
interface YamlExample {
|
|
5539
|
+
title: string;
|
|
5540
|
+
description: string;
|
|
5541
|
+
yaml: string;
|
|
5542
|
+
snippet?: boolean;
|
|
5543
|
+
}
|
|
5544
|
+
|
|
5545
|
+
declare class ResourceYamlEditorComponent<T extends KubernetesResource$1> implements ControlValueAccessor, OnDestroy, EditorInstanceProvider, AfterViewInit {
|
|
5546
|
+
private destroy$;
|
|
5547
|
+
private _value;
|
|
5548
|
+
private _originalValue;
|
|
5549
|
+
private onChange;
|
|
5550
|
+
private onTouched;
|
|
5551
|
+
showSidebar$$: BehaviorSubject<boolean>;
|
|
5552
|
+
showDebugPanel$$: BehaviorSubject<boolean>;
|
|
5553
|
+
modelUri: string;
|
|
5554
|
+
private yamlSchemaService;
|
|
5555
|
+
private monacoEditor;
|
|
5556
|
+
private registeredSchemas;
|
|
5557
|
+
private pendingSchemas;
|
|
5558
|
+
readonly schemaService: KubernetesSchemaService;
|
|
5559
|
+
private readonly monacoLanguageService;
|
|
5560
|
+
private codeEditorRef;
|
|
5561
|
+
hasWrapper: boolean;
|
|
5562
|
+
showDebugInfo: boolean;
|
|
5563
|
+
sidebarEnable: boolean;
|
|
5564
|
+
schema: OpenAPIV3SchemaObject$1;
|
|
5565
|
+
schemaEnable: boolean;
|
|
5566
|
+
exampleEnable: boolean;
|
|
5567
|
+
resource: Arrayable$1<T>;
|
|
5568
|
+
autoFoldManagedFields: boolean;
|
|
5569
|
+
set originalValue(value: string);
|
|
5570
|
+
get originalValue(): string;
|
|
5571
|
+
options: _alauda_code_editor.IEditorConstructionOptions;
|
|
5572
|
+
actionsConfig: _alauda_code_editor.CodeEditorActionsConfig;
|
|
5573
|
+
tryYaml: EventEmitter<string>;
|
|
5574
|
+
readonly resource$: Observable<Arrayable$1<T>>;
|
|
5575
|
+
readonly schema$: Observable<OpenAPIV3SchemaObject$1>;
|
|
5576
|
+
autoFillNamespace: boolean;
|
|
5577
|
+
extraExamples: YamlExample[];
|
|
5578
|
+
clusterName: string;
|
|
5579
|
+
readonly clusterName$: Observable<string>;
|
|
5580
|
+
namespace: string;
|
|
5581
|
+
hasFolded: boolean;
|
|
5582
|
+
/**
|
|
5583
|
+
* 自动获取的 schema,当没有手动提供 schema 时使用
|
|
5584
|
+
/**
|
|
5585
|
+
*
|
|
5586
|
+
*
|
|
5587
|
+
* @memberof ResourceYamlEditorComponent
|
|
5588
|
+
*/
|
|
5589
|
+
autoSchema$: Observable<OpenAPIV3SchemaObject$1>;
|
|
5590
|
+
/**
|
|
5591
|
+
* 最终使用的 schema,优先使用手动提供的,否则使用自动获取的
|
|
5592
|
+
*/
|
|
5593
|
+
finalSchema$: Observable<OpenAPIV3SchemaObject$1>;
|
|
5594
|
+
constructor();
|
|
5595
|
+
ngAfterViewInit(): void;
|
|
5596
|
+
selfFoldManagedFields(): void;
|
|
5597
|
+
get value(): string;
|
|
5598
|
+
set value(val: string);
|
|
5599
|
+
writeValue(value: string): void;
|
|
5600
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
5601
|
+
registerOnTouched(fn: () => void): void;
|
|
5602
|
+
toggleSidebar(): void;
|
|
5603
|
+
toggleDebugInfo(): void;
|
|
5604
|
+
getCurrentResource(): T | null;
|
|
5605
|
+
getCurrentSchema(): OpenAPIV3SchemaObject$1 | null;
|
|
5606
|
+
getDebugInfo(): {
|
|
5607
|
+
hasResource: boolean;
|
|
5608
|
+
resourceApiVersion: string;
|
|
5609
|
+
resourceKind: string;
|
|
5610
|
+
hasManualSchema: boolean;
|
|
5611
|
+
};
|
|
5612
|
+
onTryYaml(yamlContent: string): void;
|
|
5613
|
+
/**
|
|
5614
|
+
* 设置 YAML schema 以提供 hover 提示和自动完成
|
|
5615
|
+
*/
|
|
5616
|
+
setYamlSchema(resource: T, schema: OpenAPIV3SchemaObject$1): void;
|
|
5617
|
+
/**
|
|
5618
|
+
* 获取 Monaco 编辑器实例
|
|
5619
|
+
*/
|
|
5620
|
+
getEditorInstance(): MonacoEditor | null;
|
|
5621
|
+
/**
|
|
5622
|
+
* 手动折叠 managedFields
|
|
5623
|
+
*/
|
|
5624
|
+
foldManagedFields(): void;
|
|
5625
|
+
ngOnDestroy(): void;
|
|
5626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceYamlEditorComponent<any>, never>;
|
|
5627
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceYamlEditorComponent<any>, "acl-resource-yaml-editor", never, { "hasWrapper": { "alias": "hasWrapper"; "required": false; }; "showDebugInfo": { "alias": "showDebugInfo"; "required": false; }; "sidebarEnable": { "alias": "sidebarEnable"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "schemaEnable": { "alias": "schemaEnable"; "required": false; }; "exampleEnable": { "alias": "exampleEnable"; "required": false; }; "resource": { "alias": "resource"; "required": false; }; "autoFoldManagedFields": { "alias": "autoFoldManagedFields"; "required": false; }; "originalValue": { "alias": "originalValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "actionsConfig": { "alias": "actionsConfig"; "required": false; }; "autoFillNamespace": { "alias": "autoFillNamespace"; "required": false; }; "extraExamples": { "alias": "extraExamples"; "required": false; }; "clusterName": { "alias": "clusterName"; "required": false; }; "namespace": { "alias": "namespace"; "required": false; }; }, { "tryYaml": "tryYaml"; }, never, never, true, never>;
|
|
5432
5628
|
}
|
|
5433
5629
|
|
|
5630
|
+
/**
|
|
5631
|
+
* Kubernetes 资源的内置 YAML 示例
|
|
5632
|
+
* 按照 apiVersion.kind 的格式组织
|
|
5633
|
+
*/
|
|
5634
|
+
declare const BUILT_IN_YAML_EXAMPLES: {
|
|
5635
|
+
[key: string]: YamlExample[];
|
|
5636
|
+
};
|
|
5637
|
+
|
|
5434
5638
|
declare const ARRAY_TABLE_FORM_ERROR_BG: string;
|
|
5435
5639
|
declare const rowBackgroundColorFn: <T extends AbstractControl>({ invalid, }: T) => string;
|
|
5436
5640
|
declare const noShowRowError: () => boolean;
|
|
@@ -5503,6 +5707,7 @@ declare class ArrayFormTableComponent implements OnDestroy {
|
|
|
5503
5707
|
addDisabled: boolean | '';
|
|
5504
5708
|
actionColumnDivider: boolean | '';
|
|
5505
5709
|
showZeroState: boolean;
|
|
5710
|
+
injector: Injector;
|
|
5506
5711
|
get formDirective(): NgForm | FormGroupDirective;
|
|
5507
5712
|
/**
|
|
5508
5713
|
* 自定义是否展示错误内容
|
|
@@ -5734,5 +5939,198 @@ declare class AsyncDataLoader<D = unknown, P = StringMap> implements DataStateAd
|
|
|
5734
5939
|
|
|
5735
5940
|
declare const ASYNC_DATA_MODULE: readonly [typeof PageStateComponent, typeof ErrorStateComponent, typeof ErrorStateComponent];
|
|
5736
5941
|
|
|
5737
|
-
|
|
5738
|
-
|
|
5942
|
+
/**
|
|
5943
|
+
* @packageDocumentation
|
|
5944
|
+
* @module notification
|
|
5945
|
+
*/
|
|
5946
|
+
|
|
5947
|
+
declare const ZH_ERRORS: StringMap;
|
|
5948
|
+
declare const DEFAULT_ZH_ERROR = "\u7F51\u7EDC\u9519\u8BEF";
|
|
5949
|
+
|
|
5950
|
+
declare class FeedbackNotificationComponent {
|
|
5951
|
+
primary: string;
|
|
5952
|
+
secondary: string;
|
|
5953
|
+
content?: string;
|
|
5954
|
+
pre: boolean;
|
|
5955
|
+
onPrimary: EventEmitter<void>;
|
|
5956
|
+
onSecondary: EventEmitter<void>;
|
|
5957
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackNotificationComponent, never>;
|
|
5958
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackNotificationComponent, "ng-component", never, { "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "content": { "alias": "content"; "required": false; }; "pre": { "alias": "pre"; "required": false; }; }, { "onPrimary": "onPrimary"; "onSecondary": "onSecondary"; }, never, never, true, never>;
|
|
5959
|
+
}
|
|
5960
|
+
type FeedbackNotificationProps = Partial<Pick<FeedbackNotificationComponent, 'primary' | 'secondary' | 'content' | 'pre'>>;
|
|
5961
|
+
|
|
5962
|
+
declare function isK8sErrorStatus(e: any): e is Status$1;
|
|
5963
|
+
|
|
5964
|
+
/**
|
|
5965
|
+
* @packageDocumentation
|
|
5966
|
+
* @module notification
|
|
5967
|
+
*/
|
|
5968
|
+
|
|
5969
|
+
interface NotificationHttpRequest<T = unknown> extends HttpRequest<T> {
|
|
5970
|
+
requestAt?: number;
|
|
5971
|
+
}
|
|
5972
|
+
type FeedbackNotificationPropsWithEvents = Omit<FeedbackNotificationProps, 'content' | 'primary' | 'secondary'> & Partial<{
|
|
5973
|
+
content: unknown;
|
|
5974
|
+
summary: unknown;
|
|
5975
|
+
primary: string | true;
|
|
5976
|
+
secondary: string | true;
|
|
5977
|
+
onPrimary: Callback$1;
|
|
5978
|
+
onSecondary: Callback$1;
|
|
5979
|
+
}>;
|
|
5980
|
+
type FeedbackNotificationConfig = Omit<NotificationConfig, 'contentRef'>;
|
|
5981
|
+
declare class NotificationUtilService {
|
|
5982
|
+
private readonly injector;
|
|
5983
|
+
private readonly dialog;
|
|
5984
|
+
private readonly time;
|
|
5985
|
+
private readonly notification;
|
|
5986
|
+
viewDetail(json: unknown, title?: string, notificationId?: string): void;
|
|
5987
|
+
createFeedback(config: FeedbackNotificationConfig, { content, onPrimary, onSecondary, pre, primary, secondary, summary, }?: FeedbackNotificationPropsWithEvents): void;
|
|
5988
|
+
private normalizeJson;
|
|
5989
|
+
notify(status: Status$2): void;
|
|
5990
|
+
notify(req: NotificationHttpRequest, res: HttpErrorResponse): Promise<void>;
|
|
5991
|
+
private getResErrorMessage;
|
|
5992
|
+
private getAllHeaders;
|
|
5993
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationUtilService, never>;
|
|
5994
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationUtilService>;
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5997
|
+
declare const WRITABLE_METHODS: readonly ["delete", "patch", "post", "put"];
|
|
5998
|
+
type WritableMethod = (typeof WRITABLE_METHODS)[number];
|
|
5999
|
+
interface StatusErrorResponse extends Status$1 {
|
|
6000
|
+
__origin__: HttpErrorResponse;
|
|
6001
|
+
}
|
|
6002
|
+
declare class ResourceErrorInterceptor implements HttpInterceptor {
|
|
6003
|
+
notificationUtil: NotificationUtilService;
|
|
6004
|
+
intercept(req: NotificationHttpRequest, next: HttpHandler): rxjs.Observable<_angular_common_http.HttpEvent<any>>;
|
|
6005
|
+
private notifyOnError;
|
|
6006
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceErrorInterceptor, never>;
|
|
6007
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceErrorInterceptor>;
|
|
6008
|
+
}
|
|
6009
|
+
|
|
6010
|
+
declare class GraphLinksComponent {
|
|
6011
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphLinksComponent, never>;
|
|
6012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraphLinksComponent, "acl-graph-links", never, {}, {}, never, ["[aclGraphLink]"], true, never>;
|
|
6013
|
+
}
|
|
6014
|
+
|
|
6015
|
+
declare class GraphActionsComponent {
|
|
6016
|
+
position: string;
|
|
6017
|
+
get positionClass(): Record<string, boolean>;
|
|
6018
|
+
handleMouseDown(e: MouseEvent): void;
|
|
6019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphActionsComponent, never>;
|
|
6020
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraphActionsComponent, "acl-graph-actions", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6021
|
+
}
|
|
6022
|
+
|
|
6023
|
+
interface TransformState {
|
|
6024
|
+
origin: [OriginX, OriginY];
|
|
6025
|
+
translate: readonly [number, number];
|
|
6026
|
+
scale: number;
|
|
6027
|
+
}
|
|
6028
|
+
interface Rects {
|
|
6029
|
+
canvasRect: Rect;
|
|
6030
|
+
surfaceRect: Rect;
|
|
6031
|
+
}
|
|
6032
|
+
interface Rect {
|
|
6033
|
+
top: number;
|
|
6034
|
+
bottom: number;
|
|
6035
|
+
left: number;
|
|
6036
|
+
right: number;
|
|
6037
|
+
width: number;
|
|
6038
|
+
height: number;
|
|
6039
|
+
offsetTop: number;
|
|
6040
|
+
offsetLeft: number;
|
|
6041
|
+
offsetWidth: number;
|
|
6042
|
+
offsetHeight: number;
|
|
6043
|
+
}
|
|
6044
|
+
type TransformAction = (transform: TransformState, rects: Rects) => Partial<TransformState>;
|
|
6045
|
+
type NodeID = string | number;
|
|
6046
|
+
interface GraphNode {
|
|
6047
|
+
getRect: () => Rect;
|
|
6048
|
+
el?: ElementRef<HTMLElement>;
|
|
6049
|
+
}
|
|
6050
|
+
type OriginX = 'center' | 'left' | 'right';
|
|
6051
|
+
type OriginY = 'center' | 'top' | 'bottom';
|
|
6052
|
+
type NodeEdge = 'top' | 'bottom' | 'left' | 'right';
|
|
6053
|
+
type Points = [[number, number], [number, number]];
|
|
6054
|
+
|
|
6055
|
+
declare class GraphCanvasComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6056
|
+
minScale: number;
|
|
6057
|
+
maxScale: number;
|
|
6058
|
+
originX: OriginX;
|
|
6059
|
+
originY: OriginY;
|
|
6060
|
+
boundary: number;
|
|
6061
|
+
loading: boolean;
|
|
6062
|
+
loadFailed: boolean;
|
|
6063
|
+
retry: EventEmitter<void>;
|
|
6064
|
+
private readonly canvasRef;
|
|
6065
|
+
private readonly surfaceRef;
|
|
6066
|
+
readonly getCanvasRect: () => Rect;
|
|
6067
|
+
private graphStore;
|
|
6068
|
+
private readonly getSurfaceRect;
|
|
6069
|
+
private dragStartPoint;
|
|
6070
|
+
transformState: TransformState;
|
|
6071
|
+
get dragging(): boolean;
|
|
6072
|
+
get canvasStyle(): {
|
|
6073
|
+
padding: string;
|
|
6074
|
+
justifyContent: string;
|
|
6075
|
+
alignItems: string;
|
|
6076
|
+
cursor: string;
|
|
6077
|
+
};
|
|
6078
|
+
get surfaceStyle(): {
|
|
6079
|
+
transformOrigin: string;
|
|
6080
|
+
transform: string;
|
|
6081
|
+
};
|
|
6082
|
+
ngOnInit(): void;
|
|
6083
|
+
ngAfterViewInit(): void;
|
|
6084
|
+
ngOnDestroy(): void;
|
|
6085
|
+
handleWheelEvent(e: WheelEvent): void;
|
|
6086
|
+
handleMouseDown(e: MouseEvent): void;
|
|
6087
|
+
handleMouseMove(e: MouseEvent): void;
|
|
6088
|
+
handleMouseUp(): void;
|
|
6089
|
+
zoomByWheel(v: number, pointerPosition: [number, number]): void;
|
|
6090
|
+
zoomByDefaultStep(direction: 'in' | 'out'): void;
|
|
6091
|
+
zoomOriginal(): void;
|
|
6092
|
+
zoomOverview(): void;
|
|
6093
|
+
move(x: number, y: number): void;
|
|
6094
|
+
dispatchTransform(action: TransformAction): void;
|
|
6095
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphCanvasComponent, never>;
|
|
6096
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraphCanvasComponent, "acl-graph-canvas", never, { "minScale": { "alias": "minScale"; "required": false; }; "maxScale": { "alias": "maxScale"; "required": false; }; "originX": { "alias": "originX"; "required": false; }; "originY": { "alias": "originY"; "required": false; }; "boundary": { "alias": "boundary"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadFailed": { "alias": "loadFailed"; "required": false; }; }, { "retry": "retry"; }, never, ["*", "acl-graph-links", "acl-graph-actions"], true, never>;
|
|
6097
|
+
}
|
|
6098
|
+
|
|
6099
|
+
declare class GraphLinkComponent implements OnDestroy {
|
|
6100
|
+
from: NodeID;
|
|
6101
|
+
to: NodeID;
|
|
6102
|
+
direction: 'h' | 'v';
|
|
6103
|
+
radius: number;
|
|
6104
|
+
arrow: boolean;
|
|
6105
|
+
color: string;
|
|
6106
|
+
path: (points: Points) => string;
|
|
6107
|
+
parallelDirection: (a: number, b: number, al: number, bl: number) => [number, number];
|
|
6108
|
+
verticalDirection: (a: number, b: number, al: number, bl: number) => [number, number];
|
|
6109
|
+
private readonly onDestroy$$;
|
|
6110
|
+
points: Points;
|
|
6111
|
+
get arrowTransform(): string;
|
|
6112
|
+
private readonly store;
|
|
6113
|
+
private readonly cdr;
|
|
6114
|
+
constructor();
|
|
6115
|
+
ngOnDestroy(): void;
|
|
6116
|
+
private findPoints;
|
|
6117
|
+
unScale(points: Points): Points;
|
|
6118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphLinkComponent, never>;
|
|
6119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraphLinkComponent, "g[aclGraphLink]", never, { "from": { "alias": "from"; "required": false; }; "to": { "alias": "to"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "color": { "alias": "color"; "required": false; }; "path": { "alias": "path"; "required": false; }; "parallelDirection": { "alias": "parallelDirection"; "required": false; }; "verticalDirection": { "alias": "verticalDirection"; "required": false; }; }, {}, never, never, true, never>;
|
|
6120
|
+
}
|
|
6121
|
+
|
|
6122
|
+
declare class GraphNodeDirective implements OnInit, OnDestroy {
|
|
6123
|
+
id: NodeID;
|
|
6124
|
+
hostRect: () => _alauda_fe_dynamic_plugin_shared.Rect;
|
|
6125
|
+
private readonly el;
|
|
6126
|
+
private readonly store;
|
|
6127
|
+
ngOnInit(): void;
|
|
6128
|
+
ngOnDestroy(): void;
|
|
6129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphNodeDirective, never>;
|
|
6130
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraphNodeDirective, "[aclGraphNode]", never, { "id": { "alias": "aclGraphNode"; "required": false; }; }, {}, never, never, true, never>;
|
|
6131
|
+
}
|
|
6132
|
+
|
|
6133
|
+
declare const GRAPH_COMPONENTS: (typeof GraphLinksComponent)[];
|
|
6134
|
+
|
|
6135
|
+
export { ACTION, AIT_API_GROUP, ALL, ALL_VALUE, ANNOTATIONS, API_GATEWAY, ARGOCD_GROUP, ARRAY_FORM_TABLE_MODULE, ARRAY_TABLE_FORM_ERROR_BG, ASSIGN_ALL, ASYNC_DATA_MODULE, AccessMode, AccessModes, AclTableVirtualComponent, AclTableVirtualHeaderDefDirective, AclTableVirtualPlaceholderDefDirective, AclTableVirtualRowDefDirective, AlaudaDeployStatus, AlaudaRunningStatus, ArrayFormTableComponent, ArrayFormTableFooterDirective, ArrayFormTableHeaderDirective, ArrayFormTableRowControlDirective, ArrayFormTableRowDirective, ArrayFormTableRowErrorDirective, ArrayFormTableRowSeparatorDirective, ArrayFormTableZeroStateDirective, AsyncDataLoader, AsyncFunctionValidatorDirective, AuiCodeEditorHelperDirective, BASE_TIMEZONE, BUILT_IN_YAML_EXAMPLES, BaseFormContainer, BaseNestedFormControl, BaseNestedFormControlPure, BaseStringMapFormComponent, Bracket, CHART_PICKER_TIME_RANGES, CLUSTER, COMMON_RESOURCE_DEFINITIONS, CORE_UNITS, CORE_UNIT_REG, CREATE, CREATED_AT, CREATION_TIMESTAMP, CREATOR, CRON_ENABLE_7_FOR_SUNDAY, CRON_FORMAT_ERROR, CRON_MIN_INTERVAL_ERROR, CRYPTO_HEADER_KEY, CRYPTO_KEY, CRYPTO_RANDOM_HEADER_KEY, CRYPTO_TYPE, CUSTOM, CUSTOMIZED, CUSTOM_RANGE, CalcPipe, CardSectionComponent, ClickOutsideDirective, CloudHelmRequestStateEnum, CodeDisplayDialogComponent, CoerceNumberDirective, ConfirmDeleteComponent, ConfirmDeleteContentDirective, ConfirmDeleteLabelDirective, ConfirmDeleteTipDirective, ControlValueTraceDirective, CronHumanReadablePipe, CronWeekDays, CrontabNextPipe, CurrentTimeComponent, DATE_FORMAT, DATE_TIME_FORMAT, DEFAULT_CODE_EDITOR_OPTIONS, DEFAULT_CONTAINER_ANNOTATION, DEFAULT_OPERATOR, DEFAULT_OPTIONS, DEFAULT_REASON, DEFAULT_ZH_ERROR, DELIMITER, DESCRIPTION, DISPLAY_NAME, DNS1123SubdomainValidator, DOMAIN_PATTERN, DOMAIN_PATTERN_BASE, DOT, DOWNGRADE_WATCH_ENABLED, DOWNGRADE_WATCH_POLLING, DUPLICATE_ERROR_KEY, DUPLICATION_JUSTIFY_STRATEGY, DataSource, DateRangePickerComponent, DeclareDirective, DefaultStatusColorMapper, DefaultStatusIconMapper, DeleteType, DeletingTagComponent, DisabledContainerComponent, DisabledDirective, DragHandleDirective, DurationPipe, E2eAttributeBindingDirective, EFFECT_DIRECTIVE_MODULE, EMAIL_PATTERN, EMPTY, ERRORS_MAPPER_MODULE, ESCAPE_DEACTIVATE_CHECK, ErrorStateComponent, ErrorsMapperComponent, ErrorsMapperDirective, FALSE, FIELDSET_GROUP_COMPONENTS, FeatureGateDirective, FeedbackNotificationComponent, FieldSetColumnComponent, FieldSetColumnGroupComponent, FieldSetGroupComponent, FieldSetItemActionDirective, FieldSetItemComponent, FileResultType, FoldableBlockComponent, FoldableItemInTableComponent, FormItemMarginEffectDirective, FunctionValidatorDirective, GLOBAL_CLUSTER, GRAPH_COMPONENTS, GenericStatusColor, GenericStatusIcon, GraphActionsComponent, GraphCanvasComponent, GraphLinkComponent, GraphLinksComponent, GraphNodeDirective, GuardStatus, HTTP_ADDRESS_PATTERN, HTTP_DUAL_IP_OR_DOMAIN_PATTERN, HTTP_IP_OR_DOMAIN_PATTERN, HYPHEN, HelmRequestPhaseEnum, HelpDocDirective, HelpDocUrlPipe, HelpDocumentComponent, HelpDocumentService, IMAGE_TAG_PATTERN, INT_PATTERN, INT_ZERO_PATTERN, IPV4_IPV6_ADDRESS_HOSTNAME_PORT_PATTERN, IPV6_ADDRESS_HOSTNAME_PATTERN, IPV6_ADDRESS_HOSTNAME_PORT_PATTERN, IPV6_PATTERN_BASE, IP_ADDRESS_HOSTNAME_PATTERN, IP_ADDRESS_HOSTNAME_PATTERN_EXTEND, IP_ADDRESS_HOSTNAME_PORT_PATTERN, IP_ADDRESS_PATTERN, IP_ADDRESS_PORT_PATTERN, IP_ADDRESS_SUBNET_PATTERN, IP_PATTERN, IP_PATTERN_BASE, IP_V4_OR_V6_PATTERN, IP_V6_ADDRESS_PATTERN, IP_V6_PATTERN, InterceptDeactivateDirective, InterceptDeactivateGuard, InterceptDeactivateService, JobStatusColorMapper, JobStatusEnum, JobStatusIconMapper, K8SResourceList, K8SResourceListFooterComponent, K8SResourcePagedList, K8S_APP_API_GROUP, K8S_CORE_API_GROUP, K8S_RESOURCE_LABEL_KEY_NAME_PATTERN, K8S_RESOURCE_LABEL_KEY_PREFIX_PATTERN, K8S_RESOURCE_LABEL_VALUE_PATTERN, K8S_RESOURCE_LIST_MODULE, K8S_RESOURCE_NAME_START_WITH_CHARS_ONLY, K8S_RESOURCE_TRANSLATE_KEY, K8sListFooterLoadingErrorDirective, K8sListFooterNoDataDirective, K8sResourceAction, K8sResourceMarkComponent, K8sResourceTranslateKeyPipe, K8sSharedUtilService, K8sYamlDisplayDialogComponent, KNOWN_COLUMNS, KeyValueFormTableComponent, KeyValueTableComponent, LABELS, LINK, LOCAL_STORAGE_KEY_THEME_MODE, ListDisplayComponent, ListenResizeDirective, LoadAction, LocaleTransformPipe, MACHINE_API_GROUP, METADATA, MUTABLE_BASIC_OPTIONS, MUTABLE_MODULE, MarkedPipe, MaxLengthValidatorDirective, MaxValidatorDirective, MinLengthValidatorDirective, MinValidatorDirective, MinimumFormatPipe, MosaicComponent, MosaicLeftDirective, MosaicRightDirective, MultiSearchActionInputComponent, MultiSearchAdvanced, MultiSearchBasic, MultiSearchComponent, MutableDirective, NAME, NAMESPACE, NOTIFICATION_SERVER_NAME, NOTIFY_DURATION_HEADER, NOTIFY_ON_ERROR_HEADER, NOTIFY_ON_ERROR_HEADERS, NOT_NOTIFY_ON_ERROR_HEADERS, NUMBER_PATTERN, NamespaceBadgeComponent, NotBeValidatorDirective, NotificationUtilService, OAM_GROUP, OnResizeChangeService, OneOfValidatorDirective, OverviewBannerComponent, PACKAGE_RUNTIME_VALUE, PAGE_GUARD_MODULE, PLATFORM_OPS_MODE, PORT_PATTERN, POSITIVE_INT_PATTERN, POSITIVE_NUMBER_PATTERN, PREFIX_LABEL_CLASS, PROJECT, PUBLIC_NAMESPACE, PageGuardComponent, PageGuardContentDirective, PageGuardDescriptionDirective, PageGuardImageDirective, PageGuardOperationDirective, PageStateComponent, ParseJsonTranslatePipe, PasswordInputComponent, PluginClusterSelectorComponent, PodStatusColorMapper, PodStatusComponent, PodStatusEnum, PodStatusIconMapper, PreventClipboardDirective, PreventDirective, PreventHandler, ProductKey, REASON_MAP, RESOURCE_MAC_TYPES, RESOURCE_REQUIREMENT_KEYS, ReadonlyFieldDirective, Reason, RelativeTimeComponent, RequestPool, ResizeDirective, ResourceErrorInterceptor, ResourceLabelComponent, ResourceMultiSelectComponent, ResourceYamlDisplayComponent, ResourceYamlEditorComponent, SERVICE_PORT_BASE_PROTOCOLS, SERVICE_PORT_PROTOCOLS, SERVICE_SESSION_AFFINITIES, SERVICE_TYPES, SLASH, SPACE, SPEC, STATUS, STRATEGY_JUDGE_MAPPER, STRONG_PASSWORD_SPECIAL_CHARS, ScrollBorderObserverDirective, ScrollToFirstInvalidDirective, ScrollToFirstInvalidMarkerDirective, SearchItemComponent, SearchItemLabelDirective, SearchPanelComponent, SecretType, SelectPrefixLabelDirective, SpanComponent, StatusIconComponent, StopDirective, StringArrayFormTableComponent, StrongPasswordDirective, StrongPasswordTooltipComponent, TABLE_VIRTUAL_MODULE, TEMPLATE_OPTIONS, TIMEZONES, TIME_FORMAT, TOKEN_HELP_DOC_DATA, TRUE, TableCellDefDirective, TableComponent, TableCustomColumnsComponent, TableHeaderCellDefDirective, TableUtilService, TagsLabelComponent, TaintEffect, TerminatingTagComponent, TestTagComponent, TextEllipsisComponent, TextTooltipDirective, TextWithUrlComponent, ThemeTransformPipe, TimezoneDisplayPipe, TolerationOperator, TrimDirective, UNDERSCORE, UNITS, UNIT_REG, UPDATE, UPDATED_AT, UPDATED__AT, UpdateDescriptionDialogComponent, UpdateDisplayNameDialogComponent, UpdateKeyValueDialogComponent, UploadFileComponent, UserSecurityPolicyRule, UserState, VOLUME_SNAPSHOT_GROUP, ValidateRowDuplicateService, ValidatorsDirective, VolumeMode, VolumeModes, VolumeTypeEnum, WEEK_DAYS, WILDCARD, WORKSPACE_PARAMS, WRITABLE_METHODS, WorkloadKind, WorkloadStatusColorMapper, WorkloadStatusEnum, WorkloadStatusIconComponent, WorkloadStatusIconMapper, YamlUtilService, ZH_ERRORS, ZeroStateComponent, addUnitCoreM, addUnitGi, addUnitMi, appendImageHeader, atobWithFallback, buildImageAddress, buildUrl, checkValueExit, clearWindowsXtermTools, compareMinorVersion, compareVersion, copyValue, createNestedFormControl, cronValidator, cronValidatorBasic, dataTransfer, dateValueOf, defaultFilter, defaultSorter, emptyObjectRemoveRuleFactory, errorColor, extractListParamsFromRoute, extractPagedListParams, extractWorkspace, extractWorkspaceFromRoute, filterEmptyValue, filterTrees, findPath, firstPath, formatCPU, formatMemory, formatNumber, genControlDepsMap, getAppropriateMemory, getBaseHref, getCpu, getCronWeekDayNumbers, getDisabledState, getDisabledState$, getHelpDocUrl, getHostname, getJobStatus, getK8sResourceAnnotationErrorMapper, getK8sResourceAnnotationErrorMapper$, getK8sResourceLabelErrorMapper, getK8sResourceLabelErrorMapper$, getMemory, getPickerTimeRanges, getPodAggregatedStatus, getPodIPs, getPodStatus, getPrivateIP, getPrivateIPv4, getPrivateIPv6, getRelativePath, getResourceLimitAsyncValidatorFn, getResourceLimitValidatorFn, getResourceValue, getResourceViewModel, getToPath, getValidVersion, getWorkloadStatus, initGreaterValidator, isAbsoluteUrl, isB, isCronFieldCountCorrect, isCronWeekDayCorrect, isCronWeekDaysContinuous, isErrorMessage, isJsonObjectString, isK8sErrorStatus, isK8sResource, isL, isR, isSelectAll, isT, isValidRID, isValidWorkspace, k8sResourceAnnotationKeyValidator, k8sResourceAnnotationValidator, k8sResourceLabelKeyValidator, k8sResourceLabelValidator, k8sResourceLabelValueValidator, loadEnv, logsReadOptions, mapTrees, matchExpressionsToString, matchLabelsToString, maxParallelByHttpVersion, noShowRowError, normalizeParams, numToStr, parseDaemonSetStatus, parseDeploymentStatus, parseImageAddress, parseRID, parseStatefulSetStatus, parseToWorkloadStatus, parseUrlInText, parseValidImageName, parseValueAndUnit, parseVersion, parseWorkspace, prefixFilterRuleFactory, primaryColor, queryListParams, randomPassword, reduceTrees, removeDirtyFieldsBeforeUpdate, resourceUnits, rowBackgroundColorFn, safeAssign, scrollIntoView, setNode, setupErrorMapper, shortNum, sortByCreationTimestamp, stringToMatchLabels, stringifyRID, stringifyWorkspace, successColor, tableSort, tableSortAdvance, tagRenderDefault, toLowerFirstLetter, toNumber, toPercent, toPx, toUnitGi, toUnitI, toUnitMi, toUnitNum, toUnitNumM, trackByName, trackByUid, transferResource, versionRegex, warnColor, withLoadState, workspaceToPath, yamlFilterField };
|
|
6136
|
+
export type { APIResourceItem, APIResourceList, AccessTokenInfo, Affinity, AlaudaProductStatus, AnyArray, Arrayable, AsyncLoadState, AvailableResourceType, Callback, Certificate, Cluster, ClusterSpec, ClusterStatus, ClusterStatusCondition, ClusterStatusReason, CodeDisplayDialogData, Condition, ConfigMap, ConfigMapKeyRef, ConfigMapRef, ConfigMapVolumeSource, ConfigWithParams, ConfigWithRoute, ConfirmDeleteData, Container, ContainerPort, ContainerState, ContainerStateRunning, ContainerStateTerminated, ContainerStateWaiting, ContainerStatus, CronJob, CronJobSpec, CronJobStatus, CronWeekDay, CsiVolumeSource, Cursor, CursorX, CursorY, CustomResourceDefinition, CustomResourceDefinitionVersion, DaemonSet, DaemonSetSpec, DaemonSetStatus, DaemonSetUpdateStrategy, DaemonSetUpdateStrategyType, DataError, DataMapper, DataStateAdapter, DatePickerLocale, DateRangePickerModel, DefaultExtraMapper, DeleteResourceApi, Deployment, DeploymentSpec, DeploymentStatus, DeploymentStrategy, DeploymentStrategyType, DiffTimeUnit, DisabledResult, DragRange, EmptyDirVolumeSource, Encoding, EnvFromSource, EnvVar, EnvVarSource, Environments, EphemeralContainer, EphemeralVolumeSource, ErrorMapper, ErrorMapperInterface, ErrorsMapperFn, ExecAction, FeedbackNotificationConfig, FeedbackNotificationProps, FeedbackNotificationPropsWithEvents, FetchSeed, Fetcher, FileResult, FormatValue, GenericWorkloadStatus, GraphNode, HTTPGetAction, HTTPHeader, HTTPIngressPath, HTTPIngressRuleValue, HelmRequest, HelmRequestClusterSyncResult, HelmRequestClusterSyncResults, HelmRequestCondition, HelmRequestHttp, HelmRequestOci, HelmRequestSpec, HostAliases, HostPathVolumeSource, Idp, IfEqual, Ingress, IngressBackend, IngressLoadBalancerStatus, IngressRule, IngressSpec, IngressStatus, IngressTLS, InsertFn, ItemsScanner, JSONSchema6TypeName, Job, JobSpec, JobStatus, JobTemplateSpec, K8sEvent, K8sEventSeries, K8sEventSource, K8sYamlDisplayDialogData, KeyToPath, KeyValue, KeyValueTuple, Keys, KubernetesResource, KubernetesResourceList, KubernetesSubject, LabelSelector, LabelSelectorRequirement, LdapConfig, LdapGroupSearch, LdapUserSearch, LimitRange, LimitRangeItem, LimitRangeSpec, LimitType, ListFetchParams, ListParams, LiteralUnion, LoadBalancerIngress, LoadSnapshot, LoadState$1 as LoadState, LoaderConfig, LoaderConfigWithInterval, LocalObjectReference, LocaleDisplay, MatchValueFn, MultiSearchOption, MutableOptions, NameSpaceResourceRatio, Namespace, NamespaceStatus, Node, NodeAffinity, NodeAffinityTerm, NodeEdge, NodeID, NodeSelectorTerm, NodeStatus, NodeStatusReason, NodeStatusType, NodeTaint, NormalizedDefaultExtraMapper, NormalizedTableColumnActionExtra, NormalizedTableColumnActionExtraItem, NormalizedTableColumnDef, NotBeValue, NotificationHttpRequest, Nullable, ObjectFieldSelector, ObjectMeta, ObjectReference, ObservableType, OidcConfig, OneOfValue, OpenAPIV2Document, OpenAPIV3SchemaObject, OpenAPIV3SchemaObjects, Options, OriginX, OriginY, OverviewBannerOption, OwnerReference, PagedListConfig, Pagination, PersistentVolumeClaim, PersistentVolumeClaimDataSource, PersistentVolumeClaimSpec, PersistentVolumeClaimStatus, PersistentVolumeClaimVolumeSource, PickerTimeRange, Pod, PodAffinity, PodAffinityTerm, PodLifeCycle, PodLifeCycleHook, PodSpec, PodSpecAffinity, PodStatus, PodTemplateSpec, Point, Points, PreferredAffinity, Probe, ProductBase, ProductBaseSpec, ProductBaseStatus, ProductEntry, ProductEntrySpec, ProductEntryStatus, ProductStatus, ProductStatusCondition, Project, ProjectCluster, ProjectSpec, QueryDisabledFunc, Readonlyable, Rect, Rects, RequiredAffinity, ResizeCursor, ResizeEvent, ResourceAttributes, ResourceControl, ResourceFieldSelector, ResourceIdentifier, ResourceListParams, ResourceMacFormModal, ResourceMacKey, ResourceMacs, ResourcePatch, ResourceRequirementFormModal, ResourceRequirementKey, ResourceRequirementStrict, ResourceRequirements, RoleCustomRule, RoleRule, RoleTemplate, RoleTemplateSpec, RollingUpdateDaemonSet, RollingUpdateDeployment, RollingUpdateStatefulSetStrategy, SafeAssignOptions, SchemaBreadcrumb, SchemaProperty, ScopeSelector, ScopedResourceSelectorRequirement, SearchCondition, SearchConditionConfig, SearchConditionModel, SearchTagConfig, Secret, SecretKeyRef, SecretRef, SecretVolumeSource, SelfResourceAttributes, SelfSubjectAccessReview, SelfSubjectAccessReviewSpec, Service, ServicePort, ServicePortBaseProtocol, ServicePortProtocol, ServiceSessionAffinity, ServiceSpec, ServiceType, StatefulSet, StatefulSetSpec, StatefulSetStatus, StatefulSetUpdateStrategy, StatefulSetUpdateStrategyType, Status, StatusErrorResponse, StrategyFn, StreamListLoader, StreamListLoaderSnapshot, StringMap, SubjectAccessReview, SubjectAccessReviewSpec, SubjectAccessReviewStatus, TCPSocketAction, TableColumn, TableColumnActionConfig, TableColumnActionDisabledHandler, TableColumnActionExtra, TableColumnActionExtraItem, TableColumnActionTooltipHandler, TableColumnDef, TableColumnDefPath, TableColumnDefs, TableColumnNameExtra, TableColumnSort, TableColumnSortDirection, TableColumnSortHandler, TableColumnTranslateHandler, TableColumns, TableFilterFn, Text, Tls, Toleration, TransformAction, TransformState, Tree, TreeFilter, TreeMapper, TreeReducer, TypeMeta, UnaryObservableFunction, UntypedKubernetesResource, UpdateKeyValueDialogData, User, UserBinding, UserBindingSpec, UserGroup, UserGroupSpec, UserList, UserPolicy, UserPolicyRule, UserRole, UserRoleNamespace, UserSpec, ValueOf, VersionObject, Volume, VolumeMount, Watcher, WatcherParams, WebhookType, WeightedNodeAffinityTerm, WeightedPodAffinityTerm, WithLoadState, Workload, WorkloadStatus, Workspace, WorkspaceDetailParams, WorkspaceListParams, WritableMethod, YamlFilterItem };
|