@energycap/components 0.39.16-ECAP-23123-Help-Popover-On-Controls.20240513-1405 → 0.39.16-ECAP-23123-Help-Popover-On-Controls.20240513-1533

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.
@@ -3,6 +3,7 @@ import { AbstractControl } from "@angular/forms";
3
3
  import { Subject } from "rxjs";
4
4
  import { ValidationMessageService } from "../core/validation-message.service";
5
5
  import { FormGroupHelper } from '../shared/form-group.helper';
6
+ import { PopoverContentPosition } from './popover/popover.component';
6
7
  import * as i0 from "@angular/core";
7
8
  export type ControlLabelPosition = "top" | "bottom" | "left";
8
9
  /**
@@ -58,6 +59,10 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
58
59
  * Conditionally show a help popover next to the controls label.
59
60
  */
60
61
  helpPopover?: string;
62
+ /**
63
+ * When a help popover is present, allows the popover to be positioned in different locations.
64
+ */
65
+ helpPopoverPosition?: PopoverContentPosition;
61
66
  /**
62
67
  * All current validation errors
63
68
  */
@@ -101,5 +106,5 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
101
106
  */
102
107
  protected translateValidationMessages(data?: any): Promise<void>;
103
108
  static ɵfac: i0.ɵɵFactoryDeclaration<FormControlBase, never>;
104
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlBase, never, never, { "autofocus": "autofocus"; "formModel": "formModel"; "label": "label"; "labelPosition": "labelPosition"; "id": "id"; "pending": "pending"; "required": "required"; "tabindex": "tabindex"; "readonly": "readonly"; "tooltip": "tooltip"; "helpPopover": "helpPopover"; }, {}, never, never, false, never>;
109
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlBase, never, never, { "autofocus": "autofocus"; "formModel": "formModel"; "label": "label"; "labelPosition": "labelPosition"; "id": "id"; "pending": "pending"; "required": "required"; "tabindex": "tabindex"; "readonly": "readonly"; "tooltip": "tooltip"; "helpPopover": "helpPopover"; "helpPopoverPosition": "helpPopoverPosition"; }, {}, never, never, false, never>;
105
110
  }
@@ -3,6 +3,7 @@ import { UntypedFormGroup, UntypedFormArray, AbstractControl } from "@angular/fo
3
3
  import { TranslateService } from "@ngx-translate/core";
4
4
  import { ValidationMessageService } from "../../core/validation-message.service";
5
5
  import { ControlLabelPosition } from "../form-control-base";
6
+ import { PopoverContentPosition } from "../popover/popover.component";
6
7
  import * as i0 from "@angular/core";
7
8
  /** Function to iterate over form controls and
8
9
  * ensure they contain unique values. If any are duplicated all offending
@@ -65,6 +66,10 @@ export declare class FormGroupComponent implements OnInit {
65
66
  * Conditionally show a help popover next to the controls label.
66
67
  */
67
68
  helpPopover?: string;
69
+ /**
70
+ * When a help popover is present, allows the popover to be positioned in different locations.
71
+ */
72
+ helpPopoverPosition?: PopoverContentPosition;
68
73
  /**
69
74
  * All current validation errors
70
75
  *
@@ -96,5 +101,5 @@ export declare class FormGroupComponent implements OnInit {
96
101
  */
97
102
  private translateValidationMessages;
98
103
  static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
99
- static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ec-form-group", never, { "id": "id"; "label": "label"; "formGroup": "formGroup"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; "helpPopover": "helpPopover"; }, {}, never, ["*"], false, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ec-form-group", never, { "id": "id"; "label": "label"; "formGroup": "formGroup"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; "helpPopover": "helpPopover"; "helpPopoverPosition": "helpPopoverPosition"; }, {}, never, ["*"], false, never>;
100
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.39.16-ECAP-23123-Help-Popover-On-Controls.20240513-1405",
3
+ "version": "0.39.16-ECAP-23123-Help-Popover-On-Controls.20240513-1533",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },