@energycap/components 0.39.16-ECAP-23123-Help-Popover-On-Controls.20240514-1647 → 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.
- package/esm2020/lib/controls/checkbox/checkbox.component.mjs +4 -5
- package/esm2020/lib/controls/combobox/combobox.component.mjs +3 -4
- package/esm2020/lib/controls/file-upload/file-upload.component.mjs +3 -3
- package/esm2020/lib/controls/form-control-base.mjs +2 -10
- package/esm2020/lib/controls/form-group/form-group.component.mjs +3 -12
- package/esm2020/lib/controls/menu/menu.component.mjs +3 -3
- package/esm2020/lib/controls/numericbox/numericbox.component.mjs +4 -5
- package/esm2020/lib/controls/radio-button/radio-button.component.mjs +4 -5
- package/esm2020/lib/controls/select/select.component.mjs +4 -5
- package/esm2020/lib/controls/textbox/textbox.component.mjs +3 -4
- package/fesm2015/energycap-components.mjs +448 -464
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +448 -464
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/controls/form-control-base.d.ts +1 -10
- package/lib/controls/form-group/form-group.component.d.ts +1 -10
- package/lib/controls/menu/menu.component.d.ts +1 -1
- package/package.json +1 -1
@@ -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";
|
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";
|
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;
|