primevue 3.9.1 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/accordion/Accordion.d.ts +74 -11
  2. package/accordiontab/AccordionTab.d.ts +37 -8
  3. package/api/Api.d.ts +292 -285
  4. package/autocomplete/AutoComplete.d.ts +279 -62
  5. package/avatar/Avatar.d.ts +57 -8
  6. package/avatargroup/AvatarGroup.d.ts +29 -3
  7. package/badge/Badge.d.ts +46 -5
  8. package/blockui/BlockUI.d.ts +52 -11
  9. package/breadcrumb/Breadcrumb.d.ts +49 -9
  10. package/button/Button.d.ts +68 -11
  11. package/calendar/Calendar.d.ts +322 -62
  12. package/calendar/Calendar.vue +48 -20
  13. package/calendar/calendar.cjs.js +120 -93
  14. package/calendar/calendar.cjs.min.js +1 -1
  15. package/calendar/calendar.esm.js +120 -92
  16. package/calendar/calendar.esm.min.js +1 -1
  17. package/calendar/calendar.js +122 -94
  18. package/calendar/calendar.min.js +1 -1
  19. package/card/Card.d.ts +43 -9
  20. package/carousel/Carousel.d.ts +121 -24
  21. package/cascadeselect/CascadeSelect.d.ts +164 -31
  22. package/chart/Chart.d.ts +104 -12
  23. package/chart/Chart.vue +9 -2
  24. package/chart/chart.cjs.js +9 -2
  25. package/chart/chart.cjs.min.js +1 -1
  26. package/chart/chart.esm.js +9 -2
  27. package/chart/chart.esm.min.js +1 -1
  28. package/chart/chart.js +9 -2
  29. package/chart/chart.min.js +1 -1
  30. package/checkbox/Checkbox.d.ts +65 -7
  31. package/chip/Chip.d.ts +50 -4
  32. package/chips/Chips.d.ts +88 -15
  33. package/colorpicker/ColorPicker.d.ts +105 -16
  34. package/column/Column.d.ts +448 -78
  35. package/columngroup/ColumnGroup.d.ts +30 -4
  36. package/confirmationoptions/ConfirmationOptions.d.ts +50 -0
  37. package/confirmationoptions/package.json +3 -0
  38. package/confirmationservice/ConfirmationService.d.ts +2 -1
  39. package/confirmdialog/ConfirmDialog.d.ts +57 -5
  40. package/confirmpopup/ConfirmPopup.d.ts +38 -7
  41. package/contextmenu/ContextMenu.d.ts +88 -16
  42. package/core/core.js +364 -268
  43. package/core/core.min.js +2 -2
  44. package/datatable/BodyCell.vue +26 -1
  45. package/datatable/DataTable.d.ts +1056 -131
  46. package/datatable/DataTable.vue +102 -81
  47. package/datatable/HeaderCheckbox.vue +4 -1
  48. package/datatable/TableBody.vue +53 -14
  49. package/datatable/datatable.cjs.js +414 -307
  50. package/datatable/datatable.cjs.min.js +1 -1
  51. package/datatable/datatable.esm.js +414 -308
  52. package/datatable/datatable.esm.min.js +1 -1
  53. package/datatable/datatable.js +415 -309
  54. package/datatable/datatable.min.js +1 -1
  55. package/dataview/DataView.d.ts +198 -32
  56. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +34 -5
  57. package/deferredcontent/DeferredContent.d.ts +31 -6
  58. package/dialog/Dialog.d.ts +188 -35
  59. package/divider/Divider.d.ts +53 -8
  60. package/dock/Dock.d.ts +92 -15
  61. package/dropdown/Dropdown.d.ts +335 -76
  62. package/editor/Editor.d.ts +78 -11
  63. package/fieldset/Fieldset.d.ts +63 -11
  64. package/fileupload/FileUpload.d.ts +255 -37
  65. package/fullcalendar/FullCalendar.d.ts +29 -3
  66. package/galleria/Galleria.d.ts +196 -46
  67. package/image/Image.d.ts +51 -6
  68. package/inlinemessage/InlineMessage.d.ts +34 -6
  69. package/inplace/Inplace.d.ts +57 -12
  70. package/inputmask/InputMask.d.ts +75 -15
  71. package/inputnumber/InputNumber.d.ts +180 -30
  72. package/inputswitch/InputSwitch.d.ts +61 -9
  73. package/inputtext/InputText.d.ts +34 -5
  74. package/knob/Knob.d.ts +92 -18
  75. package/listbox/Listbox.d.ts +240 -55
  76. package/megamenu/MegaMenu.d.ts +60 -12
  77. package/menu/Menu.d.ts +84 -15
  78. package/menubar/Menubar.d.ts +52 -11
  79. package/menuitem/MenuItem.d.ts +80 -0
  80. package/menuitem/package.json +3 -0
  81. package/message/Message.d.ts +57 -11
  82. package/multiselect/MultiSelect.d.ts +363 -83
  83. package/orderlist/OrderList.d.ts +122 -19
  84. package/organizationchart/OrganizationChart.d.ts +137 -15
  85. package/overlaypanel/OverlayPanel.d.ts +107 -12
  86. package/package.json +1 -1
  87. package/paginator/Paginator.d.ts +129 -27
  88. package/panel/Panel.d.ts +64 -9
  89. package/panelmenu/PanelMenu.d.ts +59 -11
  90. package/panelmenu/PanelMenu.vue +2 -2
  91. package/panelmenu/panelmenu.cjs.js +4 -4
  92. package/panelmenu/panelmenu.cjs.min.js +1 -1
  93. package/panelmenu/panelmenu.esm.js +4 -4
  94. package/panelmenu/panelmenu.esm.min.js +1 -1
  95. package/panelmenu/panelmenu.js +4 -4
  96. package/panelmenu/panelmenu.min.js +1 -1
  97. package/password/Password.d.ts +115 -24
  98. package/picklist/PickList.d.ts +199 -32
  99. package/progressbar/ProgressBar.d.ts +43 -8
  100. package/progressspinner/ProgressSpinner.d.ts +39 -6
  101. package/radiobutton/RadioButton.d.ts +51 -6
  102. package/rating/Rating.d.ts +67 -10
  103. package/resources/themes/arya-blue/theme.css +5 -1
  104. package/resources/themes/arya-green/theme.css +5 -1
  105. package/resources/themes/arya-orange/theme.css +5 -1
  106. package/resources/themes/arya-purple/theme.css +5 -1
  107. package/resources/themes/bootstrap4-dark-blue/theme.css +5 -1
  108. package/resources/themes/bootstrap4-dark-purple/theme.css +5 -1
  109. package/resources/themes/bootstrap4-light-blue/theme.css +5 -1
  110. package/resources/themes/bootstrap4-light-purple/theme.css +5 -1
  111. package/resources/themes/fluent-light/theme.css +5 -1
  112. package/resources/themes/lara-dark-blue/theme.css +43 -39
  113. package/resources/themes/lara-dark-indigo/theme.css +43 -39
  114. package/resources/themes/lara-dark-purple/theme.css +43 -39
  115. package/resources/themes/lara-dark-teal/theme.css +43 -39
  116. package/resources/themes/lara-light-blue/theme.css +5 -1
  117. package/resources/themes/lara-light-indigo/theme.css +5 -1
  118. package/resources/themes/lara-light-purple/theme.css +5 -1
  119. package/resources/themes/lara-light-teal/theme.css +5 -1
  120. package/resources/themes/luna-amber/theme.css +5 -1
  121. package/resources/themes/luna-blue/theme.css +5 -1
  122. package/resources/themes/luna-green/theme.css +5 -1
  123. package/resources/themes/luna-pink/theme.css +5 -1
  124. package/resources/themes/md-dark-deeppurple/theme.css +5 -1
  125. package/resources/themes/md-dark-indigo/theme.css +5 -1
  126. package/resources/themes/md-light-deeppurple/theme.css +5 -1
  127. package/resources/themes/md-light-indigo/theme.css +5 -1
  128. package/resources/themes/mdc-dark-deeppurple/theme.css +5 -1
  129. package/resources/themes/mdc-dark-indigo/theme.css +5 -1
  130. package/resources/themes/mdc-light-deeppurple/theme.css +5 -1
  131. package/resources/themes/mdc-light-indigo/theme.css +5 -1
  132. package/resources/themes/nova/theme.css +5 -1
  133. package/resources/themes/nova-accent/theme.css +5 -1
  134. package/resources/themes/nova-alt/theme.css +5 -1
  135. package/resources/themes/nova-vue/theme.css +5 -1
  136. package/resources/themes/rhea/theme.css +5 -1
  137. package/resources/themes/saga-blue/theme.css +5 -1
  138. package/resources/themes/saga-green/theme.css +5 -1
  139. package/resources/themes/saga-orange/theme.css +5 -1
  140. package/resources/themes/saga-purple/theme.css +5 -1
  141. package/resources/themes/tailwind-light/theme.css +5 -1
  142. package/resources/themes/vela-blue/theme.css +5 -1
  143. package/resources/themes/vela-green/theme.css +5 -1
  144. package/resources/themes/vela-orange/theme.css +5 -1
  145. package/resources/themes/vela-purple/theme.css +5 -1
  146. package/row/Row.d.ts +25 -3
  147. package/scrollpanel/ScrollPanel.d.ts +27 -5
  148. package/scrolltop/ScrollTop.d.ts +47 -7
  149. package/selectbutton/SelectButton.d.ts +101 -17
  150. package/sidebar/Sidebar.d.ts +81 -16
  151. package/skeleton/Skeleton.d.ts +58 -9
  152. package/slider/Slider.d.ts +90 -14
  153. package/speeddial/SpeedDial.d.ts +166 -29
  154. package/splitbutton/SplitButton.d.ts +71 -11
  155. package/splitter/Splitter.d.ts +74 -7
  156. package/splitterpanel/SplitterPanel.d.ts +34 -7
  157. package/steps/Steps.d.ts +51 -11
  158. package/tabmenu/TabMenu.d.ts +63 -10
  159. package/tabpanel/TabPanel.d.ts +34 -7
  160. package/tabview/TabView.d.ts +73 -11
  161. package/tag/Tag.d.ts +44 -8
  162. package/terminal/Terminal.d.ts +36 -5
  163. package/terminalservice/TerminalService.d.ts +1 -1
  164. package/textarea/Textarea.d.ts +38 -6
  165. package/tieredmenu/TieredMenu.d.ts +89 -15
  166. package/timeline/Timeline.d.ts +94 -15
  167. package/toast/Toast.d.ts +110 -12
  168. package/toastservice/ToastService.d.ts +17 -5
  169. package/togglebutton/ToggleButton.d.ts +64 -11
  170. package/toolbar/Toolbar.d.ts +31 -6
  171. package/tree/Tree.d.ts +189 -26
  172. package/treeselect/TreeSelect.d.ts +201 -44
  173. package/treetable/TreeTable.d.ts +459 -63
  174. package/tristatecheckbox/TriStateCheckbox.d.ts +39 -5
  175. package/ts-helpers.d.ts +28 -0
  176. package/useconfirm/UseConfirm.d.ts +5 -19
  177. package/usetoast/UseToast.d.ts +3 -5
  178. package/utils/Utils.d.ts +3 -0
  179. package/utils/utils.cjs.js +39 -2
  180. package/utils/utils.cjs.min.js +1 -1
  181. package/utils/utils.esm.js +39 -2
  182. package/utils/utils.esm.min.js +1 -1
  183. package/utils/utils.js +39 -2
  184. package/utils/utils.min.js +1 -1
  185. package/vetur-attributes.json +57 -25
  186. package/vetur-tags.json +11 -3
  187. package/virtualscroller/VirtualScroller.d.ts +294 -53
  188. package/virtualscroller/VirtualScroller.vue +296 -255
  189. package/virtualscroller/virtualscroller.cjs.js +325 -266
  190. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  191. package/virtualscroller/virtualscroller.esm.js +325 -266
  192. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  193. package/virtualscroller/virtualscroller.js +325 -266
  194. package/virtualscroller/virtualscroller.min.js +1 -1
  195. package/web-types.json +153 -28
@@ -1,42 +1,209 @@
1
1
  import { VNode } from 'vue';
2
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
3
 
3
- interface PickListProps {
4
- modelValue?: any[][];
5
- selection?: any[][];
6
- dataKey?: string;
7
- metaKeySelection?: boolean;
8
- listStyle?: any;
9
- responsive?: boolean;
10
- breakpoint?: string;
4
+ export interface PickListReorderEvent {
5
+ /**
6
+ * Browser event
7
+ */
8
+ originalEvent: Event;
9
+ /**
10
+ * Ordered list
11
+ */
12
+ value: any[];
13
+ /**
14
+ * Direction of the change; 'up', 'down', 'bottom', 'top'
15
+ */
16
+ direction: string;
17
+ /**
18
+ * Index of the list that is ordered, 0 represents the source and 1 represents the target list.
19
+ */
20
+ listIndex: number;
11
21
  }
12
22
 
13
- interface PickListItemSlotInterface {
14
- item: any;
15
- index: number;
23
+ export interface PickListSelectionChangeEvent {
24
+ /**
25
+ * Browser event
26
+ */
27
+ originalEvent: Event;
28
+ /**
29
+ * Selected item
30
+ */
31
+ value: any[];
16
32
  }
17
33
 
18
- declare class PickList {
19
- $props: PickListProps;
20
- $emit(eventName: 'update:modelValue', value: any[]): this;
21
- $emit(eventName: 'update:selection', value: any[]): this;
22
- $emit(eventName: 'reorder', e: { originalEvent: Event, value: any[]; direction: string, listIndex: number}): this;
23
- $emit(eventName: 'selection-change', e: { originalEvent: Event, value: any[]}): this;
24
- $emit(eventName: 'move-to-target', e: { originalEvent: Event, items: [] }): this;
25
- $emit(eventName: 'move-all-to-target', e: { originalEvent: Event, items: [] }): this;
26
- $emit(eventName: 'move-to-source', e: { originalEvent: Event, items: [] }): this;
27
- $emit(eventName: 'move-all-tou-source', e: { originalEvent: Event, items: [] }): this;
28
- $slots: {
29
- header: VNode[];
30
- item: PickListItemSlotInterface;
31
- sourceheader: VNode[];
32
- targetheader: VNode[];
33
- sourcecontrolsstart: VNode[];
34
- sourcecontrolsend: VNode[];
35
- movecontrolsstart: VNode[];
36
- movecontrolsend: VNode[];
37
- targetcontrolsstart: VNode[];
38
- targetcontrolsend: VNode[];
34
+ export interface PickListMoveToTargetEvent {
35
+ /**
36
+ * Browser event
37
+ */
38
+ originalEvent: Event;
39
+ /**
40
+ * Moved items
41
+ */
42
+ items: any[];
43
+ }
44
+
45
+ /**
46
+ * @extends PickListMoveToTargetEvent
47
+ */
48
+ export interface PickListMoveAllToTargetEvent extends PickListMoveToTargetEvent { }
49
+
50
+ /**
51
+ * @extends PickListMoveToTargetEvent
52
+ */
53
+ export interface PickListMoveToSourceEvent extends PickListMoveToTargetEvent { }
54
+
55
+ /**
56
+ * @extends PickListMoveToTargetEvent
57
+ */
58
+ export interface PickListMoveAllToSourceEvent extends PickListMoveToTargetEvent { }
59
+
60
+ export interface PickListProps {
61
+ /**
62
+ * Value of the component as a multidimensional array.
63
+ */
64
+ modelValue?: any[][] | undefined;
65
+ /**
66
+ * Selected items in the list as a multidimensional array.
67
+ */
68
+ selection?: any[][] | undefined;
69
+ /**
70
+ * Name of the field that uniquely identifies the a record in the data.
71
+ */
72
+ dataKey?: string | undefined;
73
+ /**
74
+ * Defines whether metaKey is requred or not for the selection.
75
+ * When true metaKey needs to be pressed to select or unselect an item and
76
+ * when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically.
77
+ * Default value is true.
78
+ */
79
+ metaKeySelection?: boolean | undefined;
80
+ /**
81
+ * Inline style of the the list element.
82
+ */
83
+ listStyle?: any | undefined;
84
+ /**
85
+ * Whether the list optimizes layout based on screen size.
86
+ * Default value is true.
87
+ */
88
+ responsive?: boolean | undefined;
89
+ /**
90
+ * The breakpoint to define the maximum width boundary when responsiveness is enabled.
91
+ * Default value is '960px'.
92
+ */
93
+ breakpoint?: string | undefined;
94
+ }
95
+
96
+ export interface PickListSlots {
97
+ /**
98
+ * Custom header template.
99
+ */
100
+ header: () => VNode[];
101
+ /**
102
+ * Custom item template.
103
+ * @param {Object} scope - item slot's params.
104
+ */
105
+ item: (scope: {
106
+ /**
107
+ * Item of the component
108
+ */
109
+ item: any;
110
+ /**
111
+ * Index of the item
112
+ */
113
+ index: number;
114
+ }) => VNode[];
115
+ /**
116
+ * Custom source header template.
117
+ */
118
+ sourceheader: () => VNode[];
119
+ /**
120
+ * Custom target header template.
121
+ */
122
+ targetheader: () => VNode[];
123
+ /**
124
+ * Custom source controls start template.
125
+ */
126
+ sourcecontrolsstart: () => VNode[];
127
+ /**
128
+ * Custom source controls end template.
129
+ */
130
+ sourcecontrolsend: () => VNode[];
131
+ /**
132
+ * Custom move controls start template.
133
+ */
134
+ movecontrolsstart: () => VNode[];
135
+ /**
136
+ * Custom move controls end template.
137
+ */
138
+ movecontrolsend: () => VNode[];
139
+ /**
140
+ * Custom target controls start template.
141
+ */
142
+ targetcontrolsstart: () => VNode[];
143
+ /**
144
+ * Custom target controls end template.
145
+ */
146
+ targetcontrolsend: () => VNode[];
147
+ }
148
+
149
+ export declare type PickListEmits = {
150
+ /**
151
+ * Emitted when the value changes.
152
+ * @param {*} value - New value.
153
+ */
154
+ 'update:modelValue': (value: any[][]) => void;
155
+ /**
156
+ * Emitted when the selection changes.
157
+ * @param {*} value - New value.
158
+ */
159
+ 'update:selection': (value: any[][]) => void;
160
+ /**
161
+ * Callback to invoke when the list is reordered.
162
+ * @param {PickListReorderEvent} event - Custom reorder event.
163
+ */
164
+ 'reorder': (event: PickListReorderEvent) => void;
165
+ /**
166
+ * Callback to invoke when one or more items are moved to the other list.
167
+ * @param {PickListSelectionChangeEvent} event - Custom selection change event.
168
+ */
169
+ 'selection-change': (event: PickListSelectionChangeEvent) => void;
170
+ /**
171
+ * Callback to invoke when one or more items are moved to the target list.
172
+ * @param {PickListMoveToTargetEvent} event - Custom move to target event.
173
+ */
174
+ 'move-to-target': (event: PickListMoveToTargetEvent) => void;
175
+ /**
176
+ * Callback to invoke when all items are moved to the target list.
177
+ * @param {PickListMoveAllToTargetEvent} event - Custom move all to target event.
178
+ */
179
+ 'move-all-to-target': (event: PickListMoveAllToTargetEvent) => void;
180
+ /**
181
+ * Callback to invoke when one or more items are moved to the source list.
182
+ * @param {PickListMoveToSourceEvent} event - Custom move to source event.
183
+ */
184
+ 'move-to-source': (event: PickListMoveToSourceEvent) => void;
185
+ /**
186
+ * Callback to invoke when all items are moved to the source list.
187
+ * @param {PickListMoveAllToSourceEvent} event - Custom move all to source event.
188
+ */
189
+ 'move-all-to-source': (event: PickListMoveAllToSourceEvent) => void;
190
+ }
191
+
192
+ declare class PickList extends ClassComponent<PickListProps, PickListSlots, PickListEmits> { }
193
+
194
+ declare module '@vue/runtime-core' {
195
+ interface GlobalComponents {
196
+ PickList: GlobalComponentConstructor<PickList>
39
197
  }
40
198
  }
41
199
 
200
+ /**
201
+ *
202
+ * PickList is used to reorder items between different lists.
203
+ *
204
+ * Demos:
205
+ *
206
+ * - [PickList](https://www.primefaces.org/primevue/showcase/#/picklist)
207
+ *
208
+ */
42
209
  export default PickList;
@@ -1,16 +1,51 @@
1
1
  import { VNode } from 'vue';
2
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
3
 
3
- interface ProgressBarProps {
4
- value?: number;
5
- mode?: string;
6
- showValue?: boolean;
4
+ type ProgressBarModeType = 'determinate' | 'indeterminate' | undefined;
5
+
6
+ export interface ProgressBarProps {
7
+ /**
8
+ * Current value of the progress.
9
+ */
10
+ value?: number | undefined;
11
+ /**
12
+ * Defines the mode of the progress
13
+ * @see ProgressBarModeType
14
+ * Default value is 'determinate'.
15
+ */
16
+ mode?: ProgressBarModeType;
17
+ /**
18
+ * Whether to display the progress bar value.
19
+ * Default value is true.
20
+ */
21
+ showValue?: boolean | undefined;
22
+ }
23
+
24
+ export interface ProgressBarSlots {
25
+ /**
26
+ * Custom content slot.
27
+ */
28
+ default: () => VNode[];
7
29
  }
8
30
 
9
- declare class ProgressBar {
10
- $props: ProgressBarProps;
11
- $slots: {
12
- '': VNode[];
31
+ export declare type ProgressBarEmits = {
32
+ }
33
+
34
+ declare class ProgressBar extends ClassComponent<ProgressBarProps, ProgressBarSlots, ProgressBarEmits> { }
35
+
36
+ declare module '@vue/runtime-core' {
37
+ interface GlobalComponents {
38
+ ProgressBar: GlobalComponentConstructor<ProgressBar>
13
39
  }
14
40
  }
15
41
 
42
+ /**
43
+ *
44
+ * ProgressBar is a process status indicator.
45
+ *
46
+ * Demos:
47
+ *
48
+ * - [ProgressBar](https://www.primefaces.org/primevue/showcase/#/progressbar)
49
+ *
50
+ */
16
51
  export default ProgressBar;
@@ -1,11 +1,44 @@
1
- interface ProgressSpinnerProps {
2
- strokeWidth?: string;
3
- fill?: string;
4
- animationDuration?: string;
1
+ import { VNode } from 'vue';
2
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
+
4
+ export interface ProgressSpinnerProps {
5
+ /**
6
+ * Width of the circle stroke.
7
+ * Default value is 2.
8
+ */
9
+ strokeWidth?: string | undefined;
10
+ /**
11
+ * Color for the background of the circle.
12
+ */
13
+ fill?: string | undefined;
14
+ /**
15
+ * Duration of the rotate animation.
16
+ * Default value is 2s.
17
+ */
18
+ animationDuration?: string | undefined;
19
+ }
20
+
21
+ export interface ProgressSpinnerSlots {
5
22
  }
6
23
 
7
- declare class ProgressSpinner {
8
- $props: ProgressSpinnerProps;
24
+ export declare type ProgressSpinnerEmits = {
25
+ }
26
+
27
+ declare class ProgressSpinner extends ClassComponent<ProgressSpinnerProps, ProgressSpinnerSlots, ProgressSpinnerEmits> { }
28
+
29
+ declare module '@vue/runtime-core' {
30
+ interface GlobalComponents {
31
+ ProgressSpinner: GlobalComponentConstructor<ProgressSpinner>
32
+ }
9
33
  }
10
34
 
35
+ /**
36
+ *
37
+ * ProgressSpinner is a process status indicator.
38
+ *
39
+ * Demos:
40
+ *
41
+ * - [ProgressSpinner](https://www.primefaces.org/primevue/showcase/#/progressspinner)
42
+ *
43
+ */
11
44
  export default ProgressSpinner;
@@ -1,15 +1,60 @@
1
- interface RadioButtonProps {
1
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
+
3
+ export interface RadioButtonProps {
4
+ /**
5
+ * Value of the checkbox.
6
+ */
2
7
  value?: any;
8
+ /**
9
+ * Value binding of the checkbox.
10
+ */
3
11
  modelValue?: any;
12
+ /**
13
+ * Style class of the component input field.
14
+ */
4
15
  class?: string;
16
+ /**
17
+ * Inline style of the component.
18
+ */
5
19
  style?: any;
6
20
  }
7
21
 
8
- declare class RadioButton {
9
- $props: RadioButtonProps;
10
- $emit(eventName: 'update:modelValue', value: any): this;
11
- $emit(eventName: 'click', event: Event): this;
12
- $emit(eventName: 'change', event: Event): this;
22
+ export interface RadioButtonSlots {
23
+ }
24
+
25
+ export declare type RadioButtonEmits = {
26
+ /**
27
+ * Emitted when the value changes.
28
+ * @param {*} value - New value.
29
+ */
30
+ 'update:modelValue': (value: any) => void;
31
+ /**
32
+ * Callback to invoke on radio button click.
33
+ * @param {Event} event - Browser event.
34
+ */
35
+ 'click': (event: Event) => void;
36
+ /**
37
+ * Callback to invoke on radio button value change.
38
+ * @param {Event} event - Browser event.
39
+ */
40
+ 'change': (event: Event) => void;
41
+ }
42
+
43
+ declare class RadioButton extends ClassComponent<RadioButtonProps, RadioButtonSlots, RadioButtonEmits> { }
44
+
45
+ declare module '@vue/runtime-core' {
46
+ interface GlobalComponents {
47
+ RadioButton: GlobalComponentConstructor<RadioButton>
48
+ }
13
49
  }
14
50
 
51
+ /**
52
+ *
53
+ * RadioButton is an extension to standard radio button element with theming.
54
+ *
55
+ * Demos:
56
+ *
57
+ * - [RadioButton](https://www.primefaces.org/primevue/showcase/#/radiobutton)
58
+ *
59
+ */
15
60
  export default RadioButton;
@@ -1,15 +1,72 @@
1
- interface RatingProps {
2
- modelValue?: number;
3
- disabled?: boolean;
4
- readonly?: boolean;
5
- stars?: number;
6
- cancel?: boolean;
1
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
+
3
+ export interface RatingChangeEvent {
4
+ /**
5
+ * Browser event
6
+ */
7
+ originalEvent: Event;
8
+ /**
9
+ * Selected option value
10
+ */
11
+ value: number;
12
+ }
13
+
14
+ export interface RatingProps {
15
+ /**
16
+ * Value of the rating.
17
+ */
18
+ modelValue?: number | undefined;
19
+ /**
20
+ * When present, it specifies that the element should be disabled.
21
+ */
22
+ disabled?: boolean | undefined;
23
+ /**
24
+ * When present, it specifies that component is read-only.
25
+ */
26
+ readonly?: boolean | undefined;
27
+ /**
28
+ * Number of stars.
29
+ * Default value is 5.
30
+ */
31
+ stars?: number | undefined;
32
+ /**
33
+ * When specified a cancel icon is displayed to allow clearing the value.
34
+ * Default value is true.
35
+ */
36
+ cancel?: boolean | undefined;
37
+ }
38
+
39
+ export interface RatingSlots {
40
+ }
41
+
42
+ export declare type RatingEmits = {
43
+ /**
44
+ * Emitted when the value changes.
45
+ * @param {number} value - New value.
46
+ */
47
+ 'update:modelValue': (value: number) => void;
48
+ /**
49
+ * Callback to invoke when a suggestion is selected.
50
+ * @param {RatingChangeEvent} event - Custom change event.
51
+ */
52
+ 'change': (event: RatingChangeEvent) => void;
7
53
  }
8
54
 
9
- declare class Rating {
10
- $props: RatingProps;
11
- $emit(eventName: 'update:modelValue', value: number): this;
12
- $emit(eventName: 'change', e: { originalEvent: Event, value: any }): this;
55
+ declare class Rating extends ClassComponent<RatingProps, RatingSlots, RatingEmits> { }
56
+
57
+ declare module '@vue/runtime-core' {
58
+ interface GlobalComponents {
59
+ Rating: GlobalComponentConstructor<Rating>
60
+ }
13
61
  }
14
62
 
63
+ /**
64
+ *
65
+ * Rating component is a star based selection input.
66
+ *
67
+ * Demos:
68
+ *
69
+ * - [Rating](https://www.primefaces.org/primevue/showcase/#/rating)
70
+ *
71
+ */
15
72
  export default Rating;
@@ -690,7 +690,7 @@
690
690
 
691
691
  .p-colorpicker-panel {
692
692
  background: #1e1e1e;
693
- border-color: #383838;
693
+ border: 1px solid #383838;
694
694
  }
695
695
  .p-colorpicker-panel .p-colorpicker-color-handle,
696
696
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2358,6 +2358,10 @@
2358
2358
  .p-datatable .p-datatable-scrollable-footer {
2359
2359
  background: #1e1e1e;
2360
2360
  }
2361
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2362
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2363
+ background-color: #1e1e1e;
2364
+ }
2361
2365
  .p-datatable .p-datatable-loading-icon {
2362
2366
  font-size: 2rem;
2363
2367
  }
@@ -690,7 +690,7 @@
690
690
 
691
691
  .p-colorpicker-panel {
692
692
  background: #1e1e1e;
693
- border-color: #383838;
693
+ border: 1px solid #383838;
694
694
  }
695
695
  .p-colorpicker-panel .p-colorpicker-color-handle,
696
696
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2358,6 +2358,10 @@
2358
2358
  .p-datatable .p-datatable-scrollable-footer {
2359
2359
  background: #1e1e1e;
2360
2360
  }
2361
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2362
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2363
+ background-color: #1e1e1e;
2364
+ }
2361
2365
  .p-datatable .p-datatable-loading-icon {
2362
2366
  font-size: 2rem;
2363
2367
  }
@@ -690,7 +690,7 @@
690
690
 
691
691
  .p-colorpicker-panel {
692
692
  background: #1e1e1e;
693
- border-color: #383838;
693
+ border: 1px solid #383838;
694
694
  }
695
695
  .p-colorpicker-panel .p-colorpicker-color-handle,
696
696
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2358,6 +2358,10 @@
2358
2358
  .p-datatable .p-datatable-scrollable-footer {
2359
2359
  background: #1e1e1e;
2360
2360
  }
2361
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2362
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2363
+ background-color: #1e1e1e;
2364
+ }
2361
2365
  .p-datatable .p-datatable-loading-icon {
2362
2366
  font-size: 2rem;
2363
2367
  }
@@ -690,7 +690,7 @@
690
690
 
691
691
  .p-colorpicker-panel {
692
692
  background: #1e1e1e;
693
- border-color: #383838;
693
+ border: 1px solid #383838;
694
694
  }
695
695
  .p-colorpicker-panel .p-colorpicker-color-handle,
696
696
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2358,6 +2358,10 @@
2358
2358
  .p-datatable .p-datatable-scrollable-footer {
2359
2359
  background: #1e1e1e;
2360
2360
  }
2361
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2362
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2363
+ background-color: #1e1e1e;
2364
+ }
2361
2365
  .p-datatable .p-datatable-loading-icon {
2362
2366
  font-size: 2rem;
2363
2367
  }
@@ -694,7 +694,7 @@
694
694
 
695
695
  .p-colorpicker-panel {
696
696
  background: #2a323d;
697
- border-color: #3f4b5b;
697
+ border: 1px solid #3f4b5b;
698
698
  }
699
699
  .p-colorpicker-panel .p-colorpicker-color-handle,
700
700
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2370,6 +2370,10 @@
2370
2370
  .p-datatable .p-datatable-scrollable-footer {
2371
2371
  background: #2a323d;
2372
2372
  }
2373
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2374
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2375
+ background-color: #2a323d;
2376
+ }
2373
2377
  .p-datatable .p-datatable-loading-icon {
2374
2378
  font-size: 2rem;
2375
2379
  }
@@ -694,7 +694,7 @@
694
694
 
695
695
  .p-colorpicker-panel {
696
696
  background: #2a323d;
697
- border-color: #3f4b5b;
697
+ border: 1px solid #3f4b5b;
698
698
  }
699
699
  .p-colorpicker-panel .p-colorpicker-color-handle,
700
700
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2370,6 +2370,10 @@
2370
2370
  .p-datatable .p-datatable-scrollable-footer {
2371
2371
  background: #2a323d;
2372
2372
  }
2373
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2374
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2375
+ background-color: #2a323d;
2376
+ }
2373
2377
  .p-datatable .p-datatable-loading-icon {
2374
2378
  font-size: 2rem;
2375
2379
  }
@@ -694,7 +694,7 @@
694
694
 
695
695
  .p-colorpicker-panel {
696
696
  background: #212529;
697
- border-color: #212529;
697
+ border: 1px solid #212529;
698
698
  }
699
699
  .p-colorpicker-panel .p-colorpicker-color-handle,
700
700
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2370,6 +2370,10 @@
2370
2370
  .p-datatable .p-datatable-scrollable-footer {
2371
2371
  background: #efefef;
2372
2372
  }
2373
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2374
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2375
+ background-color: #ffffff;
2376
+ }
2373
2377
  .p-datatable .p-datatable-loading-icon {
2374
2378
  font-size: 2rem;
2375
2379
  }
@@ -694,7 +694,7 @@
694
694
 
695
695
  .p-colorpicker-panel {
696
696
  background: #212529;
697
- border-color: #212529;
697
+ border: 1px solid #212529;
698
698
  }
699
699
  .p-colorpicker-panel .p-colorpicker-color-handle,
700
700
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2370,6 +2370,10 @@
2370
2370
  .p-datatable .p-datatable-scrollable-footer {
2371
2371
  background: #efefef;
2372
2372
  }
2373
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2374
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2375
+ background-color: #ffffff;
2376
+ }
2373
2377
  .p-datatable .p-datatable-loading-icon {
2374
2378
  font-size: 2rem;
2375
2379
  }
@@ -690,7 +690,7 @@
690
690
 
691
691
  .p-colorpicker-panel {
692
692
  background: #323232;
693
- border-color: #191919;
693
+ border: 1px solid #191919;
694
694
  }
695
695
  .p-colorpicker-panel .p-colorpicker-color-handle,
696
696
  .p-colorpicker-panel .p-colorpicker-hue-handle {
@@ -2358,6 +2358,10 @@
2358
2358
  .p-datatable .p-datatable-scrollable-footer {
2359
2359
  background: #faf9f8;
2360
2360
  }
2361
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,
2362
+ .p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {
2363
+ background-color: #ffffff;
2364
+ }
2361
2365
  .p-datatable .p-datatable-loading-icon {
2362
2366
  font-size: 2rem;
2363
2367
  }