ngx-rs-ant 1.2.0 → 1.2.2
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/box-container/box-container.component.d.ts +6 -2
- package/box-container/box-item/box-item.component.d.ts +0 -3
- package/esm2020/box-container/box-container.component.mjs +17 -2
- package/esm2020/box-container/box-item/box-item.component.mjs +2 -5
- package/esm2020/form/form.component.mjs +25 -10
- package/esm2020/java-editor/java-editor.component.mjs +10 -27
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/util/change-filter.mjs +63 -0
- package/fesm2015/ngx-rs-ant.mjs +112 -40
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +112 -43
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/form/form.component.d.ts +8 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/util/change-filter.d.ts +12 -0
package/form/form.component.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormService } from "./form.service";
|
|
3
3
|
import { DxButtonComponent, DxValidationGroupComponent } from "devextreme-angular";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FormComponent implements OnInit {
|
|
5
|
+
export declare class FormComponent implements OnInit, OnChanges, OnDestroy {
|
|
6
|
+
protected viewContainerRef: ViewContainerRef;
|
|
6
7
|
private service;
|
|
7
8
|
tenant: any;
|
|
8
9
|
className: any;
|
|
@@ -16,12 +17,15 @@ export declare class FormComponent implements OnInit {
|
|
|
16
17
|
formSubmitter: DxButtonComponent;
|
|
17
18
|
submitCallback: EventEmitter<any>;
|
|
18
19
|
loading: boolean;
|
|
19
|
-
|
|
20
|
+
private changeFilter;
|
|
21
|
+
constructor(viewContainerRef: ViewContainerRef, service: FormService);
|
|
20
22
|
ngOnInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
load(): void;
|
|
21
26
|
protected submitForm(): void;
|
|
22
27
|
validate(): Promise<boolean>;
|
|
23
28
|
submit(): void;
|
|
24
|
-
protected readonly window: Window & typeof globalThis;
|
|
25
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
26
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "rs-form", never, { "tenant": "tenant"; "className": "className"; "oid": "oid"; "copyOid": "copyOid"; "template": "template"; "readonly": "readonly"; }, { "submitCallback": "submitCallback"; }, never, never, false, never>;
|
|
27
31
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './java-editor/java-editor.module';
|
|
|
27
27
|
export * from './modal/modal.component';
|
|
28
28
|
export * from './modal/modal.module';
|
|
29
29
|
export * from './modal/modal.service';
|
|
30
|
+
export * from './util/change-filter';
|
|
30
31
|
export * from './util/utils';
|
|
31
32
|
export * from './websocket/websocket.module';
|
|
32
33
|
export * from './websocket/websocket.service';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SimpleChanges } from "@angular/core";
|
|
2
|
+
export declare class ChangeFilter {
|
|
3
|
+
private subject;
|
|
4
|
+
private subscriptions;
|
|
5
|
+
doFilter(changes: SimpleChanges): void;
|
|
6
|
+
dispose(): void;
|
|
7
|
+
notEmpty<T>(key: string, handler: (t: T) => void): void;
|
|
8
|
+
has<T>(key: string, handler: (t: T) => void): void;
|
|
9
|
+
notFirst<T>(key: string, handler: (t: T) => void): void;
|
|
10
|
+
notFirstAndEmpty<T>(key: string, handler: (t: T) => void): void;
|
|
11
|
+
anyNotFirst(keys: string[], handler: () => void): void;
|
|
12
|
+
}
|