primevue 3.26.0 → 3.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/api/Api.d.ts +292 -284
  2. package/badge/Badge.d.ts +1 -1
  3. package/button/Button.d.ts +1 -1
  4. package/calendar/Calendar.vue +1 -1
  5. package/calendar/calendar.cjs.js +1 -1
  6. package/calendar/calendar.cjs.min.js +1 -1
  7. package/calendar/calendar.esm.js +1 -1
  8. package/calendar/calendar.esm.min.js +1 -1
  9. package/calendar/calendar.js +1 -1
  10. package/calendar/calendar.min.js +1 -1
  11. package/config/config.cjs.js +1 -1
  12. package/config/config.cjs.min.js +1 -1
  13. package/config/config.esm.js +1 -1
  14. package/config/config.esm.min.js +1 -1
  15. package/config/config.js +1 -1
  16. package/config/config.min.js +1 -1
  17. package/core/core.js +5 -4
  18. package/core/core.min.js +3 -3
  19. package/datatable/DataTable.d.ts +2 -2
  20. package/datatable/DataTable.vue +3 -1
  21. package/datatable/TableBody.vue +17 -5
  22. package/datatable/datatable.cjs.js +18 -15
  23. package/datatable/datatable.cjs.min.js +1 -1
  24. package/datatable/datatable.esm.js +18 -15
  25. package/datatable/datatable.esm.min.js +1 -1
  26. package/datatable/datatable.js +18 -15
  27. package/datatable/datatable.min.js +1 -1
  28. package/dropdown/Dropdown.d.ts +1 -1
  29. package/dropdown/Dropdown.vue +3 -2
  30. package/dropdown/dropdown.cjs.js +3 -2
  31. package/dropdown/dropdown.cjs.min.js +1 -1
  32. package/dropdown/dropdown.esm.js +3 -2
  33. package/dropdown/dropdown.esm.min.js +1 -1
  34. package/dropdown/dropdown.js +3 -2
  35. package/dropdown/dropdown.min.js +1 -1
  36. package/image/Image.d.ts +25 -0
  37. package/image/Image.vue +24 -6
  38. package/image/image.cjs.js +51 -41
  39. package/image/image.cjs.min.js +1 -1
  40. package/image/image.esm.js +51 -41
  41. package/image/image.esm.min.js +1 -1
  42. package/image/image.js +51 -41
  43. package/image/image.min.js +1 -1
  44. package/inlinemessage/InlineMessage.d.ts +1 -1
  45. package/listbox/Listbox.d.ts +1 -1
  46. package/message/Message.d.ts +1 -1
  47. package/multiselect/MultiSelect.d.ts +1 -1
  48. package/multiselect/MultiSelect.vue +3 -2
  49. package/multiselect/multiselect.cjs.js +3 -2
  50. package/multiselect/multiselect.cjs.min.js +1 -1
  51. package/multiselect/multiselect.esm.js +3 -2
  52. package/multiselect/multiselect.esm.min.js +1 -1
  53. package/multiselect/multiselect.js +3 -2
  54. package/multiselect/multiselect.min.js +1 -1
  55. package/package.json +1 -1
  56. package/splitbutton/SplitButton.d.ts +1 -1
  57. package/splitbutton/splitbutton.cjs.js +2 -2
  58. package/splitbutton/splitbutton.cjs.min.js +1 -1
  59. package/splitbutton/splitbutton.esm.js +2 -2
  60. package/splitbutton/splitbutton.esm.min.js +1 -1
  61. package/splitbutton/splitbutton.js +2 -2
  62. package/splitbutton/splitbutton.min.js +1 -1
  63. package/splitter/Splitter.vue +2 -11
  64. package/splitter/splitter.cjs.js +1 -2
  65. package/splitter/splitter.cjs.min.js +1 -1
  66. package/splitter/splitter.esm.js +1 -2
  67. package/splitter/splitter.esm.min.js +1 -1
  68. package/splitter/splitter.js +1 -2
  69. package/splitter/splitter.min.js +1 -1
  70. package/tag/Tag.d.ts +1 -1
  71. package/toast/Toast.d.ts +1 -1
  72. package/treetable/TreeTable.d.ts +2 -2
  73. package/vetur-attributes.json +4 -0
  74. package/vetur-tags.json +2 -1
  75. package/virtualscroller/VirtualScroller.vue +1 -1
  76. package/virtualscroller/virtualscroller.cjs.js +1 -1
  77. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  78. package/virtualscroller/virtualscroller.esm.js +1 -1
  79. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  80. package/virtualscroller/virtualscroller.js +1 -1
  81. package/virtualscroller/virtualscroller.min.js +1 -1
  82. package/web-types.json +37 -2
package/api/Api.d.ts CHANGED
@@ -1,28 +1,32 @@
1
1
  // Filter
2
- export const enum FilterMatchMode {
3
- STARTS_WITH = 'startsWith',
4
- CONTAINS = 'contains',
5
- NOT_CONTAINS = 'notContains',
6
- ENDS_WITH = 'endsWith',
7
- EQUALS = 'equals',
8
- NOT_EQUALS = 'notEquals',
9
- IN = 'in',
10
- LESS_THAN = 'lt',
11
- LESS_THAN_OR_EQUAL_TO = 'lte',
12
- GREATER_THAN = 'gt',
13
- GREATER_THAN_OR_EQUAL_TO = 'gte',
14
- BETWEEN = 'between',
15
- DATE_IS = 'dateIs',
16
- DATE_IS_NOT = 'dateIsNot',
17
- DATE_BEFORE = 'dateBefore',
18
- DATE_AFTER = 'dateAfter'
2
+ export interface FilterMatchModeOptions {
3
+ readonly STARTS_WITH: string;
4
+ readonly CONTAINS: string;
5
+ readonly NOT_CONTAINS: string;
6
+ readonly ENDS_WITH: string;
7
+ readonly EQUALS: string;
8
+ readonly NOT_EQUALS: string;
9
+ readonly IN: string;
10
+ readonly LESS_THAN: string;
11
+ readonly LESS_THAN_OR_EQUAL_TO: string;
12
+ readonly GREATER_THAN: string;
13
+ readonly GREATER_THAN_OR_EQUAL_TO: string;
14
+ readonly BETWEEN: string;
15
+ readonly DATE_IS: string;
16
+ readonly DATE_IS_NOT: string;
17
+ readonly DATE_BEFORE: string;
18
+ readonly DATE_AFTER: string;
19
19
  }
20
20
 
21
- export const enum FilterOperator {
22
- AND = 'and',
23
- OR = 'or'
21
+ export declare const FilterMatchMode: FilterMatchModeOptions;
22
+
23
+ export interface FilterOperatorOptions {
24
+ readonly AND: string;
25
+ readonly OR: string;
24
26
  }
25
27
 
28
+ export declare const FilterOperator: FilterOperatorOptions;
29
+
26
30
  export declare namespace FilterService {
27
31
  export function filter(value: any, fields: string[], filterValue: any, filterMatchMode: string, filterLocale?: string): any[];
28
32
  export interface filters {
@@ -47,271 +51,275 @@ export declare namespace FilterService {
47
51
  }
48
52
 
49
53
  // Icons
50
- export const enum PrimeIcons {
51
- ALIGN_CENTER = 'pi pi-align-center',
52
- ALIGN_JUSTIFY = 'pi pi-align-justify',
53
- ALIGN_LEFT = 'pi pi-align-left',
54
- ALIGN_RIGHT = 'pi pi-align-right',
55
- AMAZON = 'pi pi-amazon',
56
- ANDROID = 'pi pi-android',
57
- ANGLE_DOUBLE_DOWN = 'pi pi-angle-double-down',
58
- ANGLE_DOUBLE_LEFT = 'pi pi-angle-double-left',
59
- ANGLE_DOUBLE_RIGHT = 'pi pi-angle-double-right',
60
- ANGLE_DOUBLE_UP = 'pi pi-angle-double-up',
61
- ANGLE_DOWN = 'pi pi-angle-down',
62
- ANGLE_LEFT = 'pi pi-angle-left',
63
- ANGLE_RIGHT = 'pi pi-angle-right',
64
- ANGLE_UP = 'pi pi-angle-up',
65
- APPLE = 'pi pi-apple',
66
- ARROW_CIRCLE_DOWN = 'pi pi-arrow-circle-down',
67
- ARROW_CIRCLE_LEFT = 'pi pi-arrow-circle-left',
68
- ARROW_CIRCLE_RIGHT = 'pi pi-arrow-circle-right',
69
- ARROW_CIRCLE_UP = 'pi pi-arrow-circle-up',
70
- ARROW_DOWN = 'pi pi-arrow-down',
71
- ARROW_DOWN_LEFT = 'pi pi-arrow-down-left',
72
- ARROW_DOWN_RIGHT = 'pi pi-arrow-down-right',
73
- ARROW_LEFT = 'pi pi-arrow-left',
74
- ARROW_RIGHT = 'pi pi-arrow-right',
75
- ARROW_RIGHT_ARROW_LEFT = 'pi pi-arrow-right-arrow-left',
76
- ARROW_UP = 'pi pi-arrow-up',
77
- ARROW_UP_LEFT = 'pi pi-arrow-up-left',
78
- ARROW_UP_RIGHT = 'pi pi-arrow-up-right',
79
- ARROW_H = 'pi pi-arrows-h',
80
- ARROW_V = 'pi pi-arrows-v',
81
- ARROW_A = 'pi pi-arrows-alt',
82
- AT = 'pi pi-at',
83
- BACKWARD = 'pi pi-backward',
84
- BAN = 'pi pi-ban',
85
- BARS = 'pi pi-bars',
86
- BELL = 'pi pi-bell',
87
- BITCOIN = 'pi pi-bitcoin',
88
- BOLT = 'pi pi-bolt',
89
- BOOK = 'pi pi-book',
90
- BOOKMARK = 'pi pi-bookmark',
91
- BOOKMARK_FILL = 'pi pi-bookmark-fill',
92
- BOX = 'pi pi-box',
93
- BRIEFCASE = 'pi pi-briefcase',
94
- BUILDING = 'pi pi-building',
95
- CALENDAR = 'pi pi-calendar',
96
- CALENDAR_MINUS = 'pi pi-calendar-minus',
97
- CALENDAR_PLUS = 'pi pi-calendar-plus',
98
- CALENDAR_TIMES = 'pi pi-calendar-times',
99
- CALCULATOR = 'pi pi-calculator',
100
- CAMERA = 'pi pi-camera',
101
- CAR = 'pi pi-car',
102
- CARET_DOWN = 'pi pi-caret-down',
103
- CARET_LEFT = 'pi pi-caret-left',
104
- CARET_RIGHT = 'pi pi-caret-right',
105
- CARET_UP = 'pi pi-caret-up',
106
- CART_PLUS = 'pi pi-cart-plus',
107
- CHART_BAR = 'pi pi-chart-bar',
108
- CHART_LINE = 'pi pi-chart-line',
109
- CHART_PIE = 'pi pi-chart-pie',
110
- CHECK = 'pi pi-check',
111
- CHECK_CIRCLE = 'pi pi-check-circle',
112
- CHECK_SQUARE = 'pi pi-check-square',
113
- CHEVRON_CIRCLE_DOWN = 'pi pi-chevron-circle-down',
114
- CHEVRON_CIRCLE_LEFT = 'pi pi-chevron-circle-left',
115
- CHEVRON_CIRCLE_RIGHT = 'pi pi-chevron-circle-right',
116
- CHEVRON_CIRCLE_UP = 'pi pi-chevron-circle-up',
117
- CHEVRON_DOWN = 'pi pi-chevron-down',
118
- CHEVRON_LEFT = 'pi pi-chevron-left',
119
- CHEVRON_RIGHT = 'pi pi-chevron-right',
120
- CHEVRON_UP = 'pi pi-chevron-up',
121
- CIRCLE = 'pi pi-circle',
122
- CIRCLE_FILL = 'pi pi-circle-fill',
123
- CLOCK = 'pi pi-clock',
124
- CLONE = 'pi pi-clone',
125
- CLOUD = 'pi pi-cloud',
126
- CLOUD_DOWNLOAD = 'pi pi-cloud-download',
127
- CLOUD_UPLOAD = 'pi pi-cloud-upload',
128
- CODE = 'pi pi-code',
129
- COG = 'pi pi-cog',
130
- COMMENT = 'pi pi-comment',
131
- COMMENTS = 'pi pi-comments',
132
- COMPASS = 'pi pi-compass',
133
- COPY = 'pi pi-copy',
134
- CREDIT_CARD = 'pi pi-credit-card',
135
- DATABASE = 'pi pi-database',
136
- DELETELEFT = 'pi pi-delete-left',
137
- DESKTOP = 'pi pi-desktop',
138
- DIRECTIONS = 'pi pi-directions',
139
- DIRECTIONS_ALT = 'pi pi-directions-alt',
140
- DISCORD = 'pi pi-discord',
141
- DOLLAR = 'pi pi-dollar',
142
- DOWNLOAD = 'pi pi-download',
143
- EJECT = 'pi pi-eject',
144
- ELLIPSIS_H = 'pi pi-ellipsis-h',
145
- ELLIPSIS_V = 'pi pi-ellipsis-v',
146
- ENVELOPE = 'pi pi-envelope',
147
- ERASER = 'pi pi-eraser',
148
- EURO = 'pi pi-euro',
149
- EXCLAMATION_CIRCLE = 'pi pi-exclamation-circle',
150
- EXCLAMATION_TRIANGLE = 'pi pi-exclamation-triangle',
151
- EXTERNAL_LINK = 'pi pi-external-link',
152
- EYE = 'pi pi-eye',
153
- EYE_SLASH = 'pi pi-eye-slash',
154
- FACEBOOK = 'pi pi-facebook',
155
- FAST_BACKWARD = 'pi pi-fast-backward',
156
- FAST_FORWARD = 'pi pi-fast-forward',
157
- FILE = 'pi pi-file',
158
- FILE_EDIT = 'pi pi-file-edit',
159
- FILE_EXCEL = 'pi pi-file-excel',
160
- FILE_EXPORT = 'pi pi-file-export',
161
- FILE_IMPORT = 'pi pi-file-import',
162
- FILE_PDF = 'pi pi-file-pdf',
163
- FILE_WORD = 'pi pi-file-word',
164
- FILTER = 'pi pi-filter',
165
- FILTER_FILL = 'pi pi-filter-fill',
166
- FILTER_SLASH = 'pi pi-filter-slash',
167
- FLAG = 'pi pi-flag',
168
- FLAG_FILL = 'pi pi-flag-fill',
169
- FOLDER = 'pi pi-folder',
170
- FOLDER_OPEN = 'pi pi-folder-open',
171
- FORWARD = 'pi pi-forward',
172
- GIFT = 'pi pi-gift',
173
- GITHUB = 'pi pi-github',
174
- GLOBE = 'pi pi-globe',
175
- GOOGLE = 'pi pi-google',
176
- HASHTAG = 'pi pi-hashtag',
177
- HEART = 'pi pi-heart',
178
- HEART_FILL = 'pi pi-heart-fill',
179
- HISTORY = 'pi pi-history',
180
- HOURGLASS = 'pi pi-hourglass',
181
- HOME = 'pi pi-home',
182
- ID_CARD = 'pi pi-id-card',
183
- IMAGE = 'pi pi-image',
184
- IMAGES = 'pi pi-images',
185
- INBOX = 'pi pi-inbox',
186
- INFO = 'pi pi-info',
187
- INFO_CIRCLE = 'pi pi-info-circle',
188
- INSTAGRAM = 'pi pi-instagram',
189
- KEY = 'pi pi-key',
190
- LANGUAGE = 'pi pi-language',
191
- LINK = 'pi pi-link',
192
- LINKEDIN = 'pi pi-linkedin',
193
- LIST = 'pi pi-list',
194
- LOCK = 'pi pi-lock',
195
- LOCK_OPEN = 'pi pi-lock-open',
196
- MAP = 'pi pi-map',
197
- MAP_MARKER = 'pi pi-map-marker',
198
- MEGAPHONE = 'pi pi-megaphone',
199
- MICREPHONE = 'pi pi-microphone',
200
- MICROSOFT = 'pi pi-microsoft',
201
- MINUS = 'pi pi-minus',
202
- MINUS_CIRCLE = 'pi pi-minus-circle',
203
- MOBILE = 'pi pi-mobile',
204
- MONEY_BILL = 'pi pi-money-bill',
205
- MOON = 'pi pi-moon',
206
- PALETTE = 'pi pi-palette',
207
- PAPERCLIP = 'pi pi-paperclip',
208
- PAUSE = 'pi pi-pause',
209
- PAYPAL = 'pi pi-paypal',
210
- PENCIL = 'pi pi-pencil',
211
- PERCENTAGE = 'pi pi-percentage',
212
- PHONE = 'pi pi-phone',
213
- PLAY = 'pi pi-play',
214
- PLUS = 'pi pi-plus',
215
- PLUS_CIRCLE = 'pi pi-plus-circle',
216
- POUND = 'pi pi-pound',
217
- POWER_OFF = 'pi pi-power-off',
218
- PRIME = 'pi pi-prime',
219
- PRINT = 'pi pi-print',
220
- QRCODE = 'pi pi-qrcode',
221
- QUESTION = 'pi pi-question',
222
- QUESTION_CIRCLE = 'pi pi-question-circle',
223
- REDDIT = 'pi pi-reddit',
224
- REFRESH = 'pi pi-refresh',
225
- REPLAY = 'pi pi-replay',
226
- REPLY = 'pi pi-reply',
227
- SAVE = 'pi pi-save',
228
- SEARCH = 'pi pi-search',
229
- SEARCH_MINUS = 'pi pi-search-minus',
230
- SEARCH_PLUS = 'pi pi-search-plus',
231
- SEND = 'pi pi-send',
232
- SERVER = 'pi pi-server',
233
- SHARE_ALT = 'pi pi-share-alt',
234
- SHIELD = 'pi pi-shield',
235
- SHOPPING_BAG = 'pi pi-shopping-bag',
236
- SHOPPING_CART = 'pi pi-shopping-cart',
237
- SIGN_IN = 'pi pi-sign-in',
238
- SIGN_OUT = 'pi pi-sign-out',
239
- SITEMAP = 'pi pi-sitemap',
240
- SLACK = 'pi pi-slack',
241
- SLIDERS_H = 'pi pi-sliders-h',
242
- SLIDERS_V = 'pi pi-sliders-v',
243
- SORT = 'pi pi-sort',
244
- SORT_ALPHA_DOWN = 'pi pi-sort-alpha-down',
245
- SORT_ALPHA_ALT_DOWN = 'pi pi-sort-alpha-alt-down',
246
- SORT_ALPHA_UP = 'pi pi-sort-alpha-up',
247
- SORT_ALPHA_ALT_UP = 'pi pi-sort-alpha-alt-up',
248
- SORT_ALT = 'pi pi-sort-alt',
249
- SORT_ALT_SLASH = 'pi pi-sort-slash',
250
- SORT_AMOUNT_DOWN = 'pi pi-sort-amount-down',
251
- SORT_AMOUNT_DOWN_ALT = 'pi pi-sort-amount-down-alt',
252
- SORT_AMOUNT_UP = 'pi pi-sort-amount-up',
253
- SORT_AMOUNT_UP_ALT = 'pi pi-sort-amount-up-alt',
254
- SORT_DOWN = 'pi pi-sort-down',
255
- SORT_NUMERIC_DOWN = 'pi pi-sort-numeric-down',
256
- SORT_NUMERIC_ALT_DOWN = 'pi pi-sort-numeric-alt-down',
257
- SORT_NUMERIC_UP = 'pi pi-sort-numeric-up',
258
- SORT_NUMERIC_ALT_UP = 'pi pi-sort-numeric-alt-up',
259
- SORT_UP = 'pi pi-sort-up',
260
- SPINNER = 'pi pi-spinner',
261
- STAR = 'pi pi-star',
262
- STAR_FILL = 'pi pi-star-fill',
263
- STEP_BACKWARD = 'pi pi-step-backward',
264
- STEP_BACKWARD_ALT = 'pi pi-step-backward-alt',
265
- STEP_FORWARD = 'pi pi-step-forward',
266
- STEP_FORWARD_ALT = 'pi pi-step-forward-alt',
267
- STOP = 'pi pi-stop',
268
- STOPWATCH = 'pi pi-stop-watch',
269
- STOP_CIRCLE = 'pi pi-stop-circle',
270
- SUN = 'pi pi-sun',
271
- SYNC = 'pi pi-sync',
272
- TABLE = 'pi pi-table',
273
- TABLET = 'pi pi-tablet',
274
- TAG = 'pi pi-tag',
275
- TAGS = 'pi pi-tags',
276
- TELEGRAM = 'pi pi-telegram',
277
- TH_LARGE = 'pi pi-th-large',
278
- THUMBS_DOWN = 'pi pi-thumbs-down',
279
- THUMBS_DOWN_FILL = 'pi pi-thumbs-down-fill',
280
- THUMBS_UP = 'pi pi-thumbs-up',
281
- THUMBS_UP_FILL = 'pi pi-thumbs-up-fill',
282
- TICKET = 'pi pi-ticket',
283
- TIMES = 'pi pi-times',
284
- TIMES_CIRCLE = 'pi pi-times-circle',
285
- TRASH = 'pi pi-trash',
286
- TRUCK = 'pi pi-truck',
287
- TWITTER = 'pi pi-twitter',
288
- UNDO = 'pi pi-undo',
289
- UNLOCK = 'pi pi-unlock',
290
- UPLOAD = 'pi pi-upload',
291
- USER = 'pi pi-user',
292
- USER_EDIT = 'pi pi-user-edit',
293
- USER_MINUS = 'pi pi-user-minus',
294
- USER_PLUS = 'pi pi-user-plus',
295
- USERS = 'pi pi-users',
296
- VERIFIED = 'pi pi-verified',
297
- VIDEO = 'pi pi-video',
298
- VIMEO = 'pi pi-vimeo',
299
- VOLUME_DOWN = 'pi pi-volume-down',
300
- VOLUME_OFF = 'pi pi-volume-off',
301
- VOLUME_UP = 'pi pi-volume-up',
302
- WALLET = 'pi pi-wallet',
303
- WHATSAPP = 'pi pi-whatsapp',
304
- WIFI = 'pi pi-wifi',
305
- WINDOW_MAXIMIZE = 'pi pi-window-maximize',
306
- WINDOW_MINIMIZE = 'pi pi-window-minimize',
307
- WRENCH = 'pi pi-wrench',
308
- YOUTUBE = 'pi pi-youtube'
54
+ export interface PrimeIconsOptions {
55
+ readonly ALIGN_CENTER: string;
56
+ readonly ALIGN_JUSTIFY: string;
57
+ readonly ALIGN_LEFT: string;
58
+ readonly ALIGN_RIGHT: string;
59
+ readonly AMAZON: string;
60
+ readonly ANDROID: string;
61
+ readonly ANGLE_DOUBLE_DOWN: string;
62
+ readonly ANGLE_DOUBLE_LEFT: string;
63
+ readonly ANGLE_DOUBLE_RIGHT: string;
64
+ readonly ANGLE_DOUBLE_UP: string;
65
+ readonly ANGLE_DOWN: string;
66
+ readonly ANGLE_LEFT: string;
67
+ readonly ANGLE_RIGHT: string;
68
+ readonly ANGLE_UP: string;
69
+ readonly APPLE: string;
70
+ readonly ARROW_CIRCLE_DOWN: string;
71
+ readonly ARROW_CIRCLE_LEFT: string;
72
+ readonly ARROW_CIRCLE_RIGHT: string;
73
+ readonly ARROW_CIRCLE_UP: string;
74
+ readonly ARROW_DOWN: string;
75
+ readonly ARROW_DOWN_LEFT: string;
76
+ readonly ARROW_DOWN_RIGHT: string;
77
+ readonly ARROW_LEFT: string;
78
+ readonly ARROW_RIGHT: string;
79
+ readonly ARROW_RIGHT_ARROW_LEFT: string;
80
+ readonly ARROW_UP: string;
81
+ readonly ARROW_UP_LEFT: string;
82
+ readonly ARROW_UP_RIGHT: string;
83
+ readonly ARROW_H: string;
84
+ readonly ARROW_V: string;
85
+ readonly ARROW_A: string;
86
+ readonly AT: string;
87
+ readonly BACKWARD: string;
88
+ readonly BAN: string;
89
+ readonly BARS: string;
90
+ readonly BELL: string;
91
+ readonly BITCOIN: string;
92
+ readonly BOLT: string;
93
+ readonly BOOK: string;
94
+ readonly BOOKMARK: string;
95
+ readonly BOOKMARK_FILL: string;
96
+ readonly BOX: string;
97
+ readonly BRIEFCASE: string;
98
+ readonly BUILDING: string;
99
+ readonly CALENDAR: string;
100
+ readonly CALENDAR_MINUS: string;
101
+ readonly CALENDAR_PLUS: string;
102
+ readonly CALENDAR_TIMES: string;
103
+ readonly CALCULATOR: string;
104
+ readonly CAMERA: string;
105
+ readonly CAR: string;
106
+ readonly CARET_DOWN: string;
107
+ readonly CARET_LEFT: string;
108
+ readonly CARET_RIGHT: string;
109
+ readonly CARET_UP: string;
110
+ readonly CART_PLUS: string;
111
+ readonly CHART_BAR: string;
112
+ readonly CHART_LINE: string;
113
+ readonly CHART_PIE: string;
114
+ readonly CHECK: string;
115
+ readonly CHECK_CIRCLE: string;
116
+ readonly CHECK_SQUARE: string;
117
+ readonly CHEVRON_CIRCLE_DOWN: string;
118
+ readonly CHEVRON_CIRCLE_LEFT: string;
119
+ readonly CHEVRON_CIRCLE_RIGHT: string;
120
+ readonly CHEVRON_CIRCLE_UP: string;
121
+ readonly CHEVRON_DOWN: string;
122
+ readonly CHEVRON_LEFT: string;
123
+ readonly CHEVRON_RIGHT: string;
124
+ readonly CHEVRON_UP: string;
125
+ readonly CIRCLE: string;
126
+ readonly CIRCLE_FILL: string;
127
+ readonly CLOCK: string;
128
+ readonly CLONE: string;
129
+ readonly CLOUD: string;
130
+ readonly CLOUD_DOWNLOAD: string;
131
+ readonly CLOUD_UPLOAD: string;
132
+ readonly CODE: string;
133
+ readonly COG: string;
134
+ readonly COMMENT: string;
135
+ readonly COMMENTS: string;
136
+ readonly COMPASS: string;
137
+ readonly COPY: string;
138
+ readonly CREDIT_CARD: string;
139
+ readonly DATABASE: string;
140
+ readonly DELETELEFT: string;
141
+ readonly DESKTOP: string;
142
+ readonly DIRECTIONS: string;
143
+ readonly DIRECTIONS_ALT: string;
144
+ readonly DISCORD: string;
145
+ readonly DOLLAR: string;
146
+ readonly DOWNLOAD: string;
147
+ readonly EJECT: string;
148
+ readonly ELLIPSIS_H: string;
149
+ readonly ELLIPSIS_V: string;
150
+ readonly ENVELOPE: string;
151
+ readonly ERASER: string;
152
+ readonly EURO: string;
153
+ readonly EXCLAMATION_CIRCLE: string;
154
+ readonly EXCLAMATION_TRIANGLE: string;
155
+ readonly EXTERNAL_LINK: string;
156
+ readonly EYE: string;
157
+ readonly EYE_SLASH: string;
158
+ readonly FACEBOOK: string;
159
+ readonly FAST_BACKWARD: string;
160
+ readonly FAST_FORWARD: string;
161
+ readonly FILE: string;
162
+ readonly FILE_EDIT: string;
163
+ readonly FILE_EXCEL: string;
164
+ readonly FILE_EXPORT: string;
165
+ readonly FILE_IMPORT: string;
166
+ readonly FILE_PDF: string;
167
+ readonly FILE_WORD: string;
168
+ readonly FILTER: string;
169
+ readonly FILTER_FILL: string;
170
+ readonly FILTER_SLASH: string;
171
+ readonly FLAG: string;
172
+ readonly FLAG_FILL: string;
173
+ readonly FOLDER: string;
174
+ readonly FOLDER_OPEN: string;
175
+ readonly FORWARD: string;
176
+ readonly GIFT: string;
177
+ readonly GITHUB: string;
178
+ readonly GLOBE: string;
179
+ readonly GOOGLE: string;
180
+ readonly HASHTAG: string;
181
+ readonly HEART: string;
182
+ readonly HEART_FILL: string;
183
+ readonly HISTORY: string;
184
+ readonly HOURGLASS: string;
185
+ readonly HOME: string;
186
+ readonly ID_CARD: string;
187
+ readonly IMAGE: string;
188
+ readonly IMAGES: string;
189
+ readonly INBOX: string;
190
+ readonly INFO: string;
191
+ readonly INFO_CIRCLE: string;
192
+ readonly INSTAGRAM: string;
193
+ readonly KEY: string;
194
+ readonly LANGUAGE: string;
195
+ readonly LINK: string;
196
+ readonly LINKEDIN: string;
197
+ readonly LIST: string;
198
+ readonly LOCK: string;
199
+ readonly LOCK_OPEN: string;
200
+ readonly MAP: string;
201
+ readonly MAP_MARKER: string;
202
+ readonly MEGAPHONE: string;
203
+ readonly MICREPHONE: string;
204
+ readonly MICROSOFT: string;
205
+ readonly MINUS: string;
206
+ readonly MINUS_CIRCLE: string;
207
+ readonly MOBILE: string;
208
+ readonly MONEY_BILL: string;
209
+ readonly MOON: string;
210
+ readonly PALETTE: string;
211
+ readonly PAPERCLIP: string;
212
+ readonly PAUSE: string;
213
+ readonly PAYPAL: string;
214
+ readonly PENCIL: string;
215
+ readonly PERCENTAGE: string;
216
+ readonly PHONE: string;
217
+ readonly PLAY: string;
218
+ readonly PLUS: string;
219
+ readonly PLUS_CIRCLE: string;
220
+ readonly POUND: string;
221
+ readonly POWER_OFF: string;
222
+ readonly PRIME: string;
223
+ readonly PRINT: string;
224
+ readonly QRCODE: string;
225
+ readonly QUESTION: string;
226
+ readonly QUESTION_CIRCLE: string;
227
+ readonly REDDIT: string;
228
+ readonly REFRESH: string;
229
+ readonly REPLAY: string;
230
+ readonly REPLY: string;
231
+ readonly SAVE: string;
232
+ readonly SEARCH: string;
233
+ readonly SEARCH_MINUS: string;
234
+ readonly SEARCH_PLUS: string;
235
+ readonly SEND: string;
236
+ readonly SERVER: string;
237
+ readonly SHARE_ALT: string;
238
+ readonly SHIELD: string;
239
+ readonly SHOPPING_BAG: string;
240
+ readonly SHOPPING_CART: string;
241
+ readonly SIGN_IN: string;
242
+ readonly SIGN_OUT: string;
243
+ readonly SITEMAP: string;
244
+ readonly SLACK: string;
245
+ readonly SLIDERS_H: string;
246
+ readonly SLIDERS_V: string;
247
+ readonly SORT: string;
248
+ readonly SORT_ALPHA_DOWN: string;
249
+ readonly SORT_ALPHA_ALT_DOWN: string;
250
+ readonly SORT_ALPHA_UP: string;
251
+ readonly SORT_ALPHA_ALT_UP: string;
252
+ readonly SORT_ALT: string;
253
+ readonly SORT_ALT_SLASH: string;
254
+ readonly SORT_AMOUNT_DOWN: string;
255
+ readonly SORT_AMOUNT_DOWN_ALT: string;
256
+ readonly SORT_AMOUNT_UP: string;
257
+ readonly SORT_AMOUNT_UP_ALT: string;
258
+ readonly SORT_DOWN: string;
259
+ readonly SORT_NUMERIC_DOWN: string;
260
+ readonly SORT_NUMERIC_ALT_DOWN: string;
261
+ readonly SORT_NUMERIC_UP: string;
262
+ readonly SORT_NUMERIC_ALT_UP: string;
263
+ readonly SORT_UP: string;
264
+ readonly SPINNER: string;
265
+ readonly STAR: string;
266
+ readonly STAR_FILL: string;
267
+ readonly STEP_BACKWARD: string;
268
+ readonly STEP_BACKWARD_ALT: string;
269
+ readonly STEP_FORWARD: string;
270
+ readonly STEP_FORWARD_ALT: string;
271
+ readonly STOP: string;
272
+ readonly STOPWATCH: string;
273
+ readonly STOP_CIRCLE: string;
274
+ readonly SUN: string;
275
+ readonly SYNC: string;
276
+ readonly TABLE: string;
277
+ readonly TABLET: string;
278
+ readonly TAG: string;
279
+ readonly TAGS: string;
280
+ readonly TELEGRAM: string;
281
+ readonly TH_LARGE: string;
282
+ readonly THUMBS_DOWN: string;
283
+ readonly THUMBS_DOWN_FILL: string;
284
+ readonly THUMBS_UP: string;
285
+ readonly THUMBS_UP_FILL: string;
286
+ readonly TICKET: string;
287
+ readonly TIMES: string;
288
+ readonly TIMES_CIRCLE: string;
289
+ readonly TRASH: string;
290
+ readonly TRUCK: string;
291
+ readonly TWITTER: string;
292
+ readonly UNDO: string;
293
+ readonly UNLOCK: string;
294
+ readonly UPLOAD: string;
295
+ readonly USER: string;
296
+ readonly USER_EDIT: string;
297
+ readonly USER_MINUS: string;
298
+ readonly USER_PLUS: string;
299
+ readonly USERS: string;
300
+ readonly VERIFIED: string;
301
+ readonly VIDEO: string;
302
+ readonly VIMEO: string;
303
+ readonly VOLUME_DOWN: string;
304
+ readonly VOLUME_OFF: string;
305
+ readonly VOLUME_UP: string;
306
+ readonly WALLET: string;
307
+ readonly WHATSAPP: string;
308
+ readonly WIFI: string;
309
+ readonly WINDOW_MAXIMIZE: string;
310
+ readonly WINDOW_MINIMIZE: string;
311
+ readonly WRENCH: string;
312
+ readonly YOUTUBE: string;
309
313
  }
310
314
 
315
+ export declare const PrimeIcons: PrimeIconsOptions;
316
+
311
317
  // Severity
312
- export const enum ToastSeverity {
313
- SUCCESS = 'success',
314
- INFO = 'info',
315
- WARN = 'warn',
316
- ERROR = 'error'
318
+ export interface ToastSeverityOptions {
319
+ readonly SUCCESS: string;
320
+ readonly INFO: string;
321
+ readonly WARN: string;
322
+ readonly ERROR: string;
317
323
  }
324
+
325
+ export declare const ToastSeverity: ToastSeverityOptions;
package/badge/Badge.d.ts CHANGED
@@ -21,7 +21,7 @@ export interface BadgeProps {
21
21
  /**
22
22
  * Severity type of the badge.
23
23
  */
24
- severity?: 'info' | 'success' | 'warning' | 'danger' | null | undefined;
24
+ severity?: 'info' | 'success' | 'warning' | 'danger' | string | null | undefined;
25
25
  /**
26
26
  * Size of the badge, valid options are 'large' and 'xlarge'.
27
27
  */
@@ -65,7 +65,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
65
65
  /**
66
66
  * Defines the style of the button.
67
67
  */
68
- severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | undefined;
68
+ severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | string | undefined;
69
69
  /**
70
70
  * Add a shadow to indicate elevation.
71
71
  * @defaultValue false
@@ -637,7 +637,7 @@ export default {
637
637
  updated() {
638
638
  if (this.overlay) {
639
639
  this.preventFocus = true;
640
- this.updateFocus();
640
+ setTimeout(this.updateFocus, 0);
641
641
  }
642
642
 
643
643
  if (this.input && this.selectionStart != null && this.selectionEnd != null) {
@@ -318,7 +318,7 @@ var script = {
318
318
  updated() {
319
319
  if (this.overlay) {
320
320
  this.preventFocus = true;
321
- this.updateFocus();
321
+ setTimeout(this.updateFocus, 0);
322
322
  }
323
323
 
324
324
  if (this.input && this.selectionStart != null && this.selectionEnd != null) {