invensys-ng 21.3.5 → 21.3.7
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/fesm2022/invensys-ng.mjs +239 -33
- package/fesm2022/invensys-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/types/invensys-ng.d.ts +98 -2
package/package.json
CHANGED
package/types/invensys-ng.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Observable, Subscription } from 'rxjs';
|
|
|
7
7
|
import { Router } from '@angular/router';
|
|
8
8
|
import { IPosition } from '@shared/enums/IPosition';
|
|
9
9
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
10
|
+
import { LegendItem } from 'chart.js';
|
|
10
11
|
import { Meta, Title } from '@angular/platform-browser';
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -3499,6 +3500,75 @@ declare class ISelect implements ControlValueAccessor {
|
|
|
3499
3500
|
static ɵcmp: i0.ɵɵComponentDeclaration<ISelect, "i-select", never, { "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "useFloatLabel": { "alias": "useFloatLabel"; "required": false; }; "id": { "alias": "id"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "onChange": "onChange"; "onClear": "onClear"; }, never, never, true, never>;
|
|
3500
3501
|
}
|
|
3501
3502
|
|
|
3503
|
+
/** A single step rendered inside an {@link IStepper}. */
|
|
3504
|
+
declare class IStep {
|
|
3505
|
+
/** Primary text shown in the step navigation. */
|
|
3506
|
+
label: string;
|
|
3507
|
+
/** Optional supporting text shown below the label. */
|
|
3508
|
+
description?: string;
|
|
3509
|
+
/** Optional PrimeIcons class used instead of the step number. */
|
|
3510
|
+
icon?: string;
|
|
3511
|
+
/** Marks the step as successfully completed. */
|
|
3512
|
+
completed: boolean;
|
|
3513
|
+
/** Marks the step as optional. */
|
|
3514
|
+
optional: boolean;
|
|
3515
|
+
/** Prevents the step from being selected. */
|
|
3516
|
+
disabled: boolean;
|
|
3517
|
+
/** Projected step content. */
|
|
3518
|
+
contentTemplate: TemplateRef<unknown>;
|
|
3519
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IStep, never>;
|
|
3520
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IStep, "i-step", never, { "label": { "alias": "label"; "required": true; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "completed": { "alias": "completed"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
type StepperOrientation = 'horizontal' | 'vertical';
|
|
3524
|
+
interface StepperChangeEvent {
|
|
3525
|
+
originalEvent: Event;
|
|
3526
|
+
index: number;
|
|
3527
|
+
previousIndex: number;
|
|
3528
|
+
}
|
|
3529
|
+
/**
|
|
3530
|
+
* Guided, stateful navigation for multi-step workflows.
|
|
3531
|
+
*
|
|
3532
|
+
* @example
|
|
3533
|
+
* ```html
|
|
3534
|
+
* <i-stepper [(activeIndex)]="activeStep" [linear]="true">
|
|
3535
|
+
* <i-step label="Details" description="Name and access" [completed]="detailsValid">
|
|
3536
|
+
* Details form
|
|
3537
|
+
* </i-step>
|
|
3538
|
+
* <i-step label="Columns" [disabled]="!detailsValid">
|
|
3539
|
+
* Column selection
|
|
3540
|
+
* </i-step>
|
|
3541
|
+
* </i-stepper>
|
|
3542
|
+
* ```
|
|
3543
|
+
*/
|
|
3544
|
+
declare class IStepper implements AfterContentInit {
|
|
3545
|
+
/** Zero-based index of the active step. */
|
|
3546
|
+
activeIndex: number;
|
|
3547
|
+
/** Prevents skipping incomplete steps when enabled. */
|
|
3548
|
+
linear: boolean;
|
|
3549
|
+
/** Navigation layout. Horizontal steppers collapse to vertical on small screens. */
|
|
3550
|
+
orientation: StepperOrientation;
|
|
3551
|
+
/** Accessible label for the step navigation. */
|
|
3552
|
+
ariaLabel: string;
|
|
3553
|
+
/** Supports two-way binding of the active step. */
|
|
3554
|
+
activeIndexChange: EventEmitter<number>;
|
|
3555
|
+
/** Emitted after the user selects a different step. */
|
|
3556
|
+
onChange: EventEmitter<StepperChangeEvent>;
|
|
3557
|
+
stepComponents: QueryList<IStep>;
|
|
3558
|
+
readonly componentId: string;
|
|
3559
|
+
steps: IStep[];
|
|
3560
|
+
ngAfterContentInit(): void;
|
|
3561
|
+
selectStep(event: Event, index: number): void;
|
|
3562
|
+
canSelect(index: number): boolean;
|
|
3563
|
+
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
3564
|
+
private syncSteps;
|
|
3565
|
+
private focusAdjacent;
|
|
3566
|
+
private focusBoundary;
|
|
3567
|
+
private focusStep;
|
|
3568
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IStepper, never>;
|
|
3569
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IStepper, "i-stepper", never, { "activeIndex": { "alias": "activeIndex"; "required": false; }; "linear": { "alias": "linear"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "onChange": "onChange"; }, ["stepComponents"], never, true, never>;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3502
3572
|
/**
|
|
3503
3573
|
* Tab Panel Component
|
|
3504
3574
|
*
|
|
@@ -5177,6 +5247,10 @@ interface IChartDisplay {
|
|
|
5177
5247
|
* ];
|
|
5178
5248
|
* ```
|
|
5179
5249
|
*/
|
|
5250
|
+
interface IChartLegendItem extends LegendItem {
|
|
5251
|
+
fillStyleText: string;
|
|
5252
|
+
strokeStyleText: string;
|
|
5253
|
+
}
|
|
5180
5254
|
declare class IChart implements AfterViewInit, OnDestroy, OnChanges {
|
|
5181
5255
|
/**
|
|
5182
5256
|
* Array of chart data objects to render
|
|
@@ -5207,6 +5281,11 @@ declare class IChart implements AfterViewInit, OnDestroy, OnChanges {
|
|
|
5207
5281
|
* @internal
|
|
5208
5282
|
*/
|
|
5209
5283
|
private chartInstances;
|
|
5284
|
+
/**
|
|
5285
|
+
* Legend items generated from Chart.js for each chart instance.
|
|
5286
|
+
* @internal
|
|
5287
|
+
*/
|
|
5288
|
+
chartLegendItems: IChartLegendItem[][];
|
|
5210
5289
|
/**
|
|
5211
5290
|
* Flag to track if component has initialized
|
|
5212
5291
|
* @internal
|
|
@@ -5309,6 +5388,23 @@ declare class IChart implements AfterViewInit, OnDestroy, OnChanges {
|
|
|
5309
5388
|
* @internal
|
|
5310
5389
|
*/
|
|
5311
5390
|
private addTransparency;
|
|
5391
|
+
/**
|
|
5392
|
+
* Get legend items for a chart display.
|
|
5393
|
+
* @param chartIndex - The index of the chart display
|
|
5394
|
+
* @returns Legend items generated by Chart.js
|
|
5395
|
+
*/
|
|
5396
|
+
getLegendItems(chartIndex: number): IChartLegendItem[];
|
|
5397
|
+
/**
|
|
5398
|
+
* Toggle a chart legend item using the same Chart.js behavior as the built-in legend.
|
|
5399
|
+
* @param chartIndex - The index of the chart display
|
|
5400
|
+
* @param item - The legend item to toggle
|
|
5401
|
+
*/
|
|
5402
|
+
toggleLegendItem(chartIndex: number, item: IChartLegendItem): void;
|
|
5403
|
+
/**
|
|
5404
|
+
* Refresh the custom legend items for a chart instance.
|
|
5405
|
+
* @internal
|
|
5406
|
+
*/
|
|
5407
|
+
private updateLegendItems;
|
|
5312
5408
|
/**
|
|
5313
5409
|
* Get the height style for a chart display
|
|
5314
5410
|
* @param display - The chart display configuration
|
|
@@ -5659,5 +5755,5 @@ interface ZIndexUtilsInterface {
|
|
|
5659
5755
|
}
|
|
5660
5756
|
declare function ZIndexUtils(): ZIndexUtilsInterface;
|
|
5661
5757
|
|
|
5662
|
-
export { AbstractDialog, CLAIMS_CHECKER, ConfirmationDialogComponent, ConfirmationDialogService, DataUpdateEventService, DialogService, EmptyStateComponent, IAccordion, IAccordionList, IButton, ICalendar, ICard, IChart, ICheckbox, IChip, IChipsComponent, IDialog, IDialogActions, IDialogBase, IDivider, IInputText, IListbox, IMessage, IMultiSelect, IOverlayPanel, IPanel, IPlaceholder, IProgressSpinner, IRadioButton, ISelect, ITabPanel, ITable, ITabs, ITag, ITextarea, IToggle, ITreeView, IWhisper, LayoutComponent, LayoutService, LocalStorageColorSchemeKey, MenuComponent, NoContentComponent, SeoService, SidebarComponent, StructuredDataService, TooltipComponent, TooltipDirective, TopbarComponent, UniqueComponentId, WhisperService, ZIndexUtils, lastId, provideMenuClaimsChecker };
|
|
5663
|
-
export type { AppConfig, ArticleSchema, BreadcrumbItem, CalendarView, ChipItem, ChipRemoveEvent, ClaimsChecker, ConfirmationDialogConfig, DialogBreakpoints, DialogContentStyle, FilterEvent, GridAction, GridData, GridDetails, IButtonSize, IChartData, IChartDataSet, IChartDisplay, IChartType, IChartTypeExtended, ICheckboxSize, IDividerAlign, IDividerLayout, IDynamicDialogConfig, IDynamicDialogRef, IInputBackgroundStyle, ITagSize, ITextareaBackgroundStyle, IToggleSize, ITreeNode, IWhisperMessage, IWhisperOptions, IWhisperPosition, LayoutConfig, ListboxOption, MenuItem, MenuModel, MessageSize, MultiSelectOption, OrganizationSchema, PlaceholderArrowDirection, SelectOption, SeoConfig, SortEvent, TableColumn, TableDownloadEvent, TooltipPosition, TreeSelectionMode, WebSiteSchema };
|
|
5758
|
+
export { AbstractDialog, CLAIMS_CHECKER, ConfirmationDialogComponent, ConfirmationDialogService, DataUpdateEventService, DialogService, EmptyStateComponent, IAccordion, IAccordionList, IButton, ICalendar, ICard, IChart, ICheckbox, IChip, IChipsComponent, IDialog, IDialogActions, IDialogBase, IDivider, IInputText, IListbox, IMessage, IMultiSelect, IOverlayPanel, IPanel, IPlaceholder, IProgressSpinner, IRadioButton, ISelect, IStep, IStepper, ITabPanel, ITable, ITabs, ITag, ITextarea, IToggle, ITreeView, IWhisper, LayoutComponent, LayoutService, LocalStorageColorSchemeKey, MenuComponent, NoContentComponent, SeoService, SidebarComponent, StructuredDataService, TooltipComponent, TooltipDirective, TopbarComponent, UniqueComponentId, WhisperService, ZIndexUtils, lastId, provideMenuClaimsChecker };
|
|
5759
|
+
export type { AppConfig, ArticleSchema, BreadcrumbItem, CalendarView, ChipItem, ChipRemoveEvent, ClaimsChecker, ConfirmationDialogConfig, DialogBreakpoints, DialogContentStyle, FilterEvent, GridAction, GridData, GridDetails, IButtonSize, IChartData, IChartDataSet, IChartDisplay, IChartType, IChartTypeExtended, ICheckboxSize, IDividerAlign, IDividerLayout, IDynamicDialogConfig, IDynamicDialogRef, IInputBackgroundStyle, ITagSize, ITextareaBackgroundStyle, IToggleSize, ITreeNode, IWhisperMessage, IWhisperOptions, IWhisperPosition, LayoutConfig, ListboxOption, MenuItem, MenuModel, MessageSize, MultiSelectOption, OrganizationSchema, PlaceholderArrowDirection, SelectOption, SeoConfig, SortEvent, StepperChangeEvent, StepperOrientation, TableColumn, TableDownloadEvent, TooltipPosition, TreeSelectionMode, WebSiteSchema };
|