desy-angular 16.0.2 → 17.0.0

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.
@@ -1,10 +1,10 @@
1
1
  import { AfterContentInit, AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
2
3
  import { AccessibilityAndTextOrHtmlRequiredComponent } from '../../../shared/components';
3
- import { ListboxLabelData } from '../../interfaces/listbox-label-data';
4
4
  import { ListboxItemData } from '../../interfaces/listbox-item-data';
5
- import { ListboxLabelComponent } from './listbox-label/listbox-label.component';
5
+ import { ListboxLabelData } from '../../interfaces/listbox-label-data';
6
6
  import { ListboxItemComponent } from './listbox-item/listbox-item.component';
7
- import { Subscription } from 'rxjs';
7
+ import { ListboxLabelComponent } from './listbox-label/listbox-label.component';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class ListboxComponent extends AccessibilityAndTextOrHtmlRequiredComponent implements OnInit, OnChanges, AfterContentInit, AfterViewInit, AfterViewChecked {
10
10
  private changeDetectorRef;
@@ -25,6 +25,7 @@ export declare class ListboxComponent extends AccessibilityAndTextOrHtmlRequired
25
25
  idPrefix: string;
26
26
  disabled: boolean;
27
27
  items: ListboxItemData[];
28
+ type: 'button' | 'submit' | 'reset';
28
29
  itemsChange: EventEmitter<any>;
29
30
  activeItemChange: EventEmitter<any>;
30
31
  tippyProperties: any;
@@ -63,5 +64,5 @@ export declare class ListboxComponent extends AccessibilityAndTextOrHtmlRequired
63
64
  getLabelContent(label: ListboxLabelData): string;
64
65
  initTippy(): void;
65
66
  static ɵfac: i0.ɵɵFactoryDeclaration<ListboxComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<ListboxComponent, "desy-listbox", never, { "id": { "alias": "id"; "required": false; }; "isMultiselectable": { "alias": "isMultiselectable"; "required": false; }; "doesChangeButtonText": { "alias": "doesChangeButtonText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "classesContainer": { "alias": "classesContainer"; "required": false; }; "classesTooltip": { "alias": "classesTooltip"; "required": false; }; "idPrefix": { "alias": "idPrefix"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "itemsChange": "itemsChange"; "activeItemChange": "activeItemChange"; }, ["labelComponent", "itemComponentList"], ["*"], false, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListboxComponent, "desy-listbox", never, { "id": { "alias": "id"; "required": false; }; "isMultiselectable": { "alias": "isMultiselectable"; "required": false; }; "doesChangeButtonText": { "alias": "doesChangeButtonText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "classesContainer": { "alias": "classesContainer"; "required": false; }; "classesTooltip": { "alias": "classesTooltip"; "required": false; }; "idPrefix": { "alias": "idPrefix"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "items": { "alias": "items"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "itemsChange": "itemsChange"; "activeItemChange": "activeItemChange"; }, ["labelComponent", "itemComponentList"], ["*"], false, never>;
67
68
  }
@@ -25,6 +25,10 @@ export declare class CheckboxItemComponent extends AccessibilityComponent implem
25
25
  checked: boolean;
26
26
  checkedChange: EventEmitter<any>;
27
27
  indeterminateChange: EventEmitter<any>;
28
+ focus: EventEmitter<FocusEvent>;
29
+ blur: EventEmitter<FocusEvent>;
30
+ input: EventEmitter<InputEvent>;
31
+ change: EventEmitter<Event>;
28
32
  lastChecked: any;
29
33
  lastIndeterminate: any;
30
34
  lastValue: any;
@@ -36,7 +40,7 @@ export declare class CheckboxItemComponent extends AccessibilityComponent implem
36
40
  ngOnChanges(changes: SimpleChanges): void;
37
41
  ngAfterViewInit(): void;
38
42
  getItemHintId(): string;
39
- hasChanged(): void;
43
+ hasChanged(event: any): void;
40
44
  setChecked(checked: boolean): void;
41
45
  setIndeterminateChecked(indeterminateChecked: boolean): void;
42
46
  setIndeterminateStatus(): void;
@@ -48,5 +52,5 @@ export declare class CheckboxItemComponent extends AccessibilityComponent implem
48
52
  getNameCheckbox(): string;
49
53
  getDescribedBy(): string;
50
54
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxItemComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxItemComponent, "desy-checkbox-item", never, { "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "conditional": { "alias": "conditional"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isIndeterminate": { "alias": "isIndeterminate"; "required": false; }; "indeterminateChecked": { "alias": "indeterminateChecked"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; }, ["labelComponentList", "hintComponentList", "conditionalContentList"], ["desy-label", "*", "desy-hint"], false, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxItemComponent, "desy-checkbox-item", never, { "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "conditional": { "alias": "conditional"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isIndeterminate": { "alias": "isIndeterminate"; "required": false; }; "indeterminateChecked": { "alias": "indeterminateChecked"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; "focus": "focus"; "blur": "blur"; "input": "input"; "change": "change"; }, ["labelComponentList", "hintComponentList", "conditionalContentList"], ["desy-label", "*", "desy-hint"], false, never>;
52
56
  }
@@ -1,10 +1,10 @@
1
- import { TemplateRef } from '@angular/core';
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { AccessibilityComponent } from '../../../shared/components';
4
- import { LabelComponent } from '../label/label.component';
5
- import { HintComponent } from '../hint/hint.component';
4
+ import { ErrorMessageData, HintData, LabelData } from '../../interfaces';
6
5
  import { ErrorMessageComponent } from '../error-message/error-message.component';
7
- import { LabelData, HintData, ErrorMessageData } from '../../interfaces';
6
+ import { HintComponent } from '../hint/hint.component';
7
+ import { LabelComponent } from '../label/label.component';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class FormFieldComponent<T> extends AccessibilityComponent implements ControlValueAccessor {
10
10
  id: string;
@@ -22,6 +22,10 @@ export declare class FormFieldComponent<T> extends AccessibilityComponent implem
22
22
  errorMessageRef: TemplateRef<ErrorMessageComponent> | null | undefined;
23
23
  errorMessageData: ErrorMessageData | null | undefined;
24
24
  errorMessageText: string | null | undefined;
25
+ focus: EventEmitter<FocusEvent>;
26
+ blur: EventEmitter<FocusEvent>;
27
+ input: EventEmitter<InputEvent>;
28
+ change: EventEmitter<Event>;
25
29
  onblur(): void;
26
30
  onChange: (_: any) => void;
27
31
  onTouch: () => void;
@@ -39,5 +43,5 @@ export declare class FormFieldComponent<T> extends AccessibilityComponent implem
39
43
  hasHintComponent(): boolean;
40
44
  hasErrorMessageComponent(): boolean;
41
45
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent<any>, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent<any>, "desy-form-field", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelRef": { "alias": "labelRef"; "required": false; }; "labelData": { "alias": "labelData"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "hintRef": { "alias": "hintRef"; "required": false; }; "hintData": { "alias": "hintData"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "errorMessageRef": { "alias": "errorMessageRef"; "required": false; }; "errorMessageData": { "alias": "errorMessageData"; "required": false; }; "errorMessageText": { "alias": "errorMessageText"; "required": false; }; }, {}, ["labelComponent", "hintComponent", "errorMessageComponent"], never, false, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent<any>, "desy-form-field", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelRef": { "alias": "labelRef"; "required": false; }; "labelData": { "alias": "labelData"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "hintRef": { "alias": "hintRef"; "required": false; }; "hintData": { "alias": "hintData"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "errorMessageRef": { "alias": "errorMessageRef"; "required": false; }; "errorMessageData": { "alias": "errorMessageData"; "required": false; }; "errorMessageText": { "alias": "errorMessageText"; "required": false; }; }, { "focus": "focus"; "blur": "blur"; "input": "input"; "change": "change"; }, ["labelComponent", "hintComponent", "errorMessageComponent"], never, false, never>;
43
47
  }
@@ -1,9 +1,9 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
- import { ItemRadioData } from '../../../interfaces';
3
- import { ContentBaseComponent } from '../../../../shared/components';
4
- import { LabelComponent } from '../../label/label.component';
5
2
  import { ContentComponent } from '../../../../desy-commons/components/content/content.component';
3
+ import { ContentBaseComponent } from '../../../../shared/components';
4
+ import { ItemRadioData } from '../../../interfaces';
6
5
  import { HintComponent } from '../../hint/hint.component';
6
+ import { LabelComponent } from '../../label/label.component';
7
7
  import { RadiosParentComponent } from '../radios-parent.component';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class RadioItemComponent extends ContentBaseComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit, ItemRadioData {
@@ -22,6 +22,10 @@ export declare class RadioItemComponent extends ContentBaseComponent implements
22
22
  conditionalContentList: QueryList<ContentComponent>;
23
23
  checked: boolean;
24
24
  checkedChange: EventEmitter<any>;
25
+ focus: EventEmitter<FocusEvent>;
26
+ blur: EventEmitter<FocusEvent>;
27
+ input: EventEmitter<InputEvent>;
28
+ change: EventEmitter<Event>;
25
29
  index: number;
26
30
  lastChecked: any;
27
31
  lastValue: any;
@@ -34,7 +38,7 @@ export declare class RadioItemComponent extends ContentBaseComponent implements
34
38
  ngAfterViewInit(): void;
35
39
  setChecked(checked: boolean): void;
36
40
  getItemHintId(): string;
37
- hasChanged(): void;
41
+ hasChanged(event: any): void;
38
42
  isInit(): boolean;
39
43
  isInputChecked(): boolean;
40
44
  updateRadioId(index?: number): void;
@@ -43,5 +47,5 @@ export declare class RadioItemComponent extends ContentBaseComponent implements
43
47
  getNameRadio(): string;
44
48
  getDescribedBy(): string;
45
49
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioItemComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioItemComponent, "desy-radio-item", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "conditional": { "alias": "conditional"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; }, ["labelComponentList", "hintComponentList", "conditionalContentList"], ["desy-label", "*", "desy-hint"], false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioItemComponent, "desy-radio-item", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "conditional": { "alias": "conditional"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "focus": "focus"; "blur": "blur"; "input": "input"; "change": "change"; }, ["labelComponentList", "hintComponentList", "conditionalContentList"], ["desy-label", "*", "desy-hint"], false, never>;
47
51
  }
@@ -0,0 +1,7 @@
1
+ import { ContentBaseComponent } from '../../../../shared/components';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TreegridCaptionComponent extends ContentBaseComponent {
4
+ classes: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridCaptionComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreegridCaptionComponent, "desy-treegrid-caption", never, { "classes": { "alias": "classes"; "required": false; }; }, {}, never, ["*"], false, never>;
7
+ }
@@ -0,0 +1,12 @@
1
+ import { ContentBaseComponent } from '../../../../shared/components';
2
+ import { CellData } from '../../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreegridCellComponent extends ContentBaseComponent implements CellData {
5
+ classes?: string;
6
+ id?: string;
7
+ isFocused: boolean;
8
+ elementRef: HTMLTableCellElement;
9
+ focus(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridCellComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreegridCellComponent, "desy-treegrid-cell", never, { "classes": { "alias": "classes"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], false, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import { QueryList } from '@angular/core';
2
+ import { TreegridCellComponent } from './treegrid-cell.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreegridFooterComponent {
5
+ cells: QueryList<TreegridCellComponent>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridFooterComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreegridFooterComponent, "desy-treegrid-footer", never, {}, {}, ["cells"], never, false, never>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { QueryList } from '@angular/core';
2
+ import { TreegridCellComponent } from './treegrid-cell.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreegridHeaderComponent {
5
+ cells: QueryList<TreegridCellComponent>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridHeaderComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreegridHeaderComponent, "desy-treegrid-header", never, {}, {}, ["cells"], never, false, never>;
8
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, QueryList } from '@angular/core';
2
+ import { AccessibilityComponent } from '../../../../shared/components';
3
+ import { TreegridCellComponent } from './treegrid-cell.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TreegridRowComponent extends AccessibilityComponent {
6
+ cells: QueryList<TreegridCellComponent>;
7
+ children: QueryList<TreegridRowComponent>;
8
+ isVisible: boolean;
9
+ isFocused: boolean;
10
+ elementRef: HTMLTableRowElement;
11
+ private _expanded;
12
+ set expanded(value: boolean);
13
+ get expanded(): boolean;
14
+ expandedChange: EventEmitter<boolean>;
15
+ focus(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridRowComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreegridRowComponent, "desy-treegrid-row", never, { "expanded": { "alias": "expanded"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["cells", "children"], ["*"], false, never>;
18
+ }
@@ -0,0 +1,65 @@
1
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
2
+ import { AccessibilityComponent } from '../../../shared/components';
3
+ import { WrapperData } from '../../interfaces';
4
+ import { TreegridCaptionComponent } from './components/treegrid-caption.component';
5
+ import { TreegridCellComponent } from './components/treegrid-cell.component';
6
+ import { TreegridFooterComponent } from './components/treegrid-footer.component';
7
+ import { TreegridHeaderComponent } from './components/treegrid-header.component';
8
+ import { TreegridRowComponent } from './components/treegrid-row.component';
9
+ import * as i0 from "@angular/core";
10
+ export declare class TreegridComponent extends AccessibilityComponent implements AfterContentInit, AfterViewInit, OnDestroy {
11
+ private cdr;
12
+ firstCellIsHeader: boolean;
13
+ classes: string;
14
+ id: string;
15
+ wrapper: WrapperData;
16
+ doAllowRowFocus: boolean;
17
+ doStartRowFocus: boolean;
18
+ captionComponent: TreegridCaptionComponent;
19
+ headerComponent: TreegridHeaderComponent;
20
+ footerComponent: TreegridFooterComponent;
21
+ rowComponentList: QueryList<TreegridRowComponent>;
22
+ rowsFlat: TreegridRowComponent[];
23
+ private sub?;
24
+ private lastFocusedRow?;
25
+ private lastFocusedCell?;
26
+ constructor(cdr: ChangeDetectorRef);
27
+ ngAfterContentInit(): void;
28
+ ngAfterViewInit(): void;
29
+ ngOnDestroy(): void;
30
+ getCaptionClass(): string;
31
+ getHeaderCells(): TreegridCellComponent[];
32
+ getFooterCells(): TreegridCellComponent[];
33
+ getRows(): TreegridRowComponent[];
34
+ private buildAriaAttributes;
35
+ private assignAria;
36
+ private updateVisibility;
37
+ private propagateVisibility;
38
+ private setInitialFocus;
39
+ getRowCells(row: TreegridRowComponent): TreegridCellComponent[];
40
+ toggleRow(row: TreegridRowComponent): void;
41
+ onFocusInRow(row: TreegridRowComponent): void;
42
+ onFocusInCell(cell: TreegridCellComponent): void;
43
+ onKeyDown(event: KeyboardEvent): void;
44
+ private moveByRow;
45
+ private getRowWithFocus;
46
+ private getLevel;
47
+ private getAllNavigableRows;
48
+ private restrictIndex;
49
+ private focus;
50
+ private focusSameColInDifferentRow;
51
+ private getColWithFocus;
52
+ private getNavigableCols;
53
+ private isEditableFocused;
54
+ private changeExpanded;
55
+ private isRowFocused;
56
+ private moveByCol;
57
+ private getFocusableElements;
58
+ private focusCell;
59
+ private doPrimaryAction;
60
+ private moveToExtreme;
61
+ private moveToExtremeCol;
62
+ private moveToExtremeRow;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreegridComponent, "desy-treegrid", never, { "firstCellIsHeader": { "alias": "firstCellIsHeader"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "id": { "alias": "id"; "required": false; }; "wrapper": { "alias": "wrapper"; "required": false; }; "doAllowRowFocus": { "alias": "doAllowRowFocus"; "required": false; }; "doStartRowFocus": { "alias": "doStartRowFocus"; "required": false; }; }, {}, ["captionComponent", "headerComponent", "footerComponent", "rowComponentList"], never, false, never>;
65
+ }
@@ -5,24 +5,31 @@ import * as i3 from "./components/table/components/table-cell.component";
5
5
  import * as i4 from "./components/table/components/table-header.component";
6
6
  import * as i5 from "./components/table/components/table-footer.component";
7
7
  import * as i6 from "./components/table/components/table-row.component";
8
- import * as i7 from "./components/table-advanced/table-advanced.component";
9
- import * as i8 from "./components/table-advanced/components/table-advanced-header.component";
10
- import * as i9 from "./components/table-advanced/components/table-advanced-header-cell.component";
11
- import * as i10 from "./components/table-advanced/components/table-advanced-row.component";
12
- import * as i11 from "./components/table-advanced/components/table-advanced-row-cell.component";
13
- import * as i12 from "./components/table-advanced/components/table-advanced-select.component";
14
- import * as i13 from "./components/table-advanced/components/table-advanced-footer.component";
15
- import * as i14 from "./components/table-advanced/components/table-advanced-footer-cell.component";
16
- import * as i15 from "./directives/focus-clicked-cell.directive";
17
- import * as i16 from "./directives/cell.directive";
18
- import * as i17 from "./directives/row.directive";
19
- import * as i18 from "@angular/common";
20
- import * as i19 from "@angular/forms";
21
- import * as i20 from "@angular/cdk/a11y";
22
- import * as i21 from "../shared/shared.module";
23
- import * as i22 from "../desy-forms/desy-forms.module";
8
+ import * as i7 from "./components/treegrid/treegrid.component";
9
+ import * as i8 from "./components/treegrid/components/treegrid-caption.component";
10
+ import * as i9 from "./components/treegrid/components/treegrid-cell.component";
11
+ import * as i10 from "./components/treegrid/components/treegrid-header.component";
12
+ import * as i11 from "./components/treegrid/components/treegrid-footer.component";
13
+ import * as i12 from "./components/treegrid/components/treegrid-row.component";
14
+ import * as i13 from "./components/table-advanced/table-advanced.component";
15
+ import * as i14 from "./components/table-advanced/components/table-advanced-header.component";
16
+ import * as i15 from "./components/table-advanced/components/table-advanced-header-cell.component";
17
+ import * as i16 from "./components/table-advanced/components/table-advanced-row.component";
18
+ import * as i17 from "./components/table-advanced/components/table-advanced-row-cell.component";
19
+ import * as i18 from "./components/table-advanced/components/table-advanced-select.component";
20
+ import * as i19 from "./components/table-advanced/components/table-advanced-footer.component";
21
+ import * as i20 from "./components/table-advanced/components/table-advanced-footer-cell.component";
22
+ import * as i21 from "./directives/focus-clicked-cell.directive";
23
+ import * as i22 from "./directives/cell.directive";
24
+ import * as i23 from "./directives/row.directive";
25
+ import * as i24 from "./directives/treegrid.directive";
26
+ import * as i25 from "@angular/common";
27
+ import * as i26 from "@angular/forms";
28
+ import * as i27 from "@angular/cdk/a11y";
29
+ import * as i28 from "../shared/shared.module";
30
+ import * as i29 from "../desy-forms/desy-forms.module";
24
31
  export declare class DesyTablesModule {
25
32
  static ɵfac: i0.ɵɵFactoryDeclaration<DesyTablesModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<DesyTablesModule, [typeof i1.TableComponent, typeof i2.TableCaptionComponent, typeof i3.TableCellComponent, typeof i4.TableHeaderComponent, typeof i5.TableFooterComponent, typeof i6.TableRowComponent, typeof i7.TableAdvancedComponent, typeof i8.TableAdvancedHeaderComponent, typeof i9.TableAdvancedHeaderCellComponent, typeof i10.TableAdvancedRowComponent, typeof i11.TableAdvancedRowCellComponent, typeof i12.TableAdvancedSelectComponent, typeof i13.TableAdvancedFooterComponent, typeof i14.TableAdvancedFooterCellComponent, typeof i15.FocusClickedCellDirective, typeof i16.CellDirective, typeof i17.RowDirective], [typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.A11yModule, typeof i21.SharedModule, typeof i22.DesyFormsModule], [typeof i1.TableComponent, typeof i2.TableCaptionComponent, typeof i3.TableCellComponent, typeof i4.TableHeaderComponent, typeof i5.TableFooterComponent, typeof i6.TableRowComponent, typeof i7.TableAdvancedComponent, typeof i8.TableAdvancedHeaderComponent, typeof i9.TableAdvancedHeaderCellComponent, typeof i10.TableAdvancedRowComponent, typeof i11.TableAdvancedRowCellComponent, typeof i12.TableAdvancedSelectComponent, typeof i13.TableAdvancedFooterComponent, typeof i14.TableAdvancedFooterCellComponent]>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DesyTablesModule, [typeof i1.TableComponent, typeof i2.TableCaptionComponent, typeof i3.TableCellComponent, typeof i4.TableHeaderComponent, typeof i5.TableFooterComponent, typeof i6.TableRowComponent, typeof i7.TreegridComponent, typeof i8.TreegridCaptionComponent, typeof i9.TreegridCellComponent, typeof i10.TreegridHeaderComponent, typeof i11.TreegridFooterComponent, typeof i12.TreegridRowComponent, typeof i13.TableAdvancedComponent, typeof i14.TableAdvancedHeaderComponent, typeof i15.TableAdvancedHeaderCellComponent, typeof i16.TableAdvancedRowComponent, typeof i17.TableAdvancedRowCellComponent, typeof i18.TableAdvancedSelectComponent, typeof i19.TableAdvancedFooterComponent, typeof i20.TableAdvancedFooterCellComponent, typeof i21.FocusClickedCellDirective, typeof i22.CellDirective, typeof i23.RowDirective, typeof i24.TreegridBindDirective], [typeof i25.CommonModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.A11yModule, typeof i28.SharedModule, typeof i29.DesyFormsModule], [typeof i1.TableComponent, typeof i2.TableCaptionComponent, typeof i3.TableCellComponent, typeof i4.TableHeaderComponent, typeof i5.TableFooterComponent, typeof i6.TableRowComponent, typeof i7.TreegridComponent, typeof i8.TreegridCaptionComponent, typeof i9.TreegridCellComponent, typeof i10.TreegridHeaderComponent, typeof i11.TreegridFooterComponent, typeof i12.TreegridRowComponent, typeof i13.TableAdvancedComponent, typeof i14.TableAdvancedHeaderComponent, typeof i15.TableAdvancedHeaderCellComponent, typeof i16.TableAdvancedRowComponent, typeof i17.TableAdvancedRowCellComponent, typeof i18.TableAdvancedSelectComponent, typeof i19.TableAdvancedFooterComponent, typeof i20.TableAdvancedFooterCellComponent]>;
27
34
  static ɵinj: i0.ɵɵInjectorDeclaration<DesyTablesModule>;
28
35
  }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TreegridBindDirective implements OnChanges {
4
+ private el;
5
+ component: {
6
+ elementRef?: HTMLElement;
7
+ };
8
+ constructor(el: ElementRef<HTMLElement>);
9
+ ngOnChanges(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreegridBindDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TreegridBindDirective, "[desyTreegridBind]", never, { "component": { "alias": "desyTreegridBind"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,7 @@
1
+ import { AccessibilityData } from '../../shared/interfaces/accessibility-data';
2
+ export interface CellDataTreegrid extends AccessibilityData {
3
+ text?: string;
4
+ html?: string;
5
+ classes?: string;
6
+ id?: string;
7
+ }
@@ -1,4 +1,5 @@
1
- export * from './head-cell-data';
2
1
  export * from './cell-data';
2
+ export * from './cell-data-treegrid';
3
+ export * from './head-cell-data';
3
4
  export * from './row-data';
4
5
  export * from './wrapper-data';
@@ -5,6 +5,7 @@ export declare class AccessibilityDirective implements OnChanges, DoCheck {
5
5
  private renderer;
6
6
  private differs;
7
7
  accessibility: any;
8
+ desyAccessibilityExclude: string[];
8
9
  private differ;
9
10
  constructor(el: ElementRef, renderer: Renderer2, differs: KeyValueDiffers);
10
11
  ngOnChanges(changes: SimpleChanges): void;
@@ -12,5 +13,5 @@ export declare class AccessibilityDirective implements OnChanges, DoCheck {
12
13
  private applyAccessibilityAttributes;
13
14
  private camelToKebabCase;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AccessibilityDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<AccessibilityDirective, "[desyAppAccessibility]", never, { "accessibility": { "alias": "desyAppAccessibility"; "required": false; }; }, {}, never, never, false, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AccessibilityDirective, "[desyAppAccessibility]", never, { "accessibility": { "alias": "desyAppAccessibility"; "required": false; }; "desyAccessibilityExclude": { "alias": "desyAccessibilityExclude"; "required": false; }; }, {}, never, never, false, never>;
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desy-angular",
3
- "version": "16.0.2",
3
+ "version": "17.0.0",
4
4
  "description": "Desy Angular contains the code you need to start building your Angular app for Gobierno de Aragón.",
5
5
  "engines": {
6
6
  "npm": ">=10.5.0",
@@ -32,7 +32,7 @@
32
32
  "@angular/platform-browser": "^19.2.10",
33
33
  "@angular/platform-browser-dynamic": "^19.2.10",
34
34
  "@angular/router": "^19.2.10",
35
- "desy-html": "13.0.1"
35
+ "desy-html": "14.0.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "ngx-tippy-wrapper": "6.3.0",
package/public-api.d.ts CHANGED
@@ -155,7 +155,9 @@ export * from './lib/desy-nav/components/nav/nav-item/nav-item.component';
155
155
  export * from './lib/desy-nav/components/notification/notification-item/notification-item.component';
156
156
  export * from './lib/desy-tables/components/table-advanced/table-advanced.component';
157
157
  export * from './lib/desy-tables/components/table/table.component';
158
+ export * from './lib/desy-tables/components/treegrid/treegrid.component';
158
159
  export * from './lib/desy-tables/interfaces/cell-data';
160
+ export * from './lib/desy-tables/interfaces/cell-data-treegrid';
159
161
  export * from './lib/desy-tables/interfaces/head-cell-data';
160
162
  export * from './lib/desy-tables/interfaces/recalculate-table-params';
161
163
  export * from './lib/desy-tables/interfaces/row-data';
@@ -173,6 +175,11 @@ export * from './lib/desy-tables/components/table/components/table-cell.componen
173
175
  export * from './lib/desy-tables/components/table/components/table-footer.component';
174
176
  export * from './lib/desy-tables/components/table/components/table-header.component';
175
177
  export * from './lib/desy-tables/components/table/components/table-row.component';
178
+ export * from './lib/desy-tables/components/treegrid/components/treegrid-caption.component';
179
+ export * from './lib/desy-tables/components/treegrid/components/treegrid-cell.component';
180
+ export * from './lib/desy-tables/components/treegrid/components/treegrid-footer.component';
181
+ export * from './lib/desy-tables/components/treegrid/components/treegrid-header.component';
182
+ export * from './lib/desy-tables/components/treegrid/components/treegrid-row.component';
176
183
  export * from './lib/desy-views/components/accordion-history/accordion-history.component';
177
184
  export * from './lib/desy-views/components/accordion/accordion.component';
178
185
  export * from './lib/desy-views/components/alert/alert.component';