@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
|
@@ -12,9 +12,10 @@ SplitButton has a default action button and a collection of additional options d
|
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
14
|
import { Component, inject } from '@angular/core';
|
|
15
|
+
import { RouterModule } from '@angular/router';
|
|
16
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
15
17
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
16
18
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
17
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
18
19
|
|
|
19
20
|
@Component({
|
|
20
21
|
template: `
|
|
@@ -24,30 +25,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
24
25
|
</div>
|
|
25
26
|
`,
|
|
26
27
|
standalone: true,
|
|
27
|
-
imports: [SplitButtonModule, ToastModule],
|
|
28
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
28
29
|
providers: [MessageService]
|
|
29
30
|
})
|
|
30
31
|
export class SplitbuttonBasicDemo {
|
|
31
32
|
private messageService = inject(MessageService);
|
|
32
33
|
|
|
34
|
+
items: MenuItem[];
|
|
35
|
+
|
|
33
36
|
constructor() {
|
|
34
37
|
this.items = [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
{
|
|
39
|
+
label: 'Update',
|
|
40
|
+
command: () => {
|
|
41
|
+
this.update();
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: 'Delete',
|
|
46
|
+
command: () => {
|
|
47
|
+
this.delete();
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
51
|
+
{ separator: true },
|
|
52
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
53
|
+
];
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
save() {
|
|
@@ -70,9 +73,10 @@ When the disabled attribute is present, the element is uneditable and unfocused.
|
|
|
70
73
|
|
|
71
74
|
```typescript
|
|
72
75
|
import { Component, inject } from '@angular/core';
|
|
76
|
+
import { RouterModule } from '@angular/router';
|
|
77
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
73
78
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
74
79
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
75
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
76
80
|
|
|
77
81
|
@Component({
|
|
78
82
|
template: `
|
|
@@ -82,30 +86,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
82
86
|
</div>
|
|
83
87
|
`,
|
|
84
88
|
standalone: true,
|
|
85
|
-
imports: [SplitButtonModule, ToastModule],
|
|
89
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
86
90
|
providers: [MessageService]
|
|
87
91
|
})
|
|
88
92
|
export class SplitbuttonDisabledDemo {
|
|
89
93
|
private messageService = inject(MessageService);
|
|
90
94
|
|
|
95
|
+
items: MenuItem[];
|
|
96
|
+
|
|
91
97
|
constructor() {
|
|
92
98
|
this.items = [
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
99
|
+
{
|
|
100
|
+
label: 'Update',
|
|
101
|
+
command: () => {
|
|
102
|
+
this.update();
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
label: 'Delete',
|
|
107
|
+
command: () => {
|
|
108
|
+
this.delete();
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
112
|
+
{ separator: true },
|
|
113
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
114
|
+
];
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
save(severity: string) {
|
|
@@ -128,9 +134,9 @@ The buttons and menuitems have support to display icons.
|
|
|
128
134
|
|
|
129
135
|
```typescript
|
|
130
136
|
import { Component, inject } from '@angular/core';
|
|
137
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
131
138
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
132
139
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
133
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
134
140
|
|
|
135
141
|
@Component({
|
|
136
142
|
template: `
|
|
@@ -145,35 +151,36 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
145
151
|
})
|
|
146
152
|
export class SplitbuttonIconsDemo {
|
|
147
153
|
private messageService = inject(MessageService);
|
|
154
|
+
|
|
148
155
|
items: MenuItem[];
|
|
149
156
|
|
|
150
157
|
constructor() {
|
|
151
158
|
this.items = [
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
159
|
+
{
|
|
160
|
+
label: 'Update',
|
|
161
|
+
icon: 'pi pi-refresh',
|
|
162
|
+
command: () => {
|
|
163
|
+
this.messageService.add({ severity: 'success', summary: 'Updated', detail: 'Data Updated', life: 3000 });
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
label: 'Delete',
|
|
168
|
+
icon: 'pi pi-times',
|
|
169
|
+
command: () => {
|
|
170
|
+
this.messageService.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 });
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
separator: true
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
label: 'Quit',
|
|
178
|
+
icon: 'pi pi-power-off',
|
|
179
|
+
command: () => {
|
|
180
|
+
window.open('https://angular.io/', '_blank');
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
];
|
|
177
184
|
}
|
|
178
185
|
}
|
|
179
186
|
```
|
|
@@ -184,9 +191,9 @@ SplitButton has a default action button and a collection of additional options d
|
|
|
184
191
|
|
|
185
192
|
```typescript
|
|
186
193
|
import { Component, inject } from '@angular/core';
|
|
194
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
187
195
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
188
196
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
189
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
190
197
|
|
|
191
198
|
@Component({
|
|
192
199
|
template: `
|
|
@@ -201,135 +208,136 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
201
208
|
})
|
|
202
209
|
export class SplitbuttonNestedDemo {
|
|
203
210
|
private messageService = inject(MessageService);
|
|
211
|
+
|
|
204
212
|
items: MenuItem[];
|
|
205
213
|
|
|
206
214
|
constructor() {
|
|
207
215
|
this.items = [
|
|
216
|
+
{
|
|
217
|
+
label: 'File',
|
|
218
|
+
icon: 'pi pi-fw pi-file',
|
|
219
|
+
items: [
|
|
208
220
|
{
|
|
209
|
-
label: '
|
|
210
|
-
icon: 'pi pi-fw pi-
|
|
221
|
+
label: 'New',
|
|
222
|
+
icon: 'pi pi-fw pi-plus',
|
|
211
223
|
items: [
|
|
212
224
|
{
|
|
213
|
-
label: '
|
|
214
|
-
icon: 'pi pi-fw pi-
|
|
215
|
-
items: [
|
|
216
|
-
{
|
|
217
|
-
label: 'Bookmark',
|
|
218
|
-
icon: 'pi pi-fw pi-bookmark'
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
label: 'Video',
|
|
222
|
-
icon: 'pi pi-fw pi-video'
|
|
223
|
-
}
|
|
224
|
-
]
|
|
225
|
+
label: 'Bookmark',
|
|
226
|
+
icon: 'pi pi-fw pi-bookmark'
|
|
225
227
|
},
|
|
226
228
|
{
|
|
227
|
-
label: '
|
|
228
|
-
icon: 'pi pi-fw pi-
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
separator: true
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
label: 'Export',
|
|
235
|
-
icon: 'pi pi-fw pi-external-link'
|
|
229
|
+
label: 'Video',
|
|
230
|
+
icon: 'pi pi-fw pi-video'
|
|
236
231
|
}
|
|
237
232
|
]
|
|
238
233
|
},
|
|
239
234
|
{
|
|
240
|
-
label: '
|
|
241
|
-
icon: 'pi pi-fw pi-
|
|
235
|
+
label: 'Delete',
|
|
236
|
+
icon: 'pi pi-fw pi-trash'
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
separator: true
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
label: 'Export',
|
|
243
|
+
icon: 'pi pi-fw pi-external-link'
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
label: 'Edit',
|
|
249
|
+
icon: 'pi pi-fw pi-pencil',
|
|
250
|
+
items: [
|
|
251
|
+
{
|
|
252
|
+
label: 'Left',
|
|
253
|
+
icon: 'pi pi-fw pi-align-left'
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
label: 'Right',
|
|
257
|
+
icon: 'pi pi-fw pi-align-right'
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
label: 'Center',
|
|
261
|
+
icon: 'pi pi-fw pi-align-center'
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
label: 'Justify',
|
|
265
|
+
icon: 'pi pi-fw pi-align-justify'
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
label: 'Users',
|
|
271
|
+
icon: 'pi pi-fw pi-user',
|
|
272
|
+
items: [
|
|
273
|
+
{
|
|
274
|
+
label: 'New',
|
|
275
|
+
icon: 'pi pi-fw pi-user-plus'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
label: 'Delete',
|
|
279
|
+
icon: 'pi pi-fw pi-user-minus'
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
label: 'Search',
|
|
283
|
+
icon: 'pi pi-fw pi-users',
|
|
242
284
|
items: [
|
|
243
285
|
{
|
|
244
|
-
label: '
|
|
245
|
-
icon: 'pi pi-fw pi-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
label: 'Center',
|
|
253
|
-
icon: 'pi pi-fw pi-align-center'
|
|
286
|
+
label: 'Filter',
|
|
287
|
+
icon: 'pi pi-fw pi-filter',
|
|
288
|
+
items: [
|
|
289
|
+
{
|
|
290
|
+
label: 'Print',
|
|
291
|
+
icon: 'pi pi-fw pi-print'
|
|
292
|
+
}
|
|
293
|
+
]
|
|
254
294
|
},
|
|
255
295
|
{
|
|
256
|
-
|
|
257
|
-
|
|
296
|
+
icon: 'pi pi-fw pi-bars',
|
|
297
|
+
label: 'List'
|
|
258
298
|
}
|
|
259
299
|
]
|
|
260
|
-
}
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
label: 'Events',
|
|
305
|
+
icon: 'pi pi-fw pi-calendar',
|
|
306
|
+
items: [
|
|
261
307
|
{
|
|
262
|
-
label: '
|
|
263
|
-
icon: 'pi pi-fw pi-
|
|
308
|
+
label: 'Edit',
|
|
309
|
+
icon: 'pi pi-fw pi-pencil',
|
|
264
310
|
items: [
|
|
265
311
|
{
|
|
266
|
-
label: '
|
|
267
|
-
icon: 'pi pi-fw pi-
|
|
312
|
+
label: 'Save',
|
|
313
|
+
icon: 'pi pi-fw pi-calendar-plus'
|
|
268
314
|
},
|
|
269
315
|
{
|
|
270
316
|
label: 'Delete',
|
|
271
|
-
icon: 'pi pi-fw pi-
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
label: 'Search',
|
|
275
|
-
icon: 'pi pi-fw pi-users',
|
|
276
|
-
items: [
|
|
277
|
-
{
|
|
278
|
-
label: 'Filter',
|
|
279
|
-
icon: 'pi pi-fw pi-filter',
|
|
280
|
-
items: [
|
|
281
|
-
{
|
|
282
|
-
label: 'Print',
|
|
283
|
-
icon: 'pi pi-fw pi-print'
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
icon: 'pi pi-fw pi-bars',
|
|
289
|
-
label: 'List'
|
|
290
|
-
}
|
|
291
|
-
]
|
|
317
|
+
icon: 'pi pi-fw pi-calendar-minus'
|
|
292
318
|
}
|
|
293
319
|
]
|
|
294
320
|
},
|
|
295
321
|
{
|
|
296
|
-
label: '
|
|
297
|
-
icon: 'pi pi-fw pi-calendar',
|
|
322
|
+
label: 'Archieve',
|
|
323
|
+
icon: 'pi pi-fw pi-calendar-times',
|
|
298
324
|
items: [
|
|
299
325
|
{
|
|
300
|
-
label: '
|
|
301
|
-
icon: 'pi pi-fw pi-
|
|
302
|
-
items: [
|
|
303
|
-
{
|
|
304
|
-
label: 'Save',
|
|
305
|
-
icon: 'pi pi-fw pi-calendar-plus'
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
label: 'Delete',
|
|
309
|
-
icon: 'pi pi-fw pi-calendar-minus'
|
|
310
|
-
}
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
label: 'Archieve',
|
|
315
|
-
icon: 'pi pi-fw pi-calendar-times',
|
|
316
|
-
items: [
|
|
317
|
-
{
|
|
318
|
-
label: 'Remove',
|
|
319
|
-
icon: 'pi pi-fw pi-calendar-minus'
|
|
320
|
-
}
|
|
321
|
-
]
|
|
326
|
+
label: 'Remove',
|
|
327
|
+
icon: 'pi pi-fw pi-calendar-minus'
|
|
322
328
|
}
|
|
323
329
|
]
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
separator: true
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
label: 'Quit',
|
|
330
|
-
icon: 'pi pi-fw pi-power-off'
|
|
331
330
|
}
|
|
332
|
-
]
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
separator: true
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
label: 'Quit',
|
|
338
|
+
icon: 'pi pi-fw pi-power-off'
|
|
339
|
+
}
|
|
340
|
+
];
|
|
333
341
|
}
|
|
334
342
|
|
|
335
343
|
save(severity: string) {
|
|
@@ -344,9 +352,10 @@ Outlined buttons display a border without a background initially.
|
|
|
344
352
|
|
|
345
353
|
```typescript
|
|
346
354
|
import { Component, inject } from '@angular/core';
|
|
355
|
+
import { RouterModule } from '@angular/router';
|
|
356
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
347
357
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
348
358
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
349
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
350
359
|
|
|
351
360
|
@Component({
|
|
352
361
|
template: `
|
|
@@ -363,31 +372,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
363
372
|
</div>
|
|
364
373
|
`,
|
|
365
374
|
standalone: true,
|
|
366
|
-
imports: [SplitButtonModule, ToastModule],
|
|
375
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
367
376
|
providers: [MessageService]
|
|
368
377
|
})
|
|
369
378
|
export class SplitbuttonOutlinedDemo {
|
|
370
379
|
private messageService = inject(MessageService);
|
|
380
|
+
|
|
371
381
|
items: MenuItem[];
|
|
372
382
|
|
|
373
383
|
constructor() {
|
|
374
384
|
this.items = [
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
385
|
+
{
|
|
386
|
+
label: 'Update',
|
|
387
|
+
command: () => {
|
|
388
|
+
this.update();
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
label: 'Delete',
|
|
393
|
+
command: () => {
|
|
394
|
+
this.delete();
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
398
|
+
{ separator: true },
|
|
399
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
400
|
+
];
|
|
391
401
|
}
|
|
392
402
|
|
|
393
403
|
save(severity: string) {
|
|
@@ -410,9 +420,10 @@ Raised buttons display a shadow to indicate elevation.
|
|
|
410
420
|
|
|
411
421
|
```typescript
|
|
412
422
|
import { Component, inject } from '@angular/core';
|
|
423
|
+
import { RouterModule } from '@angular/router';
|
|
424
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
413
425
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
414
426
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
415
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
416
427
|
|
|
417
428
|
@Component({
|
|
418
429
|
template: `
|
|
@@ -429,31 +440,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
429
440
|
</div>
|
|
430
441
|
`,
|
|
431
442
|
standalone: true,
|
|
432
|
-
imports: [SplitButtonModule, ToastModule],
|
|
443
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
433
444
|
providers: [MessageService]
|
|
434
445
|
})
|
|
435
446
|
export class SplitbuttonRaisedDemo {
|
|
436
447
|
private messageService = inject(MessageService);
|
|
448
|
+
|
|
437
449
|
items: MenuItem[];
|
|
438
450
|
|
|
439
451
|
constructor() {
|
|
440
452
|
this.items = [
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
453
|
+
{
|
|
454
|
+
label: 'Update',
|
|
455
|
+
command: () => {
|
|
456
|
+
this.update();
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
label: 'Delete',
|
|
461
|
+
command: () => {
|
|
462
|
+
this.delete();
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
466
|
+
{ separator: true },
|
|
467
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
468
|
+
];
|
|
457
469
|
}
|
|
458
470
|
|
|
459
471
|
save(severity: string) {
|
|
@@ -476,9 +488,10 @@ Text buttons can be displayed as raised as well for elevation.
|
|
|
476
488
|
|
|
477
489
|
```typescript
|
|
478
490
|
import { Component, inject } from '@angular/core';
|
|
491
|
+
import { RouterModule } from '@angular/router';
|
|
492
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
479
493
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
480
494
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
481
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
482
495
|
|
|
483
496
|
@Component({
|
|
484
497
|
template: `
|
|
@@ -495,31 +508,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
495
508
|
</div>
|
|
496
509
|
`,
|
|
497
510
|
standalone: true,
|
|
498
|
-
imports: [SplitButtonModule, ToastModule],
|
|
511
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
499
512
|
providers: [MessageService]
|
|
500
513
|
})
|
|
501
514
|
export class SplitbuttonRaisedtextDemo {
|
|
502
515
|
private messageService = inject(MessageService);
|
|
516
|
+
|
|
503
517
|
items: MenuItem[];
|
|
504
518
|
|
|
505
519
|
constructor() {
|
|
506
520
|
this.items = [
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
{
|
|
522
|
+
label: 'Update',
|
|
523
|
+
command: () => {
|
|
524
|
+
this.update();
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
label: 'Delete',
|
|
529
|
+
command: () => {
|
|
530
|
+
this.delete();
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
534
|
+
{ separator: true },
|
|
535
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
536
|
+
];
|
|
523
537
|
}
|
|
524
538
|
|
|
525
539
|
save(severity: string) {
|
|
@@ -546,9 +560,10 @@ Rounded buttons have a circular border radius.
|
|
|
546
560
|
|
|
547
561
|
```typescript
|
|
548
562
|
import { Component, inject } from '@angular/core';
|
|
563
|
+
import { RouterModule } from '@angular/router';
|
|
564
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
549
565
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
550
566
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
551
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
552
567
|
|
|
553
568
|
@Component({
|
|
554
569
|
template: `
|
|
@@ -565,31 +580,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
565
580
|
</div>
|
|
566
581
|
`,
|
|
567
582
|
standalone: true,
|
|
568
|
-
imports: [SplitButtonModule, ToastModule],
|
|
583
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
569
584
|
providers: [MessageService]
|
|
570
585
|
})
|
|
571
586
|
export class SplitbuttonRoundedDemo {
|
|
572
587
|
private messageService = inject(MessageService);
|
|
588
|
+
|
|
573
589
|
items: MenuItem[];
|
|
574
590
|
|
|
575
591
|
constructor() {
|
|
576
592
|
this.items = [
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
+
{
|
|
594
|
+
label: 'Update',
|
|
595
|
+
command: () => {
|
|
596
|
+
this.update();
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
label: 'Delete',
|
|
601
|
+
command: () => {
|
|
602
|
+
this.delete();
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
606
|
+
{ separator: true },
|
|
607
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
608
|
+
];
|
|
593
609
|
}
|
|
594
610
|
|
|
595
611
|
save(severity: string) {
|
|
@@ -612,9 +628,10 @@ The severity property defines the type of button.
|
|
|
612
628
|
|
|
613
629
|
```typescript
|
|
614
630
|
import { Component, inject } from '@angular/core';
|
|
631
|
+
import { RouterModule } from '@angular/router';
|
|
632
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
615
633
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
616
634
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
617
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
618
635
|
|
|
619
636
|
@Component({
|
|
620
637
|
template: `
|
|
@@ -631,31 +648,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
631
648
|
</div>
|
|
632
649
|
`,
|
|
633
650
|
standalone: true,
|
|
634
|
-
imports: [SplitButtonModule, ToastModule],
|
|
651
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
635
652
|
providers: [MessageService]
|
|
636
653
|
})
|
|
637
654
|
export class SplitbuttonSeverityDemo {
|
|
638
655
|
private messageService = inject(MessageService);
|
|
656
|
+
|
|
639
657
|
items: MenuItem[];
|
|
640
658
|
|
|
641
659
|
constructor() {
|
|
642
660
|
this.items = [
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
661
|
+
{
|
|
662
|
+
label: 'Update',
|
|
663
|
+
command: () => {
|
|
664
|
+
this.update();
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
label: 'Delete',
|
|
669
|
+
command: () => {
|
|
670
|
+
this.delete();
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
674
|
+
{ separator: true },
|
|
675
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
676
|
+
];
|
|
659
677
|
}
|
|
660
678
|
|
|
661
679
|
save() {
|
|
@@ -678,9 +696,10 @@ SplitButton provides small and large sizes as alternatives to the standard.
|
|
|
678
696
|
|
|
679
697
|
```typescript
|
|
680
698
|
import { Component, inject } from '@angular/core';
|
|
699
|
+
import { RouterModule } from '@angular/router';
|
|
700
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
681
701
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
682
702
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
683
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
684
703
|
|
|
685
704
|
@Component({
|
|
686
705
|
template: `
|
|
@@ -692,30 +711,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
692
711
|
</div>
|
|
693
712
|
`,
|
|
694
713
|
standalone: true,
|
|
695
|
-
imports: [SplitButtonModule, ToastModule],
|
|
714
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
696
715
|
providers: [MessageService]
|
|
697
716
|
})
|
|
698
717
|
export class SplitbuttonSizesDemo {
|
|
699
718
|
private messageService = inject(MessageService);
|
|
700
719
|
|
|
720
|
+
items: MenuItem[];
|
|
721
|
+
|
|
701
722
|
constructor() {
|
|
702
723
|
this.items = [
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
724
|
+
{
|
|
725
|
+
label: 'Update',
|
|
726
|
+
command: () => {
|
|
727
|
+
this.update();
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
label: 'Delete',
|
|
732
|
+
command: () => {
|
|
733
|
+
this.delete();
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
737
|
+
{ separator: true },
|
|
738
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
739
|
+
];
|
|
719
740
|
}
|
|
720
741
|
|
|
721
742
|
save(severity: string) {
|
|
@@ -738,9 +759,10 @@ SplitButton has a default action button and a collection of additional options d
|
|
|
738
759
|
|
|
739
760
|
```typescript
|
|
740
761
|
import { Component, inject } from '@angular/core';
|
|
762
|
+
import { RouterModule } from '@angular/router';
|
|
763
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
741
764
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
742
765
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
743
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
744
766
|
|
|
745
767
|
@Component({
|
|
746
768
|
template: `
|
|
@@ -757,31 +779,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
757
779
|
</div>
|
|
758
780
|
`,
|
|
759
781
|
standalone: true,
|
|
760
|
-
imports: [SplitButtonModule, ToastModule],
|
|
782
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
761
783
|
providers: [MessageService]
|
|
762
784
|
})
|
|
763
785
|
export class SplitbuttonTemplateDemo {
|
|
764
786
|
private messageService = inject(MessageService);
|
|
787
|
+
|
|
765
788
|
items: MenuItem[];
|
|
766
789
|
|
|
767
790
|
constructor() {
|
|
768
791
|
this.items = [
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
792
|
+
{
|
|
793
|
+
label: 'Update',
|
|
794
|
+
command: () => {
|
|
795
|
+
this.update();
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
label: 'Delete',
|
|
800
|
+
command: () => {
|
|
801
|
+
this.delete();
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
805
|
+
{ separator: true },
|
|
806
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
807
|
+
];
|
|
785
808
|
}
|
|
786
809
|
|
|
787
810
|
save() {
|
|
@@ -804,9 +827,10 @@ Text buttons are displayed as textual elements.
|
|
|
804
827
|
|
|
805
828
|
```typescript
|
|
806
829
|
import { Component, inject } from '@angular/core';
|
|
830
|
+
import { RouterModule } from '@angular/router';
|
|
831
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
807
832
|
import { SplitButtonModule } from '@exhaustive-ui/core/splitbutton';
|
|
808
833
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
809
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
810
834
|
|
|
811
835
|
@Component({
|
|
812
836
|
template: `
|
|
@@ -823,31 +847,32 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
823
847
|
</div>
|
|
824
848
|
`,
|
|
825
849
|
standalone: true,
|
|
826
|
-
imports: [SplitButtonModule, ToastModule],
|
|
850
|
+
imports: [SplitButtonModule, ToastModule, RouterModule],
|
|
827
851
|
providers: [MessageService]
|
|
828
852
|
})
|
|
829
853
|
export class SplitbuttonTextDemo {
|
|
830
854
|
private messageService = inject(MessageService);
|
|
855
|
+
|
|
831
856
|
items: MenuItem[];
|
|
832
857
|
|
|
833
858
|
constructor() {
|
|
834
859
|
this.items = [
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
860
|
+
{
|
|
861
|
+
label: 'Update',
|
|
862
|
+
command: () => {
|
|
863
|
+
this.update();
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
label: 'Delete',
|
|
868
|
+
command: () => {
|
|
869
|
+
this.delete();
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
{ label: 'Angular.dev', url: 'https://angular.dev' },
|
|
873
|
+
{ separator: true },
|
|
874
|
+
{ label: 'Upload', routerLink: ['/fileupload'] }
|
|
875
|
+
];
|
|
851
876
|
}
|
|
852
877
|
|
|
853
878
|
save(severity: string) {
|
|
@@ -872,33 +897,33 @@ SplitButton groups a set of commands in an overlay with a default command.
|
|
|
872
897
|
|
|
873
898
|
| Name | Type | Default | Description |
|
|
874
899
|
|------|------|---------|-------------|
|
|
875
|
-
| dt |
|
|
876
|
-
| unstyled |
|
|
877
|
-
| pt |
|
|
878
|
-
| ptOptions |
|
|
879
|
-
| model |
|
|
880
|
-
| severity |
|
|
881
|
-
| raised |
|
|
882
|
-
| rounded |
|
|
883
|
-
| text |
|
|
884
|
-
| outlined |
|
|
885
|
-
| size |
|
|
886
|
-
| icon |
|
|
887
|
-
| iconPos |
|
|
888
|
-
| label |
|
|
889
|
-
| tooltip |
|
|
890
|
-
| tooltipOptions |
|
|
891
|
-
| menuStyle |
|
|
892
|
-
| menuStyleClass |
|
|
893
|
-
| dropdownIcon |
|
|
894
|
-
| appendTo |
|
|
895
|
-
| expandAriaLabel |
|
|
896
|
-
| motionOptions |
|
|
897
|
-
| autofocus |
|
|
898
|
-
| disabled |
|
|
899
|
-
| tabindex |
|
|
900
|
-
| menuButtonDisabled |
|
|
901
|
-
| buttonDisabled |
|
|
900
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
901
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
902
|
+
| pt | SplitButtonPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
903
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
904
|
+
| model | MenuItem[] | - | MenuModel instance to define the overlay items. |
|
|
905
|
+
| severity | ButtonSeverity | - | Defines the style of the button. |
|
|
906
|
+
| raised | boolean | false | Add a shadow to indicate elevation. |
|
|
907
|
+
| rounded | boolean | false | Add a circular border radius to the button. |
|
|
908
|
+
| text | boolean | false | Add a textual class to the button without a background initially. |
|
|
909
|
+
| outlined | boolean | false | Add a border class without a background initially. |
|
|
910
|
+
| size | "small" \| "large" | - | Defines the size of the button. |
|
|
911
|
+
| icon | string | - | Name of the icon. |
|
|
912
|
+
| iconPos | SplitButtonIconPosition | 'left' | Position of the icon. |
|
|
913
|
+
| label | string | - | Text of the button. |
|
|
914
|
+
| tooltip | string | - | Tooltip for the main button. |
|
|
915
|
+
| tooltipOptions | TooltipOptions | - | Tooltip options for the main button. |
|
|
916
|
+
| menuStyle | { [klass: string]: any } | - | Inline style of the overlay menu. |
|
|
917
|
+
| menuStyleClass | string | - | Style class of the overlay menu. |
|
|
918
|
+
| dropdownIcon | string | - | Name of the dropdown icon. |
|
|
919
|
+
| appendTo | any | 'body' | 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). |
|
|
920
|
+
| expandAriaLabel | string | - | Defines a string that labels the expand button for accessibility. |
|
|
921
|
+
| motionOptions | MotionOptions | - | The motion options. |
|
|
922
|
+
| autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
|
|
923
|
+
| disabled | boolean | - | When present, it specifies that the element should be disabled. |
|
|
924
|
+
| tabindex | number | - | Index of the element in tabbing order. |
|
|
925
|
+
| menuButtonDisabled | boolean | false | When present, it specifies that the menu button element should be disabled. |
|
|
926
|
+
| buttonDisabled | boolean | false | When present, it specifies that the button element should be disabled. |
|
|
902
927
|
|
|
903
928
|
### Emits
|
|
904
929
|
|