@exhaustive-ui/mcp 22.3.0 → 22.5.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 (120) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +88 -0
  3. package/data/cards/animateonscroll.md +152 -0
  4. package/data/cards/autocomplete.md +104 -0
  5. package/data/cards/autofocus.md +34 -0
  6. package/data/cards/avatar.md +43 -0
  7. package/data/cards/badge.md +43 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +54 -0
  10. package/data/cards/button.md +77 -0
  11. package/data/cards/card.md +48 -0
  12. package/data/cards/carousel.md +99 -0
  13. package/data/cards/cascadeselect.md +81 -0
  14. package/data/cards/chart.md +103 -0
  15. package/data/cards/checkbox.md +58 -0
  16. package/data/cards/chip.md +49 -0
  17. package/data/cards/classnames.md +73 -0
  18. package/data/cards/colorpicker.md +51 -0
  19. package/data/cards/confirmdialog.md +89 -0
  20. package/data/cards/confirmpopup.md +74 -0
  21. package/data/cards/contextmenu.md +66 -0
  22. package/data/cards/dataview.md +115 -0
  23. package/data/cards/datepicker.md +102 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +54 -0
  26. package/data/cards/dock.md +85 -0
  27. package/data/cards/dragdrop.md +102 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +76 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +53 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +89 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +47 -0
  36. package/data/cards/focustrap.md +60 -0
  37. package/data/cards/galleria.md +101 -0
  38. package/data/cards/iconfield.md +44 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +56 -0
  41. package/data/cards/imagecompare.md +44 -0
  42. package/data/cards/inplace.md +55 -0
  43. package/data/cards/inputgroup.md +66 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +77 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +48 -0
  49. package/data/cards/knob.md +54 -0
  50. package/data/cards/listbox.md +103 -0
  51. package/data/cards/megamenu.md +97 -0
  52. package/data/cards/menu.md +68 -0
  53. package/data/cards/menubar.md +106 -0
  54. package/data/cards/message.md +50 -0
  55. package/data/cards/metergroup.md +57 -0
  56. package/data/cards/multiselect.md +119 -0
  57. package/data/cards/orderlist.md +94 -0
  58. package/data/cards/organizationchart.md +57 -0
  59. package/data/cards/overlay.md +62 -0
  60. package/data/cards/paginator.md +61 -0
  61. package/data/cards/panel.md +56 -0
  62. package/data/cards/panelmenu.md +103 -0
  63. package/data/cards/password.md +78 -0
  64. package/data/cards/picklist.md +102 -0
  65. package/data/cards/popover.md +52 -0
  66. package/data/cards/progressbar.md +41 -0
  67. package/data/cards/progressspinner.md +37 -0
  68. package/data/cards/radiobutton.md +51 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +36 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +49 -0
  73. package/data/cards/scrolltop.md +46 -0
  74. package/data/cards/select.md +107 -0
  75. package/data/cards/selectbutton.md +60 -0
  76. package/data/cards/skeleton.md +53 -0
  77. package/data/cards/slider.md +51 -0
  78. package/data/cards/speeddial.md +99 -0
  79. package/data/cards/splitbutton.md +93 -0
  80. package/data/cards/splitter.md +51 -0
  81. package/data/cards/stepper.md +120 -0
  82. package/data/cards/styleclass.md +44 -0
  83. package/data/cards/table.md +270 -0
  84. package/data/cards/tabs.md +96 -0
  85. package/data/cards/tag.md +40 -0
  86. package/data/cards/terminal.md +67 -0
  87. package/data/cards/textarea.md +44 -0
  88. package/data/cards/tieredmenu.md +126 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +59 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +51 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +42 -0
  95. package/data/cards/tree.md +96 -0
  96. package/data/cards/treeselect.md +99 -0
  97. package/data/cards/treetable.md +210 -0
  98. package/data/components/blockui.md +1 -1
  99. package/data/components/checkbox.md +0 -24
  100. package/data/components/confirmdialog.md +1 -1
  101. package/data/components/dialog.md +2 -2
  102. package/data/components/dock.md +2 -2
  103. package/data/components/editor.md +1 -1
  104. package/data/components/fileupload.md +1 -1
  105. package/data/components/galleria.md +7 -7
  106. package/data/components/inputnumber.md +2 -2
  107. package/data/components/llms.md +4 -0
  108. package/data/components/password.md +3 -3
  109. package/data/components/picklist.md +1 -1
  110. package/data/components/table.md +3 -3
  111. package/data/components.json +34 -30
  112. package/data/llms-full.txt +57 -50
  113. package/data/llms.txt +100 -96
  114. package/data/manifest.json +196 -24
  115. package/data/pages/llms.md +29 -0
  116. package/data/snapshot.json +2 -2
  117. package/dist/index.d.mts +35 -2
  118. package/dist/index.mjs +1393 -1077
  119. package/dist/index.mjs.map +1 -1
  120. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ # StyleClass
2
+
3
+ StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element.
4
+
5
+ ```typescript
6
+ import { StyleClass } from '@exhaustive-ui/core/styleclass'; // standalone; or StyleClassModule for all its parts
7
+ ```
8
+
9
+ ## `[pStyleClass]`: StyleClass
10
+
11
+ Inputs:
12
+ - `enterActiveClass`: `string | undefined`: Style class to add during enter animation.
13
+ - `enterFromClass`: `string | undefined`: Style class to add when item begins to get displayed.
14
+ - `hideOnResize`: `boolean | undefined`: Whether to trigger leave animation when the target element resized.
15
+ - `leaveActiveClass`: `string | undefined`: Style class to add during leave animation.
16
+ - `leaveToClass`: `string | undefined`: Style class to add when leave animation is completed.
17
+ - `pStyleClass`: `string | undefined`: Selector to define the target element.
18
+ - `resizeSelector`: `string | undefined`: Target element to listen resize.
19
+ - `toggleClass`: `string | undefined`: Adds or removes a class when no enter-leave animation is required.
20
+ - Other inputs: `enterToClass`, `hideOnEscape`, `hideOnOutsideClick`, `leaveFromClass`.
21
+
22
+ ## Example: Toggle Class
23
+
24
+ ```typescript
25
+ import { Component } from '@angular/core';
26
+ import { ButtonModule } from '@exhaustive-ui/core/button';
27
+ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
28
+
29
+ @Component({
30
+ template: `
31
+ <div class="card flex flex-col items-center">
32
+ <p-button label="Toggle Display" pStyleClass="@next" toggleClass="hidden" />
33
+ <input type="text" pInputText class="hidden mt-4" />
34
+ </div>
35
+ `,
36
+ standalone: true,
37
+ imports: [ButtonModule, InputTextModule]
38
+ })
39
+ export class StyleclassToggleclassDemo {}
40
+ ```
41
+
42
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
43
+
44
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/styleclass.md
@@ -0,0 +1,270 @@
1
+ # Table
2
+
3
+ Table displays data in tabular format.
4
+
5
+ ```typescript
6
+ import { Table } from '@exhaustive-ui/core/table'; // standalone; or TableModule for all its parts
7
+ ```
8
+
9
+ ## `p-table`: Table
10
+
11
+ Inputs:
12
+ - `columnResizeMode`: `string` = `'fit'`: Defines whether the overall table width should change on column resize, valid values are "fit" and "expand".
13
+ - `columns`: `any[] | undefined`: An array of objects to represent dynamic columns.
14
+ - `contextMenu`: `any`: Local ng-template varilable of a ContextMenu.
15
+ - `contextMenuSelection`: `any` (two-way: `[(${input.name})]`): Selected row with a context menu, supports one or two-way binding.
16
+ - `currentPageReportTemplate`: `string` = `'{currentPage} of {totalPages}'`: Template of the current page report element.
17
+ - `customSort`: `boolean | undefined`: Whether to use the default sorting or a custom one using sortFunction.
18
+ - `dataKey`: `string | undefined`: A property to uniquely identify a record in data.
19
+ - `editMode`: `"row" | "cell"` = `'cell'`: Defines the editing mode, valid values are "cell" and "row".
20
+ - `expandedRowKeys`: `{ [s: string]: boolean; }` = `{}`: Map instance to keep the expanded rows where key of the map is the data key of the row.
21
+ - `exportHeader`: `string | undefined`: Custom export header of the column to be exported as CSV.
22
+ - `filterDelay`: `number` = `300`: Delay in milliseconds before filtering the data.
23
+ - `first`: `number | null | undefined` = `0` (two-way: `[(${input.name})]`): Index of the first row to be displayed, supports one or two-way binding.
24
+ - `frozenValue`: `any[] | undefined`: An array of objects to display as frozen.
25
+ - `globalFilterFields`: `string[] | undefined`: An array of fields as string to use in global filtering.
26
+ - `groupRowsBy`: `any`: Field name to use in row grouping.
27
+ - `lazy`: `boolean` = `false`: Defines if data is loaded and interacted with in lazy manner.
28
+ - `loading`: `boolean | undefined`: Displays a loader to indicate data load is in progress.
29
+ - `metaKeySelection`: `boolean | undefined` = `false`: Defines whether metaKey should be considered for the selection.
30
+ - `paginator`: `boolean | undefined`: When specified as true, enables the pagination.
31
+ - `reorderableColumns`: `boolean | undefined`: When enabled, columns can be reordered using drag and drop.
32
+ - `resizableColumns`: `boolean | undefined`: When enabled, columns can be resized using drag and drop.
33
+ - `rowGroupMode`: `"subheader" | "rowspan" | undefined`: Type of the row grouping, valid values are "subheader" and "rowspan".
34
+ - `rowHover`: `boolean | undefined`: Adds hover effect to rows without the need for selectionMode.
35
+ - `rows`: `number | undefined` (two-way: `[(${input.name})]`): Number of rows to display per page, supports one or two-way binding.
36
+ - `rowsPerPageOptions`: `any[] | undefined`: Array of integer/object values to display inside rows per page dropdown of…
37
+ - `scrollable`: `boolean | undefined`: Enables scrollable tables.
38
+ - `scrollHeight`: `string | undefined`: Height of the scroll viewport in fixed pixels or the "flex" keyword for a dynamic size.
39
+ - `selection`: `any` (two-way: `[(${input.name})]`): Selected row in single mode or an array of values in multiple mode, supports one or two-way binding.
40
+ - `selectionMode`: `"single" | "multiple" | null | undefined`: Specifies the selection mode, valid values are "single" and "multiple".
41
+ - `showCurrentPageReport`: `boolean | undefined`: Whether to display current page report.
42
+ - `showGridlines`: `boolean | undefined`: Whether to show grid lines between cells.
43
+ - `size`: `"large" | "small" | undefined`: Defines the size of the table.
44
+ - `sortField`: `string | null | undefined`: Name of the field to sort data by default.
45
+ - `sortMode`: `"single" | "multiple"` = `'single'`: Defines whether sorting works on single column or on multiple columns.
46
+ - `sortOrder`: `number` = `1`: Order to sort when default sorting is enabled.
47
+ - `stateKey`: `string | undefined`: Unique identifier of a stateful table to use in state storage.
48
+ - `stateStorage`: `"session" | "local"` = `'session'`: Defines where a stateful table keeps its state, valid values are "session" for sessionStorage and "local" for localStorage.
49
+ - `stripedRows`: `boolean | undefined`: Whether to display rows with alternating colors.
50
+ - `tableStyle`: `{ [klass: string]: any; } | null | undefined`: Inline style of the table.
51
+ - `value`: `RowData[]` = `[]`: An array of objects to display.
52
+ - `virtualScroll`: `boolean | undefined`: Whether the data should be loaded on demand during scroll.
53
+ - `virtualScrollItemSize`: `number | undefined`: Height of a row to use in calculations of virtual scrolling.
54
+ - Other inputs: `alwaysShowPaginator`, `breakpoint`, `compareSelectionBy`, `contextMenuSelectionMode`, `csvSeparator`, `defaultSortOrder`, `editingRowKeys`, `exportFilename`, `exportFunction`, `filterLocale`, `filters`, `groupRowsByOrder`, `lazyLoadOnInit`, `loadingIcon`, `multiSortMeta`, `pageLinks`, `paginatorDropdownAppendTo`, `paginatorDropdownScrollHeight`, `paginatorLocale`, `paginatorPosition`, `paginatorStyleClass`, `resetPageOnSort`, `rowExpandMode`, `rowSelectable`, `rowTrackBy`, `selectAll`, `selectionPageOnly`, `showFirstLastIcon`, `showInitialSortBadge`, `showJumpToPageDropdown`, `showJumpToPageInput`, `showLoader`, `showPageLinks`, `tableStyleClass`, `totalRecords`, `virtualScrollDelay`, `virtualScrollOptions`.
55
+
56
+ Outputs:
57
+ - `(contextMenuSelectionChange)`: `any`
58
+ - `(firstChange)`: `number | null | undefined`
59
+ - `(onColReorder)`: `TableColumnReorderEvent`
60
+ - `(onColResize)`: `TableColResizeEvent`
61
+ - `(onContextMenuSelect)`: `TableContextMenuSelectEvent<RowData>`
62
+ - `(onEditCancel)`: `TableEditCancelEvent`
63
+ - `(onEditComplete)`: `TableEditCompleteEvent`
64
+ - `(onEditInit)`: `TableEditInitEvent`
65
+ - `(onFilter)`: `TableFilterEvent`
66
+ - `(onHeaderCheckboxToggle)`: `TableHeaderCheckboxToggleEvent`
67
+ - `(onLazyLoad)`: `TableLazyLoadEvent`
68
+ - `(onPage)`: `TablePageEvent`
69
+ - `(onRowCollapse)`: `TableRowCollapseEvent`
70
+ - `(onRowExpand)`: `TableRowExpandEvent<RowData>`
71
+ - `(onRowReorder)`: `TableRowReorderEvent`
72
+ - `(onRowSelect)`: `TableRowSelectEvent<RowData>`
73
+ - `(onRowUnselect)`: `TableRowUnSelectEvent<RowData>`
74
+ - `(onSelectAllChange)`: `TableSelectAllChangeEvent`
75
+ - `(onSort)`: `any`
76
+ - `(onStateRestore)`: `TableState`
77
+ - `(onStateSave)`: `TableState`
78
+ - `(rowsChange)`: `number | undefined`
79
+ - `(selectionChange)`: `any`
80
+ - `(sortFunction)`: `any`
81
+
82
+ Templates (`<ng-template #name let-…>` inside the element):
83
+ - `#header`: context { $implicit: any[] | undefined }. Custom header rows, rendered in the thead.
84
+ - `#headergrouped`: context { $implicit: any[] | undefined }. Custom grouped header rows, used in place of the header template.
85
+ - `#body`: context { $implicit: T, rowIndex: number, columns: any[] | undefined, editing: boolean, frozen: boolean, expanded?: boolean | undefined, rowgroup?: boolean | undefined, rowspan?: number | undefined }. Custom row, rendered for each row of data.
86
+ - `#loadingbody`: context { $implicit: any, frozen: boolean, rowIndex?: number | undefined, columns?: any[] | undefined, editing?: boolean | undefined, expanded?: boolean | undefined, rowgroup?: boolean | undefined, rowspan?: number | undefined }. Custom content while the table is loading, and for each row not loaded yet with lazy virtual scrolling.
87
+ - `#caption`: no context. Custom caption, rendered above the table.
88
+ - `#footer`: context { $implicit: any[] | undefined }. Custom footer rows, rendered in the tfoot.
89
+ - `#footergrouped`: context { $implicit: any[] | undefined }. Custom grouped footer rows, used in place of the footer template.
90
+ - `#summary`: no context. Custom summary, rendered below the table.
91
+ - `#colgroup`: context { $implicit: any[] | undefined }. Custom colgroup element.
92
+ - `#expandedrow`: context { $implicit: T, rowIndex: number, columns: any[] | undefined, frozen: boolean }. Custom content of an expanded row.
93
+ - `#groupheader`: context { $implicit: T, rowIndex: number, columns: any[] | undefined, editing: boolean, frozen: boolean, expanded?: boolean | undefined }. Custom row group header, with rowGroupMode set to subheader.
94
+ - `#groupfooter`: context { $implicit: T, rowIndex: number, columns: any[] | undefined, editing: boolean, frozen: boolean, expanded?: boolean | undefined }. Custom row group footer, with rowGroupMode set to subheader.
95
+ - `#frozenexpandedrow`: context { $implicit: T, rowIndex: number, columns: any[] | undefined, frozen: boolean }. Custom content of an expanded frozen row.
96
+ - `#frozenbody`: context { $implicit: T, rowIndex: number, columns: any[] | undefined, editing: boolean, frozen: boolean, expanded?: boolean | undefined, rowgroup?: boolean | undefined, rowspan?: number | undefined }. Custom row of the frozen rows.
97
+ - `#emptymessage`: context { $implicit: any[] | undefined, frozen: boolean }. Custom content when there is no data.
98
+ - `#paginatorleft`: context { $implicit: PaginatorState }. Custom content on the left of the paginator.
99
+ - `#paginatorright`: context { $implicit: PaginatorState }. Custom content on the right of the paginator.
100
+ - `#paginatordropdownitem`: context { $implicit: SelectItem<any> }. Custom item of the rows per page dropdown of the paginator.
101
+ - `#loadingicon`: no context. Custom loading icon.
102
+ - `#reorderindicatorupicon`: no context. Custom icon of the upper column reorder indicator.
103
+ - `#reorderindicatordownicon`: no context. Custom icon of the lower column reorder indicator.
104
+ - `#sorticon`: context { $implicit: number }. Custom sort icon of a sortable column.
105
+ - `#checkboxicon`: context { $implicit: boolean }. Custom icon of the row checkboxes.
106
+ - `#headercheckboxicon`: context { $implicit: boolean }. Custom icon of the header checkbox.
107
+ - `#paginatordropdownicon`: no context. Custom dropdown icon of the paginator.
108
+ - `#paginatorfirstpagelinkicon`: no context. Custom icon of the first page button of the paginator.
109
+ - `#paginatorlastpagelinkicon`: no context. Custom icon of the last page button of the paginator.
110
+ - `#paginatorpreviouspagelinkicon`: no context. Custom icon of the previous page button of the paginator.
111
+ - `#paginatornextpagelinkicon`: no context. Custom icon of the next page button of the paginator.
112
+
113
+ Read a context with `let-`: `<ng-template #header let-item>` (`$implicit` is the bare `let-x`).
114
+
115
+ ### `[pCancelEditableRow]`: CancelEditableRow
116
+
117
+ ### `p-cell-editor` (also `p-cellEditor`, legacy): CellEditor
118
+
119
+ Templates (`<ng-template #name let-…>` inside the element):
120
+ - `#input`: no context.
121
+ - `#output`: no context.
122
+
123
+ ### `p-column-filter` (also `p-columnFilter`, `p-columnfilter`, legacy): ColumnFilter
124
+
125
+ Column Filter Component.
126
+
127
+ - Inputs: `ariaLabel`, `currency`, `currencyDisplay`, `display`, `field`, `filterButtonProps`, `filterOn`, `hideOnClear`, `locale`, `localeMatcher`, `matchMode`, `matchModeOptions`, `maxConstraints`, `maxFractionDigits`, `minFractionDigits`, `motionOptions`, `operator`, `placeholder`, `prefix`, `showAddButton`, `showApplyButton`, `showButtons`, `showClearButton`, `showMatchModes`, `showMenu`, `showOperator`, `suffix`, `type`, `useGrouping`.
128
+ - Outputs: `(onHide)`, `(onShow)`.
129
+
130
+ Templates (`<ng-template #name let-…>` inside the element):
131
+ - `#header`: context { $implicit: string | undefined }. Custom header of the filter overlay.
132
+ - `#filter`: context { $implicit: any, filterCallback: (value: any) => void, type: string | undefined, field: string | undefined, filterConstraint: FilterMetadata | undefined, placeholder: string | undefined, minFractionDigits: number | undefined, maxFractionDigits: number | undefined, prefix: string | undefined, suffix: string | undefined, locale: string | undefined, localeMatcher: any, currency: string | undefined, currencyDisplay: string | undefined, useGrouping: boolean, showButtons: boolean }. Custom filter input.
133
+ - `#footer`: context { $implicit: string | undefined }. Custom footer of the filter overlay.
134
+ - `#filtericon`: context { hasFilter: boolean }. Custom filter icon.
135
+ - `#removeruleicon`: no context. Custom icon of the remove rule button.
136
+ - `#addruleicon`: no context. Custom icon of the add rule button.
137
+
138
+ Read a context with `let-`: `<ng-template #header let-item>` (`$implicit` is the bare `let-x`).
139
+
140
+ ### `p-column-filter-form-element` (also `p-columnFilterFormElement`, legacy): ColumnFilterFormElement
141
+
142
+ - Inputs: `ariaLabel`, `currency`, `currencyDisplay`, `field`, `filterConstraint`, `filterOn`, `filterTemplate`, `locale`, `localeMatcher`, `maxFractionDigits`, `minFractionDigits`, `placeholder`, `prefix`, `suffix`, `type`, `useGrouping`.
143
+
144
+ ### `[pContextMenuRow]`: ContextMenuRow
145
+
146
+ - Inputs: `pContextMenuRow`, `pContextMenuRowDisabled`, `pContextMenuRowIndex`.
147
+
148
+ ### `[pEditableColumn]`: EditableColumn
149
+
150
+ - Inputs: `pEditableColumn`, `pEditableColumnDisabled`, `pEditableColumnField`, `pEditableColumnRowIndex`, `pFocusCellSelector`.
151
+
152
+ ### `[pEditableRow]`: EditableRow
153
+
154
+ - Inputs: `pEditableRow`, `pEditableRowDisabled`.
155
+
156
+ ### `[pFrozenColumn]`: FrozenColumn
157
+
158
+ - Inputs: `alignFrozen`, `frozen`.
159
+
160
+ ### `[pInitEditableRow]`: InitEditableRow
161
+
162
+ ### `[pReorderableColumn]`: ReorderableColumn
163
+
164
+ - Inputs: `pReorderableColumnDisabled`.
165
+
166
+ ### `[pReorderableRow]`: ReorderableRow
167
+
168
+ - Inputs: `pReorderableRow`, `pReorderableRowDisabled`.
169
+
170
+ ### `[pReorderableRowHandle]`: ReorderableRowHandle
171
+
172
+ ### `[pResizableColumn]`: ResizableColumn
173
+
174
+ - Inputs: `pResizableColumnDisabled`.
175
+
176
+ ### `[pRowGroupHeader]`: RowGroupHeader
177
+
178
+ ### `[pRowToggler]`: RowToggler
179
+
180
+ - Inputs: `pRowToggler`, `pRowTogglerDisabled`.
181
+
182
+ ### `[pSaveEditableRow]`: SaveEditableRow
183
+
184
+ ### `[pSelectableRow]`: SelectableRow
185
+
186
+ - Inputs: `pSelectableRow`, `pSelectableRowDisabled`, `pSelectableRowIndex`.
187
+
188
+ ### `[pSelectableRowDblClick]`: SelectableRowDblClick
189
+
190
+ - Inputs: `pSelectableRowDblClick`, `pSelectableRowDisabled`, `pSelectableRowIndex`.
191
+
192
+ ### `p-sort-icon` (also `p-sortIcon`, legacy): SortIcon
193
+
194
+ - Inputs: `field`.
195
+
196
+ ### `[pSortableColumn]`: SortableColumn
197
+
198
+ - Inputs: `pSortableColumn`, `pSortableColumnDisabled`.
199
+
200
+ ### `[pTableBody]`: TableBody
201
+
202
+ - Inputs: `frozen`, `frozenRows`, `pTableBody`, `pTableBodyTemplate`, `scrollerOptions`, `value`.
203
+
204
+ ### `p-table-checkbox` (also `p-tableCheckbox`, legacy): TableCheckbox
205
+
206
+ - Inputs: `ariaLabel`, `disabled`, `index`, `inputId`, `name`, `required`, `value`.
207
+
208
+ ### `p-table-header-checkbox` (also `p-tableHeaderCheckbox`, legacy): TableHeaderCheckbox
209
+
210
+ - Inputs: `ariaLabel`, `disabled`, `inputId`, `name`.
211
+
212
+ ### `p-table-radio-button` (also `p-tableRadioButton`, legacy): TableRadioButton
213
+
214
+ - Inputs: `ariaLabel`, `disabled`, `index`, `inputId`, `name`, `value`.
215
+
216
+ Types used in the contexts:
217
+ - `FilterMetadata`: { value?: any, matchMode?: string | undefined, operator?: string | undefined }
218
+ - `PaginatorState`: { page?: number | undefined, first?: number | undefined, rows?: number | undefined, pageCount?: number | undefined, totalRecords?: number | undefined }
219
+ - `SelectItem`: { label?: string | undefined, value: T, styleClass?: string | undefined, icon?: string | undefined, title?: string | undefined, disabled?: boolean | undefined }
220
+
221
+ ## Example: Basic
222
+
223
+ ```typescript
224
+ import { Component, OnInit, inject } from '@angular/core';
225
+ import { Table, TableModule } from '@exhaustive-ui/core/table';
226
+ import { ProductService } from '@/service/productservice';
227
+ import { Product } from '@/domain/product';
228
+
229
+ @Component({
230
+ template: `
231
+ <div class="card">
232
+ <p-table [value]="products" [tableStyle]="{ 'min-width': '50rem' }">
233
+ <ng-template #header>
234
+ <tr>
235
+ <th>Code</th>
236
+ <th>Name</th>
237
+ <th>Category</th>
238
+ <th>Quantity</th>
239
+ </tr>
240
+ </ng-template>
241
+ <ng-template #body let-product>
242
+ <tr>
243
+ <td>{{ product.code }}</td>
244
+ <td>{{ product.name }}</td>
245
+ <td>{{ product.category }}</td>
246
+ <td>{{ product.quantity }}</td>
247
+ </tr>
248
+ </ng-template>
249
+ </p-table>
250
+ </div>
251
+ `,
252
+ standalone: true,
253
+ imports: [TableModule],
254
+ providers: [ProductService]
255
+ })
256
+ export class TableBasicDemo implements OnInit {
257
+ private productService = inject(ProductService);
258
+ products!: Product[];
259
+
260
+ ngOnInit() {
261
+ this.productService.getProductsMini().then((data) => {
262
+ this.products = data;
263
+ });
264
+ }
265
+ }
266
+ ```
267
+
268
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
269
+
270
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/table.md
@@ -0,0 +1,96 @@
1
+ # Tabs
2
+
3
+ Tabs facilitates seamless switching between different views.
4
+
5
+ ```typescript
6
+ import { Tabs } from '@exhaustive-ui/core/tabs'; // standalone; or TabsModule for all its parts
7
+ ```
8
+
9
+ ## `p-tabs`: Tabs
10
+
11
+ Inputs:
12
+ - `lazy`: `boolean` = `false`: When enabled, tabs are not rendered until activation.
13
+ - `scrollable`: `boolean` = `false`: When specified, enables horizontal and/or vertical scrolling.
14
+ - `value`: `string | number | undefined` (two-way: `[(${input.name})]`): Value of the active tab.
15
+ - Other inputs: `selectOnFocus`, `showNavigators`, `tabindex`.
16
+
17
+ Outputs:
18
+ - `(valueChange)`: `string | number | undefined`
19
+
20
+ ### `p-tab`: Tab
21
+
22
+ Defines valid properties in Tab component.
23
+
24
+ - Inputs: `disabled`, `value`.
25
+ - Outputs: `(valueChange)`.
26
+
27
+ ### `p-tab-list` (also `p-tablist`, legacy): TabList
28
+
29
+ TabList is a helper component for Tabs component.
30
+
31
+ Templates (`<ng-template #name let-…>` inside the element):
32
+ - `#previcon`: no context.
33
+ - `#nexticon`: no context.
34
+
35
+ ### `p-tab-panel` (also `p-tabpanel`, legacy): TabPanel
36
+
37
+ TabPanel is a helper component for Tabs component.
38
+
39
+ - Inputs: `lazy`, `value`.
40
+ - Outputs: `(valueChange)`.
41
+
42
+ Templates (`<ng-template #name let-…>` inside the element):
43
+ - `#content`: no context.
44
+
45
+ ### `p-tab-panels` (also `p-tabpanels`, legacy): TabPanels
46
+
47
+ TabPanels is a helper component for Tabs component.
48
+
49
+ ## Example: Basic
50
+
51
+ ```typescript
52
+ import { Component } from '@angular/core';
53
+ import { TabsModule } from '@exhaustive-ui/core/tabs';
54
+
55
+ @Component({
56
+ template: `
57
+ <div class="card">
58
+ <p-tabs value="0">
59
+ <p-tab-list>
60
+ <p-tab value="0">Header I</p-tab>
61
+ <p-tab value="1">Header II</p-tab>
62
+ <p-tab value="2">Header III</p-tab>
63
+ </p-tab-list>
64
+ <p-tab-panels>
65
+ <p-tab-panel value="0">
66
+ <p class="m-0">
67
+ 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
68
+ 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
69
+ laborum.
70
+ </p>
71
+ </p-tab-panel>
72
+ <p-tab-panel value="1">
73
+ <p class="m-0">
74
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo
75
+ enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
76
+ </p>
77
+ </p-tab-panel>
78
+ <p-tab-panel value="2">
79
+ <p class="m-0">
80
+ At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in
81
+ culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
82
+ </p>
83
+ </p-tab-panel>
84
+ </p-tab-panels>
85
+ </p-tabs>
86
+ </div>
87
+ `,
88
+ standalone: true,
89
+ imports: [TabsModule]
90
+ })
91
+ export class TabsBasicDemo {}
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/tabs.md
@@ -0,0 +1,40 @@
1
+ # Tag
2
+
3
+ Tag component is used to categorize content.
4
+
5
+ ```typescript
6
+ import { Tag } from '@exhaustive-ui/core/tag'; // standalone; or TagModule for all its parts
7
+ ```
8
+
9
+ ## `p-tag`: Tag
10
+
11
+ Inputs:
12
+ - `icon`: `string | undefined`: Icon of the tag to display next to the value.
13
+ - `rounded`: `boolean | undefined`: Whether the corners of the tag are rounded.
14
+ - `severity`: `BadgeSeverity | null | undefined`: Severity type of the tag.
15
+ - `value`: `string | undefined`: Value to display inside the tag.
16
+
17
+ Templates (`<ng-template #name let-…>` inside the element):
18
+ - `#icon`: no context. Custom icon template.
19
+
20
+ ## Example: Basic
21
+
22
+ ```typescript
23
+ import { Component } from '@angular/core';
24
+ import { TagModule } from '@exhaustive-ui/core/tag';
25
+
26
+ @Component({
27
+ template: `
28
+ <div class="card flex justify-center">
29
+ <p-tag value="New" />
30
+ </div>
31
+ `,
32
+ standalone: true,
33
+ imports: [TagModule]
34
+ })
35
+ export class TagBasicDemo {}
36
+ ```
37
+
38
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
39
+
40
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/tag.md
@@ -0,0 +1,67 @@
1
+ # Terminal
2
+
3
+ Terminal is a text based user interface.
4
+
5
+ ```typescript
6
+ import { Terminal } from '@exhaustive-ui/core/terminal'; // standalone; or TerminalModule for all its parts
7
+ ```
8
+
9
+ ## `p-terminal`: Terminal
10
+
11
+ Inputs:
12
+ - `prompt`: `string | undefined`: Prompt text for each command.
13
+ - `welcomeMessage`: `string | undefined`: Initial text to display on terminal.
14
+ - Other inputs: `response`.
15
+
16
+ ## Example: Basic
17
+
18
+ ```typescript
19
+ import { Component } from '@angular/core';
20
+ import { TerminalModule } from '@exhaustive-ui/core/terminal';
21
+
22
+ @Component({
23
+ template: `
24
+ <div class="card">
25
+ <p>Enter "<strong>date</strong>" to display the current date, "<strong>greet &#123;0&#125;</strong>" for a message and "<strong>random</strong>" to get a random number.</p>
26
+ <p-terminal welcomeMessage="Welcome to ExhaustiveUI" prompt="exhaustive $" />
27
+ </div>
28
+ `,
29
+ standalone: true,
30
+ imports: [TerminalModule]
31
+ })
32
+ export class TerminalBasicDemo {
33
+ subscription: Subscription;
34
+
35
+ constructor() {
36
+ this.subscription = this.terminalService.commandHandler.subscribe((text) => {
37
+ let response;
38
+ let argsIndex = text.indexOf(' ');
39
+ let command = argsIndex !== -1 ? text.substring(0, argsIndex) : text;
40
+ switch (command) {
41
+ case 'date':
42
+ response = 'Today is ' + new Date().toDateString();
43
+ break;
44
+ case 'greet':
45
+ response = 'Hola ' + text.substring(argsIndex + 1);
46
+ break;
47
+ case 'random':
48
+ response = Math.floor(Math.random() * 100);
49
+ break;
50
+ default:
51
+ response = 'Unknown command: ' + command;
52
+ }
53
+ this.terminalService.sendResponse(response);
54
+ });
55
+ }
56
+
57
+ ngOnDestroy() {
58
+ if (this.subscription) {
59
+ this.subscription.unsubscribe();
60
+ }
61
+ }
62
+ }
63
+ ```
64
+
65
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
66
+
67
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/terminal.md
@@ -0,0 +1,44 @@
1
+ # Textarea
2
+
3
+ Textarea adds styling and autoResize functionality to standard textarea element.
4
+
5
+ ```typescript
6
+ import { Textarea } from '@exhaustive-ui/core/textarea'; // standalone; or TextareaModule for all its parts
7
+ ```
8
+
9
+ ## `[pTextarea]` (also `[pInputTextarea]`, legacy): Textarea
10
+
11
+ Inputs:
12
+ - `autoResize`: `boolean | undefined`: When present, textarea size changes as being typed.
13
+ - `fluid`: `boolean | undefined`: Spans 100% width of the container when enabled.
14
+ - `invalid`: `boolean | undefined`: When present, it specifies that the component should have invalid state style.
15
+ - `pSize`: `"large" | "small" | undefined`: Defines the size of the component.
16
+ - `variant`: `"filled" | "outlined" | undefined`: Specifies the input variant of the component.
17
+ - Other inputs: `pTextareaPT`, `pTextareaUnstyled`.
18
+
19
+ Outputs:
20
+ - `(onResize)`: `{} | Event`
21
+
22
+ ## Example: Basic
23
+
24
+ ```typescript
25
+ import { Component } from '@angular/core';
26
+ import { FormsModule } from '@angular/forms';
27
+
28
+ @Component({
29
+ template: `
30
+ <div class="card flex justify-center">
31
+ <textarea rows="5" cols="30" pTextarea [(ngModel)]="value"></textarea>
32
+ </div>
33
+ `,
34
+ standalone: true,
35
+ imports: [FormsModule]
36
+ })
37
+ export class TextareaBasicDemo {
38
+ value!: string;
39
+ }
40
+ ```
41
+
42
+ Every component and directive also accepts `pt` (pass through attributes), `ptOptions`, `dt` (design tokens) and `unstyled`.
43
+
44
+ Full documentation (every input, pass through, styling, all examples): https://exhaustive-ui.com/llms/components/textarea.md