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/scrolltop/ScrollTop.d.ts
CHANGED
|
@@ -1,35 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/scrolltop/)
|
|
6
|
+
*
|
|
7
|
+
* @module scrolltop
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Defines valid properties in ScrollTop component.
|
|
14
|
+
*/
|
|
5
15
|
export interface ScrollTopProps {
|
|
6
16
|
/**
|
|
7
17
|
* Target of the ScrollTop.
|
|
8
|
-
* @
|
|
9
|
-
* Default value is 'window'.
|
|
18
|
+
* @defaultValue window
|
|
10
19
|
*/
|
|
11
|
-
target?:
|
|
20
|
+
target?: 'window' | 'parent' | undefined;
|
|
12
21
|
/**
|
|
13
22
|
* Defines the threshold value of the vertical scroll position of the target to toggle the visibility.
|
|
14
|
-
*
|
|
23
|
+
* @defaultValue 400
|
|
15
24
|
*/
|
|
16
25
|
threshold?: number | undefined;
|
|
17
26
|
/**
|
|
18
27
|
* Icon to display.
|
|
19
|
-
*
|
|
28
|
+
* @defaultValue pi pi-chevron-up
|
|
20
29
|
*/
|
|
21
30
|
icon?: string | undefined;
|
|
22
31
|
/**
|
|
23
32
|
* Defines the scrolling behaviour, 'smooth' adds an animation and 'auto' scrolls with a jump.
|
|
24
|
-
*
|
|
33
|
+
* @defaultValue smooth
|
|
25
34
|
*/
|
|
26
35
|
behavior?: string | undefined;
|
|
27
36
|
}
|
|
28
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Defines valid slots in ScrollTop component.
|
|
40
|
+
*/
|
|
29
41
|
export interface ScrollTopSlots {}
|
|
30
42
|
|
|
31
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Defines valid emits in ScrollTop component.
|
|
45
|
+
*/
|
|
46
|
+
export interface ScrollTopEmits {}
|
|
32
47
|
|
|
48
|
+
/**
|
|
49
|
+
* **PrimeVue - ScrollTop**
|
|
50
|
+
*
|
|
51
|
+
* _ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly._
|
|
52
|
+
*
|
|
53
|
+
* [Live Demo](https://www.primevue.org/scrolltop/)
|
|
54
|
+
* --- ---
|
|
55
|
+
* 
|
|
56
|
+
*
|
|
57
|
+
* @group Component
|
|
58
|
+
*/
|
|
33
59
|
declare class ScrollTop extends ClassComponent<ScrollTopProps, ScrollTopSlots, ScrollTopEmits> {}
|
|
34
60
|
|
|
35
61
|
declare module '@vue/runtime-core' {
|
|
@@ -38,13 +64,4 @@ declare module '@vue/runtime-core' {
|
|
|
38
64
|
}
|
|
39
65
|
}
|
|
40
66
|
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.
|
|
44
|
-
*
|
|
45
|
-
* Demos:
|
|
46
|
-
*
|
|
47
|
-
* - [ScrollTop](https://www.primefaces.org/primevue/scrolltop)
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
67
|
export default ScrollTop;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* SelectButton is used to choose single or multiple items from a list using buttons.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/selectbutton/)
|
|
6
|
+
*
|
|
7
|
+
* @module selectbutton
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type SelectButtonOptionDisabledType = string | ((data: any) => boolean) | undefined;
|
|
9
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Custom change event.
|
|
15
|
+
* @see {@link SelectButtonEmits.change}
|
|
16
|
+
*/
|
|
10
17
|
export interface SelectButtonChangeEvent {
|
|
11
18
|
/**
|
|
12
19
|
* Browser event.
|
|
@@ -18,6 +25,9 @@ export interface SelectButtonChangeEvent {
|
|
|
18
25
|
value: any;
|
|
19
26
|
}
|
|
20
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Defines valid properties in SelectButton component.
|
|
30
|
+
*/
|
|
21
31
|
export interface SelectButtonProps {
|
|
22
32
|
/**
|
|
23
33
|
* Value of the component.
|
|
@@ -30,21 +40,23 @@ export interface SelectButtonProps {
|
|
|
30
40
|
/**
|
|
31
41
|
* Property name or getter function to use as the label of an option.
|
|
32
42
|
*/
|
|
33
|
-
optionLabel?:
|
|
43
|
+
optionLabel?: string | ((data: any) => string) | undefined;
|
|
34
44
|
/**
|
|
35
45
|
* Property name or getter function to use as the value of an option, defaults to the option itself when not defined.
|
|
36
46
|
*/
|
|
37
|
-
optionValue?:
|
|
47
|
+
optionValue?: string | ((data: any) => any) | undefined;
|
|
38
48
|
/**
|
|
39
49
|
* Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.
|
|
40
50
|
*/
|
|
41
|
-
optionDisabled?:
|
|
51
|
+
optionDisabled?: string | ((data: any) => boolean) | undefined;
|
|
42
52
|
/**
|
|
43
53
|
* When specified, allows selecting multiple values.
|
|
54
|
+
* @defaultValue false
|
|
44
55
|
*/
|
|
45
56
|
multiple?: boolean | undefined;
|
|
46
57
|
/**
|
|
47
58
|
* When present, it specifies that the element should be disabled.
|
|
59
|
+
* @defaultValue false
|
|
48
60
|
*/
|
|
49
61
|
disabled?: boolean | undefined;
|
|
50
62
|
/**
|
|
@@ -53,6 +65,7 @@ export interface SelectButtonProps {
|
|
|
53
65
|
dataKey?: string | undefined;
|
|
54
66
|
/**
|
|
55
67
|
* Whether selection can be cleared.
|
|
68
|
+
* @defaultValue true
|
|
56
69
|
*/
|
|
57
70
|
unselectable?: boolean | undefined;
|
|
58
71
|
/**
|
|
@@ -61,12 +74,15 @@ export interface SelectButtonProps {
|
|
|
61
74
|
'aria-labelledby'?: string | undefined;
|
|
62
75
|
}
|
|
63
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Defines valid slots in SelectButton component.
|
|
79
|
+
*/
|
|
64
80
|
export interface SelectButtonSlots {
|
|
65
81
|
/**
|
|
66
82
|
* Custom content for each option.
|
|
67
83
|
* @param {Object} scope - option slot's params.
|
|
68
84
|
*/
|
|
69
|
-
option
|
|
85
|
+
option(scope: {
|
|
70
86
|
/**
|
|
71
87
|
* Option instance
|
|
72
88
|
*/
|
|
@@ -75,32 +91,45 @@ export interface SelectButtonSlots {
|
|
|
75
91
|
* Index of the option
|
|
76
92
|
*/
|
|
77
93
|
index: number;
|
|
78
|
-
})
|
|
94
|
+
}): VNode[];
|
|
79
95
|
}
|
|
80
96
|
|
|
81
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Defines valid emits in SelectButton component.
|
|
99
|
+
*/
|
|
100
|
+
export interface SelectButtonEmits {
|
|
82
101
|
/**
|
|
83
102
|
* Emitted when the value changes.
|
|
84
103
|
* @param {*} value - New value.
|
|
85
104
|
*/
|
|
86
|
-
'update:modelValue'
|
|
105
|
+
'update:modelValue'(value: any): void;
|
|
87
106
|
/**
|
|
88
107
|
* Callback to invoke on value change.
|
|
89
108
|
* @param {SelectButtonChangeEvent} event - Custom change event.
|
|
90
109
|
*/
|
|
91
|
-
change
|
|
110
|
+
change(event: SelectButtonChangeEvent): void;
|
|
92
111
|
/**
|
|
93
112
|
* Callback to invoke on focus.
|
|
94
|
-
* @param {SelectButtonChangeEvent} event - Browser event.
|
|
95
113
|
*/
|
|
96
|
-
focus
|
|
114
|
+
focus(event: Event): void;
|
|
97
115
|
/**
|
|
98
116
|
* Callback to invoke on blur.
|
|
99
117
|
* @param {Event} event - Browser event.
|
|
100
118
|
*/
|
|
101
|
-
blur
|
|
102
|
-
}
|
|
119
|
+
blur(event: Event): void;
|
|
120
|
+
}
|
|
103
121
|
|
|
122
|
+
/**
|
|
123
|
+
* **PrimeVue - SelectButton**
|
|
124
|
+
*
|
|
125
|
+
* _SelectButton is used to choose single or multiple items from a list using buttons._
|
|
126
|
+
*
|
|
127
|
+
* [Live Demo](https://www.primevue.org/selectbutton/)
|
|
128
|
+
* --- ---
|
|
129
|
+
* 
|
|
130
|
+
*
|
|
131
|
+
* @group Component
|
|
132
|
+
*/
|
|
104
133
|
declare class SelectButton extends ClassComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits> {}
|
|
105
134
|
|
|
106
135
|
declare module '@vue/runtime-core' {
|
|
@@ -109,13 +138,4 @@ declare module '@vue/runtime-core' {
|
|
|
109
138
|
}
|
|
110
139
|
}
|
|
111
140
|
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* SelectButton is a form component to choose a value from a list of options using button elements.
|
|
115
|
-
*
|
|
116
|
-
* Demos:
|
|
117
|
-
*
|
|
118
|
-
* - [SelectButton](https://www.primefaces.org/primevue/selectbutton)
|
|
119
|
-
*
|
|
120
|
-
*/
|
|
121
141
|
export default SelectButton;
|
package/sidebar/Sidebar.d.ts
CHANGED
|
@@ -1,82 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Sidebar is a panel component displayed as an overlay at the edges of the screen.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://primevue.org/sidebar)
|
|
6
|
+
*
|
|
7
|
+
* @module sidebar
|
|
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 Sidebar component.
|
|
15
|
+
*/
|
|
6
16
|
export interface SidebarProps {
|
|
7
17
|
/**
|
|
8
18
|
* Specifies the visibility of the dialog.
|
|
19
|
+
* @defaultValue false
|
|
9
20
|
*/
|
|
10
21
|
visible?: boolean | undefined;
|
|
11
22
|
/**
|
|
12
23
|
* Specifies the position of the sidebar.
|
|
13
|
-
* @
|
|
14
|
-
* Default value is 'left'.
|
|
24
|
+
* @defaultValue left
|
|
15
25
|
*/
|
|
16
|
-
position?:
|
|
26
|
+
position?: 'left' | 'right' | 'top' | 'bottom' | 'full' | undefined;
|
|
17
27
|
/**
|
|
18
28
|
* Base zIndex value to use in layering.
|
|
19
|
-
*
|
|
29
|
+
* @defaultValue 0
|
|
20
30
|
*/
|
|
21
31
|
baseZIndex?: number | undefined;
|
|
22
32
|
/**
|
|
23
33
|
* Whether to automatically manage layering.
|
|
24
|
-
*
|
|
34
|
+
* @defaultValue true
|
|
25
35
|
*/
|
|
26
36
|
autoZIndex?: boolean | undefined;
|
|
27
37
|
/**
|
|
28
38
|
* Whether clicking outside closes the panel.
|
|
29
|
-
*
|
|
39
|
+
* @defaultValue true
|
|
30
40
|
*/
|
|
31
41
|
dismissable?: boolean | undefined;
|
|
32
42
|
/**
|
|
33
43
|
* Whether to display a close icon inside the panel.
|
|
34
|
-
*
|
|
44
|
+
* @defaultValue true
|
|
35
45
|
*/
|
|
36
46
|
showCloseIcon?: boolean | undefined;
|
|
37
47
|
/**
|
|
38
48
|
* Icon to display in the sidebar close button.
|
|
39
|
-
*
|
|
49
|
+
* @defaultValue pi pi-times
|
|
40
50
|
*/
|
|
41
51
|
closeIcon?: string | undefined;
|
|
42
52
|
/**
|
|
43
53
|
* Whether to a modal layer behind the sidebar.
|
|
44
|
-
*
|
|
54
|
+
* @defaultValue true
|
|
45
55
|
*/
|
|
46
56
|
modal?: boolean | undefined;
|
|
47
57
|
/**
|
|
48
58
|
* Whether background scroll should be blocked when sidebar is visible.
|
|
59
|
+
* @defaultValue false
|
|
49
60
|
*/
|
|
50
61
|
blockScroll?: boolean | undefined;
|
|
51
62
|
}
|
|
52
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Defines valid slots in Sidebar component.
|
|
66
|
+
*/
|
|
53
67
|
export interface SidebarSlots {
|
|
54
68
|
/**
|
|
55
69
|
* Custom content template.
|
|
56
70
|
*/
|
|
57
|
-
default
|
|
71
|
+
default(): VNode[];
|
|
58
72
|
/**
|
|
59
73
|
* Custom header template.
|
|
60
74
|
*/
|
|
61
|
-
header
|
|
75
|
+
header(): VNode[];
|
|
62
76
|
}
|
|
63
77
|
|
|
64
|
-
|
|
78
|
+
/**
|
|
79
|
+
* Defines valid emits in Sidebar component.
|
|
80
|
+
*/
|
|
81
|
+
export interface SidebarEmits {
|
|
65
82
|
/**
|
|
66
83
|
* Emitted when the value changes.
|
|
67
84
|
* @param {boolean} value - New value.
|
|
68
85
|
*/
|
|
69
|
-
'update:modelValue'
|
|
86
|
+
'update:modelValue'(value: boolean): void;
|
|
70
87
|
/**
|
|
71
88
|
* Callback to invoke when sidebar gets shown.
|
|
72
89
|
*/
|
|
73
|
-
show
|
|
90
|
+
show(): void;
|
|
74
91
|
/**
|
|
75
92
|
* Callback to invoke when sidebar gets hidden.
|
|
76
93
|
*/
|
|
77
|
-
hide
|
|
78
|
-
}
|
|
94
|
+
hide(): void;
|
|
95
|
+
}
|
|
79
96
|
|
|
97
|
+
/**
|
|
98
|
+
* **PrimeVue - Sidebar**
|
|
99
|
+
*
|
|
100
|
+
* _Sidebar is a panel component displayed as an overlay._
|
|
101
|
+
*
|
|
102
|
+
* [Live Demo](https://www.primevue.org/sidebar/)
|
|
103
|
+
* --- ---
|
|
104
|
+
* 
|
|
105
|
+
*
|
|
106
|
+
* @group Component
|
|
107
|
+
*/
|
|
80
108
|
declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {}
|
|
81
109
|
|
|
82
110
|
declare module '@vue/runtime-core' {
|
|
@@ -85,13 +113,4 @@ declare module '@vue/runtime-core' {
|
|
|
85
113
|
}
|
|
86
114
|
}
|
|
87
115
|
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* Sidebar is a panel component displayed as an overlay at the edges of the screen.
|
|
91
|
-
*
|
|
92
|
-
* Demos:
|
|
93
|
-
*
|
|
94
|
-
* - [Sidebar](https://www.primefaces.org/primevue/sidebar)
|
|
95
|
-
*
|
|
96
|
-
*/
|
|
97
116
|
export default Sidebar;
|
package/skeleton/Skeleton.d.ts
CHANGED
|
@@ -1,28 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Skeleton is a placeholder to display instead of the actual content.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/skeleton/)
|
|
6
|
+
*
|
|
7
|
+
* @module skeleton
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Defines valid properties in Skeleton component.
|
|
14
|
+
*/
|
|
7
15
|
export interface SkeletonProps {
|
|
8
16
|
/**
|
|
9
17
|
* Shape of the element.
|
|
10
|
-
* @
|
|
11
|
-
* Default value is 'rectangle'.
|
|
18
|
+
* @defaultValue rectangle
|
|
12
19
|
*/
|
|
13
|
-
shape?:
|
|
20
|
+
shape?: 'rectangle' | 'circle' | undefined;
|
|
14
21
|
/**
|
|
15
22
|
* Size of the Circle or Square.
|
|
16
23
|
*/
|
|
17
24
|
size?: string | undefined;
|
|
18
25
|
/**
|
|
19
26
|
* Width of the element.
|
|
20
|
-
*
|
|
27
|
+
* @defaultValue 100%
|
|
21
28
|
*/
|
|
22
29
|
width?: string | undefined;
|
|
23
30
|
/**
|
|
24
31
|
* Height of the element.
|
|
25
|
-
*
|
|
32
|
+
* @defaultValue 1rem
|
|
26
33
|
*/
|
|
27
34
|
height?: string | undefined;
|
|
28
35
|
/**
|
|
@@ -31,16 +38,32 @@ export interface SkeletonProps {
|
|
|
31
38
|
borderRadius?: string | undefined;
|
|
32
39
|
/**
|
|
33
40
|
* Type of the animation.
|
|
34
|
-
* @
|
|
35
|
-
* Default value is 'wave'.
|
|
41
|
+
* @defaultValue wave
|
|
36
42
|
*/
|
|
37
|
-
animation?:
|
|
43
|
+
animation?: 'wave' | 'none' | undefined;
|
|
38
44
|
}
|
|
39
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Defines valid slots in Skeleton component.
|
|
48
|
+
*/
|
|
40
49
|
export interface SkeletonSlots {}
|
|
41
50
|
|
|
42
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Defines valid emits in Skeleton component.
|
|
53
|
+
*/
|
|
54
|
+
export interface SkeletonEmits {}
|
|
43
55
|
|
|
56
|
+
/**
|
|
57
|
+
* **PrimeVue - Skeleton**
|
|
58
|
+
*
|
|
59
|
+
* _Skeleton is a placeholder to display instead of the actual content._
|
|
60
|
+
*
|
|
61
|
+
* [Live Demo](https://www.primevue.org/skeleton/)
|
|
62
|
+
* --- ---
|
|
63
|
+
* 
|
|
64
|
+
*
|
|
65
|
+
* @group Component
|
|
66
|
+
*/
|
|
44
67
|
declare class Skeleton extends ClassComponent<SkeletonProps, SkeletonSlots, SkeletonEmits> {}
|
|
45
68
|
|
|
46
69
|
declare module '@vue/runtime-core' {
|
|
@@ -49,13 +72,4 @@ declare module '@vue/runtime-core' {
|
|
|
49
72
|
}
|
|
50
73
|
}
|
|
51
74
|
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* Skeleton is a placeholder to display instead of the actual content.
|
|
55
|
-
*
|
|
56
|
-
* Demos:
|
|
57
|
-
*
|
|
58
|
-
* - [Skeleton](https://www.primefaces.org/primevue/skeleton)
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
75
|
export default Skeleton;
|
package/slider/Slider.d.ts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Slider is a component to provide input with a drag handle.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/slider/)
|
|
6
|
+
*
|
|
7
|
+
* @module slider
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Custom slide end event.
|
|
14
|
+
* @see {@link SliderEmits.slideend}
|
|
15
|
+
*/
|
|
5
16
|
export interface SliderSlideEndEvent {
|
|
6
17
|
/**
|
|
7
18
|
* Original event
|
|
@@ -13,39 +24,42 @@ export interface SliderSlideEndEvent {
|
|
|
13
24
|
value: number;
|
|
14
25
|
}
|
|
15
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Defines valid properties in Slider component.
|
|
29
|
+
*/
|
|
16
30
|
export interface SliderProps {
|
|
17
31
|
/**
|
|
18
32
|
* Value of the component.
|
|
19
|
-
* Default value is 0.
|
|
20
33
|
*/
|
|
21
34
|
modelValue?: number | number[] | undefined;
|
|
22
35
|
/**
|
|
23
36
|
* Mininum boundary value.
|
|
24
|
-
*
|
|
37
|
+
* @defaultValue 0
|
|
25
38
|
*/
|
|
26
39
|
min?: number | undefined;
|
|
27
40
|
/**
|
|
28
41
|
* Maximum boundary value.
|
|
29
|
-
*
|
|
42
|
+
* @defaultValue 100
|
|
30
43
|
*/
|
|
31
44
|
max?: number | undefined;
|
|
32
45
|
/**
|
|
33
46
|
* Orientation of the slider.
|
|
34
|
-
* @
|
|
35
|
-
* Default value is 'horizontal'.
|
|
47
|
+
* @defaultValue horizontal
|
|
36
48
|
*/
|
|
37
|
-
orientation?:
|
|
49
|
+
orientation?: 'horizontal' | 'vertical' | undefined;
|
|
38
50
|
/**
|
|
39
51
|
* Step factor to increment/decrement the value.
|
|
40
|
-
*
|
|
52
|
+
* @defaultValue 1
|
|
41
53
|
*/
|
|
42
54
|
step?: number | undefined;
|
|
43
55
|
/**
|
|
44
56
|
* When speficed, allows two boundary values to be picked.
|
|
57
|
+
* @defaultValue false
|
|
45
58
|
*/
|
|
46
59
|
range?: boolean | undefined;
|
|
47
60
|
/**
|
|
48
61
|
* When present, it specifies that the component should be disabled.
|
|
62
|
+
* @defaultValue false
|
|
49
63
|
*/
|
|
50
64
|
disabled?: boolean | undefined;
|
|
51
65
|
/**
|
|
@@ -62,26 +76,44 @@ export interface SliderProps {
|
|
|
62
76
|
'aria-label'?: string | undefined;
|
|
63
77
|
}
|
|
64
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Defines valid slots in Slider component.
|
|
81
|
+
*/
|
|
65
82
|
export interface SliderSlots {}
|
|
66
83
|
|
|
67
|
-
|
|
84
|
+
/**
|
|
85
|
+
* Defines valid emits in Slider component.
|
|
86
|
+
*/
|
|
87
|
+
export interface SliderEmits {
|
|
68
88
|
/**
|
|
69
89
|
* Emitted when the value changes.
|
|
70
90
|
* @param {number | number[]} value - New value.
|
|
71
91
|
*/
|
|
72
|
-
'update:modelValue'
|
|
92
|
+
'update:modelValue'(value: number | number[]): void;
|
|
73
93
|
/**
|
|
74
94
|
* Callback to invoke on value change.
|
|
75
95
|
* @param {number} value - New value
|
|
76
96
|
*/
|
|
77
|
-
change
|
|
97
|
+
change(value: number): void;
|
|
78
98
|
/**
|
|
79
99
|
* Callback to invoke when slide ends.
|
|
80
100
|
* @param {SliderSlideEndEvent} event - Custom slide end event.
|
|
81
101
|
*/
|
|
82
|
-
slideend
|
|
83
|
-
}
|
|
102
|
+
slideend(event: SliderSlideEndEvent): void;
|
|
103
|
+
}
|
|
84
104
|
|
|
105
|
+
/**
|
|
106
|
+
* **PrimeVue - Slider**
|
|
107
|
+
*
|
|
108
|
+
* _Slider is a component to provide input with a drag handle._
|
|
109
|
+
*
|
|
110
|
+
* [Live Demo](https://www.primevue.org/slider/)
|
|
111
|
+
* --- ---
|
|
112
|
+
* 
|
|
113
|
+
*
|
|
114
|
+
* @group Component
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
85
117
|
declare class Slider extends ClassComponent<SliderProps, SliderSlots, SliderEmits> {}
|
|
86
118
|
|
|
87
119
|
declare module '@vue/runtime-core' {
|
|
@@ -90,13 +122,4 @@ declare module '@vue/runtime-core' {
|
|
|
90
122
|
}
|
|
91
123
|
}
|
|
92
124
|
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* Slider is an input component to provide a numerical input.
|
|
96
|
-
*
|
|
97
|
-
* Demos:
|
|
98
|
-
*
|
|
99
|
-
* - [Slider](https://www.primefaces.org/primevue/slider)
|
|
100
|
-
*
|
|
101
|
-
*/
|
|
102
125
|
export default Slider;
|