@maro-tech/form 0.0.10 → 0.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maro-tech/form",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.2.0",
@@ -310,6 +310,9 @@ interface MaroFormViewAction extends UiDynamicFormFieldAction {
310
310
  redirectTo?: string;
311
311
  }
312
312
  interface MaroFormViewResponse {
313
+ meta?: {
314
+ title?: string;
315
+ };
313
316
  title?: string;
314
317
  api?: string;
315
318
  defaults?: Record<string, unknown>;
@@ -347,7 +350,7 @@ declare class UiActionFormModalComponent implements OnChanges {
347
350
  ngOnChanges(changes: SimpleChanges): void;
348
351
  close(): void;
349
352
  onValueChange(value: UiDynamicFormValue): void;
350
- onLookupCompleted(_event: {
353
+ onLookupCompleted(event: {
351
354
  fieldId: string;
352
355
  response: Record<string, unknown>;
353
356
  }): void;
@@ -359,9 +362,12 @@ declare class UiActionFormModalComponent implements OnChanges {
359
362
  confirm(): void;
360
363
  private loadForm;
361
364
  private resolveEndpoint;
365
+ private normalizeActionType;
366
+ private isSubmitAction;
362
367
  private resolveMethod;
363
368
  private extractData;
364
369
  private navigateAfterSubmit;
370
+ private resolveTemplate;
365
371
  static ɵfac: i0.ɵɵFactoryDeclaration<UiActionFormModalComponent, never>;
366
372
  static ɵcmp: i0.ɵɵComponentDeclaration<UiActionFormModalComponent, "forms-action-form-modal", never, { "formId": { "alias": "formId"; "required": false; "isSignal": true; }; "recordId": { "alias": "recordId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "initialValue": { "alias": "initialValue"; "required": false; "isSignal": true; }; "uploadPhoto": { "alias": "uploadPhoto"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "completed": "completed"; }, never, never, true, never>;
367
373
  }