invensys-ng 21.3.6 → 21.3.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "invensys-ng",
3
- "version": "21.3.6",
3
+ "version": "21.3.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ulbrichFrauendorf/invensys-ng"
@@ -30,9 +30,9 @@
30
30
  --color-border: #{color.get-color("gray", 300)};
31
31
 
32
32
  // Disabled state colors
33
- --color-disabled-background: #f5f5f5;
33
+ --color-disabled-background: #f1f5f9;
34
34
  --color-disabled-border: #e2e8f0;
35
- --color-text-disabled: #{color.get-color("gray", 700)};
35
+ --color-text-disabled: #94a3b8;
36
36
 
37
37
  // Surface colors
38
38
  --surface-ground: #f8fafc;
@@ -70,9 +70,9 @@
70
70
  --color-border: #5e564b;
71
71
 
72
72
  // Disabled state colors
73
- --color-disabled-background: #1f2937;
74
- --color-disabled-border: #4b4e50;
75
- --color-text-disabled: #ffffffde;
73
+ --color-disabled-background: #1e293b;
74
+ --color-disabled-border: #334155;
75
+ --color-text-disabled: #94a3b8;
76
76
 
77
77
  // Surface colors
78
78
  --surface-ground: #000510;
@@ -1,5 +1,5 @@
1
- @use 'sass:map';
2
- @use './color-palette.scss' as colors;
1
+ @use "sass:map";
2
+ @use "./color-palette.scss" as colors;
3
3
 
4
4
  @function get-color($name, $shade) {
5
5
  $shades: map.get(colors.$colors, $name);
@@ -13,4 +13,4 @@
13
13
  }
14
14
 
15
15
  @return $value;
16
- }
16
+ }
@@ -3500,6 +3500,75 @@ declare class ISelect implements ControlValueAccessor {
3500
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>;
3501
3501
  }
3502
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
+
3503
3572
  /**
3504
3573
  * Tab Panel Component
3505
3574
  *
@@ -5686,5 +5755,187 @@ interface ZIndexUtilsInterface {
5686
5755
  }
5687
5756
  declare function ZIndexUtils(): ZIndexUtilsInterface;
5688
5757
 
5689
- 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 };
5690
- 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
+ /** A selectable item in a grouped field catalog. Keys must be unique. */
5759
+ interface FieldPickerOption {
5760
+ key: string;
5761
+ label: string;
5762
+ group?: string;
5763
+ description?: string;
5764
+ disabled?: boolean;
5765
+ }
5766
+ /**
5767
+ * Searchable, grouped selection of fields. The form value is an array of keys.
5768
+ * Composes the shared input and checkbox controls; contains no report semantics.
5769
+ * @example
5770
+ * ```html
5771
+ * <i-field-picker [options]="fields" [(ngModel)]="selectedKeys" />
5772
+ * ```
5773
+ */
5774
+ declare class IFieldPicker implements ControlValueAccessor {
5775
+ /** Available fields. Selection is retained when options are filtered or reloaded. */
5776
+ options: FieldPickerOption[];
5777
+ /** Accessible name of the grouped selection. */
5778
+ ariaLabel: string;
5779
+ /** Label on the search input. */
5780
+ searchLabel: string;
5781
+ /** Heading for options without a group. */
5782
+ ungroupedLabel: string;
5783
+ /** Message shown when the search has no matches. */
5784
+ emptyMessage: string;
5785
+ /** Prevents selection changes but allows searching. */
5786
+ readonly: boolean;
5787
+ /** Disables the control, including search. Angular Forms can set this state. */
5788
+ disabled: boolean;
5789
+ /** Emits a new array after a user changes the selection. */
5790
+ onChange: EventEmitter<string[]>;
5791
+ readonly componentId: string;
5792
+ search: string;
5793
+ value: string[];
5794
+ private change;
5795
+ private touched;
5796
+ get groups(): {
5797
+ name: string;
5798
+ options: FieldPickerOption[];
5799
+ }[];
5800
+ select(option: FieldPickerOption, checked: boolean): void;
5801
+ writeValue(value: string[] | null): void;
5802
+ registerOnChange(fn: (value: string[]) => void): void;
5803
+ registerOnTouched(fn: () => void): void;
5804
+ setDisabledState(disabled: boolean): void;
5805
+ markTouched(): void;
5806
+ static ɵfac: i0.ɵɵFactoryDeclaration<IFieldPicker, never>;
5807
+ static ɵcmp: i0.ɵɵComponentDeclaration<IFieldPicker, "i-field-picker", never, { "options": { "alias": "options"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; "ungroupedLabel": { "alias": "ungroupedLabel"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
5808
+ }
5809
+
5810
+ /** Context supplied to an ordered list's custom row settings template. */
5811
+ interface OrderedListItemContext<T> {
5812
+ $implicit: T;
5813
+ index: number;
5814
+ readonly: boolean;
5815
+ }
5816
+ /** Describes a user-initiated reordering. */
5817
+ interface OrderedListMoveEvent<T> {
5818
+ item: T;
5819
+ previousIndex: number;
5820
+ index: number;
5821
+ }
5822
+ /**
5823
+ * Controlled ordered list with accessible move/remove actions and optional row content.
5824
+ * Emits new arrays and never mutates the caller's items or their properties.
5825
+ * @example
5826
+ * ```html
5827
+ * <i-ordered-list [(items)]="columns" [itemLabel]="columnLabel" [itemTemplate]="settings" />
5828
+ * <ng-template #settings let-column let-index="index" let-readonly="readonly">
5829
+ * <!-- Domain-specific settings are owned by the consumer. -->
5830
+ * </ng-template>
5831
+ * ```
5832
+ */
5833
+ declare class IOrderedList<T> {
5834
+ /** Items in display order. Bind itemsChange or use two-way binding. */
5835
+ items: T[];
5836
+ /** Accessible row labels. */
5837
+ itemLabel: (item: T) => string;
5838
+ /** Stable identity for rows, particularly when immutable item objects are used. */
5839
+ itemKey: (item: T) => unknown;
5840
+ /** Optional content below each item's label. */
5841
+ itemTemplate?: TemplateRef<OrderedListItemContext<T>>;
5842
+ /** Accessible name of the ordered list. */
5843
+ ariaLabel: string;
5844
+ /** Empty-list message. */
5845
+ emptyMessage: string;
5846
+ /** Prevents reordering and removal. The same state is passed into the row template. */
5847
+ readonly: boolean;
5848
+ /** Disables all list actions. */
5849
+ disabled: boolean;
5850
+ /** Controls whether remove actions are shown. */
5851
+ removable: boolean;
5852
+ /** New ordered array after a move or removal. */
5853
+ itemsChange: EventEmitter<T[]>;
5854
+ /** Additional move details for consumers that need them. */
5855
+ onMove: EventEmitter<OrderedListMoveEvent<T>>;
5856
+ /** Removed item and its former index. */
5857
+ onRemove: EventEmitter<{
5858
+ item: T;
5859
+ index: number;
5860
+ }>;
5861
+ announcement: string;
5862
+ move(index: number, direction: -1 | 1): void;
5863
+ remove(index: number): void;
5864
+ static ɵfac: i0.ɵɵFactoryDeclaration<IOrderedList<any>, never>;
5865
+ static ɵcmp: i0.ɵɵComponentDeclaration<IOrderedList<any>, "i-ordered-list", never, { "items": { "alias": "items"; "required": false; }; "itemLabel": { "alias": "itemLabel"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; }, { "itemsChange": "itemsChange"; "onMove": "onMove"; "onRemove": "onRemove"; }, never, never, true, never>;
5866
+ }
5867
+
5868
+ type RuleFieldType = 'text' | 'number' | 'date' | 'boolean';
5869
+ /** Fields presented by a rule editor; keys must be unique. */
5870
+ interface RuleEditorField {
5871
+ key: string;
5872
+ label: string;
5873
+ type: RuleFieldType;
5874
+ }
5875
+ /** Operator semantics belong to the consumer. Keys must be unique. */
5876
+ interface RuleEditorOperator {
5877
+ key: string;
5878
+ label: string;
5879
+ /** Defaults to true. Set false for empty checks or sort directions. */
5880
+ requiresValue?: boolean;
5881
+ /** Omit to offer the operator for all field types. */
5882
+ fieldTypes?: RuleFieldType[];
5883
+ }
5884
+ /** UI rule value. Numeric/date/boolean values are represented as strings. */
5885
+ interface EditorRule {
5886
+ fieldKey: string;
5887
+ operator: string;
5888
+ value?: string;
5889
+ }
5890
+ /**
5891
+ * Controlled field/operator/value rows. Can also edit sorting rules by supplying
5892
+ * direction operators with requiresValue=false. Does not execute or persist rules.
5893
+ * @example
5894
+ * ```html
5895
+ * <i-rule-editor [fields]="fields" [operators]="operators" [(rules)]="filters" />
5896
+ * ```
5897
+ */
5898
+ declare class IRuleEditor {
5899
+ /** Available fields. */
5900
+ fields: RuleEditorField[];
5901
+ /** Available operators, optionally restricted by field type. */
5902
+ operators: RuleEditorOperator[];
5903
+ /** Current rows. Bind rulesChange or use two-way binding. */
5904
+ rules: EditorRule[];
5905
+ /** Accessible name for the collection. */
5906
+ ariaLabel: string;
5907
+ /** Label of the operator selector (for example Direction). */
5908
+ operatorLabel: string;
5909
+ /** Add action label. */
5910
+ addLabel: string;
5911
+ /** Empty collection message. */
5912
+ emptyMessage: string;
5913
+ /** Prevents user changes while retaining the current display. */
5914
+ readonly: boolean;
5915
+ /** Disables all row controls. */
5916
+ disabled: boolean;
5917
+ /** Immutable replacement emitted after a user action. */
5918
+ rulesChange: EventEmitter<EditorRule[]>;
5919
+ readonly booleanOptions: {
5920
+ key: string;
5921
+ label: string;
5922
+ }[];
5923
+ field(rule: EditorRule): RuleEditorField | null;
5924
+ operator(rule: EditorRule): RuleEditorOperator | null;
5925
+ booleanValue(rule: EditorRule): {
5926
+ key: string;
5927
+ label: string;
5928
+ } | null;
5929
+ operatorsFor(field: RuleEditorField | null): RuleEditorOperator[];
5930
+ get canAdd(): boolean;
5931
+ add(): void;
5932
+ changeField(index: number, field: RuleEditorField | null): void;
5933
+ changeOperator(index: number, operator: RuleEditorOperator | null): void;
5934
+ update(index: number, changes: Partial<EditorRule>): void;
5935
+ remove(index: number): void;
5936
+ static ɵfac: i0.ɵɵFactoryDeclaration<IRuleEditor, never>;
5937
+ static ɵcmp: i0.ɵɵComponentDeclaration<IRuleEditor, "i-rule-editor", never, { "fields": { "alias": "fields"; "required": false; }; "operators": { "alias": "operators"; "required": false; }; "rules": { "alias": "rules"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "operatorLabel": { "alias": "operatorLabel"; "required": false; }; "addLabel": { "alias": "addLabel"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "rulesChange": "rulesChange"; }, never, never, true, never>;
5938
+ }
5939
+
5940
+ export { AbstractDialog, CLAIMS_CHECKER, ConfirmationDialogComponent, ConfirmationDialogService, DataUpdateEventService, DialogService, EmptyStateComponent, IAccordion, IAccordionList, IButton, ICalendar, ICard, IChart, ICheckbox, IChip, IChipsComponent, IDialog, IDialogActions, IDialogBase, IDivider, IFieldPicker, IInputText, IListbox, IMessage, IMultiSelect, IOrderedList, IOverlayPanel, IPanel, IPlaceholder, IProgressSpinner, IRadioButton, IRuleEditor, 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 };
5941
+ export type { AppConfig, ArticleSchema, BreadcrumbItem, CalendarView, ChipItem, ChipRemoveEvent, ClaimsChecker, ConfirmationDialogConfig, DialogBreakpoints, DialogContentStyle, EditorRule, FieldPickerOption, 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, OrderedListItemContext, OrderedListMoveEvent, OrganizationSchema, PlaceholderArrowDirection, RuleEditorField, RuleEditorOperator, RuleFieldType, SelectOption, SeoConfig, SortEvent, StepperChangeEvent, StepperOrientation, TableColumn, TableDownloadEvent, TooltipPosition, TreeSelectionMode, WebSiteSchema };