@energycap/components 0.32.30 → 0.32.31-ECAP-16950-angular-upgrade.20230505-1122
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/energycap-components.min.css +2 -2
- package/esm2020/lib/components.module.mjs +4 -4
- package/esm2020/lib/controls/banner/banner.component.mjs +3 -3
- package/esm2020/lib/controls/button/button.component.mjs +4 -4
- package/esm2020/lib/controls/button/copy-button-base.directive.mjs +3 -3
- package/esm2020/lib/controls/button/copy-button.directive.mjs +3 -3
- package/esm2020/lib/controls/button/copy-table-button.directive.mjs +3 -3
- package/esm2020/lib/controls/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +3 -3
- package/esm2020/lib/controls/combobox/combobox.component.mjs +14 -14
- package/esm2020/lib/controls/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/lib/controls/file-upload/file-upload.component.mjs +17 -17
- package/esm2020/lib/controls/form-control/form-control.component.mjs +11 -11
- package/esm2020/lib/controls/form-control-base.mjs +3 -3
- package/esm2020/lib/controls/form-control-label/form-control-label.component.mjs +3 -3
- package/esm2020/lib/controls/form-group/form-group.component.mjs +3 -3
- package/esm2020/lib/controls/help-popover/help-popover.component.mjs +3 -3
- package/esm2020/lib/controls/item-picker/item-picker.component.mjs +3 -3
- package/esm2020/lib/controls/link-button/link-button.component.mjs +3 -3
- package/esm2020/lib/controls/menu/menu.component.mjs +4 -4
- package/esm2020/lib/controls/navigation/nav-group.mjs +13 -13
- package/esm2020/lib/controls/navigation/nav-item-active.directive.mjs +15 -15
- package/esm2020/lib/controls/numericbox/numericbox.component.mjs +3 -3
- package/esm2020/lib/controls/popover/popover.component.mjs +3 -3
- package/esm2020/lib/controls/radio-button/radio-button.component.mjs +4 -4
- package/esm2020/lib/controls/select/select.component.mjs +3 -3
- package/esm2020/lib/controls/tabs/tabs.component.mjs +3 -3
- package/esm2020/lib/controls/textbox/textbox.component.mjs +3 -3
- package/esm2020/lib/core/cache.service.mjs +3 -3
- package/esm2020/lib/core/error.service.mjs +3 -3
- package/esm2020/lib/core/router-helper.service.mjs +3 -3
- package/esm2020/lib/core/scroll.service.mjs +3 -3
- package/esm2020/lib/core/telemetry-tracker.service.mjs +3 -3
- package/esm2020/lib/core/telemetry.service.mjs +3 -3
- package/esm2020/lib/core/validation-message.service.mjs +3 -3
- package/esm2020/lib/core/window.service.mjs +23 -23
- package/esm2020/lib/display/app-bar/app-bar.component.mjs +3 -3
- package/esm2020/lib/display/avatar/avatar.component.mjs +3 -3
- package/esm2020/lib/display/avatar/avatar.service.mjs +3 -3
- package/esm2020/lib/display/confirm/confirm.component.mjs +11 -11
- package/esm2020/lib/display/dialog/dialog-group/dialog-group.component.mjs +3 -3
- package/esm2020/lib/display/dialog/dialog.component.mjs +10 -10
- package/esm2020/lib/display/dialog/dialog.service.mjs +3 -3
- package/esm2020/lib/display/hierarchy/hierarchy-base.mjs +7 -7
- package/esm2020/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +3 -3
- package/esm2020/lib/display/item-display/item-display.component.mjs +3 -3
- package/esm2020/lib/display/json-display/json-display.component.mjs +3 -3
- package/esm2020/lib/display/resizable/resizable-base.mjs +12 -12
- package/esm2020/lib/display/resizable/resizable.component.mjs +4 -4
- package/esm2020/lib/display/spinner/spinner.component.mjs +3 -3
- package/esm2020/lib/display/splash/splash.component.mjs +3 -3
- package/esm2020/lib/display/splash/splash.service.mjs +3 -3
- package/esm2020/lib/display/table/resizable-column.component.mjs +3 -3
- package/esm2020/lib/display/table/resizable-table.directive.mjs +4 -4
- package/esm2020/lib/display/table/searchable-table.component.mjs +8 -8
- package/esm2020/lib/display/table/table-detail-row.component.mjs +3 -3
- package/esm2020/lib/display/table/table-locked-column.component.mjs +3 -3
- package/esm2020/lib/display/table/table-master-header-row.component.mjs +3 -3
- package/esm2020/lib/display/table/table-master-row.component.mjs +3 -3
- package/esm2020/lib/display/table/table-pagination.component.mjs +3 -3
- package/esm2020/lib/display/table/table-selectable-row.component.mjs +3 -3
- package/esm2020/lib/display/table/table.component.mjs +4 -4
- package/esm2020/lib/display/tags/tags.component.mjs +3 -3
- package/esm2020/lib/display/toast/toast/toast.component.mjs +3 -3
- package/esm2020/lib/display/toast/toast.service.mjs +3 -3
- package/esm2020/lib/display/toast/toaster/toaster.component.mjs +3 -3
- package/esm2020/lib/display/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/display/tooltip/tooltip.service.mjs +3 -3
- package/esm2020/lib/display/tooltip-directive/tooltip.directive.mjs +3 -3
- package/esm2020/lib/display/tour/tour.component.mjs +4 -4
- package/esm2020/lib/display/tour/tour.service.mjs +3 -3
- package/esm2020/lib/display/tree/tree.component.mjs +16 -16
- package/esm2020/lib/display/view-overlay/view-overlay.component.mjs +4 -4
- package/esm2020/lib/shared/directives/click-area-for/click-area-for.directive.mjs +3 -3
- package/esm2020/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +3 -3
- package/esm2020/lib/shared/directives/popup/popup-container.directive.mjs +4 -4
- package/esm2020/lib/shared/display/pipes/date-display.pipe.mjs +3 -3
- package/esm2020/lib/shared/display/pipes/highlight-text.pipe.mjs +3 -3
- package/esm2020/lib/shared/display/pipes/relative-date.pipe.mjs +3 -3
- package/esm2020/lib/shared/display/pipes/row-count.pipe.mjs +3 -3
- package/esm2020/lib/shared/display/pipes/time-display.pipe.mjs +3 -3
- package/esm2020/lib/shared/form-group.helper.mjs +3 -3
- package/esm2020/lib/shared/page/page-base/page-base.component.mjs +3 -3
- package/esm2020/lib/shared/page/page-title/page-title.component.mjs +3 -3
- package/esm2020/lib/shared/page/page-view/page-view.component.mjs +3 -3
- package/esm2020/lib/shared/testing/page-base-component-test-helper.spec.mjs +4 -4
- package/esm2020/lib/shared/testing/public-mocks.spec.mjs +9 -9
- package/esm2020/lib/shared/testing/spy-factory.spec.mjs +1 -1
- package/esm2020/lib/shared/user-preference.service.mjs +3 -3
- package/esm2020/lib/shared/wizard/wizard-base/wizard-base.component.mjs +13 -13
- package/esm2020/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +3 -3
- package/esm2020/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +3 -3
- package/fesm2015/energycap-components.mjs +399 -399
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +399 -399
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/components.module.d.ts +1 -1
- package/lib/controls/banner/banner.component.d.ts +4 -4
- package/lib/controls/button/button.component.d.ts +2 -2
- package/lib/controls/button/copy-button-base.directive.d.ts +1 -1
- package/lib/controls/button/copy-button.directive.d.ts +1 -1
- package/lib/controls/button/copy-table-button.directive.d.ts +1 -1
- package/lib/controls/checkbox/checkbox.component.d.ts +2 -2
- package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +1 -1
- package/lib/controls/combobox/combobox.component.d.ts +3 -3
- package/lib/controls/dropdown/dropdown.component.d.ts +1 -1
- package/lib/controls/file-upload/file-upload.component.d.ts +3 -3
- package/lib/controls/form-control/form-control.component.d.ts +1 -1
- package/lib/controls/form-control-base.d.ts +2 -2
- package/lib/controls/form-control-label/form-control-label.component.d.ts +1 -1
- package/lib/controls/form-group/form-group.component.d.ts +3 -3
- package/lib/controls/help-popover/help-popover.component.d.ts +1 -1
- package/lib/controls/item-picker/item-picker.component.d.ts +1 -1
- package/lib/controls/link-button/link-button.component.d.ts +1 -1
- package/lib/controls/menu/menu.component.d.ts +3 -3
- package/lib/controls/navigation/nav-item-active.directive.d.ts +1 -1
- package/lib/controls/numericbox/numericbox.component.d.ts +1 -1
- package/lib/controls/popover/popover.component.d.ts +2 -2
- package/lib/controls/radio-button/radio-button.component.d.ts +3 -3
- package/lib/controls/select/select.component.d.ts +1 -1
- package/lib/controls/tabs/tabs.component.d.ts +1 -1
- package/lib/controls/textbox/textbox.component.d.ts +3 -3
- package/lib/display/app-bar/app-bar.component.d.ts +1 -1
- package/lib/display/avatar/avatar.component.d.ts +1 -1
- package/lib/display/avatar/avatar.service.d.ts +1 -1
- package/lib/display/confirm/confirm.component.d.ts +3 -3
- package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +1 -1
- package/lib/display/dialog/dialog-types.d.ts +2 -2
- package/lib/display/dialog/dialog.component.d.ts +1 -1
- package/lib/display/help/help-types.d.ts +2 -2
- package/lib/display/hierarchy/hierarchy-base.d.ts +1 -1
- package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +1 -1
- package/lib/display/item-display/item-display.component.d.ts +3 -3
- package/lib/display/json-display/json-display.component.d.ts +1 -1
- package/lib/display/resizable/resizable-base.d.ts +2 -2
- package/lib/display/resizable/resizable.component.d.ts +1 -1
- package/lib/display/spinner/spinner.component.d.ts +1 -1
- package/lib/display/splash/splash.component.d.ts +1 -1
- package/lib/display/table/resizable-column.component.d.ts +1 -1
- package/lib/display/table/resizable-table.directive.d.ts +1 -1
- package/lib/display/table/searchable-table.component.d.ts +3 -3
- package/lib/display/table/table-detail-row.component.d.ts +1 -1
- package/lib/display/table/table-locked-column.component.d.ts +1 -1
- package/lib/display/table/table-master-header-row.component.d.ts +1 -1
- package/lib/display/table/table-master-row.component.d.ts +1 -1
- package/lib/display/table/table-pagination.component.d.ts +1 -1
- package/lib/display/table/table-selectable-row.component.d.ts +1 -1
- package/lib/display/table/table.component.d.ts +2 -2
- package/lib/display/tags/tag.d.ts +2 -2
- package/lib/display/tags/tags.component.d.ts +1 -1
- package/lib/display/toast/toast/toast.component.d.ts +1 -1
- package/lib/display/toast/toast-types.d.ts +3 -3
- package/lib/display/toast/toaster/toaster.component.d.ts +1 -1
- package/lib/display/tooltip/tooltip.component.d.ts +2 -2
- package/lib/display/tooltip-directive/tooltip.directive.d.ts +1 -1
- package/lib/display/tour/tour-types.d.ts +1 -1
- package/lib/display/tour/tour.component.d.ts +1 -1
- package/lib/display/tree/tree.component.d.ts +2 -2
- package/lib/display/view-overlay/view-overlay.component.d.ts +1 -1
- package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +1 -1
- package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +1 -1
- package/lib/shared/directives/popup/popup-container.directive.d.ts +3 -3
- package/lib/shared/display/pipes/date-display.pipe.d.ts +1 -1
- package/lib/shared/display/pipes/relative-date.pipe.d.ts +1 -1
- package/lib/shared/display/pipes/row-count.pipe.d.ts +1 -1
- package/lib/shared/display.d.ts +1 -1
- package/lib/shared/form-group.helper.d.ts +1 -1
- package/lib/shared/page/page-base/page-base.component.d.ts +1 -1
- package/lib/shared/page/page-title/page-title.component.d.ts +1 -1
- package/lib/shared/page/page-view/page-view.component.d.ts +1 -1
- package/lib/shared/testing/public-mocks.spec.d.ts +1 -1
- package/lib/shared/testing/spy-factory.spec.d.ts +1 -1
- package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +1 -1
- package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +1 -1
- package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +1 -1
- package/package.json +6 -6
|
@@ -71,7 +71,7 @@ import * as i68 from "@angular/router";
|
|
|
71
71
|
import * as i69 from "@ngx-translate/core";
|
|
72
72
|
import * as i70 from "@angular/cdk/a11y";
|
|
73
73
|
import * as i71 from "@angular/cdk/overlay";
|
|
74
|
-
export
|
|
74
|
+
export type ComponentsModuleConfig = {
|
|
75
75
|
tracker: Provider;
|
|
76
76
|
};
|
|
77
77
|
export declare class ComponentsModule {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
2
|
import { CacheService } from '../../core/cache.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
4
|
+
export type BannerType = 'info' | 'warning' | 'error' | 'success' | 'promo';
|
|
5
|
+
export type BannerStyle = 'normal' | 'pinned' | 'toast';
|
|
6
|
+
export type BannerCacheEntry = {
|
|
7
7
|
hidden: boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare class BannerComponent implements OnChanges {
|
|
@@ -46,5 +46,5 @@ export declare class BannerComponent implements OnChanges {
|
|
|
46
46
|
close(): void;
|
|
47
47
|
private getIconByBannerType;
|
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "ec-banner", never, { "hidden": "hidden"; "id": "id"; "type": "type"; "bannerStyle": "bannerStyle"; "title": "title"; "text": "text"; "list": "list"; "showCloseBtn": "showCloseBtn"; "autoHideOnClose": "autoHideOnClose"; "customIcon": "customIcon"; "rememberClosed": "rememberClosed"; }, { "closed": "closed"; }, never, ["*"], false>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "ec-banner", never, { "hidden": "hidden"; "id": "id"; "type": "type"; "bannerStyle": "bannerStyle"; "title": "title"; "text": "text"; "list": "list"; "showCloseBtn": "showCloseBtn"; "autoHideOnClose": "autoHideOnClose"; "customIcon": "customIcon"; "rememberClosed": "rememberClosed"; }, { "closed": "closed"; }, never, ["*"], false, never>;
|
|
50
50
|
}
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*
|
|
7
7
|
* "Link" button type is deprecated. Use the LinkButtonComponent instead.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type ButtonType = "primary" | "secondary" | "common" | "icon" | "link" | "text" | "submit" | "danger" | "danger-text";
|
|
10
10
|
export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
11
11
|
/**
|
|
12
12
|
* Id to set
|
|
@@ -74,5 +74,5 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
74
74
|
onClick(event: any): void;
|
|
75
75
|
focus(): void;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ec-button", never, { "id": "id"; "disabled": "disabled"; "icon": "icon"; "label": "label"; "badge": "badge"; "tabindex": "tabindex"; "type": "type"; "pending": "pending"; "pendingIcon": "pendingIcon"; "customTemplate": "customTemplate"; "isSubmit": "isSubmit"; "autofocus": "autofocus"; }, { "clicked": "clicked"; }, never, never, false>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ec-button", never, { "id": "id"; "disabled": "disabled"; "icon": "icon"; "label": "label"; "badge": "badge"; "tabindex": "tabindex"; "type": "type"; "pending": "pending"; "pendingIcon": "pendingIcon"; "customTemplate": "customTemplate"; "isSubmit": "isSubmit"; "autofocus": "autofocus"; }, { "clicked": "clicked"; }, never, never, false, never>;
|
|
78
78
|
}
|
|
@@ -16,5 +16,5 @@ export declare abstract class CopyButtonBaseDirective implements OnInit, OnDestr
|
|
|
16
16
|
/** Called to get context-specific value for clipboard copying */
|
|
17
17
|
protected abstract getDataForClipboard(): string | null;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyButtonBaseDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonBaseDirective, never, never, {}, {}, never, never, false>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonBaseDirective, never, never, {}, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -10,5 +10,5 @@ export declare class CopyButtonDirective extends CopyButtonBaseDirective {
|
|
|
10
10
|
constructor(button: ButtonComponent, injector: Injector);
|
|
11
11
|
protected getDataForClipboard(): string;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyButtonDirective, [{ host: true; }, null]>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonDirective, "[ecCopyButton]", never, { "copyFormModel": "ecCopyButton"; }, {}, never, never, false>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonDirective, "[ecCopyButton]", never, { "copyFormModel": "ecCopyButton"; }, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -15,5 +15,5 @@ export declare class CopyTableButtonDirective extends CopyButtonBaseDirective {
|
|
|
15
15
|
*/
|
|
16
16
|
protected getDataForClipboard(): string | null;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyTableButtonDirective, [{ host: true; }, null]>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyTableButtonDirective, "[ecCopyTableButton]", never, { "tableId": "ecCopyTableButton"; }, {}, never, never, false>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyTableButtonDirective, "[ecCopyTableButton]", never, { "tableId": "ecCopyTableButton"; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -5,7 +5,7 @@ import { FormControlBase } from "../form-control-base";
|
|
|
5
5
|
import { AbstractControl } from '@angular/forms';
|
|
6
6
|
import { ClickableElement } from '../../shared/directives/click-area-for/click-area-for.directive';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export
|
|
8
|
+
export type CheckboxState = 'unchecked' | 'indeterminate' | 'checked';
|
|
9
9
|
export declare class CheckboxComponent extends FormControlBase implements AfterViewInit, ClickableElement, OnChanges {
|
|
10
10
|
protected validationMessageService: ValidationMessageService;
|
|
11
11
|
protected formGroupHelper: FormGroupHelper;
|
|
@@ -61,5 +61,5 @@ export declare class CheckboxComponent extends FormControlBase implements AfterV
|
|
|
61
61
|
*/
|
|
62
62
|
private updateMasterState;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ec-checkbox", never, { "name": "name"; "dependentCheckboxesGroup": "dependentCheckboxesGroup"; "ignoreDisabledDependents": "ignoreDisabledDependents"; }, {}, never, never, false>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ec-checkbox", never, { "name": "name"; "dependentCheckboxesGroup": "dependentCheckboxesGroup"; "ignoreDisabledDependents": "ignoreDisabledDependents"; }, {}, never, never, false, never>;
|
|
65
65
|
}
|
|
@@ -21,5 +21,5 @@ export declare class CollapsibleToggleComponent {
|
|
|
21
21
|
*/
|
|
22
22
|
onToggle(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleToggleComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleToggleComponent, "ec-collapsible-toggle", never, { "id": "id"; "expanded": "expanded"; "tabindex": "tabindex"; }, { "expandedChange": "expandedChange"; }, never, never, false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleToggleComponent, "ec-collapsible-toggle", never, { "id": "id"; "expanded": "expanded"; "tabindex": "tabindex"; }, { "expandedChange": "expandedChange"; }, never, never, false, never>;
|
|
25
25
|
}
|
|
@@ -13,12 +13,12 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
/**
|
|
14
14
|
* Position of the menu relative to the input
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type ComboboxMenuPosition = "top_right" | "top_left" | "bottom_left" | "bottom_right";
|
|
17
17
|
/**
|
|
18
18
|
* The type of add new implementation. Static displays a simple static button while dynamic updates
|
|
19
19
|
* the label of the button with value of the textbox
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
type AddNewType = "dynamic" | "static" | boolean;
|
|
22
22
|
/**
|
|
23
23
|
* Select box (select, autocomplete, combobox)
|
|
24
24
|
*
|
|
@@ -375,6 +375,6 @@ export declare class ComboboxComponent extends FormControlBase implements OnInit
|
|
|
375
375
|
*/
|
|
376
376
|
private findDefaultSelectionIndex;
|
|
377
377
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
378
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "ec-combobox", never, { "addNew": "addNew"; "maxlength": "maxlength"; "menuPosition": "menuPosition"; "minlength": "minlength"; "options": "options"; "templateType": "templateType"; "customMenuTemplate": "customMenuTemplate"; "popupFixed": "popupFixed"; "totalRecords": "totalRecords"; "upperCase": "upperCase"; "placeholder": "placeholder"; "loadOnOpenObservable": "loadOnOpenObservable"; "hideToggleButton": "hideToggleButton"; "alwaysOpen": "alwaysOpen"; "menuElementClasses": "menuElementClasses"; "textboxElementClasses": "textboxElementClasses"; "hideNoMatches": "hideNoMatches"; "noMatchesText": "noMatchesText"; }, { "addNewClick": "addNewClick"; "search": "search"; }, never, never, false>;
|
|
378
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "ec-combobox", never, { "addNew": "addNew"; "maxlength": "maxlength"; "menuPosition": "menuPosition"; "minlength": "minlength"; "options": "options"; "templateType": "templateType"; "customMenuTemplate": "customMenuTemplate"; "popupFixed": "popupFixed"; "totalRecords": "totalRecords"; "upperCase": "upperCase"; "placeholder": "placeholder"; "loadOnOpenObservable": "loadOnOpenObservable"; "hideToggleButton": "hideToggleButton"; "alwaysOpen": "alwaysOpen"; "menuElementClasses": "menuElementClasses"; "textboxElementClasses": "textboxElementClasses"; "hideNoMatches": "hideNoMatches"; "noMatchesText": "noMatchesText"; }, { "addNewClick": "addNewClick"; "search": "search"; }, never, never, false, never>;
|
|
379
379
|
}
|
|
380
380
|
export {};
|
|
@@ -157,5 +157,5 @@ export declare class DropdownComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
157
157
|
*/
|
|
158
158
|
keyNavigate(event: KeyboardEvent): void;
|
|
159
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ec-dropdown", never, { "id": "id"; "autofocus": "autofocus"; "status": "status"; "disabled": "disabled"; "label": "label"; "icon": "icon"; "buttonType": "buttonType"; "buttonAlignment": "buttonAlignment"; "buttonTitle": "buttonTitle"; "tabindex": "tabindex"; "showArrow": "showArrow"; "items": "items"; "menuTemplateType": "menuTemplateType"; "menuTitle": "menuTitle"; "menuHeight": "menuHeight"; "menuWidth": "menuWidth"; "menuMinWidth": "menuMinWidth"; "menuPosition": "menuPosition"; "menuFooter": "menuFooter"; "popupFixed": "popupFixed"; "buttonCustomTemplate": "buttonCustomTemplate"; "pending": "pending"; }, { "itemSelected": "itemSelected"; "popupOpened": "popupOpened"; }, never, never, false>;
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ec-dropdown", never, { "id": "id"; "autofocus": "autofocus"; "status": "status"; "disabled": "disabled"; "label": "label"; "icon": "icon"; "buttonType": "buttonType"; "buttonAlignment": "buttonAlignment"; "buttonTitle": "buttonTitle"; "tabindex": "tabindex"; "showArrow": "showArrow"; "items": "items"; "menuTemplateType": "menuTemplateType"; "menuTitle": "menuTitle"; "menuHeight": "menuHeight"; "menuWidth": "menuWidth"; "menuMinWidth": "menuMinWidth"; "menuPosition": "menuPosition"; "menuFooter": "menuFooter"; "popupFixed": "popupFixed"; "buttonCustomTemplate": "buttonCustomTemplate"; "pending": "pending"; }, { "itemSelected": "itemSelected"; "popupOpened": "popupOpened"; }, never, never, false, never>;
|
|
161
161
|
}
|
|
@@ -4,8 +4,8 @@ import { ValidationMessageService } from '../../core/validation-message.service'
|
|
|
4
4
|
import { FormGroupHelper } from '../../shared/form-group.helper';
|
|
5
5
|
import { FormControlBase } from '../form-control-base';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type FileType = 'zip' | 'excel' | 'custom';
|
|
8
|
+
export type FileOutput = 'raw' | 'base64';
|
|
9
9
|
export declare const FileTypeExtensions: {
|
|
10
10
|
zip: string[];
|
|
11
11
|
excel: string[];
|
|
@@ -69,5 +69,5 @@ export declare class FileUploadComponent extends FormControlBase implements OnIn
|
|
|
69
69
|
*/
|
|
70
70
|
private patchFileResult;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; }, {}, never, never, false>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ec-file-upload", never, { "placeholder": "placeholder"; "fileType": "fileType"; "fileOutput": "fileOutput"; "customExtensions": "customExtensions"; "onFileSelected": "onFileSelected"; }, {}, never, never, false, never>;
|
|
73
73
|
}
|
|
@@ -21,5 +21,5 @@ export declare class FormControlComponent implements AfterViewInit {
|
|
|
21
21
|
focus(): void;
|
|
22
22
|
clear(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlComponent, "ec-form-control", never, { "id": "id"; "icon": "icon"; "actionIcon": "actionIcon"; "showClear": "showClear"; "pending": "pending"; "required": "required"; "readonly": "readonly"; }, { "actionClicked": "actionClicked"; }, ["formModel"], ["*"], false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlComponent, "ec-form-control", never, { "id": "id"; "icon": "icon"; "actionIcon": "actionIcon"; "showClear": "showClear"; "pending": "pending"; "required": "required"; "readonly": "readonly"; }, { "actionClicked": "actionClicked"; }, ["formModel"], ["*"], false, never>;
|
|
25
25
|
}
|
|
@@ -4,7 +4,7 @@ import { Subject } from "rxjs";
|
|
|
4
4
|
import { ValidationMessageService } from "../core/validation-message.service";
|
|
5
5
|
import { FormGroupHelper } from '../shared/form-group.helper';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export
|
|
7
|
+
export type ControlLabelPosition = "top" | "bottom" | "left";
|
|
8
8
|
/**
|
|
9
9
|
* Base class for Reactive Form Controls, containing ECI-specific shared properties
|
|
10
10
|
*/
|
|
@@ -97,5 +97,5 @@ export declare abstract class FormControlBase implements OnInit, OnDestroy, OnCh
|
|
|
97
97
|
*/
|
|
98
98
|
protected translateValidationMessages(data?: any): Promise<void>;
|
|
99
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlBase, 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>;
|
|
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>;
|
|
101
101
|
}
|
|
@@ -69,5 +69,5 @@ export declare class FormControlLabelComponent implements OnInit {
|
|
|
69
69
|
*/
|
|
70
70
|
private translateValidationMessages;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlLabelComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlLabelComponent, "ec-form-control-label", never, { "id": "id"; "label": "label"; "control": "control"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; }, {}, never, never, false>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlLabelComponent, "ec-form-control-label", never, { "id": "id"; "label": "label"; "control": "control"; "labelPosition": "labelPosition"; "overrideValidationError": "overrideValidationError"; "hideValidationMessage": "hideValidationMessage"; }, {}, never, never, false, never>;
|
|
73
73
|
}
|
|
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
* if explicitly null, this function assumes value is not a complex object and just extracts
|
|
15
15
|
* formGroup.control.value
|
|
16
16
|
*/
|
|
17
|
-
export declare const validateFormGroupValuesAreUnique: (fg: UntypedFormGroup | UntypedFormArray, valueProperty?: string | null, subProperty?: string
|
|
17
|
+
export declare const validateFormGroupValuesAreUnique: (fg: UntypedFormGroup | UntypedFormArray, valueProperty?: string | null, subProperty?: string) => void;
|
|
18
18
|
/**
|
|
19
19
|
* Function to iterate over for controls and invoke the callback function when they are found.
|
|
20
20
|
* Recursively calls itself when it encounters sub form groups and iterates over form arrays.
|
|
@@ -26,7 +26,7 @@ export declare const forEachFormControl: (c: AbstractControl, callback: (control
|
|
|
26
26
|
* Function to return the value if it is enabled and set
|
|
27
27
|
* @param control
|
|
28
28
|
*/
|
|
29
|
-
export declare const getControlValue: (control: AbstractControl, valueProperty?: string | null, subProperty?: string
|
|
29
|
+
export declare const getControlValue: (control: AbstractControl, valueProperty?: string | null, subProperty?: string) => any | null;
|
|
30
30
|
export declare class FormGroupComponent implements OnInit {
|
|
31
31
|
protected validationMessageService: ValidationMessageService;
|
|
32
32
|
private translateService;
|
|
@@ -92,5 +92,5 @@ export declare class FormGroupComponent implements OnInit {
|
|
|
92
92
|
*/
|
|
93
93
|
private translateValidationMessages;
|
|
94
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, 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>;
|
|
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>;
|
|
96
96
|
}
|
|
@@ -7,5 +7,5 @@ export declare class HelpPopoverComponent {
|
|
|
7
7
|
maxWidth: string;
|
|
8
8
|
constructor();
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<HelpPopoverComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HelpPopoverComponent, "ec-help-popover", never, { "id": "id"; "text": "text"; "contentPosition": "contentPosition"; "maxWidth": "maxWidth"; }, {}, never, ["*"], false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HelpPopoverComponent, "ec-help-popover", never, { "id": "id"; "text": "text"; "contentPosition": "contentPosition"; "maxWidth": "maxWidth"; }, {}, never, ["*"], false, never>;
|
|
11
11
|
}
|
|
@@ -120,5 +120,5 @@ export declare class ItemPickerComponent<T> implements OnInit, OnChanges, OnDest
|
|
|
120
120
|
private setupSelectedItemsChangedWatcher;
|
|
121
121
|
private setInternalizedTemplates;
|
|
122
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItemPickerComponent<any>, never>;
|
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItemPickerComponent<any>, "ec-item-picker", never, { "id": "id"; "availableTitle": "availableTitle"; "selectedTitle": "selectedTitle"; "itemName": "itemName"; "formModel": "formModel"; "customAvailableHeaderTemplate": "customAvailableHeaderTemplate"; "customAvailableItemTemplate": "customAvailableItemTemplate"; "customSelectedItemTemplate": "customSelectedItemTemplate"; "ready": "ready"; "getItems": "getItems"; "selectionContext": "selectionContext"; "noDataMessage": "noDataMessage"; "noSelectedItemsMessage": "noSelectedItemsMessage"; }, {}, never, never, false>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemPickerComponent<any>, "ec-item-picker", never, { "id": "id"; "availableTitle": "availableTitle"; "selectedTitle": "selectedTitle"; "itemName": "itemName"; "formModel": "formModel"; "customAvailableHeaderTemplate": "customAvailableHeaderTemplate"; "customAvailableItemTemplate": "customAvailableItemTemplate"; "customSelectedItemTemplate": "customSelectedItemTemplate"; "ready": "ready"; "getItems": "getItems"; "selectionContext": "selectionContext"; "noDataMessage": "noDataMessage"; "noSelectedItemsMessage": "noSelectedItemsMessage"; }, {}, never, never, false, never>;
|
|
124
124
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class LinkButtonComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkButtonComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkButtonComponent, "button[ecLinkButton]", never, {}, {}, never, ["*"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkButtonComponent, "button[ecLinkButton]", never, {}, {}, never, ["*"], false, never>;
|
|
5
5
|
}
|
|
@@ -4,8 +4,8 @@ import { WindowService } from '../../core/window.service';
|
|
|
4
4
|
import { LinkTarget } from '../../display/tags/tag';
|
|
5
5
|
import { NavItem } from '../navigation/nav-item';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type MenuTemplateType = "label" | "iconAndLabel" | "checkAndLabel";
|
|
8
|
+
export type MenuHostElementClasses = 'bg-transparent';
|
|
9
9
|
export interface MenuItem<TValue = any, SItems = any> extends NavItem {
|
|
10
10
|
label: string;
|
|
11
11
|
items?: MenuItem<SItems>[];
|
|
@@ -222,5 +222,5 @@ export declare class MenuComponent implements AfterContentInit, OnDestroy {
|
|
|
222
222
|
*/
|
|
223
223
|
private setItemIds;
|
|
224
224
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
225
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "ec-menu", never, { "id": "id"; "items": "items"; "selected": "selected"; "parent": "parent"; "templateType": "templateType"; "customMenuTemplate": "customMenuTemplate"; "title": "title"; "showNoItems": "showNoItems"; "noDataText": "noDataText"; "enableKeyNav": "enableKeyNav"; "highlightedItem": "highlightedItem"; "maintainSelectedItem": "maintainSelectedItem"; "truncateItems": "truncateItems"; "preserveIconSpace": "preserveIconSpace"; "dropdownToggleButton": "dropdownToggleButton"; }, { "selectedChanged": "selectedChanged"; "menuClosed": "menuClosed"; }, never, never, false>;
|
|
225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "ec-menu", never, { "id": "id"; "items": "items"; "selected": "selected"; "parent": "parent"; "templateType": "templateType"; "customMenuTemplate": "customMenuTemplate"; "title": "title"; "showNoItems": "showNoItems"; "noDataText": "noDataText"; "enableKeyNav": "enableKeyNav"; "highlightedItem": "highlightedItem"; "maintainSelectedItem": "maintainSelectedItem"; "truncateItems": "truncateItems"; "preserveIconSpace": "preserveIconSpace"; "dropdownToggleButton": "dropdownToggleButton"; }, { "selectedChanged": "selectedChanged"; "menuClosed": "menuClosed"; }, never, never, false, never>;
|
|
226
226
|
}
|
|
@@ -38,5 +38,5 @@ export declare class NavItemActiveDirective implements OnInit, OnDestroy {
|
|
|
38
38
|
/** If url is active apply the defined class to the element, otherwise remove it */
|
|
39
39
|
private update;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemActiveDirective, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NavItemActiveDirective, "[ecNavItemActive]", never, { "classValue": "ecNavItemActive"; "exact": "ecNavItemActiveExactMatch"; "queryParams": "ecNavItemActiveQueryParams"; "url": "ecNavItemActiveUrl"; }, { "routerLinkActivated": "routerLinkActivated"; }, never, never, false>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NavItemActiveDirective, "[ecNavItemActive]", never, { "classValue": "ecNavItemActive"; "exact": "ecNavItemActiveExactMatch"; "queryParams": "ecNavItemActiveQueryParams"; "url": "ecNavItemActiveUrl"; }, { "routerLinkActivated": "routerLinkActivated"; }, never, never, false, never>;
|
|
42
42
|
}
|
|
@@ -144,5 +144,5 @@ export declare class NumericboxComponent extends FormControlBase implements OnIn
|
|
|
144
144
|
private showUnits;
|
|
145
145
|
private makeUnitElement;
|
|
146
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumericboxComponent, never>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumericboxComponent, "ec-numericbox", never, { "placeholder": "placeholder"; "decimals": "decimals"; "showPrecision": "showPrecision"; "maxPrecisionDigits": "maxPrecisionDigits"; "max": "max"; "min": "min"; "leftUnits": "leftUnits"; "rightUnits": "rightUnits"; "autoUpdateFormModel": "autoUpdateFormModel"; }, {}, never, never, false>;
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumericboxComponent, "ec-numericbox", never, { "placeholder": "placeholder"; "decimals": "decimals"; "showPrecision": "showPrecision"; "maxPrecisionDigits": "maxPrecisionDigits"; "max": "max"; "min": "min"; "leftUnits": "leftUnits"; "rightUnits": "rightUnits"; "autoUpdateFormModel": "autoUpdateFormModel"; }, {}, never, never, false, never>;
|
|
148
148
|
}
|
|
@@ -3,7 +3,7 @@ import { ElementRef, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/c
|
|
|
3
3
|
import { Tag, TagType } from '../../display/tags/tag';
|
|
4
4
|
import { TooltipService } from '../../display/tooltip/tooltip.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export
|
|
6
|
+
export type PopoverContentPosition = 'top-left' | 'top-right' | 'bottom-right' | 'bottom-left';
|
|
7
7
|
export declare class PopoverComponent implements OnDestroy {
|
|
8
8
|
private overlay;
|
|
9
9
|
private viewContainerRef;
|
|
@@ -47,5 +47,5 @@ export declare class PopoverComponent implements OnDestroy {
|
|
|
47
47
|
private getOverlayConfig;
|
|
48
48
|
private getPosition;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "ec-popover", never, { "icon": "icon"; "tag": "tag"; "tagHoverType": "tagHoverType"; "contentPosition": "contentPosition"; "iconHoverClass": "iconHoverClass"; }, {}, never, ["*"], false>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "ec-popover", never, { "icon": "icon"; "tag": "tag"; "tagHoverType": "tagHoverType"; "contentPosition": "contentPosition"; "iconHoverClass": "iconHoverClass"; }, {}, never, ["*"], false, never>;
|
|
51
51
|
}
|
|
@@ -7,11 +7,11 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Row displays options horizontally, column displays options vertically
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type RadioButtonDirection = "row" | "column";
|
|
11
11
|
/**
|
|
12
12
|
* Radio is the default button style, toggle will style as a toggle switch
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type RadioButtonType = "radio" | "toggle";
|
|
15
15
|
export declare class RadioButtonComponent extends FormControlBase implements AfterViewInit, OnInit {
|
|
16
16
|
protected validationMessageService: ValidationMessageService;
|
|
17
17
|
protected formGroupHelper: FormGroupHelper;
|
|
@@ -49,5 +49,5 @@ export declare class RadioButtonComponent extends FormControlBase implements Aft
|
|
|
49
49
|
ngOnInit(): void;
|
|
50
50
|
ngAfterViewInit(): void;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ec-radiobutton", never, { "type": "type"; "options": "options"; "direction": "direction"; "name": "name"; }, {}, never, never, false>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ec-radiobutton", never, { "type": "type"; "options": "options"; "direction": "direction"; "name": "name"; }, {}, never, never, false, never>;
|
|
53
53
|
}
|
|
@@ -40,5 +40,5 @@ export declare class SelectComponent extends FormControlBase implements AfterVie
|
|
|
40
40
|
*/
|
|
41
41
|
private onOptionsChange;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ec-select", never, { "placeholder": "placeholder"; "options": "options"; "autoDefault": "autoDefault"; }, {}, never, never, false>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ec-select", never, { "placeholder": "placeholder"; "options": "options"; "autoDefault": "autoDefault"; }, {}, never, never, false, never>;
|
|
44
44
|
}
|
|
@@ -26,5 +26,5 @@ export declare class TabsComponent {
|
|
|
26
26
|
*/
|
|
27
27
|
selectTab(event: Event, tab: NavItem): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ec-tabs", never, { "id": "id"; "tabindex": "tabindex"; "tabStyle": "tabStyle"; "tabs": "tabGroup"; }, {}, never, never, false>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ec-tabs", never, { "id": "id"; "tabindex": "tabindex"; "tabStyle": "tabStyle"; "tabs": "tabGroup"; }, {}, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -15,11 +15,11 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
*
|
|
16
16
|
* If the type is email an email validator is automatically added to the form validators.
|
|
17
17
|
* */
|
|
18
|
-
export
|
|
18
|
+
export type TextboxType = "text" | "multi_line" | "email" | "url" | "password" | "tel";
|
|
19
19
|
/** Type for advanced validation of textbox form controls, if in the future
|
|
20
20
|
* we want more handling we will need to update this type.
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export type TextboxValidatorParameters = {
|
|
23
23
|
required?: boolean;
|
|
24
24
|
minLength?: number;
|
|
25
25
|
maxLength?: number;
|
|
@@ -103,5 +103,5 @@ export declare class TextboxComponent extends FormControlBase implements OnInit,
|
|
|
103
103
|
*/
|
|
104
104
|
focusOutEvent(): void;
|
|
105
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextboxComponent, never>;
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextboxComponent, "ec-textbox", never, { "autocomplete": "autocomplete"; "type": "type"; "placeholder": "placeholder"; "maxlength": "maxlength"; "minlength": "minlength"; "rows": "rows"; "selectOnAutofocus": "selectOnAutofocus"; "upperCase": "upperCase"; }, {}, never, never, false>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextboxComponent, "ec-textbox", never, { "autocomplete": "autocomplete"; "type": "type"; "placeholder": "placeholder"; "maxlength": "maxlength"; "minlength": "minlength"; "rows": "rows"; "selectOnAutofocus": "selectOnAutofocus"; "upperCase": "upperCase"; }, {}, never, never, false, never>;
|
|
107
107
|
}
|
|
@@ -16,5 +16,5 @@ export declare class AppBarComponent implements OnChanges {
|
|
|
16
16
|
constructor(avatarService: AvatarService);
|
|
17
17
|
ngOnChanges(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppBarComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppBarComponent, "ec-app-bar", never, { "user": "user"; "userMenuItems": "userMenuItems"; "userMenuWidth": "userMenuWidth"; "userMenuMinWidth": "userMenuMinWidth"; "userMenuTabindex": "userMenuTabindex"; "iconPath": "iconPath"; }, {}, never, [".app-bar-title", ".app-bar-actions"], false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBarComponent, "ec-app-bar", never, { "user": "user"; "userMenuItems": "userMenuItems"; "userMenuWidth": "userMenuWidth"; "userMenuMinWidth": "userMenuMinWidth"; "userMenuTabindex": "userMenuTabindex"; "iconPath": "iconPath"; }, {}, never, [".app-bar-title", ".app-bar-actions"], false, never>;
|
|
20
20
|
}
|
|
@@ -31,5 +31,5 @@ export declare class AvatarComponent implements OnChanges {
|
|
|
31
31
|
*/
|
|
32
32
|
private updateColor;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ec-avatar", never, { "user": "user"; }, {}, never, never, false>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ec-avatar", never, { "user": "user"; }, {}, never, never, false, never>;
|
|
35
35
|
}
|
|
@@ -5,8 +5,8 @@ import { TextboxType } from '../../controls/textbox/textbox.component';
|
|
|
5
5
|
import { DialogContent } from '../dialog/dialog-content';
|
|
6
6
|
import { Overlay } from '../view-overlay/view-overlay.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
|
|
9
|
-
export
|
|
8
|
+
type SaveSource = 'primary' | 'alternate';
|
|
9
|
+
export type CustomActionResult = {
|
|
10
10
|
message: string;
|
|
11
11
|
isSuccess: boolean;
|
|
12
12
|
};
|
|
@@ -98,6 +98,6 @@ export declare class ConfirmComponent implements OnInit, DialogContent<ConfirmDi
|
|
|
98
98
|
private addFormControls;
|
|
99
99
|
private doInlineConfirmAction;
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "ec-confirm", never, { "context": "context"; }, { "onDialogSave": "onDialogSave"; "onDialogCancel": "onDialogCancel"; }, never, never, false>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "ec-confirm", never, { "context": "context"; }, { "onDialogSave": "onDialogSave"; "onDialogCancel": "onDialogCancel"; }, never, never, false, never>;
|
|
102
102
|
}
|
|
103
103
|
export {};
|
|
@@ -28,5 +28,5 @@ export declare class DialogGroupComponent implements OnInit, OnDestroy {
|
|
|
28
28
|
*/
|
|
29
29
|
dialogClosed(dialogOpenEvent: DialogOpenStartEvent<any>): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogGroupComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogGroupComponent, "ec-dialog-group", never, {}, {}, never, never, false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogGroupComponent, "ec-dialog-group", never, {}, {}, never, never, false, never>;
|
|
32
32
|
}
|
|
@@ -111,10 +111,10 @@ export declare class DialogResult<T> {
|
|
|
111
111
|
constructor(save: boolean, context?: T | undefined);
|
|
112
112
|
}
|
|
113
113
|
/** Options for size of dialog */
|
|
114
|
-
export
|
|
114
|
+
export type DialogSize = number | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'full' | 'dynamic';
|
|
115
115
|
/**
|
|
116
116
|
* Dialog Animation Events:
|
|
117
117
|
* - BeginClose: When the close animation starts.
|
|
118
118
|
* - EndClose: When the close animation finishes
|
|
119
119
|
*/
|
|
120
|
-
export
|
|
120
|
+
export type DialogAnimationEvent = 'BeginClose' | 'EndClose';
|
|
@@ -104,5 +104,5 @@ export declare class DialogComponent {
|
|
|
104
104
|
*/
|
|
105
105
|
private getDialogId;
|
|
106
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ec-dialog", never, { "size": "size"; "content": "content"; "context": "context"; "options": "options"; "dialogOpenStartEventId": "dialogOpenStartEventId"; }, { "opened": "opened"; "closed": "closed"; }, never, never, false>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ec-dialog", never, { "size": "size"; "content": "content"; "context": "context"; "options": "options"; "dialogOpenStartEventId": "dialogOpenStartEventId"; }, { "opened": "opened"; "closed": "closed"; }, never, never, false, never>;
|
|
108
108
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Help = {
|
|
2
2
|
controls: HelpControl[];
|
|
3
3
|
overview?: string;
|
|
4
4
|
alwaysVisible?: boolean;
|
|
@@ -7,7 +7,7 @@ export declare type Help = {
|
|
|
7
7
|
/**
|
|
8
8
|
* A form control in the current view to define in the help panel
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type HelpControl = {
|
|
11
11
|
/**
|
|
12
12
|
* The controls id
|
|
13
13
|
* @type {string}
|
|
@@ -76,5 +76,5 @@ export declare abstract class HierarchyBase implements OnChanges, OnDestroy {
|
|
|
76
76
|
*/
|
|
77
77
|
setItemError(parentItem: HierarchyItem): void;
|
|
78
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<HierarchyBase, never>;
|
|
79
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HierarchyBase, never, never, { "rootNode": "rootNode"; }, { "getItemChildren": "getItemChildren"; }, never, never, false>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HierarchyBase, never, never, { "rootNode": "rootNode"; }, { "getItemChildren": "getItemChildren"; }, never, never, false, never>;
|
|
80
80
|
}
|
|
@@ -28,5 +28,5 @@ export declare class HierarchyTreeComponent extends HierarchyBase implements OnI
|
|
|
28
28
|
*/
|
|
29
29
|
selectItem(item: HierarchyItem): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<HierarchyTreeComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HierarchyTreeComponent, "ec-hierarchy-tree", never, { "id": "id"; "hideRootNode": "hideRootNode"; }, { "itemSelected": "itemSelected"; }, never, never, false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HierarchyTreeComponent, "ec-hierarchy-tree", never, { "id": "id"; "hideRootNode": "hideRootNode"; }, { "itemSelected": "itemSelected"; }, never, never, false, never>;
|
|
32
32
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PopoverContentPosition } from '../../controls/popover/popover.component';
|
|
2
2
|
import { LinkTarget } from '../tags/tag';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
4
|
+
export type DisplayValue = {
|
|
5
5
|
value: string;
|
|
6
6
|
classnames?: string;
|
|
7
7
|
icon?: string;
|
|
8
8
|
noValueText?: string;
|
|
9
9
|
tooltip?: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type HelpPopoverConfig = {
|
|
12
12
|
text: string;
|
|
13
13
|
contentPosition?: PopoverContentPosition;
|
|
14
14
|
maxWidth?: string;
|
|
@@ -39,5 +39,5 @@ export declare class ItemDisplayComponent {
|
|
|
39
39
|
*/
|
|
40
40
|
target: LinkTarget;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItemDisplayComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItemDisplayComponent, "ec-item-display", never, { "id": "id"; "label": "label"; "labelHelpPopover": "labelHelpPopover"; "value": "value"; "url": "url"; "condensed": "condensed"; "target": "target"; }, {}, never, ["*"], false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemDisplayComponent, "ec-item-display", never, { "id": "id"; "label": "label"; "labelHelpPopover": "labelHelpPopover"; "value": "value"; "url": "url"; "condensed": "condensed"; "target": "target"; }, {}, never, ["*"], false, never>;
|
|
43
43
|
}
|
|
@@ -12,5 +12,5 @@ export declare class JsonDisplayComponent implements OnChanges {
|
|
|
12
12
|
constructor(translate: TranslateService);
|
|
13
13
|
ngOnChanges(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonDisplayComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JsonDisplayComponent, "ec-json-display", never, { "id": "id"; "jsonString": "jsonString"; "maxLength": "maxLength"; }, {}, never, never, false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonDisplayComponent, "ec-json-display", never, { "id": "id"; "jsonString": "jsonString"; "maxLength": "maxLength"; }, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Renderer2, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { CacheService } from '../../core/cache.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
4
|
+
export type ResizeCacheEntry = {
|
|
5
5
|
widths: number[];
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
@@ -63,5 +63,5 @@ export declare abstract class ResizableBase implements AfterViewInit {
|
|
|
63
63
|
/** Store the provided widths in cache so they can be retrieved later */
|
|
64
64
|
protected saveWidths(widths: number[]): void;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableBase, never>;
|
|
66
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableBase, never, never, { "rememberWidth": "rememberWidth"; "id": "id"; }, {}, never, never, false>;
|
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableBase, never, never, { "rememberWidth": "rememberWidth"; "id": "id"; }, {}, never, never, false, never>;
|
|
67
67
|
}
|
|
@@ -27,5 +27,5 @@ export declare class ResizableComponent extends ResizableBase implements OnInit
|
|
|
27
27
|
*/
|
|
28
28
|
protected restoreWidths(widths: number[]): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResizableComponent, "ec-resizable", never, {}, {}, never, ["*"], false>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizableComponent, "ec-resizable", never, {}, {}, never, ["*"], false, never>;
|
|
31
31
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SpinnerComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ec-spinner", never, {}, {}, never, never, false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ec-spinner", never, {}, {}, never, never, false, never>;
|
|
5
5
|
}
|
|
@@ -12,5 +12,5 @@ export declare class SplashComponent implements OnInit, OnDestroy {
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplashComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplashComponent, "ec-splash", never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplashComponent, "ec-splash", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -6,5 +6,5 @@ export declare class ResizableColumnComponent {
|
|
|
6
6
|
constructor(el: ElementRef);
|
|
7
7
|
emitWidth(width: number): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableColumnComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResizableColumnComponent, "th.is-resizable", never, {}, { "onResize": "onResize"; }, never, ["*"], false>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizableColumnComponent, "th.is-resizable", never, {}, { "onResize": "onResize"; }, never, ["*"], false, never>;
|
|
10
10
|
}
|
|
@@ -89,5 +89,5 @@ export declare class ResizableTableDirective extends ResizableBase implements On
|
|
|
89
89
|
*/
|
|
90
90
|
private setInitialWidths;
|
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableTableDirective, never>;
|
|
92
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableTableDirective, "[ecResizableTable]", never, { "isResizable": "ecResizableTable"; "containerEl": "containerEl"; "sortableTable": "sortableTable"; "resizableColumns": "resizableColumns"; }, {}, never, never, false>;
|
|
92
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableTableDirective, "[ecResizableTable]", never, { "isResizable": "ecResizableTable"; "containerEl": "containerEl"; "sortableTable": "sortableTable"; "resizableColumns": "resizableColumns"; }, {}, never, never, false, never>;
|
|
93
93
|
}
|