@bizdoc/core 3.5.2 → 3.5.3

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/index.d.ts CHANGED
@@ -1457,6 +1457,7 @@ interface FormComponent<TModel> extends ManagedComponent<TModel> {
1457
1457
  onMessage?<T = any>(obj: T): void;
1458
1458
  onNavigate?(page: number | string): void;
1459
1459
  onSave?(): Observable<boolean> | Promise<boolean> | boolean;
1460
+ onValidate?(): Observable<boolean> | Promise<boolean> | boolean;
1460
1461
  /**
1461
1462
  *
1462
1463
  * @param message
@@ -3956,7 +3957,8 @@ declare class ComposeFormComponent implements OnDestroy, OnInit, OnChanges {
3956
3957
  */
3957
3958
  save(feedback?: boolean): Observable<boolean>;
3958
3959
  flag(): void;
3959
- submit(): Observable<RecipientModel<any>>;
3960
+ submit(): Observable<boolean | RecipientModel<any>>;
3961
+ private _submit;
3960
3962
  back(): void;
3961
3963
  /**
3962
3964
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",