@energycap/components 0.39.16-ECAP-23123-Help-Popover-On-Controls.20240514-1134 → 0.39.16-ECAP-23124-menu-item-divider-improvements.20240516-0944

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,7 +3,6 @@ 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';
7
6
  import * as i0 from "@angular/core";
8
7
  export type ControlLabelPosition = "top" | "bottom" | "left";
9
8
  /**
@@ -55,14 +54,6 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
55
54
  * Conditionally show a tooltip on the form control's input.
56
55
  */
57
56
  tooltip?: string;
58
- /**
59
- * Conditionally show a help popover next to the controls label.
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;
66
57
  /**
67
58
  * All current validation errors
68
59
  */
@@ -106,5 +97,5 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
106
97
  */
107
98
  protected translateValidationMessages(data?: any): Promise<void>;
108
99
  static ɵfac: i0.ɵɵFactoryDeclaration<FormControlBase, 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>;
100
+ 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"; }, {}, never, never, false, never>;
110
101
  }
@@ -3,7 +3,6 @@ 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";
7
6
  import * as i0 from "@angular/core";
8
7
  /** Function to iterate over form controls and
9
8
  * ensure they contain unique values. If any are duplicated all offending
@@ -62,14 +61,6 @@ export declare class FormGroupComponent implements OnInit {
62
61
  /**An optional flag to hide the validation messages.
63
62
  */
64
63
  hideValidationMessage?: boolean;
65
- /**
66
- * Conditionally show a help popover next to the controls label.
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;
73
64
  /**
74
65
  * All current validation errors
75
66
  *
@@ -101,5 +92,5 @@ export declare class FormGroupComponent implements OnInit {
101
92
  */
102
93
  private translateValidationMessages;
103
94
  static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, 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>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "ec-form-group", never, { "id": "id"; "label": "label"; "formGroup": "formGroup"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; }, {}, never, ["*"], false, never>;
105
96
  }
@@ -11,7 +11,7 @@ export interface MenuItem<TValue = any, SItems = any> extends NavItem {
11
11
  caption?: string;
12
12
  items?: MenuItem<SItems>[];
13
13
  checked?: boolean;
14
- display?: 'default' | 'heading' | 'divider';
14
+ display?: 'default' | 'heading' | 'divider' | 'divider-top';
15
15
  value?: TValue;
16
16
  classList?: string;
17
17
  disabled?: boolean;
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.20240514-1134",
3
+ "version": "0.39.16-ECAP-23124-menu-item-divider-improvements.20240516-0944",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },