primevue 3.22.4 → 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 +13 -13
- 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/breadcrumb/Breadcrumb.vue +1 -1
- package/breadcrumb/breadcrumb.cjs.js +2 -1
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +2 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +2 -1
- package/breadcrumb/breadcrumb.min.js +1 -1
- 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/calendar/Calendar.vue +4 -4
- package/calendar/calendar.cjs.js +4 -4
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +4 -4
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +4 -4
- package/calendar/calendar.min.js +1 -1
- 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/PrimeVue.d.ts +1 -2
- package/config/config.cjs.js +20 -2
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +20 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +20 -2
- 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 +368 -121
- package/core/core.min.js +8 -8
- package/datatable/DataTable.d.ts +248 -205
- package/datatable/DataTable.vue +78 -117
- package/datatable/TableBody.vue +3 -17
- package/datatable/datatable.cjs.js +73 -67
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +73 -67
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +73 -67
- 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/dialog/Dialog.vue +1 -1
- package/dialog/dialog.cjs.js +1 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +1 -1
- package/dialog/dialog.min.js +1 -1
- 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 +57 -28
- package/menu/Menu.vue +6 -0
- package/menu/menu.cjs.js +26 -8
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +27 -9
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +26 -8
- package/menu/menu.min.js +1 -1
- 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/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/mira/theme.css +6089 -0
- package/resources/themes/nano/theme.css +5861 -0
- 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/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-dark/theme.css +5854 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-light/theme.css +5908 -0
- 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/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-dark/theme.css +6016 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-light/theme.css +6016 -0
- 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/tag/Tag.vue +1 -1
- package/tag/tag.cjs.js +4 -2
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +5 -3
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +4 -2
- package/tag/tag.min.js +1 -1
- 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 +20 -22
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +20 -22
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +20 -22
- 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 +1930 -1742
package/editor/Editor.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Editor groups a collection of contents in tabs.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/editor/)
|
|
6
|
+
*
|
|
7
|
+
* @module editor
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Custom text change event.
|
|
15
|
+
* @see {@link EditorEmits['text-change']}
|
|
16
|
+
*/
|
|
4
17
|
export interface EditorTextChangeEvent {
|
|
5
18
|
/**
|
|
6
19
|
* Current value as html.
|
|
@@ -23,7 +36,10 @@ export interface EditorTextChangeEvent {
|
|
|
23
36
|
*/
|
|
24
37
|
instance: any;
|
|
25
38
|
}
|
|
26
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Custom selection change event.
|
|
41
|
+
* @see {@link EditorEmits['selection-change']}
|
|
42
|
+
*/
|
|
27
43
|
export interface EditorSelectionChangeEvent {
|
|
28
44
|
/**
|
|
29
45
|
* Current value as html.
|
|
@@ -50,7 +66,10 @@ export interface EditorSelectionChangeEvent {
|
|
|
50
66
|
*/
|
|
51
67
|
instance: any;
|
|
52
68
|
}
|
|
53
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Custom load event.
|
|
71
|
+
* @see {@link EditorEmits.load}
|
|
72
|
+
*/
|
|
54
73
|
export interface EditorLoadEvent {
|
|
55
74
|
/**
|
|
56
75
|
* Text editor instance.
|
|
@@ -58,6 +77,9 @@ export interface EditorLoadEvent {
|
|
|
58
77
|
instance: any;
|
|
59
78
|
}
|
|
60
79
|
|
|
80
|
+
/**
|
|
81
|
+
* Defines valid properties in Editor component.
|
|
82
|
+
*/
|
|
61
83
|
export interface EditorProps {
|
|
62
84
|
/**
|
|
63
85
|
* Value of the content.
|
|
@@ -85,6 +107,9 @@ export interface EditorProps {
|
|
|
85
107
|
modules?: any;
|
|
86
108
|
}
|
|
87
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Defines valid slots in Editor slots.
|
|
112
|
+
*/
|
|
88
113
|
export interface EditorSlots {
|
|
89
114
|
/**
|
|
90
115
|
* Custom toolbar template.
|
|
@@ -92,29 +117,44 @@ export interface EditorSlots {
|
|
|
92
117
|
toolbar: () => VNode[];
|
|
93
118
|
}
|
|
94
119
|
|
|
95
|
-
|
|
120
|
+
/**
|
|
121
|
+
* Defines valid emits in Editor component.
|
|
122
|
+
*/
|
|
123
|
+
export interface EditorEmits {
|
|
96
124
|
/**
|
|
97
125
|
* Emitted when the value changes.
|
|
98
126
|
* @param {string} value - New value.
|
|
99
127
|
*/
|
|
100
|
-
'update:modelValue'
|
|
128
|
+
'update:modelValue'(value: string): void;
|
|
101
129
|
/**
|
|
102
130
|
* Callback to invoke when text of editor changes.
|
|
103
131
|
* @param {EditorTextChangeEvent} event - Custom text change event.
|
|
104
132
|
*/
|
|
105
|
-
'text-change'
|
|
133
|
+
'text-change'(event: EditorTextChangeEvent): void;
|
|
106
134
|
/**
|
|
107
135
|
* Callback to invoke when selection of the text changes.
|
|
108
136
|
* @param {EditorSelectionChangeEvent} event - Custom selection change event.
|
|
109
137
|
*/
|
|
110
|
-
'selection-change'
|
|
138
|
+
'selection-change'(event: EditorSelectionChangeEvent): void;
|
|
111
139
|
/**
|
|
112
140
|
* Callback to invoke when the quill modules are loaded.
|
|
113
141
|
* @param {EditorLoadEvent} event - Custom load event.
|
|
114
142
|
*/
|
|
115
|
-
load
|
|
116
|
-
}
|
|
143
|
+
load(event: EditorLoadEvent): void;
|
|
144
|
+
}
|
|
117
145
|
|
|
146
|
+
/**
|
|
147
|
+
* **PrimeVue - Editor**
|
|
148
|
+
*
|
|
149
|
+
* _Editor groups a collection of contents in tabs._
|
|
150
|
+
*
|
|
151
|
+
* [Live Demo](https://www.primevue.org/editor/)
|
|
152
|
+
* --- ---
|
|
153
|
+
* 
|
|
154
|
+
*
|
|
155
|
+
* @group Component
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
118
158
|
declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> {}
|
|
119
159
|
|
|
120
160
|
declare module '@vue/runtime-core' {
|
|
@@ -123,13 +163,4 @@ declare module '@vue/runtime-core' {
|
|
|
123
163
|
}
|
|
124
164
|
}
|
|
125
165
|
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* Editor is rich text editor component based on Quill.
|
|
129
|
-
*
|
|
130
|
-
* Demos:
|
|
131
|
-
*
|
|
132
|
-
* - [Editor](https://www.primefaces.org/primevue/editor)
|
|
133
|
-
*
|
|
134
|
-
*/
|
|
135
166
|
export default Editor;
|
package/fieldset/Fieldset.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Fieldset is a grouping component with the optional content toggle feature.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/fieldset/)
|
|
6
|
+
*
|
|
7
|
+
* @module fieldset
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
import { AnchorHTMLAttributes, VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Custom toggle event.
|
|
15
|
+
* @see {@link FieldsetEmits.toggle}
|
|
16
|
+
*/
|
|
4
17
|
export interface FieldsetToggleEvent {
|
|
5
18
|
/**
|
|
6
19
|
* Browser event.
|
|
@@ -12,6 +25,9 @@ export interface FieldsetToggleEvent {
|
|
|
12
25
|
value: boolean;
|
|
13
26
|
}
|
|
14
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Defines valid properties in Fieldset component.
|
|
30
|
+
*/
|
|
15
31
|
export interface FieldsetProps {
|
|
16
32
|
/**
|
|
17
33
|
* Header text of the fieldset.
|
|
@@ -19,18 +35,23 @@ export interface FieldsetProps {
|
|
|
19
35
|
legend?: string | undefined;
|
|
20
36
|
/**
|
|
21
37
|
* When specified, content can toggled by clicking the legend.
|
|
38
|
+
* @defaultValue false
|
|
22
39
|
*/
|
|
23
40
|
toggleable?: boolean | undefined;
|
|
24
41
|
/**
|
|
25
42
|
* Defines the default visibility state of the content.
|
|
43
|
+
* @defaultValue false
|
|
26
44
|
*/
|
|
27
45
|
collapsed?: boolean | undefined;
|
|
28
46
|
/**
|
|
29
|
-
* Uses to pass the custom value to read for the
|
|
47
|
+
* Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component.
|
|
30
48
|
*/
|
|
31
|
-
toggleButtonProps?:
|
|
49
|
+
toggleButtonProps?: AnchorHTMLAttributes | undefined;
|
|
32
50
|
}
|
|
33
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Defines valid slots in Fieldset slots.
|
|
54
|
+
*/
|
|
34
55
|
export interface FieldsetSlots {
|
|
35
56
|
/**
|
|
36
57
|
* Default content slot.
|
|
@@ -42,19 +63,34 @@ export interface FieldsetSlots {
|
|
|
42
63
|
legend: () => VNode[];
|
|
43
64
|
}
|
|
44
65
|
|
|
45
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Defines valid emits in Fildset component.
|
|
68
|
+
*/
|
|
69
|
+
export interface FieldsetEmits {
|
|
46
70
|
/**
|
|
47
71
|
* Emitted when the collapsed changes.
|
|
48
72
|
* @param {boolean} value - New value.
|
|
49
73
|
*/
|
|
50
|
-
'update:collapsed'
|
|
74
|
+
'update:collapsed'(value: boolean): void;
|
|
51
75
|
/**
|
|
52
76
|
* Callback to invoke when a tab gets expanded or collapsed.
|
|
53
77
|
* @param {FieldsetToggleEvent} event - Custom toggle event.
|
|
54
78
|
*/
|
|
55
|
-
toggle
|
|
56
|
-
}
|
|
79
|
+
toggle(event: FieldsetToggleEvent): void;
|
|
80
|
+
}
|
|
57
81
|
|
|
82
|
+
/**
|
|
83
|
+
* **PrimeVue - Fieldset**
|
|
84
|
+
*
|
|
85
|
+
* _Fieldset is a grouping component with the optional content toggle feature._
|
|
86
|
+
*
|
|
87
|
+
* [Live Demo](https://www.primevue.org/fieldset/)
|
|
88
|
+
* --- ---
|
|
89
|
+
* 
|
|
90
|
+
*
|
|
91
|
+
* @group Component
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
58
94
|
declare class Fieldset extends ClassComponent<FieldsetProps, FieldsetSlots, FieldsetEmits> {}
|
|
59
95
|
|
|
60
96
|
declare module '@vue/runtime-core' {
|
|
@@ -63,13 +99,4 @@ declare module '@vue/runtime-core' {
|
|
|
63
99
|
}
|
|
64
100
|
}
|
|
65
101
|
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* Fieldset is a grouping component with the optional content toggle feature.
|
|
69
|
-
*
|
|
70
|
-
* Demos:
|
|
71
|
-
*
|
|
72
|
-
* - [Fieldset](https://www.primefaces.org/primevue/fieldset)
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
102
|
export default Fieldset;
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/fileupload/)
|
|
6
|
+
*
|
|
7
|
+
* @module fileupload
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Custom select event.
|
|
15
|
+
* @see {@link FileUploadEmits.select}
|
|
16
|
+
*/
|
|
6
17
|
export interface FileUploadSelectEvent {
|
|
7
18
|
/**
|
|
8
19
|
* Browser event.
|
|
@@ -14,6 +25,10 @@ export interface FileUploadSelectEvent {
|
|
|
14
25
|
files: any;
|
|
15
26
|
}
|
|
16
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Custom before upload event.
|
|
30
|
+
* @see {@link FileUploadEmits['before-upload']}
|
|
31
|
+
*/
|
|
17
32
|
export interface FileUploadBeforeUploadEvent {
|
|
18
33
|
/**
|
|
19
34
|
* XmlHttpRequest instance.
|
|
@@ -25,6 +40,10 @@ export interface FileUploadBeforeUploadEvent {
|
|
|
25
40
|
formData: FormData;
|
|
26
41
|
}
|
|
27
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Custom progress event.
|
|
45
|
+
* @see {@link FileUploadEmits.progress }
|
|
46
|
+
*/
|
|
28
47
|
export interface FileUploadProgressEvent {
|
|
29
48
|
/**
|
|
30
49
|
* Browser event.
|
|
@@ -36,6 +55,10 @@ export interface FileUploadProgressEvent {
|
|
|
36
55
|
progress: number;
|
|
37
56
|
}
|
|
38
57
|
|
|
58
|
+
/**
|
|
59
|
+
* Custom upload event.
|
|
60
|
+
* @see {@link FileUploadEmits.upload}
|
|
61
|
+
*/
|
|
39
62
|
export interface FileUploadUploadEvent {
|
|
40
63
|
/**
|
|
41
64
|
* XmlHttpRequest instance.
|
|
@@ -47,13 +70,20 @@ export interface FileUploadUploadEvent {
|
|
|
47
70
|
files: File | File[];
|
|
48
71
|
}
|
|
49
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Custom uploader event.
|
|
75
|
+
* @see {@link FileUploadEmits.uploader}
|
|
76
|
+
*/
|
|
50
77
|
export interface FileUploadUploaderEvent {
|
|
51
78
|
/**
|
|
52
79
|
* List of selected files.
|
|
53
80
|
*/
|
|
54
81
|
files: File | File[];
|
|
55
82
|
}
|
|
56
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Custom error event.
|
|
85
|
+
* @see {@link FileUploadEmits.error}
|
|
86
|
+
*/
|
|
57
87
|
export interface FileUploadErrorEvent {
|
|
58
88
|
/**
|
|
59
89
|
* XmlHttpRequest instance.
|
|
@@ -64,7 +94,10 @@ export interface FileUploadErrorEvent {
|
|
|
64
94
|
*/
|
|
65
95
|
files: File | File[];
|
|
66
96
|
}
|
|
67
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Custom before send event.
|
|
99
|
+
* @see {@link FileUploadEmits['before-send']}
|
|
100
|
+
*/
|
|
68
101
|
export interface FileUploadBeforeSendEvent {
|
|
69
102
|
/**
|
|
70
103
|
* XmlHttpRequest instance.
|
|
@@ -76,6 +109,10 @@ export interface FileUploadBeforeSendEvent {
|
|
|
76
109
|
formData: FormData;
|
|
77
110
|
}
|
|
78
111
|
|
|
112
|
+
/**
|
|
113
|
+
* Custom remove event.
|
|
114
|
+
* @see {@link FileUploadEmits.remove}
|
|
115
|
+
*/
|
|
79
116
|
export interface FileUploadRemoveEvent {
|
|
80
117
|
/**
|
|
81
118
|
* Removed file.
|
|
@@ -86,7 +123,10 @@ export interface FileUploadRemoveEvent {
|
|
|
86
123
|
*/
|
|
87
124
|
files: File[];
|
|
88
125
|
}
|
|
89
|
-
|
|
126
|
+
/**
|
|
127
|
+
* Custom remove upload file event.
|
|
128
|
+
* @see {@link FileUploadEmits['remove-uploaded-file']}
|
|
129
|
+
*/
|
|
90
130
|
export interface FileUploadRemoveUploadedFile {
|
|
91
131
|
/**
|
|
92
132
|
* Removed file.
|
|
@@ -98,6 +138,9 @@ export interface FileUploadRemoveUploadedFile {
|
|
|
98
138
|
files: File[];
|
|
99
139
|
}
|
|
100
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Defines valid properties in FileUpload component.
|
|
143
|
+
*/
|
|
101
144
|
export interface FileUploadProps {
|
|
102
145
|
/**
|
|
103
146
|
* Name of the request parameter to identify the files at backend.
|
|
@@ -109,12 +152,12 @@ export interface FileUploadProps {
|
|
|
109
152
|
url?: string | undefined;
|
|
110
153
|
/**
|
|
111
154
|
* Defines the UI of the component, possible values are 'advanced' and 'basic'.
|
|
112
|
-
* @
|
|
113
|
-
* Default value is 'advanced'.
|
|
155
|
+
* @defaultValue advanced
|
|
114
156
|
*/
|
|
115
|
-
mode?:
|
|
157
|
+
mode?: 'advanced' | 'basic' | undefined;
|
|
116
158
|
/**
|
|
117
159
|
* Used to select multiple files at once from file dialog.
|
|
160
|
+
* @defaultValue false
|
|
118
161
|
*/
|
|
119
162
|
multiple?: boolean | undefined;
|
|
120
163
|
/**
|
|
@@ -123,10 +166,12 @@ export interface FileUploadProps {
|
|
|
123
166
|
accept?: string | undefined;
|
|
124
167
|
/**
|
|
125
168
|
* Disables the upload functionality.
|
|
169
|
+
* @defaultValue false
|
|
126
170
|
*/
|
|
127
171
|
disabled?: boolean | undefined;
|
|
128
172
|
/**
|
|
129
173
|
* When enabled, upload begins automatically after selection is completed.
|
|
174
|
+
* @defaultValue false
|
|
130
175
|
*/
|
|
131
176
|
auto?: boolean | undefined;
|
|
132
177
|
/**
|
|
@@ -135,17 +180,17 @@ export interface FileUploadProps {
|
|
|
135
180
|
maxFileSize?: number | undefined;
|
|
136
181
|
/**
|
|
137
182
|
* Message of the invalid fize size.
|
|
138
|
-
*
|
|
183
|
+
* @defaultValue {0}: Invalid file size, file size should be smaller than {1.}
|
|
139
184
|
*/
|
|
140
185
|
invalidFileSizeMessage?: string | undefined;
|
|
141
186
|
/**
|
|
142
187
|
* Message to display when number of files to be uploaded exceeeds the limit.
|
|
143
|
-
*
|
|
188
|
+
* @defaultValue Maximum number of files to be uploaded is {0.}
|
|
144
189
|
*/
|
|
145
190
|
invalidFileLimitMessage?: string | undefined;
|
|
146
191
|
/**
|
|
147
192
|
* Message of the invalid fize type.
|
|
148
|
-
*
|
|
193
|
+
* @defaultValue '{0}: Invalid file type.'
|
|
149
194
|
*/
|
|
150
195
|
invalidFileTypeMessage?: string | undefined;
|
|
151
196
|
/**
|
|
@@ -154,11 +199,12 @@ export interface FileUploadProps {
|
|
|
154
199
|
fileLimit?: number | undefined;
|
|
155
200
|
/**
|
|
156
201
|
* Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.
|
|
202
|
+
* @defaultValue false
|
|
157
203
|
*/
|
|
158
204
|
withCredentials?: boolean | undefined;
|
|
159
205
|
/**
|
|
160
206
|
* Width of the image thumbnail in pixels.
|
|
161
|
-
*
|
|
207
|
+
* @defaultValue 50
|
|
162
208
|
*/
|
|
163
209
|
previewWidth?: number | undefined;
|
|
164
210
|
/**
|
|
@@ -167,12 +213,11 @@ export interface FileUploadProps {
|
|
|
167
213
|
chooseLabel?: string | undefined;
|
|
168
214
|
/**
|
|
169
215
|
* Label of the upload button. Defaults to PrimeVue Locale configuration.
|
|
170
|
-
* Default value is 'Upload'.
|
|
171
216
|
*/
|
|
172
217
|
uploadLabel?: string | undefined;
|
|
173
218
|
/**
|
|
174
219
|
* Label of the cancel button. Defaults to PrimeVue Locale configuration.
|
|
175
|
-
*
|
|
220
|
+
* @defaultValue Cancel
|
|
176
221
|
*/
|
|
177
222
|
cancelLabel?: string | undefined;
|
|
178
223
|
/**
|
|
@@ -181,24 +226,27 @@ export interface FileUploadProps {
|
|
|
181
226
|
customUpload?: boolean | undefined;
|
|
182
227
|
/**
|
|
183
228
|
* Whether to show the upload button.
|
|
184
|
-
*
|
|
229
|
+
* @defaultValue true
|
|
185
230
|
*/
|
|
186
231
|
showUploadButton?: boolean | undefined;
|
|
187
232
|
/**
|
|
188
233
|
* Whether to show the cancel button.
|
|
189
|
-
*
|
|
234
|
+
* @defaultValue true
|
|
190
235
|
*/
|
|
191
236
|
showCancelButton?: boolean | undefined;
|
|
192
237
|
/**
|
|
193
238
|
* Icon of the choose button.
|
|
239
|
+
* @defaultValue pi pi-fw pi-plus
|
|
194
240
|
*/
|
|
195
241
|
chooseIcon?: string | undefined;
|
|
196
242
|
/**
|
|
197
243
|
* Icon of the upload button.
|
|
244
|
+
* @defaultValue pi pi-fw pi-upload
|
|
198
245
|
*/
|
|
199
246
|
uploadIcon?: string | undefined;
|
|
200
247
|
/**
|
|
201
248
|
* Icon of the cancel button.
|
|
249
|
+
* @defaultValue pi pi-fw pi-times
|
|
202
250
|
*/
|
|
203
251
|
cancelIcon?: string | undefined;
|
|
204
252
|
/**
|
|
@@ -211,11 +259,14 @@ export interface FileUploadProps {
|
|
|
211
259
|
class?: any;
|
|
212
260
|
}
|
|
213
261
|
|
|
262
|
+
/**
|
|
263
|
+
* Defines valid slots in FileUpload slots.
|
|
264
|
+
*/
|
|
214
265
|
export interface FileUploadSlots {
|
|
215
266
|
/**
|
|
216
267
|
* Custom header content template.
|
|
217
268
|
*/
|
|
218
|
-
header
|
|
269
|
+
header(scope: {
|
|
219
270
|
/**
|
|
220
271
|
* Files to upload.
|
|
221
272
|
*/
|
|
@@ -227,20 +278,20 @@ export interface FileUploadSlots {
|
|
|
227
278
|
/**
|
|
228
279
|
* Choose function
|
|
229
280
|
*/
|
|
230
|
-
chooseCallback
|
|
281
|
+
chooseCallback(): void;
|
|
231
282
|
/**
|
|
232
283
|
* Upload function
|
|
233
284
|
*/
|
|
234
|
-
uploadCallback
|
|
285
|
+
uploadCallback(): void;
|
|
235
286
|
/**
|
|
236
287
|
* Clear function
|
|
237
288
|
*/
|
|
238
|
-
clearCallback
|
|
239
|
-
})
|
|
289
|
+
clearCallback(): void;
|
|
290
|
+
}): VNode[];
|
|
240
291
|
/**
|
|
241
292
|
* Custom uploaded content template.
|
|
242
293
|
*/
|
|
243
|
-
content
|
|
294
|
+
content(scope: {
|
|
244
295
|
/**
|
|
245
296
|
* Files to upload.
|
|
246
297
|
*/
|
|
@@ -252,11 +303,11 @@ export interface FileUploadSlots {
|
|
|
252
303
|
/**
|
|
253
304
|
* Function to remove an uploaded file.
|
|
254
305
|
*/
|
|
255
|
-
removeUploadedFileCallback
|
|
306
|
+
removeUploadedFileCallback(index: number): void;
|
|
256
307
|
/**
|
|
257
308
|
* Function to remove a file.
|
|
258
309
|
*/
|
|
259
|
-
removeFileCallback
|
|
310
|
+
removeFileCallback(index: number): void;
|
|
260
311
|
/**
|
|
261
312
|
* Uploaded progress as number.
|
|
262
313
|
*/
|
|
@@ -265,65 +316,77 @@ export interface FileUploadSlots {
|
|
|
265
316
|
* Status messages about upload process.
|
|
266
317
|
*/
|
|
267
318
|
messages: string | undefined;
|
|
268
|
-
})
|
|
319
|
+
}): VNode[];
|
|
269
320
|
/**
|
|
270
321
|
* Custom content when there is no selected file.
|
|
271
322
|
*/
|
|
272
|
-
empty
|
|
323
|
+
empty(): VNode[];
|
|
273
324
|
}
|
|
274
325
|
|
|
275
|
-
export
|
|
326
|
+
export interface FileUploadEmits {
|
|
276
327
|
/**
|
|
277
328
|
* Callback to invoke when files are selected.
|
|
278
329
|
* @param {FileUploadSelectEvent} event - Custom select event.
|
|
279
330
|
*/
|
|
280
|
-
select
|
|
331
|
+
select(event: FileUploadSelectEvent): void;
|
|
281
332
|
/**
|
|
282
333
|
* Callback to invoke before file upload begins to customize the request such as post parameters before the files.
|
|
283
334
|
* @param {FileUploadBeforeUploadEvent} event - Custom before upload event.
|
|
284
335
|
*/
|
|
285
|
-
'before-upload'
|
|
336
|
+
'before-upload'(event: FileUploadBeforeUploadEvent): void;
|
|
286
337
|
/**
|
|
287
338
|
* Callback to invoke when files are being uploaded.
|
|
288
339
|
* @param {FileUploadProgressEvent} event - Custom progress event.
|
|
289
340
|
*/
|
|
290
|
-
progress
|
|
341
|
+
progress(event: FileUploadProgressEvent): void;
|
|
291
342
|
/**
|
|
292
343
|
* Callback to invoke when file upload is complete.
|
|
293
344
|
* @param {FileUploadUploadEvent} event - Custom upload event.
|
|
294
345
|
*/
|
|
295
|
-
upload
|
|
346
|
+
upload(event: FileUploadUploadEvent): void;
|
|
296
347
|
/**
|
|
297
348
|
* Callback to invoke to implement a custom upload.
|
|
298
349
|
* @param {FileUploadUploaderEvent} event - Custom uploader event.
|
|
299
350
|
*/
|
|
300
|
-
uploader
|
|
351
|
+
uploader(event: FileUploadUploaderEvent): void;
|
|
301
352
|
/**
|
|
302
353
|
* Callback to invoke if file upload fails.
|
|
303
354
|
* @param {FileUploadErrorEvent} event - Custom error event.
|
|
304
355
|
*/
|
|
305
|
-
error
|
|
356
|
+
error(event: FileUploadErrorEvent): void;
|
|
306
357
|
/**
|
|
307
358
|
* Callback to invoke before file send begins to customize the request such as adding headers.
|
|
308
359
|
* @param {FileUploadBeforeSendEvent} event - Custom before send event.
|
|
309
360
|
*/
|
|
310
|
-
'before-send'
|
|
361
|
+
'before-send'(event: FileUploadBeforeSendEvent): void;
|
|
311
362
|
/**
|
|
312
363
|
* Callback to invoke when files in queue are removed without uploading.
|
|
313
364
|
*/
|
|
314
|
-
clear
|
|
365
|
+
clear(): void;
|
|
315
366
|
/**
|
|
316
367
|
* Callback to invoke when a singe file is removed from the list.
|
|
317
368
|
* @param {FileUploadRemoveEvent} event - Custom remove event.
|
|
318
369
|
*/
|
|
319
|
-
remove
|
|
370
|
+
remove(event: FileUploadRemoveEvent): void;
|
|
320
371
|
/**
|
|
321
372
|
* Callback to invoke when a single uploaded file is removed from the uploaded file list.
|
|
322
373
|
* @param {FileUploadRemoveUploadedFile} event - Custom uploaded file remove event.
|
|
323
374
|
*/
|
|
324
|
-
removeUploadedFile
|
|
325
|
-
}
|
|
375
|
+
removeUploadedFile(event: FileUploadRemoveUploadedFile): void;
|
|
376
|
+
}
|
|
326
377
|
|
|
378
|
+
/**
|
|
379
|
+
* **PrimeVue - FileUpload**
|
|
380
|
+
*
|
|
381
|
+
* _FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations._
|
|
382
|
+
*
|
|
383
|
+
* [Live Demo](https://www.primevue.org/fileupload/)
|
|
384
|
+
* --- ---
|
|
385
|
+
* 
|
|
386
|
+
*
|
|
387
|
+
* @group Component
|
|
388
|
+
*
|
|
389
|
+
*/
|
|
327
390
|
declare class FileUpload extends ClassComponent<FileUploadProps, FileUploadSlots, FileUploadEmits> {}
|
|
328
391
|
|
|
329
392
|
declare module '@vue/runtime-core' {
|
|
@@ -332,13 +395,4 @@ declare module '@vue/runtime-core' {
|
|
|
332
395
|
}
|
|
333
396
|
}
|
|
334
397
|
|
|
335
|
-
/**
|
|
336
|
-
*
|
|
337
|
-
* FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.
|
|
338
|
-
*
|
|
339
|
-
* Demos:
|
|
340
|
-
*
|
|
341
|
-
* - [FileUpload](https://www.primefaces.org/primevue/fileupload)
|
|
342
|
-
*
|
|
343
|
-
*/
|
|
344
398
|
export default FileUpload;
|
package/focustrap/FocusTrap.d.ts
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Focus Trap keeps focus within a certain DOM element while tabbing.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://primevue.org/focustrap)
|
|
6
|
+
*
|
|
7
|
+
* @module focustrap
|
|
8
|
+
*/
|
|
9
|
+
import { DirectiveBinding, ObjectDirective } from 'vue';
|
|
2
10
|
|
|
3
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Defines options of FocusTrap.
|
|
13
|
+
*/
|
|
14
|
+
export interface FocusTrapOptions {
|
|
15
|
+
/**
|
|
16
|
+
* When present, it specifies that the directive should be disabled.
|
|
17
|
+
* @defaultValue false
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
}
|
|
4
21
|
|
|
5
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Binding of FocusTrap directive.
|
|
24
|
+
*/
|
|
25
|
+
export interface FocusTrapDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
26
|
+
/**
|
|
27
|
+
* Value of the FocusTrap.
|
|
28
|
+
*/
|
|
29
|
+
value?: FocusTrapOptions | undefined;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* **PrimeVue - FocusTrap**
|
|
34
|
+
*
|
|
35
|
+
* _FocusTrap directive provides advisory information for a component._
|
|
36
|
+
*
|
|
37
|
+
* [Live Demo](https://www.primevue.org/focustrap/)
|
|
38
|
+
* --- ---
|
|
39
|
+
* 
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
declare const FocusTrap: ObjectDirective;
|
|
43
|
+
|
|
44
|
+
export default FocusTrap;
|