@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
|
@@ -24,7 +24,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
24
24
|
<input type="text" pInputText placeholder="Search" />
|
|
25
25
|
</p-icon-field>
|
|
26
26
|
<p-icon-field>
|
|
27
|
-
<input type="text" pInputText />
|
|
27
|
+
<input type="text" pInputText aria-label="Username" />
|
|
28
28
|
<p-input-icon class="pi pi-spinner pi-spin" />
|
|
29
29
|
</p-icon-field>
|
|
30
30
|
</div>
|
|
@@ -32,7 +32,8 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
32
32
|
standalone: true,
|
|
33
33
|
imports: [IconFieldModule, InputIconModule, InputTextModule]
|
|
34
34
|
})
|
|
35
|
-
export class IconfieldBasicDemo {
|
|
35
|
+
export class IconfieldBasicDemo {
|
|
36
|
+
}
|
|
36
37
|
```
|
|
37
38
|
|
|
38
39
|
## Float Label
|
|
@@ -42,6 +43,7 @@ FloatLabel visually integrates a label with its form element. Visit FloatLabel d
|
|
|
42
43
|
```typescript
|
|
43
44
|
import { Component } from '@angular/core';
|
|
44
45
|
import { FormsModule } from '@angular/forms';
|
|
46
|
+
import { RouterModule } from '@angular/router';
|
|
45
47
|
import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
|
|
46
48
|
import { IconFieldModule } from '@exhaustive-ui/core/iconfield';
|
|
47
49
|
import { InputIconModule } from '@exhaustive-ui/core/inputicon';
|
|
@@ -74,11 +76,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
74
76
|
</div>
|
|
75
77
|
`,
|
|
76
78
|
standalone: true,
|
|
77
|
-
imports: [FloatLabelModule, IconFieldModule, InputIconModule, InputTextModule
|
|
79
|
+
imports: [RouterModule, FormsModule, FloatLabelModule, IconFieldModule, InputIconModule, InputTextModule]
|
|
78
80
|
})
|
|
79
81
|
export class IconfieldFloatlabelDemo {
|
|
80
82
|
value1: string | undefined;
|
|
83
|
+
|
|
81
84
|
value2: string | undefined;
|
|
85
|
+
|
|
82
86
|
value3: string | undefined;
|
|
83
87
|
}
|
|
84
88
|
```
|
|
@@ -90,8 +94,9 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
|
|
|
90
94
|
```typescript
|
|
91
95
|
import { Component } from '@angular/core';
|
|
92
96
|
import { FormsModule } from '@angular/forms';
|
|
93
|
-
import {
|
|
97
|
+
import { RouterModule } from '@angular/router';
|
|
94
98
|
import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
|
|
99
|
+
import { IconFieldModule } from '@exhaustive-ui/core/iconfield';
|
|
95
100
|
import { InputIconModule } from '@exhaustive-ui/core/inputicon';
|
|
96
101
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
97
102
|
|
|
@@ -108,7 +113,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
108
113
|
</div>
|
|
109
114
|
`,
|
|
110
115
|
standalone: true,
|
|
111
|
-
imports: [
|
|
116
|
+
imports: [RouterModule, FormsModule, IftaLabelModule, IconFieldModule, InputIconModule, InputTextModule]
|
|
112
117
|
})
|
|
113
118
|
export class IconfieldIftalabelDemo {
|
|
114
119
|
value: string | undefined;
|
|
@@ -145,12 +150,14 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
145
150
|
</div>
|
|
146
151
|
`,
|
|
147
152
|
standalone: true,
|
|
148
|
-
imports: [IconFieldModule, InputIconModule, InputTextModule
|
|
153
|
+
imports: [FormsModule, IconFieldModule, InputIconModule, InputTextModule]
|
|
149
154
|
})
|
|
150
155
|
export class IconfieldSizesDemo {
|
|
151
|
-
value1
|
|
152
|
-
|
|
153
|
-
|
|
156
|
+
value1 = null;
|
|
157
|
+
|
|
158
|
+
value2 = null;
|
|
159
|
+
|
|
160
|
+
value3 = null;
|
|
154
161
|
}
|
|
155
162
|
```
|
|
156
163
|
|
|
@@ -206,7 +213,8 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
206
213
|
standalone: true,
|
|
207
214
|
imports: [IconFieldModule, InputIconModule, InputTextModule]
|
|
208
215
|
})
|
|
209
|
-
export class IconfieldTemplateDemo {
|
|
216
|
+
export class IconfieldTemplateDemo {
|
|
217
|
+
}
|
|
210
218
|
```
|
|
211
219
|
|
|
212
220
|
## Icon Field
|
|
@@ -217,11 +225,11 @@ IconField wraps an input and an icon.
|
|
|
217
225
|
|
|
218
226
|
| Name | Type | Default | Description |
|
|
219
227
|
|------|------|---------|-------------|
|
|
220
|
-
| dt |
|
|
221
|
-
| unstyled |
|
|
222
|
-
| pt |
|
|
223
|
-
| ptOptions |
|
|
224
|
-
| iconPosition |
|
|
228
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
229
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
230
|
+
| pt | IconFieldPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
231
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
232
|
+
| iconPosition | "left" \| "right" | 'left' | Position of the icon. |
|
|
225
233
|
|
|
226
234
|
## Pass Through Options
|
|
227
235
|
|
|
@@ -26,7 +26,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
26
26
|
</div>
|
|
27
27
|
`,
|
|
28
28
|
standalone: true,
|
|
29
|
-
imports: [IftaLabelModule, InputTextModule
|
|
29
|
+
imports: [FormsModule, IftaLabelModule, InputTextModule]
|
|
30
30
|
})
|
|
31
31
|
export class IftalabelBasicDemo {
|
|
32
32
|
value: string | undefined;
|
|
@@ -53,7 +53,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
53
53
|
</div>
|
|
54
54
|
`,
|
|
55
55
|
standalone: true,
|
|
56
|
-
imports: [IftaLabelModule, InputTextModule
|
|
56
|
+
imports: [FormsModule, IftaLabelModule, InputTextModule]
|
|
57
57
|
})
|
|
58
58
|
export class IftalabelInvalidDemo {
|
|
59
59
|
value: string | undefined;
|
|
@@ -68,8 +68,8 @@ The label follows the small and large sizes of the field it wraps: its inset, it
|
|
|
68
68
|
import { Component } from '@angular/core';
|
|
69
69
|
import { FormsModule } from '@angular/forms';
|
|
70
70
|
import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
|
|
71
|
-
import { SelectModule } from '@exhaustive-ui/core/select';
|
|
72
71
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
72
|
+
import { SelectModule } from '@exhaustive-ui/core/select';
|
|
73
73
|
|
|
74
74
|
@Component({
|
|
75
75
|
template: `
|
|
@@ -105,16 +105,22 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
105
105
|
</div>
|
|
106
106
|
`,
|
|
107
107
|
standalone: true,
|
|
108
|
-
imports: [
|
|
108
|
+
imports: [FormsModule, IftaLabelModule, InputTextModule, SelectModule]
|
|
109
109
|
})
|
|
110
110
|
export class IftalabelSizesDemo {
|
|
111
111
|
value1: string | undefined;
|
|
112
|
+
|
|
112
113
|
value2: string | undefined;
|
|
114
|
+
|
|
113
115
|
value3: string | undefined;
|
|
116
|
+
|
|
114
117
|
city1: string | undefined;
|
|
118
|
+
|
|
115
119
|
city2: string | undefined;
|
|
120
|
+
|
|
116
121
|
city3: string | undefined;
|
|
117
|
-
|
|
122
|
+
|
|
123
|
+
cities = ['New York', 'Rome', 'London', 'Istanbul', 'Paris'];
|
|
118
124
|
}
|
|
119
125
|
```
|
|
120
126
|
|
|
@@ -126,10 +132,10 @@ IftaLabel is used to create infield top aligned labels.
|
|
|
126
132
|
|
|
127
133
|
| Name | Type | Default | Description |
|
|
128
134
|
|------|------|---------|-------------|
|
|
129
|
-
| dt |
|
|
130
|
-
| unstyled |
|
|
131
|
-
| pt |
|
|
132
|
-
| ptOptions |
|
|
135
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
136
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
137
|
+
| pt | IftaLabelPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
138
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
133
139
|
|
|
134
140
|
## Pass Through Options
|
|
135
141
|
|
package/data/components/image.md
CHANGED
|
@@ -12,6 +12,7 @@ Image is used as the native img element and supports all properties that the nat
|
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
14
|
import { Component } from '@angular/core';
|
|
15
|
+
import { RouterModule } from '@angular/router';
|
|
15
16
|
import { ImageModule } from '@exhaustive-ui/core/image';
|
|
16
17
|
|
|
17
18
|
@Component({
|
|
@@ -21,9 +22,10 @@ import { ImageModule } from '@exhaustive-ui/core/image';
|
|
|
21
22
|
</div>
|
|
22
23
|
`,
|
|
23
24
|
standalone: true,
|
|
24
|
-
imports: [ImageModule]
|
|
25
|
+
imports: [ImageModule, RouterModule]
|
|
25
26
|
})
|
|
26
|
-
export class ImageBasicDemo {
|
|
27
|
+
export class ImageBasicDemo {
|
|
28
|
+
}
|
|
27
29
|
```
|
|
28
30
|
|
|
29
31
|
## Preview
|
|
@@ -43,7 +45,8 @@ import { ImageModule } from '@exhaustive-ui/core/image';
|
|
|
43
45
|
standalone: true,
|
|
44
46
|
imports: [ImageModule]
|
|
45
47
|
})
|
|
46
|
-
export class ImagePreviewDemo {
|
|
48
|
+
export class ImagePreviewDemo {
|
|
49
|
+
}
|
|
47
50
|
```
|
|
48
51
|
|
|
49
52
|
## previewimagesource-doc
|
|
@@ -63,7 +66,8 @@ import { ImageModule } from '@exhaustive-ui/core/image';
|
|
|
63
66
|
standalone: true,
|
|
64
67
|
imports: [ImageModule]
|
|
65
68
|
})
|
|
66
|
-
export class ImagePreviewimagesourceDemo {
|
|
69
|
+
export class ImagePreviewimagesourceDemo {
|
|
70
|
+
}
|
|
67
71
|
```
|
|
68
72
|
|
|
69
73
|
## Template
|
|
@@ -93,7 +97,8 @@ import { ImageModule } from '@exhaustive-ui/core/image';
|
|
|
93
97
|
standalone: true,
|
|
94
98
|
imports: [ImageModule]
|
|
95
99
|
})
|
|
96
|
-
export class ImageTemplateDemo {
|
|
100
|
+
export class ImageTemplateDemo {
|
|
101
|
+
}
|
|
97
102
|
```
|
|
98
103
|
|
|
99
104
|
## Image
|
|
@@ -104,27 +109,27 @@ Displays an image with preview and tranformation options. For multiple image, se
|
|
|
104
109
|
|
|
105
110
|
| Name | Type | Default | Description |
|
|
106
111
|
|------|------|---------|-------------|
|
|
107
|
-
| dt |
|
|
108
|
-
| unstyled |
|
|
109
|
-
| pt |
|
|
110
|
-
| ptOptions |
|
|
111
|
-
| imageClass |
|
|
112
|
-
| imageStyle |
|
|
113
|
-
| src |
|
|
114
|
-
| srcSet |
|
|
115
|
-
| sizes |
|
|
116
|
-
| previewImageSrc |
|
|
117
|
-
| previewImageSrcSet |
|
|
118
|
-
| previewImageSizes |
|
|
119
|
-
| alt |
|
|
120
|
-
| previewAriaLabel |
|
|
121
|
-
| width |
|
|
122
|
-
| height |
|
|
123
|
-
| loading |
|
|
124
|
-
| preview |
|
|
125
|
-
| appendTo |
|
|
126
|
-
| maskMotionOptions |
|
|
127
|
-
| motionOptions |
|
|
112
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
113
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
114
|
+
| pt | ImagePassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
115
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
116
|
+
| imageClass | string | - | Style class of the image element. |
|
|
117
|
+
| imageStyle | { [klass: string]: any } | - | Inline style of the image element. |
|
|
118
|
+
| src | string \| SafeUrl | - | The source path for the main image. |
|
|
119
|
+
| srcSet | string \| SafeUrl | - | The srcset definition for the main image. |
|
|
120
|
+
| sizes | string | - | The sizes definition for the main image. |
|
|
121
|
+
| previewImageSrc | string \| SafeUrl | - | The source path for the preview image. |
|
|
122
|
+
| previewImageSrcSet | string \| SafeUrl | - | The srcset definition for the preview image. |
|
|
123
|
+
| previewImageSizes | string | - | The sizes definition for the preview image. |
|
|
124
|
+
| alt | string | - | Attribute of the preview image element. |
|
|
125
|
+
| previewAriaLabel | string | - | Accessible name of the preview dialog. Defaults to the alt text, then to the zoomImage ARIA translation. |
|
|
126
|
+
| width | string | - | Attribute of the image element. |
|
|
127
|
+
| height | string | - | Attribute of the image element. |
|
|
128
|
+
| loading | "eager" \| "lazy" | - | Attribute of the image element. |
|
|
129
|
+
| preview | boolean | false | Controls the preview functionality. |
|
|
130
|
+
| 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). |
|
|
131
|
+
| maskMotionOptions | MotionOptions | - | The motion options for the mask. |
|
|
132
|
+
| motionOptions | MotionOptions | - | The motion options. |
|
|
128
133
|
|
|
129
134
|
### Emits
|
|
130
135
|
|
|
@@ -19,10 +19,10 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
19
19
|
<div class="card flex justify-center">
|
|
20
20
|
<p-image-compare class="shadow-lg rounded-2xl">
|
|
21
21
|
<ng-template #left>
|
|
22
|
-
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
|
|
22
|
+
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" alt="Island, before" />
|
|
23
23
|
</ng-template>
|
|
24
24
|
<ng-template #right>
|
|
25
|
-
<img src="https://exhaustive-ui.com/demo/compare/island2.jpg" />
|
|
25
|
+
<img src="https://exhaustive-ui.com/demo/compare/island2.jpg" alt="Island, after" />
|
|
26
26
|
</ng-template>
|
|
27
27
|
</p-image-compare>
|
|
28
28
|
</div>
|
|
@@ -30,7 +30,8 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
30
30
|
standalone: true,
|
|
31
31
|
imports: [ImageCompareModule]
|
|
32
32
|
})
|
|
33
|
-
export class ImagecompareBasicDemo {
|
|
33
|
+
export class ImagecompareBasicDemo {
|
|
34
|
+
}
|
|
34
35
|
```
|
|
35
36
|
|
|
36
37
|
## Responsive
|
|
@@ -46,10 +47,10 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
46
47
|
<div class="card flex justify-center">
|
|
47
48
|
<p-image-compare class="sm:w-96! shadow-lg rounded-2xl">
|
|
48
49
|
<ng-template #left>
|
|
49
|
-
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
|
|
50
|
+
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" alt="Island, before" />
|
|
50
51
|
</ng-template>
|
|
51
52
|
<ng-template #right>
|
|
52
|
-
<img src="https://exhaustive-ui.com/demo/compare/island2.jpg" />
|
|
53
|
+
<img src="https://exhaustive-ui.com/demo/compare/island2.jpg" alt="Island, after" />
|
|
53
54
|
</ng-template>
|
|
54
55
|
</p-image-compare>
|
|
55
56
|
</div>
|
|
@@ -57,7 +58,8 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
57
58
|
standalone: true,
|
|
58
59
|
imports: [ImageCompareModule]
|
|
59
60
|
})
|
|
60
|
-
export class ImagecompareResponsiveDemo {
|
|
61
|
+
export class ImagecompareResponsiveDemo {
|
|
62
|
+
}
|
|
61
63
|
```
|
|
62
64
|
|
|
63
65
|
## Pass Through Options
|
|
@@ -4,7 +4,7 @@ Inplace provides an easy to do editing and display at the same time where clicki
|
|
|
4
4
|
|
|
5
5
|
## Accessibility
|
|
6
6
|
|
|
7
|
-
Screen Reader Inplace component defines aria-live as "polite" by default, since any valid attribute is passed to the main container aria roles and attributes of the root element can be customized easily. Display element uses button role in view mode
|
|
7
|
+
Screen Reader Inplace component defines aria-live as "polite" by default, since any valid attribute is passed to the main container aria roles and attributes of the root element can be customized easily. Display element uses button role in view mode. Closable inplace components display a close button whose aria-label is defined with the closeAriaLabel property. View Mode Keyboard Support Key Function enter Switches to content. Close Button Keyboard Support Key Function enter Switches to display. space Switches to display.
|
|
8
8
|
|
|
9
9
|
## Basic
|
|
10
10
|
|
|
@@ -33,7 +33,8 @@ import { InplaceModule } from '@exhaustive-ui/core/inplace';
|
|
|
33
33
|
standalone: true,
|
|
34
34
|
imports: [InplaceModule]
|
|
35
35
|
})
|
|
36
|
-
export class InplaceBasicDemo {
|
|
36
|
+
export class InplaceBasicDemo {
|
|
37
|
+
}
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
## Image
|
|
@@ -43,7 +44,6 @@ Any content such as an image can be placed inside an Inplace.
|
|
|
43
44
|
```typescript
|
|
44
45
|
import { Component } from '@angular/core';
|
|
45
46
|
import { InplaceModule } from '@exhaustive-ui/core/inplace';
|
|
46
|
-
import { Photo } from '@/domain/photo';
|
|
47
47
|
|
|
48
48
|
@Component({
|
|
49
49
|
template: `
|
|
@@ -64,7 +64,8 @@ import { Photo } from '@/domain/photo';
|
|
|
64
64
|
standalone: true,
|
|
65
65
|
imports: [InplaceModule]
|
|
66
66
|
})
|
|
67
|
-
export class InplaceImageDemo {
|
|
67
|
+
export class InplaceImageDemo {
|
|
68
|
+
}
|
|
68
69
|
```
|
|
69
70
|
|
|
70
71
|
## Input
|
|
@@ -74,8 +75,9 @@ The closeCallback switches the state back to display mode when called from an ev
|
|
|
74
75
|
```typescript
|
|
75
76
|
import { Component } from '@angular/core';
|
|
76
77
|
import { InplaceModule } from '@exhaustive-ui/core/inplace';
|
|
77
|
-
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
78
78
|
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
79
|
+
import { AutoFocusModule } from '@exhaustive-ui/core/autofocus';
|
|
80
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
79
81
|
|
|
80
82
|
@Component({
|
|
81
83
|
template: `
|
|
@@ -96,9 +98,10 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
96
98
|
</div>
|
|
97
99
|
`,
|
|
98
100
|
standalone: true,
|
|
99
|
-
imports: [InplaceModule,
|
|
101
|
+
imports: [InplaceModule, InputTextModule, AutoFocusModule, ButtonModule]
|
|
100
102
|
})
|
|
101
|
-
export class InplaceInputDemo {
|
|
103
|
+
export class InplaceInputDemo {
|
|
104
|
+
}
|
|
102
105
|
```
|
|
103
106
|
|
|
104
107
|
## Lazy
|
|
@@ -106,11 +109,11 @@ export class InplaceInputDemo {}
|
|
|
106
109
|
Using the onActivate event, data can be loaded in a lazy manner before displaying it in a table.
|
|
107
110
|
|
|
108
111
|
```typescript
|
|
109
|
-
import { Component,
|
|
112
|
+
import { Component, inject } from '@angular/core';
|
|
110
113
|
import { InplaceModule } from '@exhaustive-ui/core/inplace';
|
|
111
114
|
import { TableModule } from '@exhaustive-ui/core/table';
|
|
112
|
-
import { ProductService } from '@/service/productservice';
|
|
113
115
|
import { Product } from '@/domain/product';
|
|
116
|
+
import { ProductService } from '@/service/productservice';
|
|
114
117
|
|
|
115
118
|
@Component({
|
|
116
119
|
template: `
|
|
@@ -120,7 +123,7 @@ import { Product } from '@/domain/product';
|
|
|
120
123
|
<span>View Data</span>
|
|
121
124
|
</ng-template>
|
|
122
125
|
<ng-template #content>
|
|
123
|
-
<p-table [value]="products"
|
|
126
|
+
<p-table [value]="products">
|
|
124
127
|
<ng-template #header>
|
|
125
128
|
<tr>
|
|
126
129
|
<th>Code</th>
|
|
@@ -146,11 +149,13 @@ import { Product } from '@/domain/product';
|
|
|
146
149
|
imports: [InplaceModule, TableModule],
|
|
147
150
|
providers: [ProductService]
|
|
148
151
|
})
|
|
149
|
-
export class InplaceLazyDemo
|
|
152
|
+
export class InplaceLazyDemo {
|
|
150
153
|
private productService = inject(ProductService);
|
|
154
|
+
|
|
151
155
|
products: Product[] | undefined;
|
|
152
156
|
|
|
153
|
-
|
|
157
|
+
loadData() {
|
|
158
|
+
this.productService.getProductsMini().then((products) => (this.products = products));
|
|
154
159
|
}
|
|
155
160
|
}
|
|
156
161
|
```
|
|
@@ -163,16 +168,16 @@ Inplace provides an easy to do editing and display at the same time where clicki
|
|
|
163
168
|
|
|
164
169
|
| Name | Type | Default | Description |
|
|
165
170
|
|------|------|---------|-------------|
|
|
166
|
-
| dt |
|
|
167
|
-
| unstyled |
|
|
168
|
-
| pt |
|
|
169
|
-
| ptOptions |
|
|
170
|
-
| active |
|
|
171
|
-
| closable |
|
|
172
|
-
| disabled |
|
|
173
|
-
| preventClick |
|
|
174
|
-
| closeIcon |
|
|
175
|
-
| closeAriaLabel |
|
|
171
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
172
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
173
|
+
| pt | InplacePassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
174
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
175
|
+
| active | boolean | false | Whether the content is displayed or not, supports one or two-way binding as well. Emits `activeChange` with the new value when the content is activated or deactivated. |
|
|
176
|
+
| closable | boolean | false | Displays a button to switch back to display mode. **(Deprecated)** |
|
|
177
|
+
| disabled | boolean | false | When present, it specifies that the element should be disabled. |
|
|
178
|
+
| preventClick | boolean | - | Allows to prevent clicking. |
|
|
179
|
+
| closeIcon | string | - | Icon to display in the close button. **(Deprecated)** |
|
|
180
|
+
| closeAriaLabel | string | - | Establishes a string value that labels the close button. |
|
|
176
181
|
|
|
177
182
|
### Emits
|
|
178
183
|
|