rd-outer-component 0.0.22 → 0.0.24
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/esm2020/lib/modules/custom-pagination/paginator.component.mjs +2 -2
- package/esm2020/lib/modules/header-step/header-step.component.mjs +41 -0
- package/esm2020/lib/modules/header-step/header-step.module.mjs +18 -0
- package/esm2020/lib/modules/header-step/index.mjs +3 -0
- package/esm2020/lib/modules/rd-notification/index.mjs +3 -0
- package/esm2020/lib/modules/rd-notification/notification.component.mjs +57 -0
- package/esm2020/lib/modules/rd-notification/notification.module.mjs +19 -0
- package/esm2020/lib/modules/rd-notification/notification.service.mjs +38 -0
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/rd-outer-component.mjs +124 -3
- package/fesm2015/rd-outer-component.mjs.map +1 -1
- package/fesm2020/rd-outer-component.mjs +123 -3
- package/fesm2020/rd-outer-component.mjs.map +1 -1
- package/lib/modules/header-step/header-step.component.d.ts +13 -0
- package/lib/modules/header-step/header-step.module.d.ts +8 -0
- package/lib/modules/header-step/index.d.ts +2 -0
- package/lib/modules/rd-notification/index.d.ts +2 -0
- package/lib/modules/rd-notification/notification.component.d.ts +17 -0
- package/lib/modules/rd-notification/notification.module.d.ts +10 -0
- package/lib/modules/rd-notification/notification.service.d.ts +23 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HeaderStepComponent {
|
|
4
|
+
step: number;
|
|
5
|
+
stepArr: string[];
|
|
6
|
+
stepChange: EventEmitter<number>;
|
|
7
|
+
onClose: EventEmitter<any>;
|
|
8
|
+
onClickBack(): void;
|
|
9
|
+
onClickStep(step: number): void;
|
|
10
|
+
close(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderStepComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderStepComponent, "app-rd-header-step", never, { "step": "step"; "stepArr": "stepArr"; }, { "stepChange": "stepChange"; "onClose": "onClose"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./header-step.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class RdHeaderStepModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdHeaderStepModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdHeaderStepModule, [typeof i1.HeaderStepComponent], [typeof i2.CommonModule], [typeof i1.HeaderStepComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdHeaderStepModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NzNotificationService } from 'ng-zorro-antd/notification';
|
|
2
|
+
import { IData } from './notification.service';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RdNotificationComponent {
|
|
6
|
+
private notificationService;
|
|
7
|
+
private sanitizer;
|
|
8
|
+
private notificationTpl;
|
|
9
|
+
private closeTpl;
|
|
10
|
+
private notification;
|
|
11
|
+
constructor(notificationService: NzNotificationService, sanitizer: DomSanitizer);
|
|
12
|
+
showNotification(data: IData): void;
|
|
13
|
+
getDesc(desc: string): import("@angular/platform-browser").SafeHtml;
|
|
14
|
+
onClick(data: IData): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdNotificationComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdNotificationComponent, "app-rd-notification", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./notification.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class RdNotificationModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdNotificationModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdNotificationModule, [typeof i1.RdNotificationComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdNotificationModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ApplicationRef, Injector } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface IData {
|
|
4
|
+
title: string;
|
|
5
|
+
desc: string;
|
|
6
|
+
actionDesc?: string;
|
|
7
|
+
duration?: number;
|
|
8
|
+
type: 'success' | 'warn' | 'error';
|
|
9
|
+
onLinkClick: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare class NotificationService {
|
|
12
|
+
private applicationRef;
|
|
13
|
+
private injector;
|
|
14
|
+
private notificationComponent?;
|
|
15
|
+
constructor(applicationRef: ApplicationRef, injector: Injector);
|
|
16
|
+
private createNotificationComponent;
|
|
17
|
+
/**
|
|
18
|
+
* 显示通知
|
|
19
|
+
*/
|
|
20
|
+
show(data: IData): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
23
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './lib/modules/custom-select';
|
|
|
8
8
|
export * from './lib/modules/custom-filter';
|
|
9
9
|
export * from './lib/modules/custom-pagination';
|
|
10
10
|
export * from './lib/modules/status-field';
|
|
11
|
+
export * from './lib/modules/header-step';
|
|
12
|
+
export * from './lib/modules/rd-notification';
|
|
11
13
|
export * from './lib/pipes';
|
|
12
14
|
export * from './lib/decorators';
|
|
13
15
|
export * from './lib/utils/debounce';
|