@praxisui/dynamic-fields 6.0.0-beta.0 → 8.0.0-beta.0

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
@@ -974,6 +974,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
974
974
  protected matSelect: MatSelect | null;
975
975
  protected readonly global: GlobalConfigService;
976
976
  private dependencySub;
977
+ private remoteSelectionHydrationSub;
977
978
  private hasLoadedOnce;
978
979
  /** Options filtered according to the current `searchTerm` */
979
980
  readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
@@ -1116,6 +1117,10 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
1116
1117
  protected hasLoaded(): boolean;
1117
1118
  /** Setup effect to re-bind dependency observers when FormControl changes */
1118
1119
  private readonly _depEffect;
1120
+ /** Rebind hydration for remote selected values when FormControl changes */
1121
+ private readonly _remoteSelectionEffect;
1122
+ protected setupRemoteSelectionHydration(): void;
1123
+ private ensureCurrentValueLoaded;
1119
1124
  /** (Re)configure dependency observers based on metadata and current FormGroup */
1120
1125
  protected setupDependencies(): void;
1121
1126
  protected extractDependencyValue(raw: any, path?: string): any;
@@ -5007,7 +5012,13 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
5007
5012
  disabledMode: boolean;
5008
5013
  visible: boolean;
5009
5014
  presentationMode: boolean;
5015
+ private readonly allowedCharactersValidator;
5016
+ private readonly semanticPhoneValidator;
5010
5017
  ngOnInit(): void;
5018
+ writeValue(value: unknown): void;
5019
+ protected registerInputElement(el: HTMLElement): void;
5020
+ handleInput(event: Event): void;
5021
+ handleBlur(): void;
5011
5022
  validateField(): Promise<ValidationErrors | null>;
5012
5023
  protected getSpecificCssClasses(): string[];
5013
5024
  /** Applies strongly typed metadata to the component. */
@@ -5015,6 +5026,17 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
5015
5026
  errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
5016
5027
  isReadonlyEffective(): boolean;
5017
5028
  private metadataAsField;
5029
+ private phoneMetadata;
5030
+ private syncPhoneValidators;
5031
+ private validatePhoneControl;
5032
+ private isPhoneRuntimeEnabled;
5033
+ private resolveDefaultCountry;
5034
+ private resolveAllowedCountries;
5035
+ private resolvePhoneFormat;
5036
+ private resolveModelValue;
5037
+ private formatPhoneDisplayValue;
5038
+ private applyPhoneDisplayValue;
5039
+ private setNativeDisplayValue;
5018
5040
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
5019
5041
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PhoneInputComponent, "pdx-phone-input", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
5020
5042
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-fields",
3
- "version": "6.0.0-beta.0",
3
+ "version": "8.0.0-beta.0",
4
4
  "description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.0",
@@ -10,11 +10,12 @@
10
10
  "@angular/cdk": "^20.1.0",
11
11
  "@angular/router": "^20.1.0",
12
12
  "rxjs": "^7.8.0",
13
- "@praxisui/core": "^6.0.0-beta.0",
14
- "@praxisui/cron-builder": "^6.0.0-beta.0",
15
- "@praxisui/dialog": "^6.0.0-beta.0"
13
+ "@praxisui/core": "^8.0.0-beta.0",
14
+ "@praxisui/cron-builder": "^8.0.0-beta.0",
15
+ "@praxisui/dialog": "^8.0.0-beta.0"
16
16
  },
17
17
  "dependencies": {
18
+ "libphonenumber-js": "^1.12.41",
18
19
  "tslib": "^2.3.0"
19
20
  },
20
21
  "license": "Apache-2.0",