ngx-smz-ui 17.2.20 → 17.2.21

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.
@@ -14,7 +14,7 @@ export declare class SmzFormBuilder<TResponse> {
14
14
  disableFlattenResponse(): SmzFormBuilder<TResponse>;
15
15
  runCustomFunctionsOnLoad(): SmzFormBuilder<TResponse>;
16
16
  setCustomBehavior(callback: (data: SmzFormsResponse<TResponse>, config: SmzForm<TResponse>, form: UntypedFormGroup, outputEvents: {}) => void): SmzFormBuilder<TResponse>;
17
- withResponseSeparator(separator: string): SmzFormBuilder<TResponse>;
17
+ withNestedResponseKeySeparator(separator: string): SmzFormBuilder<TResponse>;
18
18
  applyValues(...values: {
19
19
  propertyName: string;
20
20
  value: any;
@@ -45,7 +45,8 @@ export declare function every(input: any, predicate: CollectionPredicate): any;
45
45
  export declare function takeUntil(input: any[], predicate: CollectionPredicate): any;
46
46
  export declare function takeWhile(input: any[], predicate: CollectionPredicate): any;
47
47
  export declare function replaceAll(string: any, search: any, replace: any): any;
48
- export declare function createObjectFromString(str: any, value: any, separator?: string): {};
48
+ export declare function createObjectFromString(str: string, value: any, separator?: string, debug?: boolean): any;
49
+ export declare function deepMerge(target: any, source: any): any;
49
50
  export declare function replaceItem<T>(items: T[], newItem: T): T[];
50
51
  export declare function uuidv4(): string;
51
52
  export declare function capitalizeFirstLetter(value: string, charsLimit?: number): string;
@@ -12,7 +12,7 @@ export interface SmzFormsBehaviorsConfig {
12
12
  submitOnEnter?: boolean;
13
13
  updateOn?: 'blur' | 'change' | 'submit';
14
14
  showMultipleErrorMessages?: boolean;
15
- splitResponseBySeparator?: string;
15
+ nestedResponseKeySeparator?: string;
16
16
  }
17
17
  export type ShowErrorsMethodTypes = 'touched' | 'pristine' | 'dirty';
18
18
  export interface SmzFormsBehaviorsFunctions<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-smz-ui",
3
- "version": "17.2.20",
3
+ "version": "17.2.21",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.0.0",
6
6
  "@angular/cdk": "^17.0.0",