@alauda-fe/common 1.4.29-beta.0 → 1.4.29-beta.1
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/array-form-table/form/component.d.ts +1 -1
- package/chart/common/series/bar-path.component.d.ts +1 -1
- package/chart/common/tooltip/tooltip.component.d.ts +1 -1
- package/core/abstract/base-nested-form-control.d.ts +1 -1
- package/core/directives/scroll-to-first-invalid.directive.d.ts +1 -1
- package/core/services/feature-gate.service.d.ts +1 -1
- package/core/utils/version.d.ts +1 -1
- package/package.json +25 -24
- package/table/component.d.ts +1 -1
- package/table/helper.d.ts +1 -1
- package/view-chart/view-chart.component.d.ts +1 -1
|
@@ -83,7 +83,7 @@ export declare class ArrayFormTableComponent implements OnDestroy {
|
|
|
83
83
|
addDisabled: boolean | '';
|
|
84
84
|
actionColumnDivider: boolean | '';
|
|
85
85
|
showZeroState: boolean;
|
|
86
|
-
get formDirective():
|
|
86
|
+
get formDirective(): FormGroupDirective | NgForm;
|
|
87
87
|
/**
|
|
88
88
|
* 自定义是否展示错误内容
|
|
89
89
|
* 例如 control 是 FormGroup,只有在内部子 control 错误时才需要展示错误内容
|
|
@@ -40,7 +40,7 @@ export declare class BarPathComponent implements OnInit {
|
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
getRectY: (index: number, y: number) => number;
|
|
42
42
|
getStackedRectY: (index: number) => number;
|
|
43
|
-
handleVisibility: (name: string) => "
|
|
43
|
+
handleVisibility: (name: string) => "" | "hidden";
|
|
44
44
|
handleOpacity: (name: string | number | Date, activateLegend: string) => 1 | 0.2;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarPathComponent, never>;
|
|
46
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<BarPathComponent, "g[aclBarPath]", never, { "stroke": { "alias": "stroke"; "required": false; }; "data": { "alias": "data"; "required": false; }; "barPadding": { "alias": "barPadding"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "bandWidth": { "alias": "bandWidth"; "required": false; }; "adaptiveBandWidth": { "alias": "adaptiveBandWidth"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -55,7 +55,7 @@ export declare class ChartTooltipComponent implements OnInit, OnDestroy {
|
|
|
55
55
|
activeLegend: string;
|
|
56
56
|
get typeStandard(): boolean;
|
|
57
57
|
get isBand(): boolean;
|
|
58
|
-
get anchorVisibility(): "
|
|
58
|
+
get anchorVisibility(): "" | "hidden";
|
|
59
59
|
get groupPosition(): {
|
|
60
60
|
x1: number;
|
|
61
61
|
x2: number;
|
|
@@ -21,7 +21,7 @@ export declare class BaseNestedFormControl<V, M = V> implements AfterViewInit, O
|
|
|
21
21
|
protected asyncValidator: boolean;
|
|
22
22
|
protected cdr: ChangeDetectorRef;
|
|
23
23
|
protected destroy$$: Subject<void>;
|
|
24
|
-
protected hostForm:
|
|
24
|
+
protected hostForm: FormGroupDirective | NgForm;
|
|
25
25
|
constructor();
|
|
26
26
|
ngAfterViewInit(): void;
|
|
27
27
|
ngOnDestroy(): void;
|
|
@@ -13,7 +13,7 @@ export declare class ScrollToFirstInvalidDirective {
|
|
|
13
13
|
private readonly cdkScrollable;
|
|
14
14
|
labelOffset: number;
|
|
15
15
|
aclScrollToFirstInvalid: boolean | '';
|
|
16
|
-
get containerEl(): (Window & typeof globalThis)
|
|
16
|
+
get containerEl(): HTMLElement | (Window & typeof globalThis);
|
|
17
17
|
onSubmit(): void;
|
|
18
18
|
constructor(elRef: ElementRef<HTMLElement>, controlContainer: ControlContainer, cdkScrollable: CdkScrollable);
|
|
19
19
|
scrollToFirstInvalid(): void;
|
|
@@ -9,7 +9,7 @@ export declare class FeatureGateService {
|
|
|
9
9
|
private readonly http;
|
|
10
10
|
private readonly cacheStore;
|
|
11
11
|
constructor(http: HttpClient);
|
|
12
|
-
loadState(cluster?: string): Observable<"
|
|
12
|
+
loadState(cluster?: string): Observable<"loaded" | "loadFailed" | "loading">;
|
|
13
13
|
/**
|
|
14
14
|
* check gate status
|
|
15
15
|
* @param gate - specified feature gate
|
package/core/utils/version.d.ts
CHANGED
|
@@ -36,4 +36,4 @@ export declare const compareVersion: {
|
|
|
36
36
|
gte: (v1: string, v2: string) => boolean;
|
|
37
37
|
cmp: (v1: string, v2: string, operator: CompareOperator) => boolean;
|
|
38
38
|
};
|
|
39
|
-
export declare const compareMinorVersion: (v1: string, v2: string) =>
|
|
39
|
+
export declare const compareMinorVersion: (v1: string, v2: string) => 0 | 1 | -1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda-fe/common",
|
|
3
|
-
"version": "1.4.29-beta.
|
|
3
|
+
"version": "1.4.29-beta.1",
|
|
4
4
|
"description": "Alauda frontend team common codes.",
|
|
5
5
|
"author": "Alauda Frontend",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,43 +13,44 @@
|
|
|
13
13
|
],
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@alauda-fe/i18n": "1.0.4",
|
|
16
|
-
"@alauda/chart": "^0.1.
|
|
17
|
-
"@alauda/code-editor": "^5.
|
|
18
|
-
"@alauda/ui": "^
|
|
19
|
-
"@angular/animations": "^
|
|
20
|
-
"@angular/cdk": "^
|
|
21
|
-
"@angular/common": "^
|
|
22
|
-
"@angular/compiler": "^
|
|
23
|
-
"@angular/core": "^
|
|
24
|
-
"@angular/forms": "^
|
|
25
|
-
"@angular/platform-browser": "^
|
|
26
|
-
"@angular/platform-browser-dynamic": "^
|
|
27
|
-
"@angular/router": "^
|
|
28
|
-
"ab64": "^0.1.1",
|
|
29
|
-
"compare-versions": "^6.1.0",
|
|
30
|
-
"cron-parser": "^4.9.0",
|
|
16
|
+
"@alauda/chart": "^0.1.13",
|
|
17
|
+
"@alauda/code-editor": "^5.3.0",
|
|
18
|
+
"@alauda/ui": "^9.1.0",
|
|
19
|
+
"@angular/animations": "^18.1.1",
|
|
20
|
+
"@angular/cdk": "^18.1.1",
|
|
21
|
+
"@angular/common": "^18.1.1",
|
|
22
|
+
"@angular/compiler": "^18.1.1",
|
|
23
|
+
"@angular/core": "^18.1.1",
|
|
24
|
+
"@angular/forms": "^18.1.1",
|
|
25
|
+
"@angular/platform-browser": "^18.1.1",
|
|
26
|
+
"@angular/platform-browser-dynamic": "^18.1.1",
|
|
27
|
+
"@angular/router": "^18.1.1",
|
|
31
28
|
"d3": "^7.8.5",
|
|
32
29
|
"dayjs": "^1.11.9",
|
|
33
30
|
"lodash-es": "^4.17.21",
|
|
34
|
-
"lottie-web": "^5.12.2",
|
|
35
|
-
"marked": "^7.0.5",
|
|
36
31
|
"monaco-editor": "^0.39.0",
|
|
37
|
-
"ng-monaco-editor": "^5.1.
|
|
32
|
+
"ng-monaco-editor": "^5.1.1",
|
|
38
33
|
"ng-resource-form-util": "^6.1.0",
|
|
39
34
|
"ramda": "^0.29.0",
|
|
40
35
|
"rxjs": "^7.8.1",
|
|
36
|
+
"zone.js": "^0.14.8"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"ab64": "^0.1.1",
|
|
40
|
+
"compare-versions": "^6.1.0",
|
|
41
|
+
"cron-parser": "^4.9.0",
|
|
42
|
+
"intl-messageformat": "^10.7.16",
|
|
43
|
+
"lottie-web": "^5.12.2",
|
|
44
|
+
"marked": "^7.0.5",
|
|
41
45
|
"ts-md5": "^1.3.1",
|
|
46
|
+
"tslib": "^2.6.2",
|
|
42
47
|
"xterm": "^5.2.1",
|
|
43
48
|
"xterm-addon-canvas": "^0.4.0",
|
|
44
49
|
"xterm-addon-fit": "^0.7.0",
|
|
45
50
|
"xterm-addon-search": "^0.12.0",
|
|
46
51
|
"xterm-addon-web-links": "^0.8.0",
|
|
47
52
|
"xterm-addon-webgl": "^0.15.0",
|
|
48
|
-
"yaml": "^2.3.2"
|
|
49
|
-
"zone.js": "^0.13.1"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"tslib": "^2.6.2"
|
|
53
|
+
"yaml": "^2.3.2"
|
|
53
54
|
},
|
|
54
55
|
"sideEffects": false,
|
|
55
56
|
"module": "esm2022/alauda-fe-common.mjs",
|
package/table/component.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class TableComponent<Item extends object, Context = TableUtilServ
|
|
|
52
52
|
finalDataSource$: Observable<Item[]>;
|
|
53
53
|
finalResourceName$: Observable<string>;
|
|
54
54
|
columnDefs$: Observable<TableColumnDefs<Item, Context>>;
|
|
55
|
-
columnNames$: Observable<import("@alauda-fe/common").LiteralUnion<"
|
|
55
|
+
columnNames$: Observable<import("@alauda-fe/common").LiteralUnion<"action" | "name", string>[]>;
|
|
56
56
|
activeSort$$: ReplaySubject<Sort>;
|
|
57
57
|
activeSort$: Observable<Sort>;
|
|
58
58
|
filteredItems$: Observable<Item[]>;
|
package/table/helper.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function defaultFilter<T extends string | number>(value: T, filterValue: T, _item: unknown, name: string): boolean;
|
|
2
|
-
export declare function defaultSorter<T>(a: T, b: T):
|
|
2
|
+
export declare function defaultSorter<T>(a: T, b: T): 0 | 1 | -1;
|
|
@@ -146,7 +146,7 @@ export declare class ViewChartComponent implements OnChanges, AfterViewInit, OnD
|
|
|
146
146
|
get scaleType(): ScaleType;
|
|
147
147
|
get isScaleTime(): boolean;
|
|
148
148
|
get options(): ViewOptions;
|
|
149
|
-
get tooltipTriggerType(): "
|
|
149
|
+
get tooltipTriggerType(): "item" | "none" | "axis";
|
|
150
150
|
getTriggerType(): "none" | "axis" | "item";
|
|
151
151
|
constructor(componentFactoryResolver: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef, translate: TranslateService, cdr: ChangeDetectorRef, viewContainerRef: ViewContainerRef);
|
|
152
152
|
ngOnChanges({ enableZoom }: SimpleChanges): void;
|