@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.
- package/README.md +13 -1
- package/data/cards/accordion.md +91 -0
- package/data/cards/animateonscroll.md +155 -0
- package/data/cards/autocomplete.md +109 -0
- package/data/cards/autofocus.md +36 -0
- package/data/cards/avatar.md +45 -0
- package/data/cards/badge.md +44 -0
- package/data/cards/blockui.md +51 -0
- package/data/cards/breadcrumb.md +56 -0
- package/data/cards/button.md +83 -0
- package/data/cards/card.md +49 -0
- package/data/cards/carousel.md +101 -0
- package/data/cards/cascadeselect.md +77 -0
- package/data/cards/chart.md +105 -0
- package/data/cards/checkbox.md +59 -0
- package/data/cards/chip.md +50 -0
- package/data/cards/classnames.md +91 -0
- package/data/cards/colorpicker.md +52 -0
- package/data/cards/confirmdialog.md +119 -0
- package/data/cards/confirmpopup.md +96 -0
- package/data/cards/contextmenu.md +60 -0
- package/data/cards/dataview.md +134 -0
- package/data/cards/datepicker.md +103 -0
- package/data/cards/dialog.md +89 -0
- package/data/cards/divider.md +55 -0
- package/data/cards/dock.md +106 -0
- package/data/cards/dragdrop.md +106 -0
- package/data/cards/drawer.md +62 -0
- package/data/cards/dynamicdialog.md +103 -0
- package/data/cards/editor.md +55 -0
- package/data/cards/fieldset.md +54 -0
- package/data/cards/fileinput.md +72 -0
- package/data/cards/fileupload.md +88 -0
- package/data/cards/floatlabel.md +41 -0
- package/data/cards/fluid.md +49 -0
- package/data/cards/focustrap.md +64 -0
- package/data/cards/galleria.md +94 -0
- package/data/cards/iconfield.md +45 -0
- package/data/cards/iftalabel.md +38 -0
- package/data/cards/image.md +58 -0
- package/data/cards/imagecompare.md +45 -0
- package/data/cards/inplace.md +56 -0
- package/data/cards/inputgroup.md +77 -0
- package/data/cards/inputmask.md +71 -0
- package/data/cards/inputnumber.md +78 -0
- package/data/cards/inputotp.md +60 -0
- package/data/cards/inputtext.md +41 -0
- package/data/cards/keyfilter.md +49 -0
- package/data/cards/knob.md +55 -0
- package/data/cards/listbox.md +105 -0
- package/data/cards/megamenu.md +96 -0
- package/data/cards/menu.md +64 -0
- package/data/cards/menubar.md +102 -0
- package/data/cards/message.md +51 -0
- package/data/cards/metergroup.md +53 -0
- package/data/cards/multiselect.md +115 -0
- package/data/cards/orderlist.md +96 -0
- package/data/cards/organizationchart.md +84 -0
- package/data/cards/overlay.md +63 -0
- package/data/cards/paginator.md +62 -0
- package/data/cards/panel.md +57 -0
- package/data/cards/panelmenu.md +94 -0
- package/data/cards/password.md +81 -0
- package/data/cards/picklist.md +106 -0
- package/data/cards/popover.md +53 -0
- package/data/cards/progressbar.md +42 -0
- package/data/cards/progressspinner.md +38 -0
- package/data/cards/radiobutton.md +52 -0
- package/data/cards/rating.md +56 -0
- package/data/cards/ripple.md +37 -0
- package/data/cards/scroller.md +32 -0
- package/data/cards/scrollpanel.md +50 -0
- package/data/cards/scrolltop.md +48 -0
- package/data/cards/select.md +108 -0
- package/data/cards/selectbutton.md +64 -0
- package/data/cards/skeleton.md +54 -0
- package/data/cards/slider.md +52 -0
- package/data/cards/speeddial.md +102 -0
- package/data/cards/splitbutton.md +96 -0
- package/data/cards/splitter.md +52 -0
- package/data/cards/stepper.md +125 -0
- package/data/cards/styleclass.md +46 -0
- package/data/cards/table.md +305 -0
- package/data/cards/tabs.md +97 -0
- package/data/cards/tag.md +41 -0
- package/data/cards/terminal.md +76 -0
- package/data/cards/textarea.md +45 -0
- package/data/cards/tieredmenu.md +121 -0
- package/data/cards/timeline.md +58 -0
- package/data/cards/toast.md +58 -0
- package/data/cards/togglebutton.md +59 -0
- package/data/cards/toggleswitch.md +52 -0
- package/data/cards/toolbar.md +74 -0
- package/data/cards/tooltip.md +43 -0
- package/data/cards/tree.md +93 -0
- package/data/cards/treeselect.md +98 -0
- package/data/cards/treetable.md +231 -0
- package/data/components/accordion.md +31 -23
- package/data/components/animateonscroll.md +18 -15
- package/data/components/autocomplete.md +162 -93
- package/data/components/autofocus.md +9 -7
- package/data/components/avatar.md +56 -43
- package/data/components/badge.md +27 -18
- package/data/components/blockui.md +15 -8
- package/data/components/breadcrumb.md +20 -14
- package/data/components/button.md +121 -94
- package/data/components/card.md +12 -10
- package/data/components/carousel.md +75 -53
- package/data/components/cascadeselect.md +271 -238
- package/data/components/chart.md +88 -74
- package/data/components/checkbox.md +107 -97
- package/data/components/chip.md +20 -16
- package/data/components/classnames.md +22 -4
- package/data/components/colorpicker.md +54 -36
- package/data/components/confirmdialog.md +146 -43
- package/data/components/confirmpopup.md +95 -22
- package/data/components/contextmenu.md +110 -39
- package/data/components/dataview.md +176 -83
- package/data/components/datepicker.md +171 -141
- package/data/components/dialog.md +80 -68
- package/data/components/divider.md +17 -12
- package/data/components/dock.md +65 -29
- package/data/components/dragdrop.md +26 -12
- package/data/components/drawer.md +67 -48
- package/data/components/dynamicdialog.md +22 -13
- package/data/components/editor.md +42 -33
- package/data/components/fieldset.md +20 -17
- package/data/components/fileinput.md +92 -35
- package/data/components/fileupload.md +101 -61
- package/data/components/floatlabel.md +20 -11
- package/data/components/fluid.md +11 -9
- package/data/components/focustrap.md +11 -7
- package/data/components/galleria.md +231 -90
- package/data/components/iconfield.md +23 -15
- package/data/components/iftalabel.md +15 -9
- package/data/components/image.md +31 -26
- package/data/components/imagecompare.md +8 -6
- package/data/components/inplace.md +27 -22
- package/data/components/inputgroup.md +53 -29
- package/data/components/inputmask.md +107 -85
- package/data/components/inputnumber.md +128 -90
- package/data/components/inputotp.md +55 -42
- package/data/components/inputtext.md +72 -50
- package/data/components/keyfilter.md +6 -3
- package/data/components/knob.md +70 -58
- package/data/components/listbox.md +171 -141
- package/data/components/llms.md +4 -0
- package/data/components/megamenu.md +24 -23
- package/data/components/menu.md +37 -34
- package/data/components/menubar.md +27 -22
- package/data/components/message.md +44 -32
- package/data/components/metergroup.md +48 -17
- package/data/components/multiselect.md +232 -168
- package/data/components/orderlist.md +55 -48
- package/data/components/organizationchart.md +182 -13
- package/data/components/overlay.md +31 -26
- package/data/components/paginator.md +49 -34
- package/data/components/panel.md +23 -19
- package/data/components/panelmenu.md +51 -25
- package/data/components/password.md +104 -91
- package/data/components/picklist.md +93 -71
- package/data/components/popover.md +68 -46
- package/data/components/progressbar.md +28 -22
- package/data/components/progressspinner.md +13 -11
- package/data/components/radiobutton.md +69 -35
- package/data/components/rating.md +48 -40
- package/data/components/ripple.md +8 -6
- package/data/components/scroller.md +29 -29
- package/data/components/scrollpanel.md +9 -7
- package/data/components/scrolltop.md +20 -18
- package/data/components/select.md +248 -169
- package/data/components/selectbutton.md +118 -56
- package/data/components/skeleton.md +22 -18
- package/data/components/slider.md +73 -49
- package/data/components/speeddial.md +77 -59
- package/data/components/splitbutton.md +354 -329
- package/data/components/splitter.md +22 -18
- package/data/components/stepper.md +38 -21
- package/data/components/styleclass.md +12 -6
- package/data/components/table.md +524 -315
- package/data/components/tabs.md +44 -26
- package/data/components/tag.md +18 -14
- package/data/components/terminal.md +38 -27
- package/data/components/textarea.md +82 -47
- package/data/components/tieredmenu.md +34 -29
- package/data/components/timeline.md +29 -28
- package/data/components/toast.md +115 -57
- package/data/components/togglebutton.md +53 -39
- package/data/components/toggleswitch.md +41 -28
- package/data/components/toolbar.md +19 -18
- package/data/components/tooltip.md +43 -32
- package/data/components/tree.md +114 -81
- package/data/components/treeselect.md +176 -174
- package/data/components/treetable.md +1250 -1045
- package/data/components.json +4134 -4088
- package/data/llms-full.txt +8979 -6437
- package/data/llms.txt +100 -96
- package/data/manifest.json +183 -15
- package/data/pages/llms.md +29 -0
- package/data/pages/tailwind.md +20 -10
- package/data/snapshot.json +2 -2
- package/dist/index.d.mts +37 -2
- package/dist/index.mjs +1395 -1079
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
38
38
|
</div>
|
|
39
39
|
`,
|
|
40
40
|
standalone: true,
|
|
41
|
-
imports: [
|
|
41
|
+
imports: [DialogModule, ButtonModule, InputTextModule]
|
|
42
42
|
})
|
|
43
43
|
export class DialogBasicDemo {
|
|
44
44
|
visible: boolean = false;
|
|
@@ -55,8 +55,8 @@ Headless mode allows you to customize the entire user interface instead of the d
|
|
|
55
55
|
|
|
56
56
|
```typescript
|
|
57
57
|
import { Component } from '@angular/core';
|
|
58
|
-
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
59
58
|
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
59
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
60
60
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
61
61
|
|
|
62
62
|
@Component({
|
|
@@ -113,7 +113,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
113
113
|
</div>
|
|
114
114
|
`,
|
|
115
115
|
standalone: true,
|
|
116
|
-
imports: [
|
|
116
|
+
imports: [DialogModule, ButtonModule, InputTextModule]
|
|
117
117
|
})
|
|
118
118
|
export class DialogHeadlessDemo {
|
|
119
119
|
visible: boolean = false;
|
|
@@ -134,8 +134,8 @@ Dialog automatically displays a scroller when content exceeds viewport.
|
|
|
134
134
|
|
|
135
135
|
```typescript
|
|
136
136
|
import { Component } from '@angular/core';
|
|
137
|
-
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
138
137
|
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
138
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
139
139
|
|
|
140
140
|
@Component({
|
|
141
141
|
template: `
|
|
@@ -178,7 +178,7 @@ import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
|
178
178
|
</div>
|
|
179
179
|
`,
|
|
180
180
|
standalone: true,
|
|
181
|
-
imports: [
|
|
181
|
+
imports: [DialogModule, ButtonModule]
|
|
182
182
|
})
|
|
183
183
|
export class DialogLongcontentDemo {
|
|
184
184
|
visible: boolean = false;
|
|
@@ -195,8 +195,8 @@ Setting maximizable property to true enables the full screen mode.
|
|
|
195
195
|
|
|
196
196
|
```typescript
|
|
197
197
|
import { Component } from '@angular/core';
|
|
198
|
-
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
199
198
|
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
199
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
200
200
|
|
|
201
201
|
@Component({
|
|
202
202
|
template: `
|
|
@@ -211,7 +211,7 @@ import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
|
211
211
|
</div>
|
|
212
212
|
`,
|
|
213
213
|
standalone: true,
|
|
214
|
-
imports: [
|
|
214
|
+
imports: [DialogModule, ButtonModule]
|
|
215
215
|
})
|
|
216
216
|
export class DialogMaximizableDemo {
|
|
217
217
|
visible: boolean = false;
|
|
@@ -228,8 +228,8 @@ Mask layer behind the Dialog can be turned on by setting the modal property to t
|
|
|
228
228
|
|
|
229
229
|
```typescript
|
|
230
230
|
import { Component } from '@angular/core';
|
|
231
|
+
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
231
232
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
232
|
-
import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
|
|
233
233
|
|
|
234
234
|
@Component({
|
|
235
235
|
template: `
|
|
@@ -244,7 +244,7 @@ import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
|
|
|
244
244
|
</div>
|
|
245
245
|
`,
|
|
246
246
|
standalone: true,
|
|
247
|
-
imports: [
|
|
247
|
+
imports: [DialogModule, ButtonModule]
|
|
248
248
|
})
|
|
249
249
|
export class DialogModalDemo {
|
|
250
250
|
visible: boolean = false;
|
|
@@ -262,8 +262,8 @@ When dialog includes other components with overlays such as dropdown, the overla
|
|
|
262
262
|
```typescript
|
|
263
263
|
import { Component, OnInit } from '@angular/core';
|
|
264
264
|
import { FormsModule } from '@angular/forms';
|
|
265
|
-
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
266
265
|
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
266
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
267
267
|
import { SelectModule } from '@exhaustive-ui/core/select';
|
|
268
268
|
|
|
269
269
|
interface City {
|
|
@@ -283,11 +283,13 @@ interface City {
|
|
|
283
283
|
</div>
|
|
284
284
|
`,
|
|
285
285
|
standalone: true,
|
|
286
|
-
imports: [
|
|
286
|
+
imports: [FormsModule, DialogModule, ButtonModule, SelectModule]
|
|
287
287
|
})
|
|
288
288
|
export class DialogOverlaysinsideDemo implements OnInit {
|
|
289
289
|
cities: City[] | undefined;
|
|
290
|
+
|
|
290
291
|
selectedCity: City | undefined;
|
|
292
|
+
|
|
291
293
|
visible: boolean = false;
|
|
292
294
|
|
|
293
295
|
ngOnInit() {
|
|
@@ -312,8 +314,8 @@ The position property is used to display a Dialog at all edges and corners of th
|
|
|
312
314
|
|
|
313
315
|
```typescript
|
|
314
316
|
import { Component } from '@angular/core';
|
|
317
|
+
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
315
318
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
316
|
-
import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
|
|
317
319
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
318
320
|
|
|
319
321
|
@Component({
|
|
@@ -351,11 +353,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
351
353
|
</div>
|
|
352
354
|
`,
|
|
353
355
|
standalone: true,
|
|
354
|
-
imports: [
|
|
356
|
+
imports: [DialogModule, ButtonModule, InputTextModule]
|
|
355
357
|
})
|
|
356
358
|
export class DialogPositionDemo {
|
|
357
359
|
visible: boolean = false;
|
|
358
360
|
|
|
361
|
+
position: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright' = 'center';
|
|
362
|
+
|
|
359
363
|
showDialog(position: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright') {
|
|
360
364
|
this.position = position;
|
|
361
365
|
this.visible = true;
|
|
@@ -369,8 +373,8 @@ Dialog width can be adjusted per screen size with the breakpoints option where a
|
|
|
369
373
|
|
|
370
374
|
```typescript
|
|
371
375
|
import { Component } from '@angular/core';
|
|
376
|
+
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
372
377
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
373
|
-
import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
|
|
374
378
|
|
|
375
379
|
@Component({
|
|
376
380
|
template: `
|
|
@@ -385,7 +389,7 @@ import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
|
|
|
385
389
|
</div>
|
|
386
390
|
`,
|
|
387
391
|
standalone: true,
|
|
388
|
-
imports: [
|
|
392
|
+
imports: [DialogModule, ButtonModule]
|
|
389
393
|
})
|
|
390
394
|
export class DialogResponsiveDemo {
|
|
391
395
|
visible: boolean = false;
|
|
@@ -402,10 +406,10 @@ Dialog can be customized using header and footer templates.
|
|
|
402
406
|
|
|
403
407
|
```typescript
|
|
404
408
|
import { Component } from '@angular/core';
|
|
405
|
-
import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
406
|
-
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
407
409
|
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
410
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
408
411
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
412
|
+
import { AvatarModule } from '@exhaustive-ui/core/avatar';
|
|
409
413
|
|
|
410
414
|
@Component({
|
|
411
415
|
template: `
|
|
@@ -435,7 +439,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
435
439
|
</div>
|
|
436
440
|
`,
|
|
437
441
|
standalone: true,
|
|
438
|
-
imports: [
|
|
442
|
+
imports: [DialogModule, ButtonModule, InputTextModule, AvatarModule]
|
|
439
443
|
})
|
|
440
444
|
export class DialogTemplateDemo {
|
|
441
445
|
visible: boolean = false;
|
|
@@ -452,8 +456,8 @@ Mask layer behind the Dialog is configured with the modal property. By default,
|
|
|
452
456
|
|
|
453
457
|
```typescript
|
|
454
458
|
import { Component } from '@angular/core';
|
|
459
|
+
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
455
460
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
456
|
-
import { Dialog, DialogModule } from '@exhaustive-ui/core/dialog';
|
|
457
461
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
458
462
|
|
|
459
463
|
@Component({
|
|
@@ -478,7 +482,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
478
482
|
</div>
|
|
479
483
|
`,
|
|
480
484
|
standalone: true,
|
|
481
|
-
imports: [
|
|
485
|
+
imports: [DialogModule, ButtonModule, InputTextModule]
|
|
482
486
|
})
|
|
483
487
|
export class DialogWithoutmodalDemo {
|
|
484
488
|
visible: boolean = false;
|
|
@@ -497,54 +501,62 @@ Dialog is a container to display content in an overlay window.
|
|
|
497
501
|
|
|
498
502
|
| Name | Type | Default | Description |
|
|
499
503
|
|------|------|---------|-------------|
|
|
500
|
-
| dt |
|
|
501
|
-
| unstyled |
|
|
502
|
-
| pt |
|
|
503
|
-
| ptOptions |
|
|
504
|
-
| header |
|
|
505
|
-
| draggable |
|
|
506
|
-
| resizable |
|
|
507
|
-
| contentStyle |
|
|
508
|
-
| contentStyleClass |
|
|
509
|
-
| modal |
|
|
510
|
-
| closeOnEscape |
|
|
511
|
-
| dismissableMask |
|
|
512
|
-
| closable |
|
|
513
|
-
| breakpoints |
|
|
514
|
-
| styleClass |
|
|
515
|
-
| maskStyleClass |
|
|
516
|
-
| maskStyle |
|
|
517
|
-
| showHeader |
|
|
518
|
-
| blockScroll |
|
|
519
|
-
| autoZIndex |
|
|
520
|
-
| baseZIndex |
|
|
521
|
-
| minX |
|
|
522
|
-
| minY |
|
|
523
|
-
| focusOnShow |
|
|
524
|
-
| maximizable |
|
|
525
|
-
| keepInViewport |
|
|
526
|
-
| focusTrap |
|
|
527
|
-
| maskMotionOptions |
|
|
528
|
-
| motionOptions |
|
|
529
|
-
| closeIcon |
|
|
530
|
-
| closeAriaLabel |
|
|
531
|
-
| closeTabindex |
|
|
532
|
-
| minimizeIcon |
|
|
533
|
-
| maximizeIcon |
|
|
534
|
-
| closeButtonProps |
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
|
545
|
-
|
|
|
546
|
-
|
|
|
547
|
-
|
|
|
504
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
505
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
506
|
+
| pt | DialogPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
507
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
508
|
+
| header | string | - | Title text of the dialog. |
|
|
509
|
+
| draggable | boolean | true | Enables dragging to change the position using header. |
|
|
510
|
+
| resizable | boolean | true | Enables resizing of the content. |
|
|
511
|
+
| contentStyle | { [key: string]: any } | - | Style of the content section. |
|
|
512
|
+
| contentStyleClass | string | - | Style class of the content. |
|
|
513
|
+
| modal | boolean | false | Defines if background should be blocked when dialog is displayed. |
|
|
514
|
+
| closeOnEscape | boolean | true | Specifies if pressing escape key should hide the dialog. |
|
|
515
|
+
| dismissableMask | boolean | false | Specifies if clicking the modal background should hide the dialog. |
|
|
516
|
+
| closable | boolean | true | Adds a close icon to the header to hide the dialog. |
|
|
517
|
+
| breakpoints | { [maxWidth: string]: string } | - | Object literal to define widths per screen size. |
|
|
518
|
+
| styleClass | string | - | Style class of the component. |
|
|
519
|
+
| maskStyleClass | string | - | Style class of the mask. |
|
|
520
|
+
| maskStyle | { [klass: string]: any } | - | Style of the mask. |
|
|
521
|
+
| showHeader | boolean | true | Whether to show the header or not. |
|
|
522
|
+
| blockScroll | boolean | false | Whether background scroll should be blocked when dialog is visible. |
|
|
523
|
+
| autoZIndex | boolean | true | Whether to automatically manage layering. |
|
|
524
|
+
| baseZIndex | number | 0 | Base zIndex value to use in layering. |
|
|
525
|
+
| minX | number | 0 | Minimum value for the left coordinate of dialog in dragging. |
|
|
526
|
+
| minY | number | 0 | Minimum value for the top coordinate of dialog in dragging. |
|
|
527
|
+
| focusOnShow | boolean | true | When enabled, first focusable element receives focus on show. |
|
|
528
|
+
| maximizable | boolean | false | Whether the dialog can be displayed full screen. |
|
|
529
|
+
| keepInViewport | boolean | true | Keeps dialog in the viewport. |
|
|
530
|
+
| focusTrap | boolean | true | When enabled, can only focus on elements inside the dialog. |
|
|
531
|
+
| maskMotionOptions | MotionOptions | - | The motion options for the mask. |
|
|
532
|
+
| motionOptions | MotionOptions | - | The motion options. |
|
|
533
|
+
| closeIcon | string | - | Name of the close icon. |
|
|
534
|
+
| closeAriaLabel | string | - | Defines a string that labels the close button for accessibility. |
|
|
535
|
+
| closeTabindex | string | '0' | Index of the close button in tabbing order. |
|
|
536
|
+
| minimizeIcon | string | - | Name of the minimize icon. |
|
|
537
|
+
| maximizeIcon | string | - | Name of the maximize icon. |
|
|
538
|
+
| closeButtonProps | ButtonProps | {
|
|
539
|
+
severity: 'secondary',
|
|
540
|
+
variant: 'text',
|
|
541
|
+
rounded: true
|
|
542
|
+
} | Used to pass all properties of the ButtonProps to the Button component. |
|
|
543
|
+
| maximizeButtonProps | ButtonProps | {
|
|
544
|
+
severity: 'secondary',
|
|
545
|
+
variant: 'text',
|
|
546
|
+
rounded: true
|
|
547
|
+
} | Used to pass all properties of the ButtonProps to the Button component. |
|
|
548
|
+
| visible | boolean | false | Specifies the visibility of the dialog. Emits `visibleChange` with the new value to notify changes in the visibility state of the component. |
|
|
549
|
+
| style | { [key: string]: any } | - | Inline style of the component. |
|
|
550
|
+
| position | "top" \| "bottom" \| "center" \| "left" \| "right" \| "topleft" \| "bottomleft" \| "topright" \| "bottomright" | - | Position of the dialog. |
|
|
551
|
+
| ariaLabelledBy | string | - | Identifier of the element that labels the dialog. Defaults to the id of the generated header title. |
|
|
552
|
+
| appendTo | any | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
|
|
553
|
+
| headerTemplate | TemplateRef<DialogHeaderTemplateContext> | - | Header template passed as an input, for a template defined outside the dialog. A <ng-template #header> inside the dialog takes precedence. |
|
|
554
|
+
| contentTemplate | TemplateRef<void> | - | Content template passed as an input, for a template defined outside the dialog. A <ng-template #content> inside the dialog takes precedence. |
|
|
555
|
+
| footerTemplate | TemplateRef<void> | - | Footer template passed as an input, for a template defined outside the dialog. A <ng-template #footer> inside the dialog takes precedence. |
|
|
556
|
+
| closeIconTemplate | TemplateRef<void> | - | Close icon template passed as an input, for a template defined outside the dialog. A <ng-template #closeicon> inside the dialog takes precedence. |
|
|
557
|
+
| maximizeIconTemplate | TemplateRef<void> | - | Maximize icon template passed as an input, for a template defined outside the dialog. A <ng-template #maximizeicon> inside the dialog takes precedence. |
|
|
558
|
+
| minimizeIconTemplate | TemplateRef<void> | - | Minimize icon template passed as an input, for a template defined outside the dialog. A <ng-template #minimizeicon> inside the dialog takes precedence. |
|
|
559
|
+
| headlessTemplate | TemplateRef<void> | - | Headless template passed as an input, for a template defined outside the dialog. A <ng-template #headless> inside the dialog takes precedence. |
|
|
548
560
|
|
|
549
561
|
### Emits
|
|
550
562
|
|
|
@@ -41,7 +41,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
|
41
41
|
standalone: true,
|
|
42
42
|
imports: [DividerModule]
|
|
43
43
|
})
|
|
44
|
-
export class DividerBasicDemo {
|
|
44
|
+
export class DividerBasicDemo {
|
|
45
|
+
}
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
## Content
|
|
@@ -85,7 +86,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
|
85
86
|
standalone: true,
|
|
86
87
|
imports: [DividerModule]
|
|
87
88
|
})
|
|
88
|
-
export class DividerContentDemo {
|
|
89
|
+
export class DividerContentDemo {
|
|
90
|
+
}
|
|
89
91
|
```
|
|
90
92
|
|
|
91
93
|
## Login
|
|
@@ -128,7 +130,8 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
128
130
|
standalone: true,
|
|
129
131
|
imports: [ButtonModule, DividerModule, InputTextModule]
|
|
130
132
|
})
|
|
131
|
-
export class DividerLoginDemo {
|
|
133
|
+
export class DividerLoginDemo {
|
|
134
|
+
}
|
|
132
135
|
```
|
|
133
136
|
|
|
134
137
|
## Type
|
|
@@ -166,7 +169,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
|
166
169
|
standalone: true,
|
|
167
170
|
imports: [DividerModule]
|
|
168
171
|
})
|
|
169
|
-
export class DividerTypeDemo {
|
|
172
|
+
export class DividerTypeDemo {
|
|
173
|
+
}
|
|
170
174
|
```
|
|
171
175
|
|
|
172
176
|
## Vertical
|
|
@@ -199,7 +203,8 @@ import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
|
199
203
|
standalone: true,
|
|
200
204
|
imports: [DividerModule]
|
|
201
205
|
})
|
|
202
|
-
export class DividerVerticalDemo {
|
|
206
|
+
export class DividerVerticalDemo {
|
|
207
|
+
}
|
|
203
208
|
```
|
|
204
209
|
|
|
205
210
|
## Divider
|
|
@@ -210,13 +215,13 @@ Divider is used to separate contents.
|
|
|
210
215
|
|
|
211
216
|
| Name | Type | Default | Description |
|
|
212
217
|
|------|------|---------|-------------|
|
|
213
|
-
| dt |
|
|
214
|
-
| unstyled |
|
|
215
|
-
| pt |
|
|
216
|
-
| ptOptions |
|
|
217
|
-
| layout |
|
|
218
|
-
| type |
|
|
219
|
-
| align |
|
|
218
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
219
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
220
|
+
| pt | DividerPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
221
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
222
|
+
| layout | "vertical" \| "horizontal" | 'horizontal' | Specifies the orientation. |
|
|
223
|
+
| type | "solid" \| "dashed" \| "dotted" | 'solid' | Border style type. |
|
|
224
|
+
| align | "top" \| "bottom" \| "center" \| "left" \| "right" | - | Alignment of the content. |
|
|
220
225
|
|
|
221
226
|
## Pass Through Options
|
|
222
227
|
|
package/data/components/dock.md
CHANGED
|
@@ -11,18 +11,19 @@ Screen Reader Dock component uses the menu role with the aria-orientation and th
|
|
|
11
11
|
A mock desktop UI implemented with various components in addition to Dock.
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { Component, OnInit, inject } from '@angular/core';
|
|
14
|
+
import { Component, OnDestroy, OnInit, inject } from '@angular/core';
|
|
15
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
15
16
|
import { DialogModule } from '@exhaustive-ui/core/dialog';
|
|
16
|
-
import {
|
|
17
|
+
import { Dock } from '@exhaustive-ui/core/dock';
|
|
17
18
|
import { GalleriaModule } from '@exhaustive-ui/core/galleria';
|
|
18
19
|
import { MenubarModule } from '@exhaustive-ui/core/menubar';
|
|
19
|
-
import { TerminalModule } from '@exhaustive-ui/core/terminal';
|
|
20
|
+
import { TerminalModule, TerminalService } from '@exhaustive-ui/core/terminal';
|
|
20
21
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
21
|
-
import { TreeModule } from '@exhaustive-ui/core/tree';
|
|
22
22
|
import { TooltipModule } from '@exhaustive-ui/core/tooltip';
|
|
23
|
+
import { TreeModule } from '@exhaustive-ui/core/tree';
|
|
24
|
+
import { Subscription } from 'rxjs';
|
|
23
25
|
import { NodeService } from '@/service/nodeservice';
|
|
24
26
|
import { PhotoService } from '@/service/photoservice';
|
|
25
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
26
27
|
|
|
27
28
|
@Component({
|
|
28
29
|
template: `
|
|
@@ -56,7 +57,7 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
56
57
|
<p-terminal welcomeMessage="Welcome to ExhaustiveUI (cmd: 'date', 'greet {0}', 'random')" prompt="exhaustive $" />
|
|
57
58
|
</p-dialog>
|
|
58
59
|
<p-galleria
|
|
59
|
-
[
|
|
60
|
+
[value]="images"
|
|
60
61
|
[showThumbnails]="false"
|
|
61
62
|
[showThumbnailNavigators]="false"
|
|
62
63
|
[showItemNavigators]="true"
|
|
@@ -75,21 +76,31 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
75
76
|
</div>
|
|
76
77
|
`,
|
|
77
78
|
standalone: true,
|
|
78
|
-
imports: [
|
|
79
|
-
providers: [
|
|
79
|
+
imports: [Dock, DialogModule, GalleriaModule, MenubarModule, TerminalModule, ToastModule, TooltipModule, TreeModule],
|
|
80
|
+
providers: [MessageService, TerminalService, PhotoService, NodeService]
|
|
80
81
|
})
|
|
81
|
-
export class DockAdvancedDemo implements OnInit {
|
|
82
|
+
export class DockAdvancedDemo implements OnInit, OnDestroy {
|
|
83
|
+
private galleriaService = inject(PhotoService);
|
|
82
84
|
private nodeService = inject(NodeService);
|
|
83
|
-
private photoService = inject(PhotoService);
|
|
84
85
|
private messageService = inject(MessageService);
|
|
86
|
+
private terminalService = inject(TerminalService);
|
|
87
|
+
|
|
85
88
|
displayTerminal: boolean | undefined;
|
|
89
|
+
|
|
86
90
|
displayFinder: boolean | undefined;
|
|
91
|
+
|
|
87
92
|
displayGalleria: boolean | undefined;
|
|
93
|
+
|
|
88
94
|
dockItems: MenuItem[] | undefined;
|
|
95
|
+
|
|
89
96
|
menubarItems: any[] | undefined;
|
|
97
|
+
|
|
90
98
|
responsiveOptions: any[] | undefined;
|
|
99
|
+
|
|
91
100
|
images: any[] | undefined;
|
|
101
|
+
|
|
92
102
|
nodes: any[] | undefined;
|
|
103
|
+
|
|
93
104
|
subscription: Subscription | undefined;
|
|
94
105
|
|
|
95
106
|
ngOnInit() {
|
|
@@ -186,6 +197,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
186
197
|
}
|
|
187
198
|
}
|
|
188
199
|
];
|
|
200
|
+
|
|
189
201
|
this.menubarItems = [
|
|
190
202
|
{
|
|
191
203
|
label: 'Finder',
|
|
@@ -308,6 +320,7 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
308
320
|
label: 'Quit'
|
|
309
321
|
}
|
|
310
322
|
];
|
|
323
|
+
|
|
311
324
|
this.responsiveOptions = [
|
|
312
325
|
{
|
|
313
326
|
breakpoint: '1024px',
|
|
@@ -322,7 +335,9 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
322
335
|
numVisible: 1
|
|
323
336
|
}
|
|
324
337
|
];
|
|
338
|
+
|
|
325
339
|
this.subscription = this.terminalService.commandHandler.subscribe((command) => this.commandHandler(command));
|
|
340
|
+
|
|
326
341
|
this.galleriaService.getImages().then((data) => (this.images = data));
|
|
327
342
|
this.nodeService.getFiles().then((data) => (this.nodes = data));
|
|
328
343
|
}
|
|
@@ -331,25 +346,25 @@ export class DockAdvancedDemo implements OnInit {
|
|
|
331
346
|
let response;
|
|
332
347
|
let argsIndex = text.indexOf(' ');
|
|
333
348
|
let command = argsIndex !== -1 ? text.substring(0, argsIndex) : text;
|
|
334
|
-
|
|
349
|
+
|
|
335
350
|
switch (command) {
|
|
336
351
|
case 'date':
|
|
337
352
|
response = 'Today is ' + new Date().toDateString();
|
|
338
353
|
break;
|
|
339
|
-
|
|
354
|
+
|
|
340
355
|
case 'greet':
|
|
341
356
|
response = 'Hola ' + text.substring(argsIndex + 1) + '!';
|
|
342
357
|
break;
|
|
343
|
-
|
|
358
|
+
|
|
344
359
|
case 'random':
|
|
345
360
|
response = Math.floor(Math.random() * 100);
|
|
346
361
|
break;
|
|
347
|
-
|
|
362
|
+
|
|
348
363
|
default:
|
|
349
364
|
response = 'Unknown command: ' + command;
|
|
350
365
|
break;
|
|
351
366
|
}
|
|
352
|
-
|
|
367
|
+
|
|
353
368
|
if (response) {
|
|
354
369
|
this.terminalService.sendResponse(response as string);
|
|
355
370
|
}
|
|
@@ -369,18 +384,19 @@ Dock requires a collection of menuitems as its model . Default location is botto
|
|
|
369
384
|
|
|
370
385
|
```typescript
|
|
371
386
|
import { Component, OnInit } from '@angular/core';
|
|
387
|
+
import { CommonModule } from '@angular/common';
|
|
372
388
|
import { FormsModule } from '@angular/forms';
|
|
389
|
+
import { MenuItem } from '@exhaustive-ui/core/api';
|
|
373
390
|
import { DockModule } from '@exhaustive-ui/core/dock';
|
|
374
391
|
import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
|
|
375
392
|
import { TooltipModule } from '@exhaustive-ui/core/tooltip';
|
|
376
|
-
import { MenuItem } from '@exhaustive-ui/core/api';
|
|
377
393
|
|
|
378
394
|
@Component({
|
|
379
395
|
template: `
|
|
380
396
|
<div class="card">
|
|
381
397
|
<div class="flex flex-wrap gap-4 mb-8">
|
|
382
398
|
<div *ngFor="let pos of positionOptions" class="flex items-center">
|
|
383
|
-
<p-radio-button name="dock" [value]="pos.value" [
|
|
399
|
+
<p-radio-button name="dock" [value]="pos.value" [(ngModel)]="position" [inputId]="pos.label" />
|
|
384
400
|
<label [for]="pos.label" class="ml-2"> {{ pos.label }} </label>
|
|
385
401
|
</div>
|
|
386
402
|
</div>
|
|
@@ -394,11 +410,31 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
394
410
|
</div>
|
|
395
411
|
`,
|
|
396
412
|
standalone: true,
|
|
397
|
-
imports: [DockModule, RadioButtonModule, TooltipModule
|
|
413
|
+
imports: [CommonModule, FormsModule, DockModule, RadioButtonModule, TooltipModule]
|
|
398
414
|
})
|
|
399
415
|
export class DockBasicDemo implements OnInit {
|
|
400
416
|
items: MenuItem[] | undefined;
|
|
401
|
-
|
|
417
|
+
|
|
418
|
+
position: 'left' | 'right' | 'top' | 'bottom' = 'bottom';
|
|
419
|
+
|
|
420
|
+
positionOptions = [
|
|
421
|
+
{
|
|
422
|
+
label: 'Bottom',
|
|
423
|
+
value: 'bottom'
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
label: 'Top',
|
|
427
|
+
value: 'top'
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
label: 'Left',
|
|
431
|
+
value: 'left'
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
label: 'Right',
|
|
435
|
+
value: 'right'
|
|
436
|
+
}
|
|
437
|
+
];
|
|
402
438
|
|
|
403
439
|
ngOnInit() {
|
|
404
440
|
this.items = [
|
|
@@ -431,16 +467,16 @@ Dock is a navigation component consisting of menuitems.
|
|
|
431
467
|
|
|
432
468
|
| Name | Type | Default | Description |
|
|
433
469
|
|------|------|---------|-------------|
|
|
434
|
-
| dt |
|
|
435
|
-
| unstyled |
|
|
436
|
-
| pt |
|
|
437
|
-
| ptOptions |
|
|
438
|
-
| id |
|
|
439
|
-
| model |
|
|
440
|
-
| position |
|
|
441
|
-
| ariaLabel |
|
|
442
|
-
| breakpoint |
|
|
443
|
-
| ariaLabelledBy |
|
|
470
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
471
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
472
|
+
| pt | DockPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
473
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
474
|
+
| id | string | - | Current id state as a string. |
|
|
475
|
+
| model | MenuItem[] | - | MenuModel instance to define the action items. |
|
|
476
|
+
| position | "top" \| "bottom" \| "left" \| "right" | 'bottom' | Position of element. |
|
|
477
|
+
| ariaLabel | string | - | Defines a string that labels the input for accessibility. |
|
|
478
|
+
| breakpoint | string | '960px' | The breakpoint to define the maximum width boundary. |
|
|
479
|
+
| ariaLabelledBy | string | - | Defines a string that labels the dropdown button for accessibility. |
|
|
444
480
|
|
|
445
481
|
### Emits
|
|
446
482
|
|