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.
- package/accordion/Accordion.d.ts +74 -11
- package/accordiontab/AccordionTab.d.ts +37 -8
- package/api/Api.d.ts +292 -285
- package/autocomplete/AutoComplete.d.ts +279 -62
- package/avatar/Avatar.d.ts +57 -8
- package/avatargroup/AvatarGroup.d.ts +29 -3
- package/badge/Badge.d.ts +46 -5
- package/blockui/BlockUI.d.ts +52 -11
- package/breadcrumb/Breadcrumb.d.ts +49 -9
- package/button/Button.d.ts +68 -11
- package/calendar/Calendar.d.ts +322 -62
- package/calendar/Calendar.vue +48 -20
- package/calendar/calendar.cjs.js +120 -93
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +120 -92
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +122 -94
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +43 -9
- package/carousel/Carousel.d.ts +121 -24
- package/cascadeselect/CascadeSelect.d.ts +164 -31
- package/chart/Chart.d.ts +104 -12
- package/chart/Chart.vue +9 -2
- package/chart/chart.cjs.js +9 -2
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +9 -2
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +9 -2
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.d.ts +65 -7
- package/chip/Chip.d.ts +50 -4
- package/chips/Chips.d.ts +88 -15
- package/colorpicker/ColorPicker.d.ts +105 -16
- package/column/Column.d.ts +448 -78
- package/columngroup/ColumnGroup.d.ts +30 -4
- package/confirmationoptions/ConfirmationOptions.d.ts +50 -0
- package/confirmationoptions/package.json +3 -0
- package/confirmationservice/ConfirmationService.d.ts +2 -1
- package/confirmdialog/ConfirmDialog.d.ts +57 -5
- package/confirmpopup/ConfirmPopup.d.ts +38 -7
- package/contextmenu/ContextMenu.d.ts +88 -16
- package/core/core.js +364 -268
- package/core/core.min.js +2 -2
- package/datatable/BodyCell.vue +26 -1
- package/datatable/DataTable.d.ts +1056 -131
- package/datatable/DataTable.vue +102 -81
- package/datatable/HeaderCheckbox.vue +4 -1
- package/datatable/TableBody.vue +53 -14
- package/datatable/datatable.cjs.js +414 -307
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +414 -308
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +415 -309
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +198 -32
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +34 -5
- package/deferredcontent/DeferredContent.d.ts +31 -6
- package/dialog/Dialog.d.ts +188 -35
- package/divider/Divider.d.ts +53 -8
- package/dock/Dock.d.ts +92 -15
- package/dropdown/Dropdown.d.ts +335 -76
- package/editor/Editor.d.ts +78 -11
- package/fieldset/Fieldset.d.ts +63 -11
- package/fileupload/FileUpload.d.ts +255 -37
- package/fullcalendar/FullCalendar.d.ts +29 -3
- package/galleria/Galleria.d.ts +196 -46
- package/image/Image.d.ts +51 -6
- package/inlinemessage/InlineMessage.d.ts +34 -6
- package/inplace/Inplace.d.ts +57 -12
- package/inputmask/InputMask.d.ts +75 -15
- package/inputnumber/InputNumber.d.ts +180 -30
- package/inputswitch/InputSwitch.d.ts +61 -9
- package/inputtext/InputText.d.ts +34 -5
- package/knob/Knob.d.ts +92 -18
- package/listbox/Listbox.d.ts +240 -55
- package/megamenu/MegaMenu.d.ts +60 -12
- package/menu/Menu.d.ts +84 -15
- package/menubar/Menubar.d.ts +52 -11
- package/menuitem/MenuItem.d.ts +80 -0
- package/menuitem/package.json +3 -0
- package/message/Message.d.ts +57 -11
- package/multiselect/MultiSelect.d.ts +363 -83
- package/orderlist/OrderList.d.ts +122 -19
- package/organizationchart/OrganizationChart.d.ts +137 -15
- package/overlaypanel/OverlayPanel.d.ts +107 -12
- package/package.json +1 -1
- package/paginator/Paginator.d.ts +129 -27
- package/panel/Panel.d.ts +64 -9
- package/panelmenu/PanelMenu.d.ts +59 -11
- package/panelmenu/PanelMenu.vue +2 -2
- package/panelmenu/panelmenu.cjs.js +4 -4
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +4 -4
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +4 -4
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +115 -24
- package/picklist/PickList.d.ts +199 -32
- package/progressbar/ProgressBar.d.ts +43 -8
- package/progressspinner/ProgressSpinner.d.ts +39 -6
- package/radiobutton/RadioButton.d.ts +51 -6
- package/rating/Rating.d.ts +67 -10
- package/resources/themes/arya-blue/theme.css +5 -1
- package/resources/themes/arya-green/theme.css +5 -1
- package/resources/themes/arya-orange/theme.css +5 -1
- package/resources/themes/arya-purple/theme.css +5 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +5 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +5 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +5 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +5 -1
- package/resources/themes/fluent-light/theme.css +5 -1
- package/resources/themes/lara-dark-blue/theme.css +43 -39
- package/resources/themes/lara-dark-indigo/theme.css +43 -39
- package/resources/themes/lara-dark-purple/theme.css +43 -39
- package/resources/themes/lara-dark-teal/theme.css +43 -39
- package/resources/themes/lara-light-blue/theme.css +5 -1
- package/resources/themes/lara-light-indigo/theme.css +5 -1
- package/resources/themes/lara-light-purple/theme.css +5 -1
- package/resources/themes/lara-light-teal/theme.css +5 -1
- package/resources/themes/luna-amber/theme.css +5 -1
- package/resources/themes/luna-blue/theme.css +5 -1
- package/resources/themes/luna-green/theme.css +5 -1
- package/resources/themes/luna-pink/theme.css +5 -1
- package/resources/themes/md-dark-deeppurple/theme.css +5 -1
- package/resources/themes/md-dark-indigo/theme.css +5 -1
- package/resources/themes/md-light-deeppurple/theme.css +5 -1
- package/resources/themes/md-light-indigo/theme.css +5 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +5 -1
- package/resources/themes/mdc-dark-indigo/theme.css +5 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +5 -1
- package/resources/themes/mdc-light-indigo/theme.css +5 -1
- package/resources/themes/nova/theme.css +5 -1
- package/resources/themes/nova-accent/theme.css +5 -1
- package/resources/themes/nova-alt/theme.css +5 -1
- package/resources/themes/nova-vue/theme.css +5 -1
- package/resources/themes/rhea/theme.css +5 -1
- package/resources/themes/saga-blue/theme.css +5 -1
- package/resources/themes/saga-green/theme.css +5 -1
- package/resources/themes/saga-orange/theme.css +5 -1
- package/resources/themes/saga-purple/theme.css +5 -1
- package/resources/themes/tailwind-light/theme.css +5 -1
- package/resources/themes/vela-blue/theme.css +5 -1
- package/resources/themes/vela-green/theme.css +5 -1
- package/resources/themes/vela-orange/theme.css +5 -1
- package/resources/themes/vela-purple/theme.css +5 -1
- package/row/Row.d.ts +25 -3
- package/scrollpanel/ScrollPanel.d.ts +27 -5
- package/scrolltop/ScrollTop.d.ts +47 -7
- package/selectbutton/SelectButton.d.ts +101 -17
- package/sidebar/Sidebar.d.ts +81 -16
- package/skeleton/Skeleton.d.ts +58 -9
- package/slider/Slider.d.ts +90 -14
- package/speeddial/SpeedDial.d.ts +166 -29
- package/splitbutton/SplitButton.d.ts +71 -11
- package/splitter/Splitter.d.ts +74 -7
- package/splitterpanel/SplitterPanel.d.ts +34 -7
- package/steps/Steps.d.ts +51 -11
- package/tabmenu/TabMenu.d.ts +63 -10
- package/tabpanel/TabPanel.d.ts +34 -7
- package/tabview/TabView.d.ts +73 -11
- package/tag/Tag.d.ts +44 -8
- package/terminal/Terminal.d.ts +36 -5
- package/terminalservice/TerminalService.d.ts +1 -1
- package/textarea/Textarea.d.ts +38 -6
- package/tieredmenu/TieredMenu.d.ts +89 -15
- package/timeline/Timeline.d.ts +94 -15
- package/toast/Toast.d.ts +110 -12
- package/toastservice/ToastService.d.ts +17 -5
- package/togglebutton/ToggleButton.d.ts +64 -11
- package/toolbar/Toolbar.d.ts +31 -6
- package/tree/Tree.d.ts +189 -26
- package/treeselect/TreeSelect.d.ts +201 -44
- package/treetable/TreeTable.d.ts +459 -63
- package/tristatecheckbox/TriStateCheckbox.d.ts +39 -5
- package/ts-helpers.d.ts +28 -0
- package/useconfirm/UseConfirm.d.ts +5 -19
- package/usetoast/UseToast.d.ts +3 -5
- package/utils/Utils.d.ts +3 -0
- package/utils/utils.cjs.js +39 -2
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +39 -2
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +39 -2
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +57 -25
- package/vetur-tags.json +11 -3
- package/virtualscroller/VirtualScroller.d.ts +294 -53
- package/virtualscroller/VirtualScroller.vue +296 -255
- package/virtualscroller/virtualscroller.cjs.js +325 -266
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +325 -266
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +325 -266
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +153 -28
package/picklist/PickList.d.ts
CHANGED
|
@@ -1,42 +1,209 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
3
|
|
|
3
|
-
interface
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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;
|
package/rating/Rating.d.ts
CHANGED
|
@@ -1,15 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
}
|