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

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
  }
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-1515",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },