@alauda-fe/common 1.4.28-beta.2 → 1.4.28-beta.4
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/core/directives/scroll-to-first-invalid.directive.d.ts +1 -1
- package/esm2022/code/managed-fields-folder.util.mjs +21 -7
- package/esm2022/code/resource-yaml-display/component.mjs +12 -10
- package/esm2022/code/resource-yaml-editor/component.mjs +22 -18
- package/esm2022/code/yaml-sidebar/component.mjs +3 -3
- package/esm2022/exec/terminal-group/component.mjs +2 -2
- package/esm2022/multi-search/action-input/component.mjs +18 -18
- package/esm2022/multi-search/form/component.mjs +8 -12
- package/esm2022/multi-search/public-api.mjs +1 -2
- package/esm2022/multi-search/utils.mjs +2 -1
- package/esm2022/page-scaffold/navigation/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.component.mjs +6 -7
- package/esm2022/page-scaffold/page/notices/maintenance.component.mjs +22 -19
- package/esm2022/page-scaffold/page/notices/notice.component.mjs +13 -11
- package/esm2022/page-scaffold/page/page.module.mjs +9 -10
- package/esm2022/widget/foldable-item-in-table/component.mjs +2 -2
- package/esm2022/widget/status-icon/status-icon.component.mjs +5 -5
- package/esm2022/widget/terminating-tag/component.mjs +2 -2
- package/esm2022/widget/zero-state/zero-state.component.mjs +5 -6
- package/multi-search/action-input/component.d.ts +4 -4
- package/multi-search/form/component.d.ts +0 -1
- package/multi-search/public-api.d.ts +0 -1
- package/multi-search/utils.d.ts +1 -0
- package/package.json +1 -1
- package/page-scaffold/navigation/nav-menu/nav-menu.component.d.ts +2 -2
- package/page-scaffold/page/notices/maintenance.component.d.ts +9 -5
- package/page-scaffold/page/page.module.d.ts +5 -4
- package/table/component.d.ts +1 -1
- package/widget/status-icon/status-icon.component.d.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TooltipTrigger } from '@alauda/ui';
|
|
2
2
|
import { OnInit, OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { IframeConfigService } from '
|
|
5
|
-
import { PageComponent } from '
|
|
4
|
+
import { IframeConfigService } from '../../../iframe-config/public-api';
|
|
5
|
+
import { PageComponent } from '../../../page-scaffold/page/page.component';
|
|
6
6
|
import { NavGroupConfig, NavItemConfig } from './nav-menu.types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class NavMenuComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { DialogService } from '@alauda/ui';
|
|
2
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { K8sApiService } from '../../../api/k8s-api.service';
|
|
5
5
|
import { AuthorizationStateService } from '../../../authorization/state.service';
|
|
6
6
|
import { K8sPermissionService } from '../../../permission/public-api';
|
|
7
7
|
import { TranslateService } from '../../../translate/public-api';
|
|
8
|
-
import { NoticeComponent } from './notice.component';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class MaintenanceComponent {
|
|
11
|
-
readonly notice: NoticeComponent;
|
|
12
10
|
private readonly k8sApi;
|
|
13
11
|
private readonly k8sPermission;
|
|
14
12
|
private readonly translate;
|
|
@@ -16,11 +14,17 @@ export declare class MaintenanceComponent {
|
|
|
16
14
|
private readonly dialog;
|
|
17
15
|
maintenance: TemplateRef<any>;
|
|
18
16
|
announcement: TemplateRef<any>;
|
|
17
|
+
noticeOpen: EventEmitter<{
|
|
18
|
+
id: string;
|
|
19
|
+
content: string;
|
|
20
|
+
suffix?: TemplateRef<any>;
|
|
21
|
+
}>;
|
|
22
|
+
noticeClose: EventEmitter<string>;
|
|
19
23
|
isDevMode: boolean;
|
|
20
24
|
noticeId: string;
|
|
21
25
|
announcement$: BehaviorSubject<string>;
|
|
22
26
|
hasConfirm: boolean;
|
|
23
|
-
constructor(
|
|
27
|
+
constructor(k8sApi: K8sApiService, k8sPermission: K8sPermissionService, translate: TranslateService, auth: AuthorizationStateService, dialog: DialogService);
|
|
24
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceComponent, "acl-page-header-notice-maintenance", never, {}, {}, never, never, true, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceComponent, "acl-page-header-notice-maintenance", never, {}, { "noticeOpen": "noticeOpen"; "noticeClose": "noticeClose"; }, never, never, true, never>;
|
|
26
30
|
}
|
|
@@ -4,11 +4,12 @@ import * as i2 from "./helper-directives";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@alauda/ui";
|
|
6
6
|
import * as i5 from "../../skeleton/module";
|
|
7
|
-
import * as i6 from "../../translate/translate.
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
7
|
+
import * as i6 from "../../translate/translate.pipe";
|
|
8
|
+
import * as i7 from "../../translate/translate.directive";
|
|
9
|
+
import * as i8 from "./notices/notice.component";
|
|
10
|
+
import * as i9 from "@angular/cdk/overlay";
|
|
10
11
|
export declare class PageModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PageModule, [typeof i1.PageComponent, typeof i2.PageHeaderDirective, typeof i2.PageContentDirective, typeof i2.PageSiderDirective, typeof i2.PageToolbarDirective], [typeof i3.CommonModule, typeof i4.IconModule, typeof i5.SkeletonModule, typeof i4.InlineAlertModule, typeof i6.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageModule, [typeof i1.PageComponent, typeof i2.PageHeaderDirective, typeof i2.PageContentDirective, typeof i2.PageSiderDirective, typeof i2.PageToolbarDirective], [typeof i3.CommonModule, typeof i4.IconModule, typeof i5.SkeletonModule, typeof i4.InlineAlertModule, typeof i6.TranslatePipe, typeof i7.TranslateDirective, typeof i7.TranslateMatchDirective, typeof i7.TranslateTextDirective, typeof i8.NoticeComponent, typeof i9.CdkScrollable], [typeof i1.PageComponent, typeof i2.PageHeaderDirective, typeof i2.PageContentDirective, typeof i2.PageSiderDirective, typeof i2.PageToolbarDirective]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<PageModule>;
|
|
14
15
|
}
|
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[]>;
|