@exhaustive-ui/mcp 22.4.0 → 22.6.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.
Files changed (205) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +91 -0
  3. package/data/cards/animateonscroll.md +155 -0
  4. package/data/cards/autocomplete.md +109 -0
  5. package/data/cards/autofocus.md +36 -0
  6. package/data/cards/avatar.md +45 -0
  7. package/data/cards/badge.md +44 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +56 -0
  10. package/data/cards/button.md +83 -0
  11. package/data/cards/card.md +49 -0
  12. package/data/cards/carousel.md +101 -0
  13. package/data/cards/cascadeselect.md +77 -0
  14. package/data/cards/chart.md +105 -0
  15. package/data/cards/checkbox.md +59 -0
  16. package/data/cards/chip.md +50 -0
  17. package/data/cards/classnames.md +91 -0
  18. package/data/cards/colorpicker.md +52 -0
  19. package/data/cards/confirmdialog.md +119 -0
  20. package/data/cards/confirmpopup.md +96 -0
  21. package/data/cards/contextmenu.md +60 -0
  22. package/data/cards/dataview.md +134 -0
  23. package/data/cards/datepicker.md +103 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +55 -0
  26. package/data/cards/dock.md +106 -0
  27. package/data/cards/dragdrop.md +106 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +103 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +54 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +88 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +49 -0
  36. package/data/cards/focustrap.md +64 -0
  37. package/data/cards/galleria.md +94 -0
  38. package/data/cards/iconfield.md +45 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +58 -0
  41. package/data/cards/imagecompare.md +45 -0
  42. package/data/cards/inplace.md +56 -0
  43. package/data/cards/inputgroup.md +77 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +78 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +49 -0
  49. package/data/cards/knob.md +55 -0
  50. package/data/cards/listbox.md +105 -0
  51. package/data/cards/megamenu.md +96 -0
  52. package/data/cards/menu.md +64 -0
  53. package/data/cards/menubar.md +102 -0
  54. package/data/cards/message.md +51 -0
  55. package/data/cards/metergroup.md +53 -0
  56. package/data/cards/multiselect.md +115 -0
  57. package/data/cards/orderlist.md +96 -0
  58. package/data/cards/organizationchart.md +84 -0
  59. package/data/cards/overlay.md +63 -0
  60. package/data/cards/paginator.md +62 -0
  61. package/data/cards/panel.md +57 -0
  62. package/data/cards/panelmenu.md +94 -0
  63. package/data/cards/password.md +81 -0
  64. package/data/cards/picklist.md +106 -0
  65. package/data/cards/popover.md +53 -0
  66. package/data/cards/progressbar.md +42 -0
  67. package/data/cards/progressspinner.md +38 -0
  68. package/data/cards/radiobutton.md +52 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +37 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +50 -0
  73. package/data/cards/scrolltop.md +48 -0
  74. package/data/cards/select.md +108 -0
  75. package/data/cards/selectbutton.md +64 -0
  76. package/data/cards/skeleton.md +54 -0
  77. package/data/cards/slider.md +52 -0
  78. package/data/cards/speeddial.md +102 -0
  79. package/data/cards/splitbutton.md +96 -0
  80. package/data/cards/splitter.md +52 -0
  81. package/data/cards/stepper.md +125 -0
  82. package/data/cards/styleclass.md +46 -0
  83. package/data/cards/table.md +305 -0
  84. package/data/cards/tabs.md +97 -0
  85. package/data/cards/tag.md +41 -0
  86. package/data/cards/terminal.md +76 -0
  87. package/data/cards/textarea.md +45 -0
  88. package/data/cards/tieredmenu.md +121 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +58 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +52 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +43 -0
  95. package/data/cards/tree.md +93 -0
  96. package/data/cards/treeselect.md +98 -0
  97. package/data/cards/treetable.md +231 -0
  98. package/data/components/accordion.md +31 -23
  99. package/data/components/animateonscroll.md +18 -15
  100. package/data/components/autocomplete.md +162 -93
  101. package/data/components/autofocus.md +9 -7
  102. package/data/components/avatar.md +56 -43
  103. package/data/components/badge.md +27 -18
  104. package/data/components/blockui.md +15 -8
  105. package/data/components/breadcrumb.md +20 -14
  106. package/data/components/button.md +121 -94
  107. package/data/components/card.md +12 -10
  108. package/data/components/carousel.md +75 -53
  109. package/data/components/cascadeselect.md +271 -238
  110. package/data/components/chart.md +88 -74
  111. package/data/components/checkbox.md +107 -97
  112. package/data/components/chip.md +20 -16
  113. package/data/components/classnames.md +22 -4
  114. package/data/components/colorpicker.md +54 -36
  115. package/data/components/confirmdialog.md +146 -43
  116. package/data/components/confirmpopup.md +95 -22
  117. package/data/components/contextmenu.md +110 -39
  118. package/data/components/dataview.md +176 -83
  119. package/data/components/datepicker.md +171 -141
  120. package/data/components/dialog.md +80 -68
  121. package/data/components/divider.md +17 -12
  122. package/data/components/dock.md +65 -29
  123. package/data/components/dragdrop.md +26 -12
  124. package/data/components/drawer.md +67 -48
  125. package/data/components/dynamicdialog.md +22 -13
  126. package/data/components/editor.md +42 -33
  127. package/data/components/fieldset.md +20 -17
  128. package/data/components/fileinput.md +92 -35
  129. package/data/components/fileupload.md +101 -61
  130. package/data/components/floatlabel.md +20 -11
  131. package/data/components/fluid.md +11 -9
  132. package/data/components/focustrap.md +11 -7
  133. package/data/components/galleria.md +231 -90
  134. package/data/components/iconfield.md +23 -15
  135. package/data/components/iftalabel.md +15 -9
  136. package/data/components/image.md +31 -26
  137. package/data/components/imagecompare.md +8 -6
  138. package/data/components/inplace.md +27 -22
  139. package/data/components/inputgroup.md +53 -29
  140. package/data/components/inputmask.md +107 -85
  141. package/data/components/inputnumber.md +128 -90
  142. package/data/components/inputotp.md +55 -42
  143. package/data/components/inputtext.md +72 -50
  144. package/data/components/keyfilter.md +6 -3
  145. package/data/components/knob.md +70 -58
  146. package/data/components/listbox.md +171 -141
  147. package/data/components/llms.md +4 -0
  148. package/data/components/megamenu.md +24 -23
  149. package/data/components/menu.md +37 -34
  150. package/data/components/menubar.md +27 -22
  151. package/data/components/message.md +44 -32
  152. package/data/components/metergroup.md +48 -17
  153. package/data/components/multiselect.md +232 -168
  154. package/data/components/orderlist.md +55 -48
  155. package/data/components/organizationchart.md +182 -13
  156. package/data/components/overlay.md +31 -26
  157. package/data/components/paginator.md +49 -34
  158. package/data/components/panel.md +23 -19
  159. package/data/components/panelmenu.md +51 -25
  160. package/data/components/password.md +104 -91
  161. package/data/components/picklist.md +93 -71
  162. package/data/components/popover.md +68 -46
  163. package/data/components/progressbar.md +28 -22
  164. package/data/components/progressspinner.md +13 -11
  165. package/data/components/radiobutton.md +69 -35
  166. package/data/components/rating.md +48 -40
  167. package/data/components/ripple.md +8 -6
  168. package/data/components/scroller.md +29 -29
  169. package/data/components/scrollpanel.md +9 -7
  170. package/data/components/scrolltop.md +20 -18
  171. package/data/components/select.md +248 -169
  172. package/data/components/selectbutton.md +118 -56
  173. package/data/components/skeleton.md +22 -18
  174. package/data/components/slider.md +73 -49
  175. package/data/components/speeddial.md +77 -59
  176. package/data/components/splitbutton.md +354 -329
  177. package/data/components/splitter.md +22 -18
  178. package/data/components/stepper.md +38 -21
  179. package/data/components/styleclass.md +12 -6
  180. package/data/components/table.md +524 -315
  181. package/data/components/tabs.md +44 -26
  182. package/data/components/tag.md +18 -14
  183. package/data/components/terminal.md +38 -27
  184. package/data/components/textarea.md +82 -47
  185. package/data/components/tieredmenu.md +34 -29
  186. package/data/components/timeline.md +29 -28
  187. package/data/components/toast.md +115 -57
  188. package/data/components/togglebutton.md +53 -39
  189. package/data/components/toggleswitch.md +41 -28
  190. package/data/components/toolbar.md +19 -18
  191. package/data/components/tooltip.md +43 -32
  192. package/data/components/tree.md +114 -81
  193. package/data/components/treeselect.md +176 -174
  194. package/data/components/treetable.md +1250 -1045
  195. package/data/components.json +4134 -4088
  196. package/data/llms-full.txt +8979 -6437
  197. package/data/llms.txt +100 -96
  198. package/data/manifest.json +183 -15
  199. package/data/pages/llms.md +29 -0
  200. package/data/pages/tailwind.md +20 -10
  201. package/data/snapshot.json +2 -2
  202. package/dist/index.d.mts +37 -2
  203. package/dist/index.mjs +1395 -1079
  204. package/dist/index.mjs.map +1 -1
  205. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ # Message
2
+
3
+ Message groups a collection of contents in tabs.
4
+
5
+ ```typescript
6
+ import { Message } from '@exhaustive-ui/core/message'; // standalone; or MessageModule for all its parts
7
+ ```
8
+
9
+ ## `p-message`: Message
10
+
11
+ Inputs:
12
+ - `closable`: `boolean` = `false`: Whether the message can be closed manually using the close icon.
13
+ - `icon`: `string | undefined`: Icon to display in the message.
14
+ - `life`: `number | undefined`: Delay in milliseconds to close the message automatically.
15
+ - `severity`: `MessageSeverity | null | undefined` = `'info'`: Severity level of the message.
16
+ - `size`: `"large" | "small" | undefined`: Defines the size of the component.
17
+ - `variant`: `"outlined" | "text" | "simple" | undefined`: Specifies the input variant of the component.
18
+ - Other inputs: `closeIcon`, `motionOptions`.
19
+
20
+ Outputs:
21
+ - `(onClose)`: `{ originalEvent: Event; }`
22
+
23
+ Templates (`<ng-template #name let-…>` inside the element):
24
+ - `#container`: context { closeCallback: (event: Event) => void }. Custom template of the message container.
25
+ - `#icon`: no context. Custom template of the message icon.
26
+ - `#closeicon`: no context. Custom template of the close icon.
27
+
28
+ Read a context with `let-`: `<ng-template #container let-closeCallback="closeCallback">` (`$implicit` is the bare `let-x`).
29
+
30
+ ## Example: Basic
31
+
32
+ ```typescript
33
+ import { Component } from '@angular/core';
34
+ import { MessageModule } from '@exhaustive-ui/core/message';
35
+
36
+ @Component({
37
+ template: `
38
+ <div class="card">
39
+ <p-message>Message Content</p-message>
40
+ </div>
41
+ `,
42
+ standalone: true,
43
+ imports: [MessageModule]
44
+ })
45
+ export class MessageBasicDemo {
46
+ }
47
+ ```
48
+
49
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
50
+
51
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/message.md
@@ -0,0 +1,53 @@
1
+ # MeterGroup
2
+
3
+ MeterGroup displays scalar measurements within a known range.
4
+
5
+ ```typescript
6
+ import { MeterGroup } from '@exhaustive-ui/core/metergroup'; // standalone; or MeterGroupModule for all its parts
7
+ ```
8
+
9
+ ## `p-meter-group` (also `p-meterGroup`, `p-metergroup`, legacy): MeterGroup
10
+
11
+ Inputs:
12
+ - `labelOrientation`: `"vertical" | "horizontal" | undefined` = `'horizontal'`: Specifies the label orientation of the component, valid values are 'horizontal' and 'vertical'.
13
+ - `labelPosition`: `"start" | "end"` = `'end'`: Specifies the label position of the component, valid values are 'start' and 'end'.
14
+ - `max`: `number` = `100`: Maximum boundary value.
15
+ - `orientation`: `"vertical" | "horizontal"` = `'horizontal'`: Specifies the layout of the component, valid values are 'horizontal' and 'vertical'.
16
+ - `value`: `MeterItem[] | undefined`: Current value of the metergroup.
17
+ - Other inputs: `ariaLabel`, `ariaLabelledBy`, `min`.
18
+
19
+ Templates (`<ng-template #name let-…>` inside the element):
20
+ - `#label`: context { $implicit: MeterItem[], totalPercent: number, percentages: number[] }. Custom label template.
21
+ - `#meter`: context { $implicit: MeterItem, index: number, orientation: "vertical" | "horizontal", class: string, size: string, totalPercent: number, dataP: string }. Custom meter template.
22
+ - `#end`: context { $implicit: MeterItem[], totalPercent: number, percentages: number[] }. Custom end template.
23
+ - `#start`: context { $implicit: MeterItem[], totalPercent: number, percentages: number[] }. Custom start template.
24
+ - `#icon`: context { $implicit: MeterItem, icon: string | undefined }. Custom icon template.
25
+
26
+ Read a context with `let-`: `<ng-template #label let-item let-totalPercent="totalPercent" let-percentages="percentages">` (`$implicit` is the bare `let-x`).
27
+
28
+ Types used in the contexts:
29
+ - `MeterItem`: { label?: string | undefined, value?: number | undefined, color?: string | undefined, icon?: string | undefined }
30
+
31
+ ## Example: Basic
32
+
33
+ ```typescript
34
+ import { Component } from '@angular/core';
35
+ import { MeterGroupModule } from '@exhaustive-ui/core/metergroup';
36
+
37
+ @Component({
38
+ template: `
39
+ <div class="card">
40
+ <p-meter-group [value]="value" aria-label="Storage usage" />
41
+ </div>
42
+ `,
43
+ standalone: true,
44
+ imports: [MeterGroupModule]
45
+ })
46
+ export class MetergroupBasicDemo {
47
+ value = [{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }];
48
+ }
49
+ ```
50
+
51
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
52
+
53
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/metergroup.md
@@ -0,0 +1,115 @@
1
+ # MultiSelect
2
+
3
+ MultiSelect is used to select multiple items from a collection.
4
+
5
+ ```typescript
6
+ import { MultiSelect } from '@exhaustive-ui/core/multiselect'; // standalone; or MultiSelectModule for all its parts
7
+ ```
8
+
9
+ ## `p-multi-select` (also `p-multiSelect`, `p-multiselect`, legacy): MultiSelect
10
+
11
+ Form control: use `[(ngModel)]`, `formControlName` or `[formControl]`.
12
+
13
+ Inputs:
14
+ - `ariaLabel`: `string | undefined`: Defines a string that labels the input for accessibility.
15
+ - `disabled`: `boolean | undefined`: When present, it specifies that the component should have disabled state style.
16
+ - `display`: `string` = `'comma'`: Defines how the selected items are displayed.
17
+ - `filter`: `boolean` = `true`: When specified, displays an input field to filter the items on keyup.
18
+ - `fluid`: `boolean | undefined`: Spans 100% width of the container when enabled.
19
+ - `group`: `boolean | undefined`: Whether to display options as grouped when nested options are provided.
20
+ - `inputId`: `string | undefined`: Identifier of the focus input to match a label defined for the component.
21
+ - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
22
+ - `loading`: `boolean | undefined` = `false`: Whether the multiselect is in loading state.
23
+ - `maxSelectedLabels`: `number | null | undefined` = `3`: Decides how many selected item labels to show at most.
24
+ - `name`: `string | undefined`: When present, it specifies that the name of the input.
25
+ - `optionLabel`: `string | undefined`: Name of the label field of an option.
26
+ - `options`: `any[] | undefined`: An array of objects to display as the available options.
27
+ - `placeholder`: `string | undefined`: Label to display when there are no selections.
28
+ - `required`: `boolean | undefined`: There must be a value (if set).
29
+ - `scrollHeight`: `string` = `'200px'`: Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.
30
+ - `selectAll`: `boolean | null | undefined`: Whether all data is selected.
31
+ - `showClear`: `boolean` = `false`: When enabled, a clear icon is displayed to clear the value.
32
+ - `showToggleAll`: `boolean` = `true`: Whether to show the checkbox at header to toggle all items at once.
33
+ - `size`: `"large" | "small" | undefined`: Specifies the size of the component.
34
+ - `variant`: `"filled" | "outlined" | undefined`: Specifies the input variant of the component.
35
+ - `virtualScroll`: `boolean | undefined`: Whether the data should be loaded on demand during scroll.
36
+ - `virtualScrollItemSize`: `number | undefined`: Height of an item in the list for VirtualScrolling.
37
+ - Other inputs: `appendTo`, `ariaFilterLabel`, `ariaLabelledBy`, `autocomplete`, `autofocus`, `autofocusFilter`, `autoOptionFocus`, `chipIcon`, `dataKey`, `displaySelectedLabel`, `dropdownIcon`, `emptyFilterMessage`, `emptyMessage`, `filterBy`, `filterLocale`, `filterMatchMode`, `filterPlaceholder`, `filterValue`, `focusOnHover`, `highlightOnSelect`, `id`, `lazy`, `loadingIcon`, `motionOptions`, `optionDisabled`, `optionGroupChildren`, `optionGroupLabel`, `optionValue`, `overlayOptions`, `overlayVisible`, `panelStyle`, `panelStyleClass`, `readonly`, `resetFilterOnHide`, `selectedItemsLabel`, `selectionLimit`, `selectOnFocus`, `showHeader`, `tabindex`, `tooltip`, `tooltipPosition`, `tooltipPositionStyle`, `tooltipStyleClass`, `virtualScrollOptions`.
38
+
39
+ Outputs:
40
+ - `(onBlur)`: `MultiSelectBlurEvent`
41
+ - `(onChange)`: `MultiSelectChangeEvent`
42
+ - `(onClear)`: `void`
43
+ - `(onClick)`: `Event`
44
+ - `(onFilter)`: `MultiSelectFilterEvent`
45
+ - `(onFocus)`: `MultiSelectFocusEvent`
46
+ - `(onHide)`: `AnimationEvent`
47
+ - `(onLazyLoad)`: `MultiSelectLazyLoadEvent`
48
+ - `(onRemove)`: `MultiSelectRemoveEvent`
49
+ - `(onSelectAllChange)`: `MultiSelectSelectAllChangeEvent`
50
+ - `(onShow)`: `AnimationEvent`
51
+
52
+ Templates (`<ng-template #name let-…>` inside the element):
53
+ - `#item`: context { $implicit: T }. Custom item template.
54
+ - `#group`: context { $implicit: T }. Custom group template.
55
+ - `#loader`: context { options: ScrollerOptions }. Custom loader template.
56
+ - `#header`: no context. Custom header template.
57
+ - `#filter`: context { options: MultiSelectFilterOptions }. Custom filter template.
58
+ - `#footer`: no context. Custom footer template.
59
+ - `#emptyfilter`: no context. Custom empty filter template.
60
+ - `#empty`: no context. Custom empty template.
61
+ - `#selecteditems`: context { $implicit: T[], removeChip: (chip: T, event: MouseEvent) => void }. Custom selected items template.
62
+ - `#loadingicon`: no context. Custom loading icon template.
63
+ - `#filtericon`: no context. Custom filter icon template.
64
+ - `#chipicon`: context { class: string }. Custom chip icon template.
65
+ - `#clearicon`: no context. Custom clear icon template.
66
+ - `#dropdownicon`: context { dataP: string }. Custom dropdown icon template.
67
+ - `#itemcheckboxicon`: context { checked: boolean, class: string }. Custom item checkbox icon template.
68
+ - `#headercheckboxicon`: context { checked: boolean, partialSelected: boolean, class: string }. Custom header checkbox icon template.
69
+
70
+ Read a context with `let-`: `<ng-template #item let-item>` (`$implicit` is the bare `let-x`).
71
+
72
+ Types used in the contexts:
73
+ - `MultiSelectFilterOptions`: { filter?: ((value?: any) => void) | undefined, reset?: (() => void) | undefined }
74
+
75
+ ## Example: Basic
76
+
77
+ ```typescript
78
+ import { Component, OnInit } from '@angular/core';
79
+ import { FormsModule } from '@angular/forms';
80
+ import { MultiSelectModule } from '@exhaustive-ui/core/multiselect';
81
+
82
+ interface City {
83
+ name: string;
84
+ code: string;
85
+ }
86
+
87
+ @Component({
88
+ template: `
89
+ <div class="card flex justify-center">
90
+ <p-multi-select [options]="cities" [(ngModel)]="selectedCities" optionLabel="name" placeholder="Select Cities" [maxSelectedLabels]="3" class="w-full md:w-80" ariaLabel="Cities" />
91
+ </div>
92
+ `,
93
+ standalone: true,
94
+ imports: [FormsModule, MultiSelectModule]
95
+ })
96
+ export class MultiselectBasicDemo implements OnInit {
97
+ cities!: City[];
98
+
99
+ selectedCities!: any[];
100
+
101
+ ngOnInit() {
102
+ this.cities = [
103
+ { name: 'New York', code: 'NY' },
104
+ { name: 'Rome', code: 'RM' },
105
+ { name: 'London', code: 'LDN' },
106
+ { name: 'Istanbul', code: 'IST' },
107
+ { name: 'Paris', code: 'PRS' }
108
+ ];
109
+ }
110
+ }
111
+ ```
112
+
113
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
114
+
115
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/multiselect.md
@@ -0,0 +1,96 @@
1
+ # OrderList
2
+
3
+ OrderList is used to manage the order of a collection.
4
+
5
+ ```typescript
6
+ import { OrderList } from '@exhaustive-ui/core/orderlist'; // standalone; or OrderListModule for all its parts
7
+ ```
8
+
9
+ ## `p-order-list` (also `p-orderList`, `p-orderlist`, legacy): OrderList
10
+
11
+ Inputs:
12
+ - `ariaLabel`: `string | undefined`: Defines a string that labels the input for accessibility.
13
+ - `breakpoint`: `string` = `'960px'`: Indicates the width of the screen at which the component should change its behavior.
14
+ - `dataKey`: `string | undefined`: Name of the field that uniquely identifies the record in the data.
15
+ - `dragdrop`: `boolean` = `false`: Whether to enable dragdrop based reordering.
16
+ - `filterBy`: `string | undefined`: When specified displays an input field to filter the items on keyup and decides which fields to search against.
17
+ - `filterPlaceholder`: `string | undefined`: Placeholder of the filter input.
18
+ - `responsive`: `boolean | undefined`: A boolean value that indicates whether the component should be responsive.
19
+ - `scrollHeight`: `string` = `'14rem'`: Height of the viewport, a scrollbar is defined if height of list exceeds this value.
20
+ - `value`: `any[] | undefined`: Array of values to be displayed in the component.
21
+ - Other inputs: `ariaFilterLabel`, `ariaLabelledBy`, `autoOptionFocus`, `buttonProps`, `controlsPosition`, `disabled`, `filterLocale`, `filterMatchMode`, `focusOnHover`, `listStyle`, `metaKeySelection`, `moveBottomButtonProps`, `moveDownButtonProps`, `moveTopButtonProps`, `moveUpButtonProps`, `optionLabel`, `selection`, `stripedRows`, `tabindex`.
22
+
23
+ Outputs:
24
+ - `(onBlur)`: `Event`
25
+ - `(onFilter)`: `OrderListFilterEvent`
26
+ - `(onFocus)`: `Event`
27
+ - `(onReorder)`: `any`
28
+ - `(onSelectionChange)`: `OrderListSelectionChangeEvent`
29
+ - `(selectionChange)`: `any[]`
30
+
31
+ Templates (`<ng-template #name let-…>` inside the element):
32
+ - `#item`: context { $implicit: any, selected: boolean, index: number }. Custom item template.
33
+ - `#empty`: no context. Custom empty template.
34
+ - `#emptyfilter`: no context. Custom empty filter template.
35
+ - `#filter`: context { options: OrderListFilterOptions }. Custom filter template.
36
+ - `#header`: no context. Custom header template.
37
+ - `#moveupicon`: no context. Custom move up icon template.
38
+ - `#movetopicon`: no context. Custom move top icon template.
39
+ - `#movedownicon`: no context. Custom move down icon template.
40
+ - `#movebottomicon`: no context. Custom move bottom icon template.
41
+ - `#filtericon`: no context. Custom filter icon template.
42
+
43
+ Read a context with `let-`: `<ng-template #item let-item let-selected="selected" let-index="index">` (`$implicit` is the bare `let-x`).
44
+
45
+ Types used in the contexts:
46
+ - `OrderListFilterOptions`: { filter?: ((value?: any) => void) | undefined, reset?: (() => void) | undefined }
47
+
48
+ ## Example: Basic
49
+
50
+ ```typescript
51
+ import { Component, inject, OnInit, signal } from '@angular/core';
52
+ import { OrderListModule } from '@exhaustive-ui/core/orderlist';
53
+ import { Product } from '@/domain/product';
54
+ import { ProductService } from '@/service/productservice';
55
+
56
+ @Component({
57
+ template: `
58
+ <div class="card sm:flex sm:justify-center">
59
+ <p-order-list [value]="products()" dataKey="id" [responsive]="true" breakpoint="575px" ariaLabel="Products">
60
+ <ng-template #item let-option>
61
+ {{ option.name }}
62
+ </ng-template>
63
+ </p-order-list>
64
+ </div>
65
+ `,
66
+ standalone: true,
67
+ imports: [OrderListModule],
68
+ providers: [ProductService]
69
+ })
70
+ export class OrderlistBasicDemo implements OnInit {
71
+ private productService = inject(ProductService);
72
+
73
+ products = signal<Product[]>([]);
74
+
75
+ ngOnInit() {
76
+ this.productService.getProductsSmall().then((cars) => {
77
+ this.products.set(cars);
78
+ });
79
+ }
80
+
81
+ getSeverity(status: string) {
82
+ switch (status) {
83
+ case 'INSTOCK':
84
+ return 'success';
85
+ case 'LOWSTOCK':
86
+ return 'warning';
87
+ case 'OUTOFSTOCK':
88
+ return 'danger';
89
+ }
90
+ }
91
+ }
92
+ ```
93
+
94
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
95
+
96
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/orderlist.md
@@ -0,0 +1,84 @@
1
+ # Organization Chart
2
+
3
+ OrganizationChart visualizes hierarchical organization data.
4
+
5
+ ```typescript
6
+ import { OrganizationChart } from '@exhaustive-ui/core/organizationchart'; // standalone; or OrganizationChartModule for all its parts
7
+ ```
8
+
9
+ ## `p-organization-chart` (also `p-organizationChart`, `p-organizationchart`, legacy): OrganizationChart
10
+
11
+ Inputs:
12
+ - `collapsible`: `boolean | undefined`: Whether the nodes can be expanded or toggled.
13
+ - `selection`: `any` (two-way: `[(${input.name})]`): A single treenode instance or an array to refer to the selections, supports one or two-way binding as well.
14
+ - `selectionMode`: `"single" | "multiple" | null | undefined`: Defines the selection mode.
15
+ - `value`: `TreeNode<any>[] | undefined`: An array of nested TreeNodes.
16
+ - Other inputs: `preserveSpace`.
17
+
18
+ Outputs:
19
+ - `(onNodeCollapse)`: `OrganizationChartNodeCollapseEvent`
20
+ - `(onNodeExpand)`: `OrganizationChartNodeExpandEvent`
21
+ - `(onNodeSelect)`: `OrganizationChartNodeSelectEvent`
22
+ - `(onNodeUnselect)`: `OrganizationChartNodeUnSelectEvent`
23
+ - `(selectionChange)`: `any`
24
+
25
+ Templates (`<ng-template #name let-…>` inside the element):
26
+ - `#togglericon`: context { $implicit: boolean | undefined }. Custom icon of the button that expands and collapses a node.
27
+
28
+ Read a context with `let-`: `<ng-template #togglericon let-item>` (`$implicit` is the bare `let-x`).
29
+
30
+ ## Example: Basic
31
+
32
+ ```typescript
33
+ import { Component } from '@angular/core';
34
+ import { TreeNode } from '@exhaustive-ui/core/api';
35
+ import { OrganizationChartModule } from '@exhaustive-ui/core/organizationchart';
36
+
37
+ @Component({
38
+ template: `
39
+ <div class="card flex justify-center overflow-x-auto">
40
+ <p-organization-chart [value]="data" />
41
+ </div>
42
+ `,
43
+ standalone: true,
44
+ imports: [OrganizationChartModule]
45
+ })
46
+ export class OrganizationchartBasicDemo {
47
+ data: TreeNode[] = [
48
+ {
49
+ label: 'Argentina',
50
+ expanded: true,
51
+ children: [
52
+ {
53
+ label: 'Argentina',
54
+ expanded: true,
55
+ children: [
56
+ {
57
+ label: 'Argentina'
58
+ },
59
+ {
60
+ label: 'France'
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ label: 'France',
66
+ expanded: true,
67
+ children: [
68
+ {
69
+ label: 'France'
70
+ },
71
+ {
72
+ label: 'Morocco'
73
+ }
74
+ ]
75
+ }
76
+ ]
77
+ }
78
+ ];
79
+ }
80
+ ```
81
+
82
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
83
+
84
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/organizationchart.md
@@ -0,0 +1,63 @@
1
+ # Overlay API
2
+
3
+ This API allows overlay components to be controlled from Exhaustive.
4
+
5
+ ```typescript
6
+ import { Overlay } from '@exhaustive-ui/core/overlay'; // standalone; or OverlayModule for all its parts
7
+ ```
8
+
9
+ ## `p-overlay`: Overlay
10
+
11
+ Inputs:
12
+ - `contentStyleClass`: `string | undefined`: The contentStyleClass property is an input that determines the CSS class(es) for the content of the component.
13
+ - `responsive`: `ResponsiveOverlayOptions | undefined`: It is the option used to determine in which mode it should appear according to the given media or breakpoint.
14
+ - `visible`: `boolean` = `false` (two-way: `[(${input.name})]`): The visible property is an input that determines the visibility of the component.
15
+ - Other inputs: `appendTo`, `autoZIndex`, `baseZIndex`, `contentStyle`, `hostAttrSelector`, `hostName`, `inline`, `listener`, `mode`, `motionOptions`, `options`, `style`, `styleClass`, `target`.
16
+
17
+ Outputs:
18
+ - `(onAfterEnter)`: `MotionEvent`
19
+ - `(onAfterLeave)`: `MotionEvent`
20
+ - `(onBeforeEnter)`: `MotionEvent`
21
+ - `(onBeforeHide)`: `OverlayOnBeforeHideEvent`
22
+ - `(onBeforeLeave)`: `MotionEvent`
23
+ - `(onBeforeShow)`: `OverlayOnBeforeShowEvent`
24
+ - `(onEnter)`: `MotionEvent`
25
+ - `(onHide)`: `OverlayOnHideEvent`
26
+ - `(onLeave)`: `MotionEvent`
27
+ - `(onShow)`: `OverlayOnShowEvent`
28
+ - `(visibleChange)`: `boolean`
29
+
30
+ Templates (`<ng-template #name let-…>` inside the element):
31
+ - `#content`: context { $implicit: { mode: string | null | undefined; } }. Content template of the component.
32
+
33
+ Read a context with `let-`: `<ng-template #content let-item>` (`$implicit` is the bare `let-x`).
34
+
35
+ ## Example: Basic
36
+
37
+ ```typescript
38
+ import { Component } from '@angular/core';
39
+ import { ButtonModule } from '@exhaustive-ui/core/button';
40
+ import { OverlayModule } from '@exhaustive-ui/core/overlay';
41
+
42
+ @Component({
43
+ template: `
44
+ <div class="card flex justify-center">
45
+ <p-button (click)="toggle()" label="Show Overlay"></p-button>
46
+ <p-overlay [(visible)]="overlayVisible" [responsive]="{ breakpoint: '640px', direction: 'bottom', contentStyleClass: 'h-20rem' }" contentStyleClass="p-6 bg-surface-0 dark:bg-surface-900 shadow-sm rounded-border"> Content </p-overlay>
47
+ </div>
48
+ `,
49
+ standalone: true,
50
+ imports: [ButtonModule, OverlayModule]
51
+ })
52
+ export class OverlayBasicDemo {
53
+ overlayVisible: boolean = false;
54
+
55
+ toggle() {
56
+ this.overlayVisible = !this.overlayVisible;
57
+ }
58
+ }
59
+ ```
60
+
61
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
62
+
63
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/overlay.md
@@ -0,0 +1,62 @@
1
+ # Paginator
2
+
3
+ Paginator is a generic component to display content in paged format.
4
+
5
+ ```typescript
6
+ import { Paginator } from '@exhaustive-ui/core/paginator'; // standalone; or PaginatorModule for all its parts
7
+ ```
8
+
9
+ ## `p-paginator`: Paginator
10
+
11
+ Inputs:
12
+ - `currentPageReportTemplate`: `string` = `'{currentPage} of {totalPages}'`: Template of the current page report element.
13
+ - `first`: `number` = `0`: Zero-relative number of the first row to be displayed.
14
+ - `rows`: `number` = `0`: Data count to display per page.
15
+ - `rowsPerPageOptions`: `any[] | undefined`: Array of integer/object values to display inside rows per page dropdown.
16
+ - `showCurrentPageReport`: `boolean | undefined`: Whether to display current page report.
17
+ - `showFirstLastIcon`: `boolean` = `true`: When enabled, icons are displayed on paginator to go first and last page.
18
+ - `showJumpToPageDropdown`: `boolean | undefined`: Whether to display a dropdown to navigate to any page.
19
+ - `showPageLinks`: `boolean` = `true`: Whether to show page links.
20
+ - `totalRecords`: `number` = `0`: Number of total records.
21
+ - Other inputs: `alwaysShow`, `appendTo`, `dropdownItemTemplate`, `dropdownScrollHeight`, `jumpToPageItemTemplate`, `locale`, `pageLinkSize`, `showJumpToPageInput`, `templateLeft`, `templateRight`.
22
+
23
+ Outputs:
24
+ - `(onPageChange)`: `PaginatorState`
25
+
26
+ Templates (`<ng-template #name let-…>` inside the element):
27
+ - `#dropdownicon`: no context. Template for the dropdown icon.
28
+ - `#firstpagelinkicon`: no context. Template for the first page link icon.
29
+ - `#previouspagelinkicon`: no context. Template for the previous page link icon.
30
+ - `#lastpagelinkicon`: no context. Template for the last page link icon.
31
+ - `#nextpagelinkicon`: no context. Template for the next page link icon.
32
+
33
+ ## Example: Basic
34
+
35
+ ```typescript
36
+ import { Component } from '@angular/core';
37
+ import { PaginatorState, PaginatorModule } from '@exhaustive-ui/core/paginator';
38
+
39
+ @Component({
40
+ template: `
41
+ <div class="card flex justify-center">
42
+ <p-paginator (onPageChange)="onPageChange($event)" [first]="first" [rows]="rows" [totalRecords]="120" [rowsPerPageOptions]="[10, 20, 30]" />
43
+ </div>
44
+ `,
45
+ standalone: true,
46
+ imports: [PaginatorModule]
47
+ })
48
+ export class PaginatorBasicDemo {
49
+ first: number = 0;
50
+
51
+ rows: number = 10;
52
+
53
+ onPageChange(event: PaginatorState) {
54
+ this.first = event.first ?? 0;
55
+ this.rows = event.rows ?? 10;
56
+ }
57
+ }
58
+ ```
59
+
60
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
61
+
62
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/paginator.md
@@ -0,0 +1,57 @@
1
+ # Panel
2
+
3
+ Panel is a container with the optional content toggle feature.
4
+
5
+ ```typescript
6
+ import { Panel } from '@exhaustive-ui/core/panel'; // standalone; or PanelModule for all its parts
7
+ ```
8
+
9
+ ## `p-panel`: Panel
10
+
11
+ Inputs:
12
+ - `header`: `string | undefined`: Header text of the panel.
13
+ - `id`: `string | undefined` = `uuid('pn_id_')`: Id of the component.
14
+ - `toggleable`: `boolean | undefined`: Defines if content of panel can be expanded and collapsed.
15
+ - Other inputs: `collapsed`, `iconPos`, `motionOptions`, `showHeader`, `toggleButtonProps`, `toggler`.
16
+
17
+ Outputs:
18
+ - `(collapsedChange)`: `boolean | undefined`
19
+ - `(onAfterToggle)`: `PanelAfterToggleEvent`
20
+ - `(onBeforeToggle)`: `PanelBeforeToggleEvent`
21
+
22
+ Templates (`<ng-template #name let-…>` inside the element):
23
+ - `#header`: no context. Defines template option for header.
24
+ - `#icons`: no context. Defines template option for icons.
25
+ - `#content`: no context. Defines template option for content.
26
+ - `#footer`: no context. Defines template option for footer.
27
+ - `#headericons`: context { $implicit: boolean }. Defines template option for headerIcon.
28
+
29
+ Read a context with `let-`: `<ng-template #headericons let-item>` (`$implicit` is the bare `let-x`).
30
+
31
+ ## Example: Basic
32
+
33
+ ```typescript
34
+ import { Component } from '@angular/core';
35
+ import { PanelModule } from '@exhaustive-ui/core/panel';
36
+
37
+ @Component({
38
+ template: `
39
+ <div class="card flex justify-center">
40
+ <p-panel header="Header">
41
+ <p class="m-0">
42
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
43
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
44
+ </p>
45
+ </p-panel>
46
+ </div>
47
+ `,
48
+ standalone: true,
49
+ imports: [PanelModule]
50
+ })
51
+ export class PanelBasicDemo {
52
+ }
53
+ ```
54
+
55
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
56
+
57
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/panel.md