@agnos-ui/angular-bootstrap 0.5.0 → 0.6.0-next.1
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/agnos-ui-angular.module.d.ts +2 -1
- package/components/modal/modal.service.d.ts +9 -5
- package/components/select/select.gen.d.ts +6 -0
- package/components/tree/index.d.ts +2 -0
- package/components/tree/tree.component.d.ts +145 -0
- package/components/tree/tree.gen.d.ts +216 -0
- package/config.gen.d.ts +5 -0
- package/esm2022/agnos-ui-angular.module.mjs +19 -3
- package/esm2022/components/accordion/accordion.component.mjs +18 -18
- package/esm2022/components/alert/alert.component.mjs +4 -4
- package/esm2022/components/modal/modal.component.mjs +7 -7
- package/esm2022/components/modal/modal.service.mjs +10 -2
- package/esm2022/components/pagination/pagination.component.mjs +9 -9
- package/esm2022/components/progressbar/progressbar.component.mjs +4 -4
- package/esm2022/components/rating/rating.component.mjs +2 -2
- package/esm2022/components/select/select.component.mjs +3 -3
- package/esm2022/components/select/select.gen.mjs +1 -1
- package/esm2022/components/slider/slider.component.mjs +10 -10
- package/esm2022/components/toast/toast.component.mjs +5 -5
- package/esm2022/components/tree/index.mjs +3 -0
- package/esm2022/components/tree/tree.component.mjs +450 -0
- package/esm2022/components/tree/tree.gen.mjs +15 -0
- package/esm2022/config.gen.mjs +1 -1
- package/esm2022/index.mjs +3 -1
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +661 -179
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/index.d.ts +3 -0
- package/package.json +6 -6
|
@@ -10,8 +10,9 @@ import * as i8 from "./components/slider/slider.component";
|
|
|
10
10
|
import * as i9 from "./components/progressbar/progressbar.component";
|
|
11
11
|
import * as i10 from "./components/toast/toast.component";
|
|
12
12
|
import * as i11 from "./components/collapse/collapse.component";
|
|
13
|
+
import * as i12 from "./components/tree/tree.component";
|
|
13
14
|
export declare class AgnosUIAngularModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AgnosUIAngularModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AgnosUIAngularModule, never, [typeof i1.SlotDirective, typeof i2.SelectComponent, typeof i2.SelectBadgeLabelDirective, typeof i2.SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof i3.RatingComponent, typeof i3.RatingStarDirective, typeof i4.PaginationComponent, typeof i4.PaginationEllipsisDirective, typeof i4.PaginationFirstDirective, typeof i4.PaginationLastDirective, typeof i4.PaginationNextDirective, typeof i4.PaginationNumberDirective, typeof i4.PaginationPreviousDirective, typeof i4.PaginationPagesDirective, typeof i4.PaginationStructureDirective, typeof i5.ModalComponent, typeof i5.ModalStructureDirective, typeof i5.ModalHeaderDirective, typeof i5.ModalTitleDirective, typeof i5.ModalBodyDirective, typeof i5.ModalFooterDirective, typeof i6.AlertComponent, typeof i6.AlertStructureDirective, typeof i6.AlertBodyDirective, typeof i7.AccordionDirective, typeof i7.AccordionItemComponent, typeof i7.AccordionHeaderDirective, typeof i7.AccordionBodyDirective, typeof i7.AccordionItemStructureDirective, typeof i8.SliderComponent, typeof i8.SliderHandleDirective, typeof i8.SliderLabelDirective, typeof i8.SliderStructureDirective, typeof i9.ProgressbarComponent, typeof i9.ProgressbarStructureDirective, typeof i9.ProgressbarBodyDirective, typeof i10.ToastComponent, typeof i10.ToastStructureDirective, typeof i10.ToastBodyDirective, typeof i10.ToastHeaderDirective, typeof i11.CollapseDirective], [typeof i1.SlotDirective, typeof i2.SelectComponent, typeof i2.SelectBadgeLabelDirective, typeof i2.SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof i3.RatingComponent, typeof i3.RatingStarDirective, typeof i4.PaginationComponent, typeof i4.PaginationEllipsisDirective, typeof i4.PaginationFirstDirective, typeof i4.PaginationLastDirective, typeof i4.PaginationNextDirective, typeof i4.PaginationNumberDirective, typeof i4.PaginationPreviousDirective, typeof i4.PaginationPagesDirective, typeof i4.PaginationStructureDirective, typeof i5.ModalComponent, typeof i5.ModalStructureDirective, typeof i5.ModalHeaderDirective, typeof i5.ModalTitleDirective, typeof i5.ModalBodyDirective, typeof i5.ModalFooterDirective, typeof i6.AlertComponent, typeof i6.AlertStructureDirective, typeof i6.AlertBodyDirective, typeof i7.AccordionDirective, typeof i7.AccordionItemComponent, typeof i7.AccordionHeaderDirective, typeof i7.AccordionBodyDirective, typeof i7.AccordionItemStructureDirective, typeof i8.SliderComponent, typeof i8.SliderHandleDirective, typeof i8.SliderLabelDirective, typeof i8.SliderStructureDirective, typeof i9.ProgressbarComponent, typeof i9.ProgressbarStructureDirective, typeof i9.ProgressbarBodyDirective, typeof i10.ToastComponent, typeof i10.ToastStructureDirective, typeof i10.ToastBodyDirective, typeof i10.ToastHeaderDirective, typeof i11.CollapseDirective]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AgnosUIAngularModule, never, [typeof i1.SlotDirective, typeof i2.SelectComponent, typeof i2.SelectBadgeLabelDirective, typeof i2.SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof i3.RatingComponent, typeof i3.RatingStarDirective, typeof i4.PaginationComponent, typeof i4.PaginationEllipsisDirective, typeof i4.PaginationFirstDirective, typeof i4.PaginationLastDirective, typeof i4.PaginationNextDirective, typeof i4.PaginationNumberDirective, typeof i4.PaginationPreviousDirective, typeof i4.PaginationPagesDirective, typeof i4.PaginationStructureDirective, typeof i5.ModalComponent, typeof i5.ModalStructureDirective, typeof i5.ModalHeaderDirective, typeof i5.ModalTitleDirective, typeof i5.ModalBodyDirective, typeof i5.ModalFooterDirective, typeof i6.AlertComponent, typeof i6.AlertStructureDirective, typeof i6.AlertBodyDirective, typeof i7.AccordionDirective, typeof i7.AccordionItemComponent, typeof i7.AccordionHeaderDirective, typeof i7.AccordionBodyDirective, typeof i7.AccordionItemStructureDirective, typeof i8.SliderComponent, typeof i8.SliderHandleDirective, typeof i8.SliderLabelDirective, typeof i8.SliderStructureDirective, typeof i9.ProgressbarComponent, typeof i9.ProgressbarStructureDirective, typeof i9.ProgressbarBodyDirective, typeof i10.ToastComponent, typeof i10.ToastStructureDirective, typeof i10.ToastBodyDirective, typeof i10.ToastHeaderDirective, typeof i11.CollapseDirective, typeof i12.TreeComponent, typeof i12.TreeStructureDirective, typeof i12.TreeItemToggleDirective, typeof i12.TreeItemContentDirective, typeof i12.TreeItemDirective], [typeof i1.SlotDirective, typeof i2.SelectComponent, typeof i2.SelectBadgeLabelDirective, typeof i2.SelectItemLabelDirective, typeof i1.UseDirective, typeof i1.UseMultiDirective, typeof i3.RatingComponent, typeof i3.RatingStarDirective, typeof i4.PaginationComponent, typeof i4.PaginationEllipsisDirective, typeof i4.PaginationFirstDirective, typeof i4.PaginationLastDirective, typeof i4.PaginationNextDirective, typeof i4.PaginationNumberDirective, typeof i4.PaginationPreviousDirective, typeof i4.PaginationPagesDirective, typeof i4.PaginationStructureDirective, typeof i5.ModalComponent, typeof i5.ModalStructureDirective, typeof i5.ModalHeaderDirective, typeof i5.ModalTitleDirective, typeof i5.ModalBodyDirective, typeof i5.ModalFooterDirective, typeof i6.AlertComponent, typeof i6.AlertStructureDirective, typeof i6.AlertBodyDirective, typeof i7.AccordionDirective, typeof i7.AccordionItemComponent, typeof i7.AccordionHeaderDirective, typeof i7.AccordionBodyDirective, typeof i7.AccordionItemStructureDirective, typeof i8.SliderComponent, typeof i8.SliderHandleDirective, typeof i8.SliderLabelDirective, typeof i8.SliderStructureDirective, typeof i9.ProgressbarComponent, typeof i9.ProgressbarStructureDirective, typeof i9.ProgressbarBodyDirective, typeof i10.ToastComponent, typeof i10.ToastStructureDirective, typeof i10.ToastBodyDirective, typeof i10.ToastHeaderDirective, typeof i11.CollapseDirective, typeof i12.TreeComponent, typeof i12.TreeStructureDirective, typeof i12.TreeItemToggleDirective, typeof i12.TreeItemContentDirective, typeof i12.TreeItemDirective]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<AgnosUIAngularModule>;
|
|
17
18
|
}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import type { ModalProps } from './modal.gen';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
interface ModalServiceOpenOptions {
|
|
5
|
-
injector?: Injector;
|
|
6
|
-
}
|
|
7
4
|
/**
|
|
8
5
|
* Service to handle the opening and management of modal components.
|
|
9
6
|
*/
|
|
10
7
|
export declare class ModalService {
|
|
11
8
|
private readonly _injector;
|
|
12
9
|
private readonly _applicationRef;
|
|
13
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Opens a modal dialog with the specified options.
|
|
12
|
+
*
|
|
13
|
+
* @template Data - The type of data that the modal will handle.
|
|
14
|
+
* @param options - The options to configure the modal.
|
|
15
|
+
* @param injector - The injector to use when creating the modal component
|
|
16
|
+
* @returns A promise that resolves when the modal is closed.
|
|
17
|
+
*/
|
|
18
|
+
open<Data>(options: Partial<ModalProps<Data>>, injector?: Injector): Promise<any>;
|
|
14
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
15
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
16
21
|
}
|
|
17
|
-
export {};
|
|
@@ -304,6 +304,8 @@ declare const export_createSelect: <Item>(config?: PropsConfig<SelectProps<Item>
|
|
|
304
304
|
export { export_createSelect as createSelect };
|
|
305
305
|
/**
|
|
306
306
|
* Item representation built from the items provided in parameters
|
|
307
|
+
*
|
|
308
|
+
* @template T - The type of the Select Items
|
|
307
309
|
*/
|
|
308
310
|
export interface ItemContext<T> {
|
|
309
311
|
/**
|
|
@@ -321,6 +323,8 @@ export interface ItemContext<T> {
|
|
|
321
323
|
}
|
|
322
324
|
/**
|
|
323
325
|
* Interface representing the API for a Select component.
|
|
326
|
+
*
|
|
327
|
+
* @template Item - The type of the Select Items
|
|
324
328
|
*/
|
|
325
329
|
export interface SelectApi<Item> {
|
|
326
330
|
/**
|
|
@@ -386,6 +390,8 @@ export interface SelectApi<Item> {
|
|
|
386
390
|
}
|
|
387
391
|
/**
|
|
388
392
|
* Interface representing the directives used in the Select component.
|
|
393
|
+
*
|
|
394
|
+
* @template Item - The type of the Select Items
|
|
389
395
|
*/
|
|
390
396
|
export interface SelectDirectives<Item> {
|
|
391
397
|
/**
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import type { SlotContent } from '@agnos-ui/angular-headless';
|
|
2
|
+
import { BaseWidgetDirective } from '@agnos-ui/angular-headless';
|
|
3
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
4
|
+
import type { TreeContext, TreeItem, NormalizedTreeItem, TreeSlotItemContext, TreeWidget } from './tree.gen';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Directive to provide a template reference for tree structure.
|
|
8
|
+
*
|
|
9
|
+
* This directive uses a template reference to render the {@link TreeContext}.
|
|
10
|
+
*/
|
|
11
|
+
export declare class TreeStructureDirective {
|
|
12
|
+
templateRef: TemplateRef<any>;
|
|
13
|
+
static ngTemplateContextGuard(_dir: TreeStructureDirective, context: unknown): context is TreeContext;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeStructureDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeStructureDirective, "ng-template[auTreeStructure]", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A constant representing the default slot for tree structure.
|
|
19
|
+
*/
|
|
20
|
+
export declare const treeDefaultSlotStructure: SlotContent<TreeContext>;
|
|
21
|
+
/**
|
|
22
|
+
* Directive to provide a template reference for tree item toggle.
|
|
23
|
+
*
|
|
24
|
+
* This directive uses a template reference to render the {@link TreeSlotItemContext}.
|
|
25
|
+
*/
|
|
26
|
+
export declare class TreeItemToggleDirective {
|
|
27
|
+
templateRef: TemplateRef<any>;
|
|
28
|
+
static ngTemplateContextGuard(_dir: TreeItemToggleDirective, context: unknown): context is TreeSlotItemContext;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeItemToggleDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeItemToggleDirective, "ng-template[auTreeItemToggle]", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A constant representing the default slot for tree item toggle.
|
|
34
|
+
*/
|
|
35
|
+
export declare const treeDefaultItemToggle: SlotContent<TreeSlotItemContext>;
|
|
36
|
+
/**
|
|
37
|
+
* Directive to provide a template reference for tree item content.
|
|
38
|
+
*
|
|
39
|
+
* This directive uses a template reference to render the {@link TreeSlotItemContext}.
|
|
40
|
+
*/
|
|
41
|
+
export declare class TreeItemContentDirective {
|
|
42
|
+
templateRef: TemplateRef<any>;
|
|
43
|
+
static ngTemplateContextGuard(_dir: TreeItemContentDirective, context: unknown): context is TreeSlotItemContext;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeItemContentDirective, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeItemContentDirective, "ng-template[auTreeItemContent]", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A constant representing the default slot for tree item.
|
|
49
|
+
*/
|
|
50
|
+
export declare const treeDefaultSlotItemContent: SlotContent<TreeSlotItemContext>;
|
|
51
|
+
/**
|
|
52
|
+
* Directive to provide a template reference for tree item.
|
|
53
|
+
*
|
|
54
|
+
* This directive uses a template reference to render the {@link TreeSlotItemContext}.
|
|
55
|
+
*/
|
|
56
|
+
export declare class TreeItemDirective {
|
|
57
|
+
templateRef: TemplateRef<any>;
|
|
58
|
+
static ngTemplateContextGuard(_dir: TreeItemDirective, context: unknown): context is TreeSlotItemContext;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeItemDirective, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeItemDirective, "ng-template[auTreeItem]", never, {}, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A constant representing the default slot for tree item.
|
|
64
|
+
*/
|
|
65
|
+
export declare const treeDefaultSlotItem: SlotContent<TreeSlotItemContext>;
|
|
66
|
+
/**
|
|
67
|
+
* TreeComponent is an Angular component that extends the BaseWidgetDirective
|
|
68
|
+
* to provide a customizable tree widget. This component allows for various
|
|
69
|
+
* configurations and customizations through its inputs and outputs.
|
|
70
|
+
*/
|
|
71
|
+
export declare class TreeComponent extends BaseWidgetDirective<TreeWidget> {
|
|
72
|
+
constructor();
|
|
73
|
+
/**
|
|
74
|
+
* Optional accessibility label for the tree if there is no explicit label
|
|
75
|
+
*
|
|
76
|
+
* @defaultValue `''`
|
|
77
|
+
*/
|
|
78
|
+
ariaLabel: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Array of the tree nodes to display
|
|
81
|
+
*
|
|
82
|
+
* @defaultValue `[]`
|
|
83
|
+
*/
|
|
84
|
+
nodes: TreeItem[] | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* CSS classes to be applied on the widget main container
|
|
87
|
+
*
|
|
88
|
+
* @defaultValue `''`
|
|
89
|
+
*/
|
|
90
|
+
className: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Retrieves expand items of the TreeItem
|
|
93
|
+
*
|
|
94
|
+
* @param node - HTML element that is representing the expand item
|
|
95
|
+
*
|
|
96
|
+
* @defaultValue
|
|
97
|
+
* ```ts
|
|
98
|
+
* (node: HTMLElement) => node.querySelectorAll('button')
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
navSelector: ((node: HTMLElement) => NodeListOf<HTMLButtonElement>) | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Return the value for the 'aria-label' attribute of the toggle
|
|
104
|
+
* @param label - tree item label
|
|
105
|
+
*
|
|
106
|
+
* @defaultValue
|
|
107
|
+
* ```ts
|
|
108
|
+
* (label: string) => `Toggle ${label}`
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
ariaLabelToggleFn: ((label: string) => string) | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* An event emitted when the user toggles the expand of the TreeItem.
|
|
114
|
+
*
|
|
115
|
+
* Event payload is equal to the TreeItem clicked.
|
|
116
|
+
*
|
|
117
|
+
* @defaultValue
|
|
118
|
+
* ```ts
|
|
119
|
+
* () => {}
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
expandToggle: EventEmitter<NormalizedTreeItem>;
|
|
123
|
+
/**
|
|
124
|
+
* Slot to change the default tree item content
|
|
125
|
+
*/
|
|
126
|
+
item: SlotContent<TreeSlotItemContext>;
|
|
127
|
+
slotItemContentFromContent: TreeItemContentDirective | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Slot to change the default display of the tree
|
|
130
|
+
*/
|
|
131
|
+
structure: SlotContent<TreeContext>;
|
|
132
|
+
slotStructureFromContent: TreeStructureDirective | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Slot to change the default tree item toggle
|
|
135
|
+
*/
|
|
136
|
+
toggle: SlotContent<TreeSlotItemContext>;
|
|
137
|
+
slotItemToggleFromContent: TreeItemToggleDirective | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Slot to change the default tree item
|
|
140
|
+
*/
|
|
141
|
+
root: SlotContent<TreeSlotItemContext>;
|
|
142
|
+
slotItemFromContent: TreeItemDirective | undefined;
|
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "[auTree]", never, { "ariaLabel": { "alias": "auAriaLabel"; "required": false; }; "nodes": { "alias": "auNodes"; "required": false; }; "className": { "alias": "auClassName"; "required": false; }; "navSelector": { "alias": "auNavSelector"; "required": false; }; "ariaLabelToggleFn": { "alias": "auAriaLabelToggleFn"; "required": false; }; "item": { "alias": "auItemContent"; "required": false; }; "structure": { "alias": "auStructure"; "required": false; }; "toggle": { "alias": "auToggle"; "required": false; }; "root": { "alias": "auItem"; "required": false; }; }, { "expandToggle": "auExpandToggle"; }, ["slotItemContentFromContent", "slotStructureFromContent", "slotItemToggleFromContent", "slotItemFromContent"], never, true, never>;
|
|
145
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import type { WidgetSlotContext, SlotContent, Widget, WidgetFactory, Directive } from '@agnos-ui/angular-headless';
|
|
2
|
+
/**
|
|
3
|
+
* Retrieve a shallow copy of the default Tree config
|
|
4
|
+
* @returns the default Tree config
|
|
5
|
+
*/
|
|
6
|
+
declare const export_getTreeDefaultConfig: () => TreeProps;
|
|
7
|
+
export { export_getTreeDefaultConfig as getTreeDefaultConfig };
|
|
8
|
+
/**
|
|
9
|
+
* Represents the context for a Tree widget.
|
|
10
|
+
* This interface is an alias for `WidgetSlotContext<TreeWidget>`.
|
|
11
|
+
*/
|
|
12
|
+
export type TreeContext = WidgetSlotContext<TreeWidget>;
|
|
13
|
+
/**
|
|
14
|
+
* Represents the context for a tree item, extending the base `TreeContext`
|
|
15
|
+
* with an additional `item` property.
|
|
16
|
+
*/
|
|
17
|
+
export type TreeSlotItemContext = TreeContext & {
|
|
18
|
+
item: NormalizedTreeItem;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Represents the state of a Tree component.
|
|
22
|
+
*/
|
|
23
|
+
export interface TreeState {
|
|
24
|
+
/**
|
|
25
|
+
* Array of normalized tree nodes
|
|
26
|
+
*/
|
|
27
|
+
normalizedNodes: NormalizedTreeItem[];
|
|
28
|
+
/**
|
|
29
|
+
* Getter of expanded state for each tree node
|
|
30
|
+
*/
|
|
31
|
+
expandedMap: {
|
|
32
|
+
get(item: NormalizedTreeItem): boolean | undefined;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Optional accessibility label for the tree if there is no explicit label
|
|
36
|
+
*
|
|
37
|
+
* @defaultValue `''`
|
|
38
|
+
*/
|
|
39
|
+
ariaLabel?: string;
|
|
40
|
+
/**
|
|
41
|
+
* CSS classes to be applied on the widget main container
|
|
42
|
+
*
|
|
43
|
+
* @defaultValue `''`
|
|
44
|
+
*/
|
|
45
|
+
className: string;
|
|
46
|
+
/**
|
|
47
|
+
* Slot to change the default display of the tree
|
|
48
|
+
*/
|
|
49
|
+
structure: SlotContent<TreeContext>;
|
|
50
|
+
/**
|
|
51
|
+
* Slot to change the default tree item
|
|
52
|
+
*/
|
|
53
|
+
item: SlotContent<TreeSlotItemContext>;
|
|
54
|
+
/**
|
|
55
|
+
* Slot to change the default tree item content
|
|
56
|
+
*/
|
|
57
|
+
itemContent: SlotContent<TreeSlotItemContext>;
|
|
58
|
+
/**
|
|
59
|
+
* Slot to change the default tree item toggle
|
|
60
|
+
*/
|
|
61
|
+
itemToggle: SlotContent<TreeSlotItemContext>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Represents the properties for the Tree component.
|
|
65
|
+
*/
|
|
66
|
+
export interface TreeProps {
|
|
67
|
+
/**
|
|
68
|
+
* Array of the tree nodes to display
|
|
69
|
+
*
|
|
70
|
+
* @defaultValue `[]`
|
|
71
|
+
*/
|
|
72
|
+
nodes: TreeItem[];
|
|
73
|
+
/**
|
|
74
|
+
* An event emitted when the user toggles the expand of the TreeItem.
|
|
75
|
+
*
|
|
76
|
+
* Event payload is equal to the TreeItem clicked.
|
|
77
|
+
*
|
|
78
|
+
* @defaultValue
|
|
79
|
+
* ```ts
|
|
80
|
+
* () => {}
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
onExpandToggle: (node: NormalizedTreeItem) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Retrieves expand items of the TreeItem
|
|
86
|
+
*
|
|
87
|
+
* @param node - HTML element that is representing the expand item
|
|
88
|
+
*
|
|
89
|
+
* @defaultValue
|
|
90
|
+
* ```ts
|
|
91
|
+
* (node: HTMLElement) => node.querySelectorAll('button')
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
navSelector(node: HTMLElement): NodeListOf<HTMLButtonElement>;
|
|
95
|
+
/**
|
|
96
|
+
* Return the value for the 'aria-label' attribute of the toggle
|
|
97
|
+
* @param label - tree item label
|
|
98
|
+
*
|
|
99
|
+
* @defaultValue
|
|
100
|
+
* ```ts
|
|
101
|
+
* (label: string) => `Toggle ${label}`
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
ariaLabelToggleFn: (label: string) => string;
|
|
105
|
+
/**
|
|
106
|
+
* Optional accessibility label for the tree if there is no explicit label
|
|
107
|
+
*
|
|
108
|
+
* @defaultValue `''`
|
|
109
|
+
*/
|
|
110
|
+
ariaLabel?: string;
|
|
111
|
+
/**
|
|
112
|
+
* CSS classes to be applied on the widget main container
|
|
113
|
+
*
|
|
114
|
+
* @defaultValue `''`
|
|
115
|
+
*/
|
|
116
|
+
className: string;
|
|
117
|
+
/**
|
|
118
|
+
* Slot to change the default display of the tree
|
|
119
|
+
*/
|
|
120
|
+
structure: SlotContent<TreeContext>;
|
|
121
|
+
/**
|
|
122
|
+
* Slot to change the default tree item
|
|
123
|
+
*/
|
|
124
|
+
item: SlotContent<TreeSlotItemContext>;
|
|
125
|
+
/**
|
|
126
|
+
* Slot to change the default tree item content
|
|
127
|
+
*/
|
|
128
|
+
itemContent: SlotContent<TreeSlotItemContext>;
|
|
129
|
+
/**
|
|
130
|
+
* Slot to change the default tree item toggle
|
|
131
|
+
*/
|
|
132
|
+
itemToggle: SlotContent<TreeSlotItemContext>;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Represents a Tree widget component.
|
|
136
|
+
*/
|
|
137
|
+
export type TreeWidget = Widget<TreeProps, TreeState, TreeApi, TreeDirectives>;
|
|
138
|
+
/**
|
|
139
|
+
* Create a Tree with given config props
|
|
140
|
+
* @param config - an optional tree config
|
|
141
|
+
* @returns a TreeWidget
|
|
142
|
+
*/
|
|
143
|
+
declare const export_createTree: WidgetFactory<TreeWidget>;
|
|
144
|
+
export { export_createTree as createTree };
|
|
145
|
+
/**
|
|
146
|
+
* Represents a tree item component.
|
|
147
|
+
*/
|
|
148
|
+
export interface TreeItem {
|
|
149
|
+
/**
|
|
150
|
+
* Optional accessibility label for the node
|
|
151
|
+
*/
|
|
152
|
+
ariaLabel?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Optional array of children nodes
|
|
155
|
+
*/
|
|
156
|
+
children?: TreeItem[];
|
|
157
|
+
/**
|
|
158
|
+
* If `true` the node is expanded
|
|
159
|
+
*/
|
|
160
|
+
isExpanded?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* String title of the node
|
|
163
|
+
*/
|
|
164
|
+
label: string;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Normalized TreeItem object
|
|
168
|
+
*/
|
|
169
|
+
export interface NormalizedTreeItem {
|
|
170
|
+
/**
|
|
171
|
+
* Accessibility label for the node
|
|
172
|
+
*/
|
|
173
|
+
ariaLabel: string;
|
|
174
|
+
/**
|
|
175
|
+
* Level in the hierarchy, starts with 0 for a root node
|
|
176
|
+
*/
|
|
177
|
+
level: number;
|
|
178
|
+
/**
|
|
179
|
+
* An array of children nodes
|
|
180
|
+
*/
|
|
181
|
+
children: NormalizedTreeItem[];
|
|
182
|
+
/**
|
|
183
|
+
* If `true` the node is expanded
|
|
184
|
+
*/
|
|
185
|
+
isExpanded?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* String title of the node
|
|
188
|
+
*/
|
|
189
|
+
label: string;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Interface representing the API for a Tree component.
|
|
193
|
+
*/
|
|
194
|
+
export interface TreeApi {
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Interface representing various directives used in the Tree component.
|
|
198
|
+
*/
|
|
199
|
+
export interface TreeDirectives {
|
|
200
|
+
/**
|
|
201
|
+
* Directive to attach navManager for the tree
|
|
202
|
+
*/
|
|
203
|
+
navigationDirective: Directive;
|
|
204
|
+
/**
|
|
205
|
+
* Directive to handle toggle for the tree item
|
|
206
|
+
*/
|
|
207
|
+
itemToggleDirective: Directive<{
|
|
208
|
+
item: NormalizedTreeItem;
|
|
209
|
+
}>;
|
|
210
|
+
/**
|
|
211
|
+
* Directive to handle attributes for the tree item
|
|
212
|
+
*/
|
|
213
|
+
itemAttributesDirective: Directive<{
|
|
214
|
+
item: NormalizedTreeItem;
|
|
215
|
+
}>;
|
|
216
|
+
}
|
package/config.gen.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type { RatingProps } from './components/rating';
|
|
|
8
8
|
import type { SelectProps } from './components/select';
|
|
9
9
|
import type { SliderProps } from './components/slider';
|
|
10
10
|
import type { ToastProps } from './components/toast';
|
|
11
|
+
import type { TreeProps } from './components/tree';
|
|
11
12
|
export type WidgetsConfig = {
|
|
12
13
|
/**
|
|
13
14
|
* the accordion widget config
|
|
@@ -49,4 +50,8 @@ export type WidgetsConfig = {
|
|
|
49
50
|
* the toast widget config
|
|
50
51
|
*/
|
|
51
52
|
toast: ToastProps;
|
|
53
|
+
/**
|
|
54
|
+
* the tree widget config
|
|
55
|
+
*/
|
|
56
|
+
tree: TreeProps;
|
|
52
57
|
};
|
|
@@ -10,6 +10,7 @@ import { SliderComponent, SliderHandleDirective, SliderLabelDirective, SliderStr
|
|
|
10
10
|
import { ProgressbarComponent, ProgressbarBodyDirective, ProgressbarStructureDirective } from './components/progressbar/progressbar.component';
|
|
11
11
|
import { ToastBodyDirective, ToastComponent, ToastHeaderDirective, ToastStructureDirective } from './components/toast/toast.component';
|
|
12
12
|
import { CollapseDirective } from './components/collapse';
|
|
13
|
+
import { TreeComponent, TreeItemContentDirective, TreeItemDirective, TreeStructureDirective, TreeItemToggleDirective, } from './components/tree/tree.component';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
/* istanbul ignore next */
|
|
15
16
|
const components = [
|
|
@@ -56,6 +57,11 @@ const components = [
|
|
|
56
57
|
ToastBodyDirective,
|
|
57
58
|
ToastHeaderDirective,
|
|
58
59
|
CollapseDirective,
|
|
60
|
+
TreeComponent,
|
|
61
|
+
TreeStructureDirective,
|
|
62
|
+
TreeItemToggleDirective,
|
|
63
|
+
TreeItemContentDirective,
|
|
64
|
+
TreeItemDirective,
|
|
59
65
|
];
|
|
60
66
|
export class AgnosUIAngularModule {
|
|
61
67
|
static { this.ɵfac = function AgnosUIAngularModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AgnosUIAngularModule)(); }; }
|
|
@@ -112,7 +118,12 @@ export class AgnosUIAngularModule {
|
|
|
112
118
|
ToastStructureDirective,
|
|
113
119
|
ToastBodyDirective,
|
|
114
120
|
ToastHeaderDirective,
|
|
115
|
-
CollapseDirective
|
|
121
|
+
CollapseDirective,
|
|
122
|
+
TreeComponent,
|
|
123
|
+
TreeStructureDirective,
|
|
124
|
+
TreeItemToggleDirective,
|
|
125
|
+
TreeItemContentDirective,
|
|
126
|
+
TreeItemDirective], exports: [SlotDirective,
|
|
116
127
|
SelectComponent,
|
|
117
128
|
SelectBadgeLabelDirective,
|
|
118
129
|
SelectItemLabelDirective,
|
|
@@ -154,5 +165,10 @@ export class AgnosUIAngularModule {
|
|
|
154
165
|
ToastStructureDirective,
|
|
155
166
|
ToastBodyDirective,
|
|
156
167
|
ToastHeaderDirective,
|
|
157
|
-
CollapseDirective
|
|
158
|
-
|
|
168
|
+
CollapseDirective,
|
|
169
|
+
TreeComponent,
|
|
170
|
+
TreeStructureDirective,
|
|
171
|
+
TreeItemToggleDirective,
|
|
172
|
+
TreeItemContentDirective,
|
|
173
|
+
TreeItemDirective] }); })();
|
|
174
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdub3MtdWktYW5ndWxhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYWdub3MtdWktYW5ndWxhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLC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