@leanix/components 0.4.78 → 0.4.80

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/index.d.ts CHANGED
@@ -57,7 +57,6 @@ export * from './lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.c
57
57
  export * from './lib/forms-ui/components/error-message/error-message.component';
58
58
  export * from './lib/forms-ui/components/expanded-dropdown/expanded-dropdown.component';
59
59
  export * from './lib/forms-ui/components/form-error/form-error.component';
60
- export * from './lib/forms-ui/components/history-navigation/history-navigation.component';
61
60
  export * from './lib/forms-ui/components/icon/icon.component';
62
61
  export * from './lib/forms-ui/components/multi-select/multi-select.component';
63
62
  export * from './lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component';
@@ -50,9 +50,8 @@ import * as i48 from "./directives/form-error.directive";
50
50
  import * as i49 from "./components/error-message/error-message.component";
51
51
  import * as i50 from "./directives/form-submit.directive";
52
52
  import * as i51 from "./directives/contenteditable.directive";
53
- import * as i52 from "./components/history-navigation/history-navigation.component";
54
53
  export declare class LxFormsModule {
55
54
  static ɵfac: i0.ɵɵFactoryDeclaration<LxFormsModule, never>;
56
- static ɵmod: i0.ɵɵNgModuleDeclaration<LxFormsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i4.DatepickerUiModule, typeof i5.InfiniteScrollModule, typeof i6.ClipboardModule, typeof i7.OverlayModule, typeof i8.LxCoreUiModule, typeof i9.LxDragAndDropListModule, typeof i10.BasicDropdownComponent, typeof i11.ExpandedDropdownComponent, typeof i12.BasicDropdownItemComponent, typeof i13.BreadcrumbComponent, typeof i14.CopyButtonComponent, typeof i15.CurrencyInputComponent, typeof i16.CurrencySymbolComponent, typeof i17.DateInputComponent, typeof i18.FilterSelectionPipe, typeof i19.FilterTermPipe, typeof i20.FormErrorComponent, typeof i21.IconComponent, typeof i22.KeyboardActionSourceDirective, typeof i23.MarkInvalidDirective, typeof i24.MultiSelectComponent, typeof i25.OptionComponent, typeof i26.OptionGroupComponent, typeof i27.OptionGroupDropdownComponent, typeof i28.OptionsDropdownComponent, typeof i29.OptionsSubDropdownComponent, typeof i30.CdkOptionsDropdownComponent, typeof i31.CdkOptionsSubDropdownComponent, typeof i32.PickerComponent, typeof i33.PickerOptionComponent, typeof i34.PickerTriggerDirective, typeof i35.PillListComponent, typeof i36.PillItemComponent, typeof i37.ResponsiveInputComponent, typeof i38.SelectableItemDirective, typeof i39.SelectedOptionDirective, typeof i40.SelectDropdownDirective, typeof i41.SingleSelectComponent, typeof i42.SelectListComponent, typeof i43.SliderToggleComponent, typeof i44.SortingDropdownComponent, typeof i45.SortingDropdownTriggerComponent, typeof i46.InputComponent, typeof i47.FormatNumberPipe, typeof i48.FormErrorDirective, typeof i49.ErrorMessageComponent, typeof i50.FormSubmitDirective, typeof i51.ContenteditableDirective, typeof i52.HistoryNavigationComponent], [typeof i10.BasicDropdownComponent, typeof i11.ExpandedDropdownComponent, typeof i12.BasicDropdownItemComponent, typeof i13.BreadcrumbComponent, typeof i14.CopyButtonComponent, typeof i15.CurrencyInputComponent, typeof i16.CurrencySymbolComponent, typeof i17.DateInputComponent, typeof i18.FilterSelectionPipe, typeof i19.FilterTermPipe, typeof i20.FormErrorComponent, typeof i21.IconComponent, typeof i22.KeyboardActionSourceDirective, typeof i23.MarkInvalidDirective, typeof i24.MultiSelectComponent, typeof i25.OptionComponent, typeof i26.OptionGroupComponent, typeof i27.OptionGroupDropdownComponent, typeof i28.OptionsDropdownComponent, typeof i29.OptionsSubDropdownComponent, typeof i30.CdkOptionsDropdownComponent, typeof i31.CdkOptionsSubDropdownComponent, typeof i32.PickerComponent, typeof i33.PickerOptionComponent, typeof i34.PickerTriggerDirective, typeof i35.PillListComponent, typeof i36.PillItemComponent, typeof i37.ResponsiveInputComponent, typeof i38.SelectableItemDirective, typeof i40.SelectDropdownDirective, typeof i39.SelectedOptionDirective, typeof i42.SelectListComponent, typeof i41.SingleSelectComponent, typeof i43.SliderToggleComponent, typeof i44.SortingDropdownComponent, typeof i45.SortingDropdownTriggerComponent, typeof i47.FormatNumberPipe, typeof i48.FormErrorDirective, typeof i50.FormSubmitDirective, typeof i49.ErrorMessageComponent, typeof i9.LxDragAndDropListModule, typeof i51.ContenteditableDirective, typeof i52.HistoryNavigationComponent]>;
55
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LxFormsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i4.DatepickerUiModule, typeof i5.InfiniteScrollModule, typeof i6.ClipboardModule, typeof i7.OverlayModule, typeof i8.LxCoreUiModule, typeof i9.LxDragAndDropListModule, typeof i10.BasicDropdownComponent, typeof i11.ExpandedDropdownComponent, typeof i12.BasicDropdownItemComponent, typeof i13.BreadcrumbComponent, typeof i14.CopyButtonComponent, typeof i15.CurrencyInputComponent, typeof i16.CurrencySymbolComponent, typeof i17.DateInputComponent, typeof i18.FilterSelectionPipe, typeof i19.FilterTermPipe, typeof i20.FormErrorComponent, typeof i21.IconComponent, typeof i22.KeyboardActionSourceDirective, typeof i23.MarkInvalidDirective, typeof i24.MultiSelectComponent, typeof i25.OptionComponent, typeof i26.OptionGroupComponent, typeof i27.OptionGroupDropdownComponent, typeof i28.OptionsDropdownComponent, typeof i29.OptionsSubDropdownComponent, typeof i30.CdkOptionsDropdownComponent, typeof i31.CdkOptionsSubDropdownComponent, typeof i32.PickerComponent, typeof i33.PickerOptionComponent, typeof i34.PickerTriggerDirective, typeof i35.PillListComponent, typeof i36.PillItemComponent, typeof i37.ResponsiveInputComponent, typeof i38.SelectableItemDirective, typeof i39.SelectedOptionDirective, typeof i40.SelectDropdownDirective, typeof i41.SingleSelectComponent, typeof i42.SelectListComponent, typeof i43.SliderToggleComponent, typeof i44.SortingDropdownComponent, typeof i45.SortingDropdownTriggerComponent, typeof i46.InputComponent, typeof i47.FormatNumberPipe, typeof i48.FormErrorDirective, typeof i49.ErrorMessageComponent, typeof i50.FormSubmitDirective, typeof i51.ContenteditableDirective], [typeof i10.BasicDropdownComponent, typeof i11.ExpandedDropdownComponent, typeof i12.BasicDropdownItemComponent, typeof i13.BreadcrumbComponent, typeof i14.CopyButtonComponent, typeof i15.CurrencyInputComponent, typeof i16.CurrencySymbolComponent, typeof i17.DateInputComponent, typeof i18.FilterSelectionPipe, typeof i19.FilterTermPipe, typeof i20.FormErrorComponent, typeof i21.IconComponent, typeof i22.KeyboardActionSourceDirective, typeof i23.MarkInvalidDirective, typeof i24.MultiSelectComponent, typeof i25.OptionComponent, typeof i26.OptionGroupComponent, typeof i27.OptionGroupDropdownComponent, typeof i28.OptionsDropdownComponent, typeof i29.OptionsSubDropdownComponent, typeof i30.CdkOptionsDropdownComponent, typeof i31.CdkOptionsSubDropdownComponent, typeof i32.PickerComponent, typeof i33.PickerOptionComponent, typeof i34.PickerTriggerDirective, typeof i35.PillListComponent, typeof i36.PillItemComponent, typeof i37.ResponsiveInputComponent, typeof i38.SelectableItemDirective, typeof i40.SelectDropdownDirective, typeof i39.SelectedOptionDirective, typeof i42.SelectListComponent, typeof i41.SingleSelectComponent, typeof i43.SliderToggleComponent, typeof i44.SortingDropdownComponent, typeof i45.SortingDropdownTriggerComponent, typeof i47.FormatNumberPipe, typeof i48.FormErrorDirective, typeof i50.FormSubmitDirective, typeof i49.ErrorMessageComponent, typeof i9.LxDragAndDropListModule, typeof i51.ContenteditableDirective]>;
57
56
  static ɵinj: i0.ɵɵInjectorDeclaration<LxFormsModule>;
58
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.78",
3
+ "version": "0.4.80",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {
@@ -1,44 +0,0 @@
1
- import { NgFor } from '@angular/common';
2
- import { Component, Input } from '@angular/core';
3
- import { ButtonGroupComponent } from '../../../core-ui/components/button-group/button-group.component';
4
- import { ButtonComponent } from '../../../core-ui/components/button/button.component';
5
- import { KeyboardActionSourceDirective } from '../../directives/keyboard-action-source.directive';
6
- import { CdkOptionsDropdownComponent } from '../cdk-options-dropdown/cdk-options-dropdown.component';
7
- import { OptionComponent } from '../option/option.component';
8
- import * as i0 from "@angular/core";
9
- export class HistoryNavigationComponent {
10
- constructor() {
11
- this.historyItems = [];
12
- this.currentIndex = this.historyItems.length - 1;
13
- }
14
- navigateToItem(historyItem) {
15
- if (historyItem && historyItem.onClick) {
16
- historyItem.onClick();
17
- }
18
- }
19
- navigateBack() {
20
- const previousItem = this.historyItems[this.currentIndex - 1];
21
- this.navigateToItem(previousItem);
22
- }
23
- navigateForward() {
24
- const nextItem = this.historyItems[this.currentIndex + 1];
25
- this.navigateToItem(nextItem);
26
- }
27
- isLastItem() {
28
- return this.currentIndex === this.historyItems.length - 1 || this.historyItems.length === 0;
29
- }
30
- isFirstItem() {
31
- return this.currentIndex === 0 || this.historyItems.length === 0;
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: HistoryNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: HistoryNavigationComponent, isStandalone: true, selector: "lx-history-navigation", inputs: { historyItems: "historyItems", currentIndex: "currentIndex" }, ngImport: i0, template: "<div class=\"history-navigation\">\n <ng-container>\n <lx-button-group>\n <lx-cdk-options-dropdown [align]=\"'left'\" class=\"dropdownContainer\">\n <button class=\"lx-wsr\" lx-button lxKeyboardActionSource (click)=\"(false)\" [disabled]=\"historyItems.length === 1\">\n <i class=\"far fa-history\"></i>\n </button>\n <lx-option\n *ngFor=\"let historyItem of historyItems; index as index\"\n [selected]=\"index === currentIndex\"\n [hasSelectedState]=\"false\"\n (select)=\"navigateToItem(historyItem)\"\n >\n {{ historyItem.label }}\n </lx-option>\n </lx-cdk-options-dropdown>\n <button lx-button (click)=\"navigateBack()\" [disabled]=\"isFirstItem()\">\n <i class=\"far fa-angle-left\"></i>\n </button>\n <button lx-button (click)=\"navigateForward()\" [disabled]=\"isLastItem()\">\n <i class=\"far fa-angle-right\"></i>\n </button>\n </lx-button-group>\n </ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonGroupComponent, selector: "lx-button-group", inputs: ["separator"] }, { kind: "component", type: ButtonComponent, selector: "button[lx-button]", inputs: ["size", "color", "mode", "pressed", "selected", "square", "circle", "disabled", "showSpinner"] }, { kind: "component", type: CdkOptionsDropdownComponent, selector: "lx-cdk-options-dropdown", inputs: ["align", "closeOnScroll", "disabled", "maxHeight"] }, { kind: "directive", type: KeyboardActionSourceDirective, selector: "[lxKeyboardActionSource]", exportAs: ["keyboardActionSource"] }, { kind: "component", type: OptionComponent, selector: "lx-option", inputs: ["selected", "isHighlighted", "disabled", "value", "hasSelectedState", "selectIcon"], outputs: ["select", "highlight", "selectedClick"] }] }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: HistoryNavigationComponent, decorators: [{
37
- type: Component,
38
- args: [{ selector: 'lx-history-navigation', standalone: true, imports: [NgFor, ButtonGroupComponent, ButtonComponent, CdkOptionsDropdownComponent, KeyboardActionSourceDirective, OptionComponent], template: "<div class=\"history-navigation\">\n <ng-container>\n <lx-button-group>\n <lx-cdk-options-dropdown [align]=\"'left'\" class=\"dropdownContainer\">\n <button class=\"lx-wsr\" lx-button lxKeyboardActionSource (click)=\"(false)\" [disabled]=\"historyItems.length === 1\">\n <i class=\"far fa-history\"></i>\n </button>\n <lx-option\n *ngFor=\"let historyItem of historyItems; index as index\"\n [selected]=\"index === currentIndex\"\n [hasSelectedState]=\"false\"\n (select)=\"navigateToItem(historyItem)\"\n >\n {{ historyItem.label }}\n </lx-option>\n </lx-cdk-options-dropdown>\n <button lx-button (click)=\"navigateBack()\" [disabled]=\"isFirstItem()\">\n <i class=\"far fa-angle-left\"></i>\n </button>\n <button lx-button (click)=\"navigateForward()\" [disabled]=\"isLastItem()\">\n <i class=\"far fa-angle-right\"></i>\n </button>\n </lx-button-group>\n </ng-container>\n</div>\n" }]
39
- }], propDecorators: { historyItems: [{
40
- type: Input
41
- }], currentIndex: [{
42
- type: Input
43
- }] } });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlzdG9yeS1uYXZpZ2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL2Zvcm1zLXVpL2NvbXBvbmVudHMvaGlzdG9yeS1uYXZpZ2F0aW9uL2hpc3RvcnktbmF2aWdhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2xpYi9mb3Jtcy11aS9jb21wb25lbnRzL2hpc3RvcnktbmF2aWdhdGlvbi9oaXN0b3J5LW5hdmlnYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3hDLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlFQUFpRSxDQUFDO0FBQ3ZHLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxREFBcUQsQ0FBQztBQUN0RixPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUNsRyxPQU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ICAgICAgIDxseC1vcHRpb25cbiAgICAgICAgICAqbmdGb3I9XCJsZXQgaGlzdG9yeUl0ZW0gb2YgaGlzdG9yeUl0ZW1zOyBpbmRleCBhcyBpbmRleFwiXG4gICAgICAgICAgW3NlbGVjdGVkXT1cImluZGV4ID09PSBjdXJyZW50SW5kZXhcIlxuICAgICAgICAgIFtoYXNTZWxlY3RlZFN0YXRlXT1cImZhbHNlXCJcbiAgICAgICAgICAoc2VsZWN0KT1cIm5hdmlnYXRlVG9JdGVtKGhpc3RvcnlJdGVtKVwiXG4gICAgICAgID5cbiAgICAgICAgICB7eyBoaXN0b3J5SXRlbS5sYWJlbCB9fVxuICAgICAgICA8L2x4LW9wdGlvbj5cbiAgICAgIDwvbHgtY2RrLW9wdGlvbnMtZHJvcGRvd24+XG4gICAgICA8YnV0dG9uIGx4LWJ1dHRvbiAoY2xpY2spPVwibmF2aWdhdGVCYWNrKClcIiBbZGlzYWJsZWRdPVwiaXNGaXJzdEl0ZW0oKVwiPlxuICAgICAgICA8aSBjbGFzcz1cImZhciBmYS1hbmdsZS1sZWZ0XCI+PC9pPlxuICAgICAgPC9idXR0b24+XG4gICAgICA8YnV0dG9uIGx4LWJ1dHRvbiAoY2xpY2spPVwibmF2aWdhdGVGb3J3YXJkKClcIiBbZGlzYWJsZWRdPVwiaXNMYXN0SXRlbSgpXCI+XG4gICAgICAgIDxpIGNsYXNzPVwiZmFyIGZhLWFuZ2xlLXJpZ2h0XCI+PC9pPlxuICAgICAgPC9idXR0b24+XG4gICAgPC9seC1idXR0b24tZ3JvdXA+XG4gIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface HistoryItem {
3
- label: string;
4
- onClick?: () => void;
5
- }
6
- export declare class HistoryNavigationComponent {
7
- historyItems: HistoryItem[];
8
- currentIndex: number;
9
- navigateToItem(historyItem: HistoryItem | undefined): void;
10
- navigateBack(): void;
11
- navigateForward(): void;
12
- isLastItem(): boolean;
13
- isFirstItem(): boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<HistoryNavigationComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<HistoryNavigationComponent, "lx-history-navigation", never, { "historyItems": { "alias": "historyItems"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; }, {}, never, never, true, never>;
16
- }