ui-core-abv 0.7.5 → 0.7.7

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.
@@ -35,6 +35,7 @@ export declare class UicDynamicFormComponent implements OnDestroy {
35
35
  cols: number;
36
36
  fileUidResolverFn?: (fileUid: string, fileName: string, fieldLabel: string) => void;
37
37
  selectOptionsResolver?: SelectOptionsResolver;
38
+ parentFormValues?: Record<string, any>;
38
39
  listeningField: string | null;
39
40
  readonly fieldStates: import("@angular/core").Signal<DynamicFieldState[]>;
40
41
  readonly visibleFieldStates: import("@angular/core").Signal<DynamicFieldState[]>;
@@ -74,6 +75,6 @@ export declare class UicDynamicFormComponent implements OnDestroy {
74
75
  private scheduleVoiceStop;
75
76
  voiceToText(target: HTMLTextAreaElement, fieldName: string): void;
76
77
  static ɵfac: i0.ɵɵFactoryDeclaration<UicDynamicFormComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<UicDynamicFormComponent, "ui-dynamic-form", never, { "fields": { "alias": "fields"; "required": false; }; "isSubForm": { "alias": "isSubForm"; "required": false; }; "form": { "alias": "form"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "voiceToTextSilenceMs": { "alias": "voiceToTextSilenceMs"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; "selectOptionsResolver": { "alias": "selectOptionsResolver"; "required": false; }; }, {}, never, never, true, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicDynamicFormComponent, "ui-dynamic-form", never, { "fields": { "alias": "fields"; "required": false; }; "isSubForm": { "alias": "isSubForm"; "required": false; }; "form": { "alias": "form"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "voiceToTextSilenceMs": { "alias": "voiceToTextSilenceMs"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; "selectOptionsResolver": { "alias": "selectOptionsResolver"; "required": false; }; "parentFormValues": { "alias": "parentFormValues"; "required": false; }; }, {}, never, never, true, never>;
78
79
  }
79
80
  export {};
@@ -63,6 +63,7 @@ export declare class UicFormWrapperComponent implements OnInit, OnChanges, OnDes
63
63
  private resolveRepeaterSubFieldOptionsSource;
64
64
  private updateRepeaterSubFieldOptionsState;
65
65
  private updateDependentOptionsSources;
66
+ private updateDependentRepeaterSubFieldOptionsSources;
66
67
  private resolveOptionsSourceField;
67
68
  private handleOptionsSourceError;
68
69
  private toObservable;
@@ -86,6 +87,7 @@ export declare class UicFormWrapperComponent implements OnInit, OnChanges, OnDes
86
87
  */
87
88
  private resolveComputedFields;
88
89
  private toComputedObservable;
90
+ private resolveRepeaterComputedFields;
89
91
  private collectAllFields;
90
92
  updateFieldValue(name: string, value: any): void;
91
93
  updateFieldConfig(name: string, config: Omit<FormField, 'name' | 'type'>): void;
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormArray, FormGroup } from '@angular/forms';
3
- import { FormField } from '../form.models';
3
+ import { FormField, SelectOptionsResolver } from '../form.models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class UicRepeaterComponent implements OnInit {
6
6
  private readonly fb;
@@ -9,6 +9,9 @@ export declare class UicRepeaterComponent implements OnInit {
9
9
  cols: number;
10
10
  error?: string;
11
11
  fileUidResolverFn?: (fileUid: string, fileName: string, fieldLabel: string) => void;
12
+ selectOptionsResolver?: SelectOptionsResolver;
13
+ parentForm?: FormGroup;
14
+ getParentFormValues(): Record<string, any>;
12
15
  ngOnInit(): void;
13
16
  getGroup(index: number): FormGroup;
14
17
  addGroup(): void;
@@ -18,5 +21,5 @@ export declare class UicRepeaterComponent implements OnInit {
18
21
  private mapValidatorsFromField;
19
22
  private getBlankValue;
20
23
  static ɵfac: i0.ɵɵFactoryDeclaration<UicRepeaterComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<UicRepeaterComponent, "ui-repeater", never, { "formArray": { "alias": "formArray"; "required": true; }; "field": { "alias": "field"; "required": true; }; "cols": { "alias": "cols"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; }, {}, never, never, true, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicRepeaterComponent, "ui-repeater", never, { "formArray": { "alias": "formArray"; "required": true; }; "field": { "alias": "field"; "required": true; }; "cols": { "alias": "cols"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; "selectOptionsResolver": { "alias": "selectOptionsResolver"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; }, {}, never, never, true, never>;
22
25
  }
@@ -18,6 +18,7 @@ export declare class UicExcelTableComponent {
18
18
  private formatHeader;
19
19
  private normalizeImportedCellValue;
20
20
  private isDateLikeCellFormat;
21
+ private isDateLikeText;
21
22
  private formatParsedDate;
22
23
  private formatDate;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<UicExcelTableComponent, never>;
@@ -12,11 +12,12 @@ export declare class BlockEditorComponent {
12
12
  parentCode: string;
13
13
  subField: EditableField;
14
14
  } | null>;
15
- selectedFieldId: string | null;
16
- selectedSubFieldCode: string | null;
15
+ selectedFieldId: import("@angular/core").InputSignal<string | null>;
16
+ selectedSubFieldCode: import("@angular/core").InputSignal<string | null>;
17
17
  visibilityParentFieldCodes: Set<string>;
18
18
  excludeSubFieldTypes: FieldType[];
19
19
  private expandedRepeaters;
20
+ constructor();
20
21
  isRepeaterExpanded(code: string): boolean;
21
22
  toggleRepeater(code: string, event: Event): void;
22
23
  isRepeaterParentSelected(field: EditableField): boolean;
@@ -36,5 +37,5 @@ export declare class BlockEditorComponent {
36
37
  isBlockVisibilityParent(): boolean;
37
38
  reorderFields(event: CdkDragDrop<EditableField[]>): void;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockEditorComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<BlockEditorComponent, "lib-block-editor", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; "selectedFieldId": { "alias": "selectedFieldId"; "required": false; }; "selectedSubFieldCode": { "alias": "selectedSubFieldCode"; "required": false; }; "visibilityParentFieldCodes": { "alias": "visibilityParentFieldCodes"; "required": false; }; }, { "blockChange": "blockChange"; "addFieldRequest": "addFieldRequest"; "deleteBlock": "deleteBlock"; "notifySelectedField": "notifySelectedField"; "notifySelectedSubField": "notifySelectedSubField"; }, never, never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockEditorComponent, "lib-block-editor", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; "selectedFieldId": { "alias": "selectedFieldId"; "required": false; "isSignal": true; }; "selectedSubFieldCode": { "alias": "selectedSubFieldCode"; "required": false; "isSignal": true; }; "visibilityParentFieldCodes": { "alias": "visibilityParentFieldCodes"; "required": false; }; }, { "blockChange": "blockChange"; "addFieldRequest": "addFieldRequest"; "deleteBlock": "deleteBlock"; "notifySelectedField": "notifySelectedField"; "notifySelectedSubField": "notifySelectedSubField"; }, never, never, true, never>;
40
41
  }
@@ -63,6 +63,7 @@ export declare class UicUserFormbuilderComponent {
63
63
  private resizeStartX;
64
64
  private resizeStartWidth;
65
65
  dependencyOptions: import("@angular/core").Signal<Record<string, AppSelectOption[]>>;
66
+ subFieldDependencyOptions: import("@angular/core").Signal<Record<string, AppSelectOption[]>>;
66
67
  constructor();
67
68
  addBlock(): void;
68
69
  deleteBlock(code: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-core-abv",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.2.0 <21.0.0",
6
6
  "@angular/core": ">=19.2.0 <21.0.0",