primevue 3.23.0 → 3.24.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/LICENSE.md +1 -1
- package/README.md +12 -12
- package/accordion/Accordion.d.ts +53 -21
- package/accordiontab/AccordionTab.d.ts +33 -12
- package/autocomplete/AutoComplete.d.ts +111 -84
- package/avatar/Avatar.d.ts +38 -25
- package/avatar/Avatar.vue +1 -1
- package/avatar/avatar.cjs.js +2 -1
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +2 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +2 -1
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +30 -14
- package/badge/Badge.d.ts +34 -20
- package/badge/Badge.vue +16 -5
- package/badge/badge.cjs.js +15 -5
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +15 -5
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +16 -7
- package/badge/badge.min.js +1 -1
- package/badgedirective/BadgeDirective.d.ts +60 -1
- package/blockui/BlockUI.d.ts +36 -16
- package/breadcrumb/Breadcrumb.d.ts +37 -20
- package/button/Button.d.ts +74 -17
- package/button/Button.vue +51 -8
- package/button/button.cjs.js +51 -8
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +51 -8
- package/button/button.esm.min.js +1 -1
- package/button/button.js +51 -8
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +112 -77
- package/card/Card.d.ts +35 -15
- package/carousel/Carousel.d.ts +47 -29
- package/cascadeselect/CascadeSelect.d.ts +70 -59
- package/chart/Chart.d.ts +41 -23
- package/checkbox/Checkbox.d.ts +39 -15
- package/checkbox/Checkbox.vue +1 -1
- package/checkbox/checkbox.cjs.js +1 -1
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +1 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +1 -1
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +35 -14
- package/chips/Chips.d.ts +45 -20
- package/colorpicker/ColorPicker.d.ts +46 -28
- package/column/Column.d.ts +81 -65
- package/columngroup/ColumnGroup.d.ts +29 -13
- package/config/config.cjs.js +20 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +20 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +20 -1
- package/config/config.min.js +1 -1
- package/confirmationoptions/ConfirmationOptions.d.ts +15 -6
- package/confirmationservice/ConfirmationService.d.ts +11 -0
- package/confirmdialog/ConfirmDialog.d.ts +35 -17
- package/confirmpopup/ConfirmPopup.d.ts +32 -17
- package/contextmenu/ContextMenu.d.ts +51 -35
- package/core/core.js +339 -104
- package/core/core.min.js +6 -6
- package/datatable/DataTable.d.ts +248 -205
- package/datatable/DataTable.vue +72 -111
- package/datatable/TableBody.vue +3 -17
- package/datatable/datatable.cjs.js +63 -57
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +63 -57
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +63 -57
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +65 -47
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +33 -13
- package/deferredcontent/DeferredContent.d.ts +30 -13
- package/dialog/Dialog.d.ts +67 -46
- package/dialogservice/DialogService.d.ts +13 -2
- package/divider/Divider.d.ts +35 -30
- package/dock/Dock.d.ts +49 -36
- package/dropdown/Dropdown.d.ts +90 -82
- package/dropdown/Dropdown.vue +1 -1
- package/dropdown/dropdown.cjs.js +1 -1
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +1 -1
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +1 -1
- package/dropdown/dropdown.min.js +1 -1
- package/dynamicdialog/DynamicDialog.d.ts +30 -10
- package/dynamicdialog/DynamicDialog.vue +2 -2
- package/dynamicdialog/dynamicdialog.cjs.js +3 -3
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +2 -2
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +3 -3
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +28 -8
- package/editor/Editor.d.ts +48 -17
- package/fieldset/Fieldset.d.ts +43 -16
- package/fileupload/FileUpload.d.ts +101 -47
- package/focustrap/FocusTrap.d.ts +42 -3
- package/fullcalendar/FullCalendar.d.ts +1 -1
- package/galleria/Galleria.d.ts +64 -40
- package/image/Image.d.ts +33 -14
- package/inlinemessage/InlineMessage.d.ts +31 -17
- package/inplace/Inplace.d.ts +41 -18
- package/inputmask/InputMask.d.ts +41 -17
- package/inputnumber/InputNumber.d.ts +60 -41
- package/inputswitch/InputSwitch.d.ts +35 -15
- package/inputswitch/InputSwitch.vue +1 -0
- package/inputswitch/inputswitch.cjs.js +1 -1
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +1 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +1 -1
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +32 -12
- package/knob/Knob.d.ts +47 -21
- package/listbox/Listbox.d.ts +81 -60
- package/megamenu/MegaMenu.d.ts +42 -27
- package/megamenu/MegaMenu.vue +17 -0
- package/megamenu/megamenu.cjs.js +1 -1
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +1 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +1 -1
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +51 -30
- package/menubar/Menubar.d.ts +36 -19
- package/menuitem/MenuItem.d.ts +22 -10
- package/message/Message.d.ts +40 -21
- package/multiselect/MultiSelect.d.ts +111 -90
- package/orderlist/OrderList.d.ts +51 -23
- package/organizationchart/OrganizationChart.d.ts +43 -26
- package/overlaypanel/OverlayPanel.d.ts +46 -26
- package/package.json +2 -2
- package/paginator/Paginator.d.ts +49 -24
- package/panel/Panel.d.ts +39 -14
- package/panelmenu/PanelMenu.d.ts +49 -21
- package/password/Password.d.ts +47 -28
- package/picklist/PickList.d.ts +74 -33
- package/progressbar/ProgressBar.d.ts +34 -17
- package/progressspinner/ProgressSpinner.d.ts +32 -13
- package/radiobutton/RadioButton.d.ts +32 -14
- package/rating/Rating.d.ts +51 -25
- package/resources/themes/arya-blue/theme.css +34 -11
- package/resources/themes/arya-green/theme.css +34 -11
- package/resources/themes/arya-orange/theme.css +34 -11
- package/resources/themes/arya-purple/theme.css +34 -11
- package/resources/themes/bootstrap4-dark-blue/theme.css +34 -11
- package/resources/themes/bootstrap4-dark-purple/theme.css +34 -11
- package/resources/themes/bootstrap4-light-blue/theme.css +34 -11
- package/resources/themes/bootstrap4-light-purple/theme.css +34 -11
- package/resources/themes/fluent-light/theme.css +34 -11
- package/resources/themes/lara-dark-blue/theme.css +34 -11
- package/resources/themes/lara-dark-indigo/theme.css +34 -11
- package/resources/themes/lara-dark-purple/theme.css +34 -11
- package/resources/themes/lara-dark-teal/theme.css +34 -11
- package/resources/themes/lara-light-blue/theme.css +34 -11
- package/resources/themes/lara-light-indigo/theme.css +34 -11
- package/resources/themes/lara-light-purple/theme.css +34 -11
- package/resources/themes/lara-light-teal/theme.css +34 -11
- package/resources/themes/luna-amber/theme.css +34 -11
- package/resources/themes/luna-blue/theme.css +34 -11
- package/resources/themes/luna-green/theme.css +34 -11
- package/resources/themes/luna-pink/theme.css +34 -11
- package/resources/themes/md-dark-deeppurple/theme.css +34 -11
- package/resources/themes/md-dark-indigo/theme.css +34 -11
- package/resources/themes/md-light-deeppurple/theme.css +34 -11
- package/resources/themes/md-light-indigo/theme.css +34 -11
- package/resources/themes/mdc-dark-deeppurple/theme.css +34 -11
- package/resources/themes/mdc-dark-indigo/theme.css +34 -11
- package/resources/themes/mdc-light-deeppurple/theme.css +34 -11
- package/resources/themes/mdc-light-indigo/theme.css +34 -11
- package/resources/themes/mira/theme.css +34 -11
- package/resources/themes/nano/theme.css +34 -11
- package/resources/themes/nova/theme.css +34 -11
- package/resources/themes/nova-accent/theme.css +34 -11
- package/resources/themes/nova-alt/theme.css +34 -11
- package/resources/themes/nova-vue/theme.css +34 -11
- package/resources/themes/rhea/theme.css +34 -11
- package/resources/themes/saga-blue/theme.css +34 -11
- package/resources/themes/saga-green/theme.css +34 -11
- package/resources/themes/saga-orange/theme.css +34 -11
- package/resources/themes/saga-purple/theme.css +34 -11
- package/resources/themes/soho-dark/theme.css +34 -11
- package/resources/themes/soho-light/theme.css +34 -11
- package/resources/themes/tailwind-light/theme.css +34 -11
- package/resources/themes/vela-blue/theme.css +34 -11
- package/resources/themes/vela-green/theme.css +34 -11
- package/resources/themes/vela-orange/theme.css +34 -11
- package/resources/themes/vela-purple/theme.css +34 -11
- package/resources/themes/viva-dark/theme.css +34 -11
- package/resources/themes/viva-light/theme.css +34 -11
- package/ripple/Ripple.d.ts +24 -1
- package/row/Row.d.ts +28 -10
- package/scrollpanel/ScrollPanel.d.ts +29 -11
- package/scrolltop/ScrollTop.d.ts +35 -18
- package/selectbutton/SelectButton.d.ts +47 -27
- package/sidebar/Sidebar.d.ts +46 -27
- package/skeleton/Skeleton.d.ts +36 -22
- package/slider/Slider.d.ts +46 -23
- package/speeddial/SpeedDial.d.ts +64 -51
- package/splitbutton/SplitButton.d.ts +73 -24
- package/splitbutton/SplitButton.vue +41 -1
- package/splitbutton/splitbutton.cjs.js +43 -3
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +43 -3
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +43 -3
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +49 -30
- package/splitterpanel/SplitterPanel.d.ts +28 -10
- package/steps/Steps.d.ts +36 -15
- package/styleclass/StyleClass.d.ts +72 -1
- package/tabmenu/TabMenu.d.ts +41 -16
- package/tabmenu/TabMenu.vue +1 -1
- package/tabmenu/tabmenu.cjs.js +1 -0
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +1 -0
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +1 -0
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +29 -11
- package/tabview/TabView.d.ts +47 -19
- package/tag/Tag.d.ts +33 -15
- package/terminal/Terminal.d.ts +30 -14
- package/terminalservice/TerminalService.d.ts +24 -5
- package/textarea/Textarea.d.ts +33 -11
- package/tieredmenu/TieredMenu.d.ts +45 -31
- package/timeline/Timeline.d.ts +41 -32
- package/toast/Toast.d.ts +63 -35
- package/toast/Toast.vue +4 -2
- package/toast/ToastMessage.vue +4 -4
- package/toast/toast.cjs.js +8 -6
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +8 -6
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -6
- package/toast/toast.min.js +1 -1
- package/toastservice/ToastService.d.ts +16 -3
- package/togglebutton/ToggleButton.d.ts +42 -22
- package/toolbar/Toolbar.d.ts +34 -14
- package/tooltip/Tooltip.d.ts +99 -1
- package/tree/Tree.d.ts +55 -36
- package/treeselect/TreeSelect.d.ts +63 -55
- package/treetable/TreeTable.d.ts +121 -107
- package/tristatecheckbox/TriStateCheckbox.d.ts +35 -12
- package/ts-helpers.d.ts +2 -2
- package/utils/utils.cjs.js +18 -15
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +18 -15
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +18 -15
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +62 -2
- package/vetur-tags.json +17 -2
- package/virtualscroller/VirtualScroller.d.ts +99 -43
- package/virtualscroller/VirtualScroller.vue +248 -72
- package/virtualscroller/virtualscroller.cjs.js +234 -72
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +234 -72
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +235 -74
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1922 -1744
package/orderlist/OrderList.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* OrderList is used to managed the order of a collection.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://primevue.org/orderlist)
|
|
6
|
+
*
|
|
7
|
+
* @module orderlist
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Custom reorder event
|
|
15
|
+
* @see {@link OrderListEmits.reorder}
|
|
16
|
+
*/
|
|
4
17
|
export interface OrderListReorderEvent {
|
|
5
18
|
/**
|
|
6
19
|
* Browser event
|
|
@@ -16,6 +29,10 @@ export interface OrderListReorderEvent {
|
|
|
16
29
|
direction: string;
|
|
17
30
|
}
|
|
18
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Custom selection change event
|
|
34
|
+
* @see {@link OrderListEmits['selection-change']}
|
|
35
|
+
*/
|
|
19
36
|
export interface OrderListSelectionChangeEvent {
|
|
20
37
|
/**
|
|
21
38
|
* Browser event
|
|
@@ -27,6 +44,9 @@ export interface OrderListSelectionChangeEvent {
|
|
|
27
44
|
value: any[];
|
|
28
45
|
}
|
|
29
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Defines valid properties in OrderList component.
|
|
49
|
+
*/
|
|
30
50
|
export interface OrderListProps {
|
|
31
51
|
/**
|
|
32
52
|
* Value of the component.
|
|
@@ -44,7 +64,7 @@ export interface OrderListProps {
|
|
|
44
64
|
* Defines whether metaKey is requred or not for the selection.
|
|
45
65
|
* When true metaKey needs to be pressed to select or unselect an item and
|
|
46
66
|
* when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically.
|
|
47
|
-
*
|
|
67
|
+
* @defaultValue true
|
|
48
68
|
*/
|
|
49
69
|
metaKeySelection?: boolean | undefined;
|
|
50
70
|
/**
|
|
@@ -53,12 +73,12 @@ export interface OrderListProps {
|
|
|
53
73
|
listStyle?: any;
|
|
54
74
|
/**
|
|
55
75
|
* Whether the list optimizes layout based on screen size.
|
|
56
|
-
*
|
|
76
|
+
* @defaultValue true
|
|
57
77
|
*/
|
|
58
78
|
responsive?: boolean | undefined;
|
|
59
79
|
/**
|
|
60
80
|
* The breakpoint to define the maximum width boundary when responsiveness is enabled.
|
|
61
|
-
*
|
|
81
|
+
* @defaultValue 960px
|
|
62
82
|
*/
|
|
63
83
|
breakpoint?: string | undefined;
|
|
64
84
|
/**
|
|
@@ -99,16 +119,19 @@ export interface OrderListProps {
|
|
|
99
119
|
'aria-labelledby'?: string | undefined;
|
|
100
120
|
}
|
|
101
121
|
|
|
122
|
+
/**
|
|
123
|
+
* Defines valid slots in OrderList component.
|
|
124
|
+
*/
|
|
102
125
|
export interface OrderListSlots {
|
|
103
126
|
/**
|
|
104
127
|
* Custom header template.
|
|
105
128
|
*/
|
|
106
|
-
header
|
|
129
|
+
header(): VNode[];
|
|
107
130
|
/**
|
|
108
131
|
* Custom item template.
|
|
109
132
|
* @param {Object} scope - item slot's params.
|
|
110
133
|
*/
|
|
111
|
-
item
|
|
134
|
+
item(scope: {
|
|
112
135
|
/**
|
|
113
136
|
* Item of the component
|
|
114
137
|
*/
|
|
@@ -117,40 +140,54 @@ export interface OrderListSlots {
|
|
|
117
140
|
* Index of the item.
|
|
118
141
|
*/
|
|
119
142
|
index: number;
|
|
120
|
-
})
|
|
143
|
+
}): VNode[];
|
|
121
144
|
/**
|
|
122
145
|
* Custom controls start template.
|
|
123
146
|
*/
|
|
124
|
-
controlsstart
|
|
147
|
+
controlsstart(): VNode[];
|
|
125
148
|
/**
|
|
126
149
|
* Custom controls end template.
|
|
127
150
|
*/
|
|
128
|
-
controlsend
|
|
151
|
+
controlsend(): VNode[];
|
|
129
152
|
}
|
|
130
153
|
|
|
131
|
-
|
|
154
|
+
/**
|
|
155
|
+
* Defines valid slots in OrderList component.
|
|
156
|
+
*/
|
|
157
|
+
export interface OrderListEmits {
|
|
132
158
|
/**
|
|
133
159
|
* Emitted when the value changes.
|
|
134
160
|
* @param {*} value - New value.
|
|
135
161
|
*/
|
|
136
|
-
'update:modelValue'
|
|
162
|
+
'update:modelValue'(value: any[]): void;
|
|
137
163
|
/**
|
|
138
164
|
* Emitted when the selection changes.
|
|
139
165
|
* @param {*} value - New value.
|
|
140
166
|
*/
|
|
141
|
-
'update:selection'
|
|
167
|
+
'update:selection'(value: any[]): void;
|
|
142
168
|
/**
|
|
143
169
|
* Callback to invoke when the list is reordered.
|
|
144
170
|
* @param {OrderListReorderEvent} event - Custom reorder event.
|
|
145
171
|
*/
|
|
146
|
-
reorder
|
|
172
|
+
reorder(event: OrderListReorderEvent): void;
|
|
147
173
|
/**
|
|
148
174
|
* Callback to invoke when selection changes.
|
|
149
175
|
* @param {OrderListSelectionChangeEvent} event - Custom selection change event.
|
|
150
176
|
*/
|
|
151
|
-
'selection-change'
|
|
152
|
-
}
|
|
177
|
+
'selection-change'(event: OrderListSelectionChangeEvent): void;
|
|
178
|
+
}
|
|
153
179
|
|
|
180
|
+
/**
|
|
181
|
+
* **PrimeVue - OrderList**
|
|
182
|
+
*
|
|
183
|
+
* _OrderList is used to sort a collection._
|
|
184
|
+
*
|
|
185
|
+
* [Live Demo](https://www.primevue.org/orderlist/)
|
|
186
|
+
* --- ---
|
|
187
|
+
* 
|
|
188
|
+
*
|
|
189
|
+
* @group Component
|
|
190
|
+
*/
|
|
154
191
|
declare class OrderList extends ClassComponent<OrderListProps, OrderListSlots, OrderListEmits> {}
|
|
155
192
|
|
|
156
193
|
declare module '@vue/runtime-core' {
|
|
@@ -159,13 +196,4 @@ declare module '@vue/runtime-core' {
|
|
|
159
196
|
}
|
|
160
197
|
}
|
|
161
198
|
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* OrderList is used to managed the order of a collection.
|
|
165
|
-
*
|
|
166
|
-
* Demos:
|
|
167
|
-
*
|
|
168
|
-
* - [OrderList](https://www.primefaces.org/primevue/orderlist)
|
|
169
|
-
*
|
|
170
|
-
*/
|
|
171
199
|
export default OrderList;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* OrganizationChart visualizes hierarchical organization data.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://primevue.org/organizationchart)
|
|
6
|
+
*
|
|
7
|
+
* @module organizationchart
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Defines valid properties in OrganizationChartNode.
|
|
15
|
+
*/
|
|
6
16
|
export interface OrganizationChartNode {
|
|
7
17
|
/**
|
|
8
18
|
* Unique identifier of the node. (required)
|
|
@@ -54,6 +64,9 @@ export interface OrganizationChartCollapsedKeys {
|
|
|
54
64
|
[key: string]: any;
|
|
55
65
|
}
|
|
56
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Defines valid properties in OrganizationChart component.
|
|
69
|
+
*/
|
|
57
70
|
export interface OrganizationChartProps {
|
|
58
71
|
/**
|
|
59
72
|
* Value of the component.
|
|
@@ -65,9 +78,8 @@ export interface OrganizationChartProps {
|
|
|
65
78
|
selectionKeys?: OrganizationChartSelectionKeys;
|
|
66
79
|
/**
|
|
67
80
|
* Type of the selection.
|
|
68
|
-
* @see OrganizationChartSelectionModeType
|
|
69
81
|
*/
|
|
70
|
-
selectionMode?:
|
|
82
|
+
selectionMode?: 'single' | 'multiple' | undefined;
|
|
71
83
|
/**
|
|
72
84
|
* A map instance of key-value pairs to represented the collapsed nodes.
|
|
73
85
|
*/
|
|
@@ -78,50 +90,68 @@ export interface OrganizationChartProps {
|
|
|
78
90
|
collapsible?: boolean;
|
|
79
91
|
}
|
|
80
92
|
|
|
93
|
+
/**
|
|
94
|
+
* Defines valid slots in OrganizationChart component.
|
|
95
|
+
*/
|
|
81
96
|
export interface OrganizationChartSlots {
|
|
82
97
|
/**
|
|
83
98
|
* Custom content template.
|
|
84
99
|
*/
|
|
85
|
-
default
|
|
100
|
+
default(node: any): VNode[];
|
|
86
101
|
/**
|
|
87
102
|
* Dynamic content template.
|
|
103
|
+
* @todo
|
|
88
104
|
*/
|
|
89
105
|
[key: string]: (node: any) => VNode[];
|
|
90
106
|
}
|
|
91
107
|
|
|
92
|
-
|
|
108
|
+
/**
|
|
109
|
+
* Defines valid emits in OrganizationChart component.
|
|
110
|
+
*/
|
|
111
|
+
export interface OrganizationChartEmits {
|
|
93
112
|
/**
|
|
94
113
|
* Emitted when the value changes.
|
|
95
114
|
* @param {*} value - New value.
|
|
96
115
|
*/
|
|
97
|
-
'update:selectionKeys'
|
|
116
|
+
'update:selectionKeys'(value: any): void;
|
|
98
117
|
/**
|
|
99
118
|
* Emitted when the value changes.
|
|
100
119
|
* @param {boolean} value - New value.
|
|
101
120
|
*/
|
|
102
|
-
'update:collapsedKeys'
|
|
121
|
+
'update:collapsedKeys'(value: boolean): void;
|
|
103
122
|
/**
|
|
104
123
|
* Callback to invoke when a suggestion is selected.
|
|
105
124
|
* @param {OrganizationChartNode} node - Node instance.
|
|
106
125
|
*/
|
|
107
|
-
'node-select'
|
|
126
|
+
'node-select'(node: OrganizationChartNode): void;
|
|
108
127
|
/**
|
|
109
128
|
* Callback to invoke when a node is unselected.
|
|
110
129
|
* @param {OrganizationChartNode} node - Node instance.
|
|
111
130
|
*/
|
|
112
|
-
'node-unselect'
|
|
131
|
+
'node-unselect'(node: OrganizationChartNode): void;
|
|
113
132
|
/**
|
|
114
133
|
* Callback to invoke when a node is expanded.
|
|
115
134
|
* @param {OrganizationChartNode} node - Node instance.
|
|
116
135
|
*/
|
|
117
|
-
'node-expand'
|
|
136
|
+
'node-expand'(node: OrganizationChartNode): void;
|
|
118
137
|
/**
|
|
119
138
|
* Callback to invoke when a node is collapsed.
|
|
120
139
|
* @param {OrganizationChartNode} node - Node instance.
|
|
121
140
|
*/
|
|
122
|
-
'node-collapsed'
|
|
123
|
-
}
|
|
141
|
+
'node-collapsed'(node: OrganizationChartNode): void;
|
|
142
|
+
}
|
|
124
143
|
|
|
144
|
+
/**
|
|
145
|
+
* **PrimeVue - OrganizationChart**
|
|
146
|
+
*
|
|
147
|
+
* _OrganizationChart visualizes hierarchical organization data._
|
|
148
|
+
*
|
|
149
|
+
* [Live Demo](https://www.primevue.org/organizationchart/)
|
|
150
|
+
* --- ---
|
|
151
|
+
* 
|
|
152
|
+
*
|
|
153
|
+
* @group Component
|
|
154
|
+
*/
|
|
125
155
|
declare class OrganizationChart extends ClassComponent<OrganizationChartProps, OrganizationChartSlots, OrganizationChartEmits> {}
|
|
126
156
|
|
|
127
157
|
declare module '@vue/runtime-core' {
|
|
@@ -130,17 +160,4 @@ declare module '@vue/runtime-core' {
|
|
|
130
160
|
}
|
|
131
161
|
}
|
|
132
162
|
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
* OrganizationChart visualizes hierarchical organization data.
|
|
136
|
-
*
|
|
137
|
-
* Helper API:
|
|
138
|
-
*
|
|
139
|
-
* - OrganizationChartNode
|
|
140
|
-
*
|
|
141
|
-
* Demos:
|
|
142
|
-
*
|
|
143
|
-
* - [OrganizationChart](https://www.primefaces.org/primevue/organizationchart)
|
|
144
|
-
*
|
|
145
|
-
*/
|
|
146
163
|
export default OrganizationChart;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* OverlayPanel is a container component positioned as connected to its target.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://primevue.org/overlaypanel)
|
|
6
|
+
*
|
|
7
|
+
* @module overlaypanel
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
/**
|
|
14
|
+
* OverlayPanel breakpoint metadata.
|
|
15
|
+
*/
|
|
6
16
|
export interface OverlayPanelBreakpoints {
|
|
7
17
|
/**
|
|
8
18
|
* Breakpoint for responsive mode.
|
|
@@ -22,57 +32,76 @@ export interface OverlayPanelBreakpoints {
|
|
|
22
32
|
[key: string]: string;
|
|
23
33
|
}
|
|
24
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Defines valid properties in OverlayPanel component.
|
|
37
|
+
*/
|
|
25
38
|
export interface OverlayPanelProps {
|
|
26
39
|
/**
|
|
27
40
|
* Enables to hide the overlay when outside is clicked.
|
|
28
|
-
*
|
|
41
|
+
* @defaultValue true
|
|
29
42
|
*/
|
|
30
43
|
dismissable?: boolean;
|
|
31
44
|
/**
|
|
32
45
|
* When enabled, displays a close icon at top right corner.
|
|
46
|
+
* @defaultValue false
|
|
33
47
|
*/
|
|
34
48
|
showCloseIcon?: boolean;
|
|
35
49
|
/**
|
|
36
50
|
* A valid query selector or an HTMLElement to specify where the overlay gets attached.
|
|
37
|
-
* @
|
|
38
|
-
* Default value is 'body'.
|
|
51
|
+
* @defaultValue body
|
|
39
52
|
*/
|
|
40
|
-
appendTo?:
|
|
53
|
+
appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
|
|
41
54
|
/**
|
|
42
55
|
* Base zIndex value to use in layering.
|
|
43
|
-
*
|
|
56
|
+
* @defaultValue 0
|
|
44
57
|
*/
|
|
45
58
|
baseZIndex?: number;
|
|
46
59
|
/**
|
|
47
60
|
* Whether to automatically manage layering.
|
|
48
|
-
*
|
|
61
|
+
* @defaultValue true
|
|
49
62
|
*/
|
|
50
63
|
autoZIndex?: boolean;
|
|
51
64
|
/**
|
|
52
65
|
* Object literal to define widths per screen size.
|
|
53
|
-
* @see OverlayPanelBreakpoints
|
|
54
66
|
*/
|
|
55
67
|
breakpoints?: OverlayPanelBreakpoints;
|
|
56
68
|
}
|
|
57
69
|
|
|
70
|
+
/**
|
|
71
|
+
* Defines valid slots in OverlayPanel component.
|
|
72
|
+
*/
|
|
58
73
|
export interface OverlayPanelSlots {
|
|
59
74
|
/**
|
|
60
75
|
* Custom content template.
|
|
61
76
|
*/
|
|
62
|
-
default
|
|
77
|
+
default(): VNode[];
|
|
63
78
|
}
|
|
64
79
|
|
|
65
|
-
|
|
80
|
+
/**
|
|
81
|
+
* Defines valid emits in OverlayPanel component.
|
|
82
|
+
*/
|
|
83
|
+
export interface OverlayPanelEmits {
|
|
66
84
|
/**
|
|
67
85
|
* Callback to invoke when the overlay is shown.
|
|
68
86
|
*/
|
|
69
|
-
show
|
|
87
|
+
show(): void;
|
|
70
88
|
/**
|
|
71
89
|
* Callback to invoke when the overlay is hidden.
|
|
72
90
|
*/
|
|
73
|
-
hide
|
|
74
|
-
}
|
|
91
|
+
hide(): void;
|
|
92
|
+
}
|
|
75
93
|
|
|
94
|
+
/**
|
|
95
|
+
* **PrimeVue - OverlayPanel**
|
|
96
|
+
*
|
|
97
|
+
* _OverlayPanel, also known as Popover, is a container component that can overlay other components on page._
|
|
98
|
+
*
|
|
99
|
+
* [Live Demo](https://www.primevue.org/overlaypanel/)
|
|
100
|
+
* --- ---
|
|
101
|
+
* 
|
|
102
|
+
*
|
|
103
|
+
* @group Component
|
|
104
|
+
*/
|
|
76
105
|
declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits> {
|
|
77
106
|
/**
|
|
78
107
|
* Toggles the visibility of the overlay.
|
|
@@ -81,7 +110,7 @@ declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPane
|
|
|
81
110
|
*
|
|
82
111
|
* @memberof OverlayPanel
|
|
83
112
|
*/
|
|
84
|
-
toggle
|
|
113
|
+
toggle(event: Event, target?: any): void;
|
|
85
114
|
/**
|
|
86
115
|
* Shows the overlay.
|
|
87
116
|
* @param {Event} event - Browser event.
|
|
@@ -89,13 +118,13 @@ declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPane
|
|
|
89
118
|
*
|
|
90
119
|
* @memberof OverlayPanel
|
|
91
120
|
*/
|
|
92
|
-
show
|
|
121
|
+
show(event: Event, target?: any): void;
|
|
93
122
|
/**
|
|
94
123
|
* Hides the overlay.
|
|
95
124
|
*
|
|
96
125
|
* @memberof OverlayPanel
|
|
97
126
|
*/
|
|
98
|
-
hide
|
|
127
|
+
hide(): void;
|
|
99
128
|
}
|
|
100
129
|
|
|
101
130
|
declare module '@vue/runtime-core' {
|
|
@@ -104,13 +133,4 @@ declare module '@vue/runtime-core' {
|
|
|
104
133
|
}
|
|
105
134
|
}
|
|
106
135
|
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* OverlayPanel is a container component positioned as connected to its target.
|
|
110
|
-
*
|
|
111
|
-
* Demos:
|
|
112
|
-
*
|
|
113
|
-
* - [OverlayPanel](https://www.primefaces.org/primevue/overlaypanel)
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
136
|
export default OverlayPanel;
|
package/package.json
CHANGED
package/paginator/Paginator.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Paginator is a generic component to display content in paged format.
|
|
4
|
+
*
|
|
5
|
+
* - [Paginator](https://primevue.org/paginator)
|
|
6
|
+
*
|
|
7
|
+
* @module paginator
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Paginator page state metadata.
|
|
15
|
+
*/
|
|
4
16
|
export interface PageState {
|
|
5
17
|
/**
|
|
6
18
|
* Index of first record
|
|
@@ -20,25 +32,28 @@ export interface PageState {
|
|
|
20
32
|
pageCount?: number;
|
|
21
33
|
}
|
|
22
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Defines valid properties in Paginator component.
|
|
37
|
+
*/
|
|
23
38
|
export interface PaginatorProps {
|
|
24
39
|
/**
|
|
25
40
|
* Number of total records.
|
|
26
|
-
*
|
|
41
|
+
* @defaultValue 0
|
|
27
42
|
*/
|
|
28
43
|
totalRecords?: number | undefined;
|
|
29
44
|
/**
|
|
30
45
|
* Data count to display per page.
|
|
31
|
-
*
|
|
46
|
+
* @defaultValue 0
|
|
32
47
|
*/
|
|
33
48
|
rows?: number | undefined;
|
|
34
49
|
/**
|
|
35
50
|
* Zero-relative number of the first row to be displayed.
|
|
36
|
-
*
|
|
51
|
+
* @defaultValue 0
|
|
37
52
|
*/
|
|
38
53
|
first?: number | undefined;
|
|
39
54
|
/**
|
|
40
55
|
* Number of page links to display.
|
|
41
|
-
*
|
|
56
|
+
* @defaultValue 5
|
|
42
57
|
*/
|
|
43
58
|
pageLinkSize?: number | undefined;
|
|
44
59
|
/**
|
|
@@ -60,7 +75,7 @@ export interface PaginatorProps {
|
|
|
60
75
|
*/
|
|
61
76
|
template?: any | string;
|
|
62
77
|
/**
|
|
63
|
-
* Template of the current page report element. It displays information about the pagination state.
|
|
78
|
+
* Template of the current page report element. It displays information about the pagination state. Available placeholders are the following;
|
|
64
79
|
*
|
|
65
80
|
* - {currentPage}
|
|
66
81
|
* - {totalPages}
|
|
@@ -68,58 +83,77 @@ export interface PaginatorProps {
|
|
|
68
83
|
* - {first}
|
|
69
84
|
* - {last}
|
|
70
85
|
* - {totalRecords}
|
|
86
|
+
*
|
|
87
|
+
* @defaultValue '({currentPage} of {totalPages})'
|
|
71
88
|
*/
|
|
72
89
|
currentPageReportTemplate?: string | undefined;
|
|
73
90
|
/**
|
|
74
91
|
* Whether to show the paginator even there is only one page.
|
|
75
|
-
*
|
|
92
|
+
* @defaultValue true
|
|
76
93
|
*/
|
|
77
94
|
alwaysShow?: boolean | undefined;
|
|
78
95
|
}
|
|
79
96
|
|
|
97
|
+
/**
|
|
98
|
+
* Defines valid slots in Paginator component.
|
|
99
|
+
*/
|
|
80
100
|
export interface PaginatorSlots {
|
|
81
101
|
/**
|
|
82
102
|
* Custom start template.
|
|
83
103
|
* @param {Object} scope - start slot's params.
|
|
84
104
|
*/
|
|
85
|
-
start
|
|
105
|
+
start(scope: {
|
|
86
106
|
/**
|
|
87
107
|
* Current state
|
|
88
108
|
* @see PageState
|
|
89
109
|
*/
|
|
90
110
|
state: PageState;
|
|
91
|
-
})
|
|
111
|
+
}): VNode[];
|
|
92
112
|
/**
|
|
93
113
|
* Custom end template.
|
|
94
114
|
* @param {Object} scope - end slot's params.
|
|
95
115
|
*/
|
|
96
|
-
end
|
|
116
|
+
end(scope: {
|
|
97
117
|
/**
|
|
98
118
|
* Current state
|
|
99
119
|
* @see PageState
|
|
100
120
|
*/
|
|
101
121
|
state: PageState;
|
|
102
|
-
})
|
|
122
|
+
}): VNode[];
|
|
103
123
|
}
|
|
104
124
|
|
|
105
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Defines valid emits in Paginator component.
|
|
127
|
+
*/
|
|
128
|
+
export interface PaginatorEmits {
|
|
106
129
|
/**
|
|
107
130
|
* Emitted when the first changes.
|
|
108
131
|
* @param {number} value - New value.
|
|
109
132
|
*/
|
|
110
|
-
'update:first'
|
|
133
|
+
'update:first'(value: number): void;
|
|
111
134
|
/**
|
|
112
135
|
* Emitted when the rows changes.
|
|
113
136
|
* @param {number} value - New value.
|
|
114
137
|
*/
|
|
115
|
-
'update:rows'
|
|
138
|
+
'update:rows'(value: number): void;
|
|
116
139
|
/**
|
|
117
140
|
* Callback to invoke when page changes, the event object contains information about the new state.
|
|
118
141
|
* @param {PageState} event - New page state.
|
|
119
142
|
*/
|
|
120
|
-
page
|
|
121
|
-
}
|
|
143
|
+
page(event: PageState): void;
|
|
144
|
+
}
|
|
122
145
|
|
|
146
|
+
/**
|
|
147
|
+
* **PrimeVue - Paginator**
|
|
148
|
+
*
|
|
149
|
+
* _Paginator is a generic widget to display content in paged format._
|
|
150
|
+
*
|
|
151
|
+
* [Live Demo](https://www.primevue.org/paginator/)
|
|
152
|
+
* --- ---
|
|
153
|
+
* 
|
|
154
|
+
*
|
|
155
|
+
* @group Component
|
|
156
|
+
*/
|
|
123
157
|
declare class Paginator extends ClassComponent<PaginatorProps, PaginatorSlots, PaginatorEmits> {}
|
|
124
158
|
|
|
125
159
|
declare module '@vue/runtime-core' {
|
|
@@ -128,13 +162,4 @@ declare module '@vue/runtime-core' {
|
|
|
128
162
|
}
|
|
129
163
|
}
|
|
130
164
|
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* Paginator is a generic component to display content in paged format.
|
|
134
|
-
*
|
|
135
|
-
* Demos:
|
|
136
|
-
*
|
|
137
|
-
* - [Paginator](https://www.primefaces.org/primevue/paginator)
|
|
138
|
-
*
|
|
139
|
-
*/
|
|
140
165
|
export default Paginator;
|