@osovitny/anatoly 3.16.82 → 3.16.84

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.
@@ -6,18 +6,15 @@ export declare class UrlSlugComponent extends EditComponentBase implements OnIni
6
6
  hrefGo: string;
7
7
  title: string;
8
8
  isTitleVisible: boolean;
9
- class: string;
10
- watchedControlName: string;
11
9
  urlPrefix: string;
12
10
  isGoButtonVisible: boolean;
13
- formControlName: string;
14
- formControlTitle: string;
11
+ controlName: string;
12
+ watchedControlName: string;
15
13
  generating: EventEmitter<any>;
16
- constructor();
17
14
  ngOnInit(): void;
18
15
  private generateUrlSlug;
19
16
  private startWatching;
20
17
  onUrlSlugChange(): void;
21
18
  static ɵfac: i0.ɵɵFactoryDeclaration<UrlSlugComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<UrlSlugComponent, "anatoly-forms-urlslug", never, { "title": { "alias": "title"; "required": false; }; "isTitleVisible": { "alias": "isTitleVisible"; "required": false; }; "class": { "alias": "class"; "required": false; }; "watchedControlName": { "alias": "watchedControlName"; "required": false; }; "urlPrefix": { "alias": "urlPrefix"; "required": false; }; "isGoButtonVisible": { "alias": "isGoButtonVisible"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "formControlTitle": { "alias": "formControlTitle"; "required": false; }; }, { "generating": "generating"; }, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<UrlSlugComponent, "anatoly-forms-urlslug", never, { "title": { "alias": "title"; "required": false; }; "isTitleVisible": { "alias": "isTitleVisible"; "required": false; }; "urlPrefix": { "alias": "urlPrefix"; "required": false; }; "isGoButtonVisible": { "alias": "isGoButtonVisible"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "watchedControlName": { "alias": "watchedControlName"; "required": false; }; }, { "generating": "generating"; }, never, never, false, never>;
23
20
  }
@@ -1,8 +1,7 @@
1
1
  import { ValidationSummaryComponent } from "./validation-summary.component";
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ItemValidationSummaryComponent extends ValidationSummaryComponent {
4
- formControlName: string;
5
- formControlTitle: string;
4
+ controlName: string;
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<ItemValidationSummaryComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ItemValidationSummaryComponent, "anatoly-item-validation-summary", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "formControlTitle": { "alias": "formControlTitle"; "required": false; }; }, {}, never, never, false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItemValidationSummaryComponent, "anatoly-item-validation-summary", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never, false, never>;
8
7
  }
@@ -2,23 +2,10 @@ import { EditComponentBase } from "../components/base/components/edit.component"
2
2
  import * as i0 from "@angular/core";
3
3
  export declare abstract class ValidationSummaryComponent extends EditComponentBase {
4
4
  constructor();
5
+ private getControlTitle;
6
+ private getTitleAttribute;
5
7
  getFormValidationMessages(): string[];
6
- getValidationMessages(state: any, thingName?: string): string[];
7
- /**
8
- * Get Control Name
9
- * @param control
10
- * @param thingName
11
- */
12
- getControlName(control: any, thingName?: string): string;
13
- /**
14
- * Retrieve tilte of control
15
- * @param control
16
- */
17
- getControlTitle(control: any): string;
18
- /**
19
- * Return title attribute of form control
20
- */
21
- getTitleAttribute(nativeElement: HTMLFormElement): string;
8
+ getValidationMessages(control: any, title?: string): string[];
22
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ValidationSummaryComponent, never>;
23
10
  static ɵcmp: i0.ɵɵComponentDeclaration<ValidationSummaryComponent, "ng-component", never, {}, {}, never, never, false, never>;
24
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.16.82",
3
+ "version": "3.16.84",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "16.2.7",
6
6
  "@angular/core": "16.2.7",