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
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* [Live Demo](https://www.primevue.org/confirmdialog/)
|
|
4
|
+
*
|
|
5
|
+
* @module confirmationoptions
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
2
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Confirmation Service options.
|
|
11
|
+
*/
|
|
3
12
|
export interface ConfirmationOptions {
|
|
4
13
|
/**
|
|
5
14
|
* Element to align the overlay.
|
|
@@ -18,11 +27,10 @@ export interface ConfirmationOptions {
|
|
|
18
27
|
*/
|
|
19
28
|
group?: string | undefined;
|
|
20
29
|
/**
|
|
21
|
-
* Position of the dialog
|
|
22
|
-
* @
|
|
23
|
-
* Default value is 'center'.
|
|
30
|
+
* Position of the dialog.
|
|
31
|
+
* @defaultValue center
|
|
24
32
|
*/
|
|
25
|
-
position?:
|
|
33
|
+
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright' | undefined;
|
|
26
34
|
/**
|
|
27
35
|
* Icon to display next to the message.
|
|
28
36
|
*/
|
|
@@ -33,12 +41,13 @@ export interface ConfirmationOptions {
|
|
|
33
41
|
blockScroll?: boolean | undefined;
|
|
34
42
|
/**
|
|
35
43
|
* Callback to execute when action is confirmed.
|
|
44
|
+
* @todo Next release should be able to change
|
|
36
45
|
*/
|
|
37
46
|
accept?: () => void;
|
|
38
47
|
/**
|
|
39
48
|
* Callback to execute when action is rejected.
|
|
40
49
|
*/
|
|
41
|
-
reject
|
|
50
|
+
reject?(): void;
|
|
42
51
|
/**
|
|
43
52
|
* Callback to execute when dialog is hidden.
|
|
44
53
|
*/
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* [Live Demo](https://www.primevue.org/confirmdialog/)
|
|
4
|
+
*
|
|
5
|
+
* @module confirmationservice-useconfirm
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
1
8
|
import { Plugin } from 'vue';
|
|
2
9
|
import { ConfirmationOptions } from '../confirmationoptions';
|
|
3
10
|
|
|
4
11
|
declare const plugin: Plugin;
|
|
5
12
|
export default plugin;
|
|
6
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Confirmation Service methods.
|
|
16
|
+
* @group Model
|
|
17
|
+
*/
|
|
7
18
|
export interface ConfirmationServiceMethods {
|
|
8
19
|
/**
|
|
9
20
|
* Displays the dialog using the confirmation object options.
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/confirmdialog)
|
|
6
|
+
*
|
|
7
|
+
* @module confirmdialog
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
11
|
import { ConfirmationOptions } from '../confirmationoptions';
|
|
12
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
4
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Breakpoint metadata.
|
|
16
|
+
*/
|
|
5
17
|
export interface ConfirmDialogBreakpoints {
|
|
6
18
|
/**
|
|
7
19
|
* Breakpoint for responsive mode.
|
|
@@ -21,6 +33,9 @@ export interface ConfirmDialogBreakpoints {
|
|
|
21
33
|
[key: string]: string;
|
|
22
34
|
}
|
|
23
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Defines valid properties in ConfirmDialog component.
|
|
38
|
+
*/
|
|
24
39
|
export interface ConfirmDialogProps {
|
|
25
40
|
/**
|
|
26
41
|
* Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.
|
|
@@ -33,16 +48,33 @@ export interface ConfirmDialogProps {
|
|
|
33
48
|
breakpoints?: ConfirmDialogBreakpoints;
|
|
34
49
|
}
|
|
35
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Defines valid slots in ConfirmDialog component.
|
|
53
|
+
*/
|
|
36
54
|
export interface ConfirmDialogSlots {
|
|
37
55
|
/**
|
|
38
56
|
* Custom message template.
|
|
39
57
|
* @param {Object} scope - message slot's params.
|
|
40
58
|
*/
|
|
41
|
-
message
|
|
59
|
+
message(scope: { message: ConfirmationOptions }): VNode[];
|
|
42
60
|
}
|
|
43
61
|
|
|
44
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Defines valid emits in ConfirmDialog component.
|
|
64
|
+
*/
|
|
65
|
+
export interface ConfirmDialogEmits {}
|
|
45
66
|
|
|
67
|
+
/**
|
|
68
|
+
* **PrimeVue - ConfirmDialog**
|
|
69
|
+
*
|
|
70
|
+
* _ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag._
|
|
71
|
+
*
|
|
72
|
+
* [Live Demo](https://www.primevue.org/confirmdialog/)
|
|
73
|
+
* --- ---
|
|
74
|
+
* 
|
|
75
|
+
*
|
|
76
|
+
* @group Component
|
|
77
|
+
*/
|
|
46
78
|
declare class ConfirmDialog extends ClassComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits> {}
|
|
47
79
|
|
|
48
80
|
declare module '@vue/runtime-core' {
|
|
@@ -51,18 +83,4 @@ declare module '@vue/runtime-core' {
|
|
|
51
83
|
}
|
|
52
84
|
}
|
|
53
85
|
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.
|
|
57
|
-
*
|
|
58
|
-
* Helper API:
|
|
59
|
-
*
|
|
60
|
-
* - Confirmation API
|
|
61
|
-
* - ConfirmationService
|
|
62
|
-
*
|
|
63
|
-
* Demos:
|
|
64
|
-
*
|
|
65
|
-
* - [ConfirmDialog](https://www.primefaces.org/primevue/confirmdialog)
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
86
|
export default ConfirmDialog;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* ConfirmPopup displays a confirmation overlay displayed relatively to its target.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/confirmpopup)
|
|
6
|
+
*
|
|
7
|
+
* @module confirmpopup
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
11
|
import { ConfirmationOptions } from '../confirmationoptions';
|
|
12
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
4
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Defines valid properties in ConfirmPopup component.
|
|
16
|
+
*/
|
|
5
17
|
export interface ConfirmPopupProps {
|
|
6
18
|
/**
|
|
7
19
|
* Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.
|
|
@@ -9,16 +21,33 @@ export interface ConfirmPopupProps {
|
|
|
9
21
|
group?: string;
|
|
10
22
|
}
|
|
11
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Defines valid slots in ConfirmPopup component.
|
|
26
|
+
*/
|
|
12
27
|
export interface ConfirmPopupSlots {
|
|
13
28
|
/**
|
|
14
29
|
* Custom message template.
|
|
15
30
|
* @param {Object} scope - message slot's params.
|
|
16
31
|
*/
|
|
17
|
-
message
|
|
32
|
+
message(scope: { message: ConfirmationOptions }): VNode[];
|
|
18
33
|
}
|
|
19
34
|
|
|
20
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Defines valid emits in ConfirmPopup component.
|
|
37
|
+
*/
|
|
38
|
+
export interface ConfirmPopupEmits {}
|
|
21
39
|
|
|
40
|
+
/**
|
|
41
|
+
* **PrimeVue - ConfirmPopup**
|
|
42
|
+
*
|
|
43
|
+
* _ConfirmPopup displays a confirmation overlay displayed relatively to its target._
|
|
44
|
+
*
|
|
45
|
+
* [Live Demo](https://www.primevue.org/confirmpopup/)
|
|
46
|
+
* --- ---
|
|
47
|
+
* 
|
|
48
|
+
*
|
|
49
|
+
* @group Component
|
|
50
|
+
*/
|
|
22
51
|
declare class ConfirmPopup extends ClassComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits> {}
|
|
23
52
|
|
|
24
53
|
declare module '@vue/runtime-core' {
|
|
@@ -27,18 +56,4 @@ declare module '@vue/runtime-core' {
|
|
|
27
56
|
}
|
|
28
57
|
}
|
|
29
58
|
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* ConfirmPopup displays a confirmation overlay displayed relatively to its target.
|
|
33
|
-
*
|
|
34
|
-
* Helper API:
|
|
35
|
-
*
|
|
36
|
-
* - Confirmation API
|
|
37
|
-
* - ConfirmationService
|
|
38
|
-
*
|
|
39
|
-
* Demos:
|
|
40
|
-
*
|
|
41
|
-
* - [ConfirmPopup](https://www.primefaces.org/primevue/confirmpopup)
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
59
|
export default ConfirmPopup;
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
|
|
4
|
+
* Refer to documentation of the individual documentation of the with context menu support.
|
|
5
|
+
*
|
|
6
|
+
* [Live Demo](https://www.primevue.org/contextmenu/)
|
|
7
|
+
*
|
|
8
|
+
* @module contextmenu
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
1
11
|
import { VNode } from 'vue';
|
|
2
12
|
import { MenuItem } from '../menuitem';
|
|
3
13
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
4
14
|
|
|
5
|
-
|
|
6
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Defines valid properties in ContextMenu component.
|
|
17
|
+
*/
|
|
7
18
|
export interface ContextMenuProps {
|
|
8
19
|
/**
|
|
9
20
|
* An array of menuitems.
|
|
@@ -11,27 +22,27 @@ export interface ContextMenuProps {
|
|
|
11
22
|
model?: MenuItem[] | undefined;
|
|
12
23
|
/**
|
|
13
24
|
* A valid query selector or an HTMLElement to specify where the overlay gets attached.
|
|
14
|
-
* @
|
|
15
|
-
* Default value is 'body'
|
|
25
|
+
* @defaultValue body
|
|
16
26
|
*/
|
|
17
|
-
appendTo?:
|
|
27
|
+
appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
|
|
18
28
|
/**
|
|
19
29
|
* Whether to automatically manage layering.
|
|
20
|
-
*
|
|
30
|
+
* @defaultValue true
|
|
21
31
|
*/
|
|
22
32
|
autoZIndex?: boolean | undefined;
|
|
23
33
|
/**
|
|
24
34
|
* Base zIndex value to use in layering.
|
|
25
|
-
*
|
|
35
|
+
* @defaultValue 0
|
|
26
36
|
*/
|
|
27
37
|
baseZIndex?: number | undefined;
|
|
28
38
|
/**
|
|
29
39
|
* Attaches the menu to document instead of a particular item.
|
|
40
|
+
* @defaultValue false
|
|
30
41
|
*/
|
|
31
42
|
global?: boolean | undefined;
|
|
32
43
|
/**
|
|
33
44
|
* Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
|
|
34
|
-
*
|
|
45
|
+
* @defaultValue true
|
|
35
46
|
*/
|
|
36
47
|
exact?: boolean | undefined;
|
|
37
48
|
/**
|
|
@@ -48,48 +59,67 @@ export interface ContextMenuProps {
|
|
|
48
59
|
'aria-labelledby'?: string | undefined;
|
|
49
60
|
}
|
|
50
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Defines valid slots in ContextMenu component.
|
|
64
|
+
*/
|
|
51
65
|
export interface ContextMenuSlots {
|
|
52
66
|
/**
|
|
53
67
|
* Custom item template.
|
|
54
68
|
* @param {Object} scope - item slot's params.
|
|
55
69
|
*/
|
|
56
|
-
item
|
|
70
|
+
item(scope: {
|
|
57
71
|
/**
|
|
58
72
|
* Menuitem instance
|
|
59
73
|
*/
|
|
60
74
|
item: MenuItem;
|
|
61
|
-
})
|
|
75
|
+
}): VNode[];
|
|
62
76
|
}
|
|
63
77
|
|
|
64
|
-
|
|
78
|
+
/**
|
|
79
|
+
* Defines valid emits in ContextMenu component.
|
|
80
|
+
*/
|
|
81
|
+
export interface ContextMenuEmits {
|
|
65
82
|
/**
|
|
66
83
|
* Callback to invoke when the component receives focus.
|
|
67
84
|
* @param {Event} event - Browser event.
|
|
68
85
|
*/
|
|
69
|
-
focus
|
|
86
|
+
focus(event: Event): void;
|
|
70
87
|
/**
|
|
71
88
|
* Callback to invoke when the component loses focus.
|
|
72
89
|
* @param {Event} event - Browser event.
|
|
73
90
|
*/
|
|
74
|
-
blur
|
|
91
|
+
blur(event: Event): void;
|
|
75
92
|
/**
|
|
76
93
|
* Callback to invoke before the popup is shown.
|
|
77
94
|
*/
|
|
78
|
-
'before-show'
|
|
95
|
+
'before-show'(): void;
|
|
79
96
|
/**
|
|
80
97
|
* Callback to invoke before the popup is hidden.
|
|
81
98
|
*/
|
|
82
|
-
'before-hide'
|
|
99
|
+
'before-hide'(): void;
|
|
83
100
|
/**
|
|
84
101
|
* Callback to invoke when the popup is shown.
|
|
85
102
|
*/
|
|
86
|
-
show
|
|
103
|
+
show(): void;
|
|
87
104
|
/**
|
|
88
105
|
* Callback to invoke when the popup is hidden.
|
|
89
106
|
*/
|
|
90
|
-
hide
|
|
91
|
-
}
|
|
107
|
+
hide(): void;
|
|
108
|
+
}
|
|
92
109
|
|
|
110
|
+
/**
|
|
111
|
+
* **PrimeVue - ContextMenu**
|
|
112
|
+
*
|
|
113
|
+
* _ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
|
|
114
|
+
* Refer to documentation of the individual documentation of the with context menu support._
|
|
115
|
+
*
|
|
116
|
+
* [Live Demo](https://www.primevue.org/contextmenu/)
|
|
117
|
+
* --- ---
|
|
118
|
+
* 
|
|
119
|
+
*
|
|
120
|
+
* @group Component
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
93
123
|
declare class ContextMenu extends ClassComponent<ContextMenuProps, ContextMenuSlots, ContextMenuEmits> {
|
|
94
124
|
/**
|
|
95
125
|
* Toggles the visibility of the menu.
|
|
@@ -97,20 +127,20 @@ declare class ContextMenu extends ClassComponent<ContextMenuProps, ContextMenuSl
|
|
|
97
127
|
*
|
|
98
128
|
* @memberof ContextMenu
|
|
99
129
|
*/
|
|
100
|
-
toggle
|
|
130
|
+
toggle(event: Event): void;
|
|
101
131
|
/**
|
|
102
132
|
* Shows the menu.
|
|
103
133
|
* @param {Event} event - Browser event.
|
|
104
134
|
*
|
|
105
135
|
* @memberof ContextMenu
|
|
106
136
|
*/
|
|
107
|
-
show
|
|
137
|
+
show(event: Event): void;
|
|
108
138
|
/**
|
|
109
139
|
* Hides the menu.
|
|
110
140
|
*
|
|
111
141
|
* @memberof ContextMenu
|
|
112
142
|
*/
|
|
113
|
-
hide
|
|
143
|
+
hide(): void;
|
|
114
144
|
}
|
|
115
145
|
|
|
116
146
|
declare module '@vue/runtime-core' {
|
|
@@ -119,18 +149,4 @@ declare module '@vue/runtime-core' {
|
|
|
119
149
|
}
|
|
120
150
|
}
|
|
121
151
|
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
|
|
125
|
-
* Refer to documentation of the individual documentation of the with context menu support.
|
|
126
|
-
*
|
|
127
|
-
* Helper API:
|
|
128
|
-
*
|
|
129
|
-
* - [MenuItem](https://www.primefaces.org/primevue/menumodel)
|
|
130
|
-
*
|
|
131
|
-
* Demos:
|
|
132
|
-
*
|
|
133
|
-
* - [ContextMenu](https://www.primefaces.org/primevue/contextmenu)
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
152
|
export default ContextMenu;
|