@exhaustive-ui/mcp 22.1.0 → 22.3.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 (72) hide show
  1. package/data/components/autocomplete.md +41 -41
  2. package/data/components/avatar.md +8 -4
  3. package/data/components/badge.md +6 -6
  4. package/data/components/blockui.md +2 -2
  5. package/data/components/button.md +2 -2
  6. package/data/components/cascadeselect.md +28 -28
  7. package/data/components/checkbox.md +1 -1
  8. package/data/components/colorpicker.md +9 -9
  9. package/data/components/confirmdialog.md +8 -8
  10. package/data/components/confirmpopup.md +5 -5
  11. package/data/components/contextmenu.md +6 -6
  12. package/data/components/dataview.md +14 -14
  13. package/data/components/datepicker.md +53 -52
  14. package/data/components/dialog.md +14 -14
  15. package/data/components/dock.md +1 -1
  16. package/data/components/fileinput.md +565 -0
  17. package/data/components/fileupload.md +9 -9
  18. package/data/components/floatlabel.md +26 -26
  19. package/data/components/focustrap.md +8 -8
  20. package/data/components/galleria.md +8 -8
  21. package/data/components/iconfield.md +40 -40
  22. package/data/components/iftalabel.md +18 -18
  23. package/data/components/imagecompare.md +4 -4
  24. package/data/components/inputgroup.md +73 -73
  25. package/data/components/inputmask.md +9 -9
  26. package/data/components/inputnumber.md +46 -46
  27. package/data/components/inputotp.md +13 -13
  28. package/data/components/inputtext.md +8 -8
  29. package/data/components/megamenu.md +6 -6
  30. package/data/components/message.md +1 -1
  31. package/data/components/metergroup.md +8 -8
  32. package/data/components/multiselect.md +34 -34
  33. package/data/components/orderlist.md +10 -10
  34. package/data/components/organizationchart.md +8 -4
  35. package/data/components/paginator.md +2 -2
  36. package/data/components/panelmenu.md +7 -7
  37. package/data/components/password.md +8 -8
  38. package/data/components/picklist.md +10 -10
  39. package/data/components/popover.md +6 -6
  40. package/data/components/progressbar.md +5 -5
  41. package/data/components/progressspinner.md +4 -2
  42. package/data/components/radiobutton.md +15 -15
  43. package/data/components/scrollpanel.md +4 -4
  44. package/data/components/scrolltop.md +2 -2
  45. package/data/components/select.md +24 -24
  46. package/data/components/selectbutton.md +14 -14
  47. package/data/components/slider.md +1 -1
  48. package/data/components/speeddial.md +18 -18
  49. package/data/components/splitbutton.md +57 -57
  50. package/data/components/splitter.md +6 -0
  51. package/data/components/stepper.md +10 -10
  52. package/data/components/table.md +174 -140
  53. package/data/components/tabs.md +64 -64
  54. package/data/components/textarea.md +8 -8
  55. package/data/components/tieredmenu.md +6 -6
  56. package/data/components/toast.md +2 -2
  57. package/data/components/togglebutton.md +11 -11
  58. package/data/components/toggleswitch.md +9 -9
  59. package/data/components/toolbar.md +4 -4
  60. package/data/components/tree.md +2 -2
  61. package/data/components/treeselect.md +33 -33
  62. package/data/components/treetable.md +136 -105
  63. package/data/components.json +1842 -421
  64. package/data/llms-full.txt +1881 -1095
  65. package/data/llms.txt +2 -0
  66. package/data/manifest.json +1825 -268
  67. package/data/pages/naming.md +27 -0
  68. package/data/pages/tailwind.md +1 -1
  69. package/data/snapshot.json +4 -4
  70. package/dist/index.mjs +13 -0
  71. package/dist/index.mjs.map +1 -1
  72. package/package.json +1 -1
@@ -18,7 +18,7 @@ import { ColorPickerModule } from '@exhaustive-ui/core/colorpicker';
18
18
  @Component({
19
19
  template: `
20
20
  <div class="card flex justify-center">
21
- <p-colorpicker [(ngModel)]="color" />
21
+ <p-color-picker [(ngModel)]="color" />
22
22
  </div>
23
23
  `,
24
24
  standalone: true,
@@ -41,7 +41,7 @@ import { ColorPickerModule } from '@exhaustive-ui/core/colorpicker';
41
41
  @Component({
42
42
  template: `
43
43
  <div class="card flex justify-center">
44
- <p-colorpicker [(ngModel)]="color" [disabled]="true" />
44
+ <p-color-picker [(ngModel)]="color" [disabled]="true" />
45
45
  </div>
46
46
  `,
47
47
  standalone: true,
@@ -66,17 +66,17 @@ import { ColorPickerModule } from '@exhaustive-ui/core/colorpicker';
66
66
  <div class="card flex flex-wrap gap-4">
67
67
  <div class="flex-1 flex flex-col items-center">
68
68
  <label for="cp-hex" class="font-bold block mb-2"> HEX </label>
69
- <p-colorpicker [(ngModel)]="color" inputId="cp-hex" class="mb-4" />
69
+ <p-color-picker [(ngModel)]="color" inputId="cp-hex" class="mb-4" />
70
70
  <span>{{ color }}</span>
71
71
  </div>
72
72
  <div class="flex-1 flex flex-col items-center">
73
73
  <label for="cp-rgb" class="font-bold block mb-2"> RGB </label>
74
- <p-colorpicker [(ngModel)]="colorRGB" format="rgb" inputId="cp-rgb" class="mb-4" />
74
+ <p-color-picker [(ngModel)]="colorRGB" format="rgb" inputId="cp-rgb" class="mb-4" />
75
75
  <span>{{ 'r:' + colorRGB.r + ' g:' + colorRGB.g + ' b:' + colorRGB.b }}</span>
76
76
  </div>
77
77
  <div class="flex-1 flex flex-col items-center">
78
78
  <label for="cp-hsb" class="font-bold block mb-2"> HSB </label>
79
- <p-colorpicker [(ngModel)]="colorHSB" format="hsb" inputId="cp-hsb" class="mb-4" />
79
+ <p-color-picker [(ngModel)]="colorHSB" format="hsb" inputId="cp-hsb" class="mb-4" />
80
80
  <span>{{ 'h:' + colorHSB.h + ' s:' + colorHSB.s + ' b:' + colorHSB.b }}</span>
81
81
  </div>
82
82
  </div>
@@ -103,7 +103,7 @@ import { ColorPickerModule } from '@exhaustive-ui/core/colorpicker';
103
103
  @Component({
104
104
  template: `
105
105
  <div class="card flex justify-center">
106
- <p-colorpicker [(ngModel)]="color" [inline]="true" />
106
+ <p-color-picker [(ngModel)]="color" [inline]="true" />
107
107
  </div>
108
108
  `,
109
109
  standalone: true,
@@ -133,7 +133,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
133
133
  <p-toast />
134
134
  <form [formGroup]="exampleForm" (ngSubmit)="onSubmit()" class="flex flex-col gap-4">
135
135
  <div class="flex flex-col items-center gap-2">
136
- <p-colorpicker formControlName="color" defaultColor="989898" />
136
+ <p-color-picker formControlName="color" defaultColor="989898" />
137
137
  @if (isInvalid('color')) {
138
138
  <p-message severity="error" size="small" variant="simple">Color is required.</p-message>
139
139
  }
@@ -191,7 +191,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
191
191
  <div class="card flex justify-center">
192
192
  <form novalidate (submit)="onSubmit($event)" class="flex flex-col gap-4">
193
193
  <div class="flex flex-col items-center gap-2">
194
- <p-colorpicker [formField]="exampleForm.color" defaultColor="989898" />
194
+ <p-color-picker [formField]="exampleForm.color" defaultColor="989898" />
195
195
  @let color = exampleForm.color();
196
196
  @if (color.invalid() && color.touched()) {
197
197
  <p-message severity="error" size="small" variant="simple">Color is required.</p-message>
@@ -238,7 +238,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
238
238
  <p-toast />
239
239
  <form #exampleForm="ngForm" (ngSubmit)="onSubmit(exampleForm)" class="flex flex-col gap-4">
240
240
  <div class="flex flex-col items-center gap-2">
241
- <p-colorpicker name="color" [(ngModel)]="color" #colorModel="ngModel" required defaultColor="989898" />
241
+ <p-color-picker name="color" [(ngModel)]="color" #colorModel="ngModel" required defaultColor="989898" />
242
242
  @if (colorModel.invalid && (colorModel.touched || exampleForm.submitted)) {
243
243
  <p-message severity="error" size="small" variant="simple">Color is required.</p-message>
244
244
  }
@@ -8,7 +8,7 @@ Screen Reader ConfirmDialog component uses alertdialog role along with aria-labe
8
8
 
9
9
  ## Basic
10
10
 
11
- ConfirmDialog is defined using p-confirmdialog tag and an instance of ConfirmationService is required to display it bycalling confirm method.
11
+ ConfirmDialog is defined using p-confirm-dialog tag and an instance of ConfirmationService is required to display it bycalling confirm method.
12
12
 
13
13
  ```typescript
14
14
  import { Component, inject } from '@angular/core';
@@ -21,7 +21,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
21
21
  template: `
22
22
  <div class="card flex justify-center gap-2">
23
23
  <p-toast />
24
- <p-confirmdialog />
24
+ <p-confirm-dialog />
25
25
  <p-button (click)="confirm1($event)" label="Save" [outlined]="true" />
26
26
  <p-button (click)="confirm2($event)" label="Delete" severity="danger" [outlined]="true" />
27
27
  </div>
@@ -77,7 +77,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
77
77
  template: `
78
78
  <div class="card flex justify-center">
79
79
  <p-toast />
80
- <p-confirmdialog #cd>
80
+ <p-confirm-dialog #cd>
81
81
  <ng-template #headless let-message let-onAccept="onAccept" let-onReject="onReject">
82
82
  @if (message) {
83
83
  <div class="flex flex-col items-center p-8 bg-surface-0 dark:bg-surface-900 rounded-sm">
@@ -93,7 +93,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
93
93
  </div>
94
94
  }
95
95
  </ng-template>
96
- </p-confirmdialog>
96
+ </p-confirm-dialog>
97
97
  <p-button (click)="confirm()" label="Save" />
98
98
  </div>
99
99
  `,
@@ -123,7 +123,7 @@ import { Dialog } from '@exhaustive-ui/core/dialog';
123
123
  template: `
124
124
  <div class="card">
125
125
  <p-toast />
126
- <p-confirmdialog key="positionDialog" [position]="position" />
126
+ <p-confirm-dialog key="positionDialog" [position]="position" />
127
127
  <div class="flex flex-wrap justify-center gap-2 mb-4">
128
128
  <p-button (click)="confirmPosition('left')" icon="pi pi-arrow-right" label="Left" severity="secondary" styleClass="min-w-40" />
129
129
  <p-button (click)="confirmPosition('right')" icon="pi pi-arrow-left" label="Right" severity="secondary" styleClass="min-w-40" />
@@ -152,7 +152,7 @@ export class ConfirmdialogPositionDemo {
152
152
 
153
153
  ## Template
154
154
 
155
- Properties of the dialog are defined in two ways, message , icon , header properties can either be defined using confirm method or declaratively on p-confirmDialog ng-template by header , message , icon and footer templates. If these values are unlikely to change then declarative approach would be useful, still properties defined in a ng-template can be overridden with confirm method call. In addition, buttons at footer section can be customized by passing your own UI, important note to make confirmation work with a custom UI is defining a local ng-template variable for the dialog and assign accept()-reject() methods to your own buttons.
155
+ Properties of the dialog are defined in two ways, message , icon , header properties can either be defined using confirm method or declaratively on p-confirm-dialog ng-template by header , message , icon and footer templates. If these values are unlikely to change then declarative approach would be useful, still properties defined in a ng-template can be overridden with confirm method call. In addition, buttons at footer section can be customized by passing your own UI, important note to make confirmation work with a custom UI is defining a local ng-template variable for the dialog and assign accept()-reject() methods to your own buttons.
156
156
 
157
157
  ```typescript
158
158
  import { Component, inject } from '@angular/core';
@@ -165,7 +165,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
165
165
  template: `
166
166
  <div class="card flex justify-center">
167
167
  <p-toast />
168
- <p-confirmdialog>
168
+ <p-confirm-dialog>
169
169
  <ng-template #message let-message>
170
170
  @if (message) {
171
171
  <div class="flex flex-col items-center w-full gap-4 border-b border-surface-200 dark:border-surface-700">
@@ -174,7 +174,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
174
174
  </div>
175
175
  }
176
176
  </ng-template>
177
- </p-confirmdialog>
177
+ </p-confirm-dialog>
178
178
  <p-button (click)="confirm()" label="Save" />
179
179
  </div>
180
180
  `,
@@ -21,7 +21,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
21
21
  template: `
22
22
  <div class="card flex justify-center gap-2">
23
23
  <p-toast />
24
- <p-confirmpopup />
24
+ <p-confirm-popup />
25
25
  <p-button (onClick)="confirm1($event)" label="Save" [outlined]="true" />
26
26
  <p-button (onClick)="confirm2($event)" label="Delete" severity="danger" [outlined]="true" />
27
27
  </div>
@@ -186,7 +186,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
186
186
  template: `
187
187
  <div class="card flex justify-center">
188
188
  <p-toast />
189
- <p-confirmpopup #cp>
189
+ <p-confirm-popup #cp>
190
190
  <ng-template #headless let-message>
191
191
  <div class="rounded-sm p-4">
192
192
  <span>{{ message.message }}</span>
@@ -196,7 +196,7 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
196
196
  </div>
197
197
  </div>
198
198
  </ng-template>
199
- </p-confirmpopup>
199
+ </p-confirm-popup>
200
200
  <p-button (onClick)="confirm($event)" label="Save" />
201
201
  </div>
202
202
  `,
@@ -277,14 +277,14 @@ import { MessageService, ConfirmationService } from '@exhaustive-ui/core/api';
277
277
  template: `
278
278
  <div class="card flex justify-center">
279
279
  <p-toast />
280
- <p-confirmpopup>
280
+ <p-confirm-popup>
281
281
  <ng-template #content let-message>
282
282
  <div class="flex flex-col items-center w-full gap-4 border-b border-surface-200 dark:border-surface-700 p-4 mb-4 pb-0">
283
283
  <i [class]="message.icon" class="text-6xl! text-primary-500"></i>
284
284
  <p>{{ message.message }}</p>
285
285
  </div>
286
286
  </ng-template>
287
- </p-confirmpopup>
287
+ </p-confirm-popup>
288
288
  <p-button (click)="confirm($event)" label="Save" />
289
289
  </div>
290
290
  `,
@@ -20,7 +20,7 @@ import { ContextMenu } from '@exhaustive-ui/core/contextmenu';
20
20
  template: `
21
21
  <div class="card flex justify-center">
22
22
  <img #img src="https://exhaustive-ui.com/demo/nature/nature2.jpg" alt="Logo" aria-haspopup="true" class="w-full md:w-120 rounded-sm shadow-lg" />
23
- <p-contextmenu [target]="img" [model]="items" />
23
+ <p-context-menu [target]="img" [model]="items" />
24
24
  </div>
25
25
  `,
26
26
  standalone: true,
@@ -75,7 +75,7 @@ interface Users {
75
75
  <p-tag [value]="user.role" [severity]="getBadge(user)" />
76
76
  </li>
77
77
  </ul>
78
- <p-contextmenu #cm [model]="items" (onHide)="onHide()" />
78
+ <p-context-menu #cm [model]="items" (onHide)="onHide()" />
79
79
  </div>
80
80
  `,
81
81
  standalone: true,
@@ -167,7 +167,7 @@ import { ContextMenu } from '@exhaustive-ui/core/contextmenu';
167
167
  template: `
168
168
  <div class="card text-center">
169
169
  <p class="mb-0">Right-Click anywhere on this page to view the global ContextMenu.</p>
170
- <p-contextmenu [model]="items" [global]="true" />
170
+ <p-context-menu [model]="items" [global]="true" />
171
171
  </div>
172
172
  `,
173
173
  standalone: true,
@@ -246,7 +246,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
246
246
  <path d="M11.4013 8.27235L8.00893 7.94938L10.2705 5.68861H12.5321L11.4013 8.27235Z" fill="var(--ground-background)" />
247
247
  </svg>
248
248
  </span>
249
- <p-contextmenu [target]="span" [model]="items" />
249
+ <p-context-menu [target]="span" [model]="items" />
250
250
  </div>
251
251
  `,
252
252
  standalone: true,
@@ -319,7 +319,7 @@ import { ContextMenu } from '@exhaustive-ui/core/contextmenu';
319
319
  </div>
320
320
  </li>
321
321
  </ul>
322
- <p-contextmenu #cm [model]="items" (onHide)="onHide()">
322
+ <p-context-menu #cm [model]="items" (onHide)="onHide()">
323
323
  <ng-template #item let-item>
324
324
  <a pRipple class="flex items-center px-4 py-3 cursor-pointer">
325
325
  <span [class]="item.icon"></span>
@@ -329,7 +329,7 @@ import { ContextMenu } from '@exhaustive-ui/core/contextmenu';
329
329
  <i *ngIf="item.items" class="pi pi-angle-right ms-auto rotate-90 lg:rotate-0"></i>
330
330
  </a>
331
331
  </ng-template>
332
- </p-contextmenu>
332
+ </p-context-menu>
333
333
  </div>
334
334
  `,
335
335
  standalone: true,
@@ -21,7 +21,7 @@ import { Product } from '@/domain/product';
21
21
  @Component({
22
22
  template: `
23
23
  <div class="card">
24
- <p-dataview #dv [value]="products()">
24
+ <p-data-view #dv [value]="products()">
25
25
  <ng-template #list let-items>
26
26
  <div class="grid grid-cols-12 gap-4 grid-nogutter">
27
27
  <div class="col-span-12" *ngFor="let item of items; let first = first">
@@ -58,7 +58,7 @@ import { Product } from '@/domain/product';
58
58
  </div>
59
59
  </div>
60
60
  </ng-template>
61
- </p-dataview>
61
+ </p-data-view>
62
62
  </div>
63
63
  `,
64
64
  standalone: true,
@@ -112,14 +112,14 @@ import { Product } from '@/domain/product';
112
112
  @Component({
113
113
  template: `
114
114
  <div class="card">
115
- <p-dataview #dv [value]="products()" [layout]="layout">
115
+ <p-data-view #dv [value]="products()" [layout]="layout">
116
116
  <ng-template #header>
117
117
  <div class="flex justify-end">
118
- <p-selectbutton [(ngModel)]="layout" [options]="options" [allowEmpty]="false">
118
+ <p-select-button [(ngModel)]="layout" [options]="options" [allowEmpty]="false">
119
119
  <ng-template #item let-item>
120
120
  <i class="pi " [ngClass]="{ 'pi-bars': item === 'list', 'pi-table': item === 'grid' }"></i>
121
121
  </ng-template>
122
- </p-selectbutton>
122
+ </p-select-button>
123
123
  </div>
124
124
  </ng-template>
125
125
  <ng-template #list let-items>
@@ -188,7 +188,7 @@ import { Product } from '@/domain/product';
188
188
  </div>
189
189
  </div>
190
190
  </ng-template>
191
- </p-dataview>
191
+ </p-data-view>
192
192
  </div>
193
193
  `,
194
194
  standalone: true,
@@ -224,14 +224,14 @@ import { Product } from '@/domain/product';
224
224
  @Component({
225
225
  template: `
226
226
  <div class="card">
227
- <p-dataview #dv [value]="products()" [layout]="layout">
227
+ <p-data-view #dv [value]="products()" [layout]="layout">
228
228
  <ng-template #header>
229
229
  <div class="flex justify-end">
230
- <p-selectbutton [(ngModel)]="layout" [options]="options" [allowEmpty]="false">
230
+ <p-select-button [(ngModel)]="layout" [options]="options" [allowEmpty]="false">
231
231
  <ng-template #item let-option>
232
232
  <i [class]="option === 'list' ? 'pi pi-bars' : 'pi pi-table'"></i>
233
233
  </ng-template>
234
- </p-selectbutton>
234
+ </p-select-button>
235
235
  </div>
236
236
  </ng-template>
237
237
  <ng-template #list let-items>
@@ -278,7 +278,7 @@ import { Product } from '@/domain/product';
278
278
  </div>
279
279
  </div>
280
280
  </ng-template>
281
- </p-dataview>
281
+ </p-data-view>
282
282
  </div>
283
283
  `,
284
284
  standalone: true,
@@ -315,7 +315,7 @@ import { Product } from '@/domain/product';
315
315
  @Component({
316
316
  template: `
317
317
  <div class="card">
318
- <p-dataview #dv [value]="products()" [rows]="5" [paginator]="true">
318
+ <p-data-view #dv [value]="products()" [rows]="5" [paginator]="true">
319
319
  <ng-template #list let-items>
320
320
  <div class="grid grid-cols-12 gap-4 grid-nogutter">
321
321
  <div class="col-span-12" *ngFor="let item of items; let first = first">
@@ -352,7 +352,7 @@ import { Product } from '@/domain/product';
352
352
  </div>
353
353
  </div>
354
354
  </ng-template>
355
- </p-dataview>
355
+ </p-data-view>
356
356
  </div>
357
357
  `,
358
358
  standalone: true,
@@ -389,7 +389,7 @@ import { Product } from '@/domain/product';
389
389
  @Component({
390
390
  template: `
391
391
  <div class="card">
392
- <p-dataview #dv [value]="products()" [sortField]="sortField" [sortOrder]="sortOrder">
392
+ <p-data-view #dv [value]="products()" [sortField]="sortField" [sortOrder]="sortOrder">
393
393
  <ng-template #header>
394
394
  <div class="flex flex-col md:flex-row md:justify-between">
395
395
  <p-select [options]="sortOptions" [(ngModel)]="sortKey" placeholder="Sort By Price" (onChange)="onSortChange($event)" class="mb-2 md:mb-0" />
@@ -431,7 +431,7 @@ import { Product } from '@/domain/product';
431
431
  </div>
432
432
  </div>
433
433
  </ng-template>
434
- </p-dataview>
434
+ </p-data-view>
435
435
  </div>
436
436
  `,
437
437
  standalone: true,