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
|
@@ -54,6 +54,34 @@ var script = {
|
|
|
54
54
|
menuButtonIcon: {
|
|
55
55
|
type: String,
|
|
56
56
|
default: 'pi pi-chevron-down'
|
|
57
|
+
},
|
|
58
|
+
severity: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: null
|
|
61
|
+
},
|
|
62
|
+
raised: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: false
|
|
65
|
+
},
|
|
66
|
+
rounded: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: false
|
|
69
|
+
},
|
|
70
|
+
text: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
74
|
+
outlined: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: false
|
|
77
|
+
},
|
|
78
|
+
size: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: null
|
|
81
|
+
},
|
|
82
|
+
plain: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: false
|
|
57
85
|
}
|
|
58
86
|
},
|
|
59
87
|
data() {
|
|
@@ -83,7 +111,19 @@ var script = {
|
|
|
83
111
|
return UniqueComponentId();
|
|
84
112
|
},
|
|
85
113
|
containerClass() {
|
|
86
|
-
return [
|
|
114
|
+
return [
|
|
115
|
+
'p-splitbutton p-component',
|
|
116
|
+
this.class,
|
|
117
|
+
{
|
|
118
|
+
[`p-button-${this.severity}`]: this.severity,
|
|
119
|
+
'p-button-raised': this.raised,
|
|
120
|
+
'p-button-rounded': this.rounded,
|
|
121
|
+
'p-button-text': this.text,
|
|
122
|
+
'p-button-outlined': this.outlined,
|
|
123
|
+
'p-button-sm': this.size === 'small',
|
|
124
|
+
'p-button-lg': this.size === 'large'
|
|
125
|
+
}
|
|
126
|
+
];
|
|
87
127
|
}
|
|
88
128
|
},
|
|
89
129
|
components: {
|
|
@@ -162,10 +202,10 @@ function styleInject(css, ref) {
|
|
|
162
202
|
}
|
|
163
203
|
}
|
|
164
204
|
|
|
165
|
-
var css_248z = "\n.p-splitbutton[data-v-
|
|
205
|
+
var css_248z = "\n.p-splitbutton[data-v-0df0b659] {\n display: inline-flex;\n position: relative;\n}\n.p-splitbutton .p-splitbutton-defaultbutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659] {\n flex: 1 1 auto;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: 0 none;\n}\n.p-splitbutton-menubutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button[data-v-0df0b659] {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-splitbutton .p-menu[data-v-0df0b659] {\n min-width: 100%;\n}\n.p-fluid .p-splitbutton[data-v-0df0b659] {\n display: flex;\n}\n";
|
|
166
206
|
styleInject(css_248z);
|
|
167
207
|
|
|
168
208
|
script.render = render;
|
|
169
|
-
script.__scopeId = "data-v-
|
|
209
|
+
script.__scopeId = "data-v-0df0b659";
|
|
170
210
|
|
|
171
211
|
export { script as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/button";import
|
|
1
|
+
import t from"primevue/button";import e from"primevue/tieredmenu";import{UniqueComponentId as n}from"primevue/utils";import{resolveComponent as o,openBlock as l,createElementBlock as d,normalizeClass as u,normalizeStyle as a,renderSlot as i,createVNode as p,mergeProps as s}from"vue";var r={name:"SplitButton",emits:["click"],props:{label:{type:String,default:null},icon:{type:String,default:null},model:{type:Array,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:String,default:"body"},disabled:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},buttonProps:{type:null,default:null},menuButtonProps:{type:null,default:null},menuButtonIcon:{type:String,default:"pi pi-chevron-down"},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},data:()=>({isExpanded:!1}),methods:{onDropdownButtonClick(){this.$refs.menu.toggle({currentTarget:this.$el,relatedTarget:this.$refs.button.$el}),this.isExpanded=!this.$refs.menu.visible},onDropdownKeydown(t){"ArrowDown"!==t.code&&"ArrowUp"!==t.code||(this.onDropdownButtonClick(),t.preventDefault())},onDefaultButtonClick(t){this.$refs.menu.hide(t),this.$emit("click")}},computed:{ariaId:()=>n(),containerClass(){return["p-splitbutton p-component",this.class,{[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":"small"===this.size,"p-button-lg":"large"===this.size}]}},components:{PVSButton:t,PVSMenu:e}};!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===n&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=t:l.appendChild(document.createTextNode(t))}}("\n.p-splitbutton[data-v-0df0b659] {\n display: inline-flex;\n position: relative;\n}\n.p-splitbutton .p-splitbutton-defaultbutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659] {\n flex: 1 1 auto;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: 0 none;\n}\n.p-splitbutton-menubutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button[data-v-0df0b659] {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-splitbutton .p-menu[data-v-0df0b659] {\n min-width: 100%;\n}\n.p-fluid .p-splitbutton[data-v-0df0b659] {\n display: flex;\n}\n"),r.render=function(t,e,n,r,b,f){const c=o("PVSButton"),m=o("PVSMenu");return l(),d("div",{class:u(f.containerClass),style:a(n.style)},[i(t.$slots,"default",{},(()=>[p(c,s({type:"button",class:"p-splitbutton-defaultbutton",icon:n.icon,label:n.label,disabled:n.disabled,"aria-label":n.label,onClick:f.onDefaultButtonClick},n.buttonProps),null,16,["icon","label","disabled","aria-label","onClick"])])),p(c,s({ref:"button",type:"button",class:"p-splitbutton-menubutton",icon:n.menuButtonIcon,disabled:n.disabled,"aria-haspopup":"true","aria-expanded":b.isExpanded,"aria-controls":f.ariaId+"_overlay",onClick:f.onDropdownButtonClick,onKeydown:f.onDropdownKeydown},n.menuButtonProps),null,16,["icon","disabled","aria-expanded","aria-controls","onClick","onKeydown"]),p(m,{ref:"menu",id:f.ariaId+"_overlay",model:n.model,popup:!0,autoZIndex:n.autoZIndex,baseZIndex:n.baseZIndex,appendTo:n.appendTo},null,8,["id","model","autoZIndex","baseZIndex","appendTo"])],6)},r.__scopeId="data-v-0df0b659";export{r as default};
|
|
@@ -58,6 +58,34 @@ this.primevue.splitbutton = (function (Button, TieredMenu, utils, vue) {
|
|
|
58
58
|
menuButtonIcon: {
|
|
59
59
|
type: String,
|
|
60
60
|
default: 'pi pi-chevron-down'
|
|
61
|
+
},
|
|
62
|
+
severity: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: null
|
|
65
|
+
},
|
|
66
|
+
raised: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: false
|
|
69
|
+
},
|
|
70
|
+
rounded: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
74
|
+
text: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: false
|
|
77
|
+
},
|
|
78
|
+
outlined: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: false
|
|
81
|
+
},
|
|
82
|
+
size: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: null
|
|
85
|
+
},
|
|
86
|
+
plain: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: false
|
|
61
89
|
}
|
|
62
90
|
},
|
|
63
91
|
data() {
|
|
@@ -87,7 +115,19 @@ this.primevue.splitbutton = (function (Button, TieredMenu, utils, vue) {
|
|
|
87
115
|
return utils.UniqueComponentId();
|
|
88
116
|
},
|
|
89
117
|
containerClass() {
|
|
90
|
-
return [
|
|
118
|
+
return [
|
|
119
|
+
'p-splitbutton p-component',
|
|
120
|
+
this.class,
|
|
121
|
+
{
|
|
122
|
+
[`p-button-${this.severity}`]: this.severity,
|
|
123
|
+
'p-button-raised': this.raised,
|
|
124
|
+
'p-button-rounded': this.rounded,
|
|
125
|
+
'p-button-text': this.text,
|
|
126
|
+
'p-button-outlined': this.outlined,
|
|
127
|
+
'p-button-sm': this.size === 'small',
|
|
128
|
+
'p-button-lg': this.size === 'large'
|
|
129
|
+
}
|
|
130
|
+
];
|
|
91
131
|
}
|
|
92
132
|
},
|
|
93
133
|
components: {
|
|
@@ -166,11 +206,11 @@ this.primevue.splitbutton = (function (Button, TieredMenu, utils, vue) {
|
|
|
166
206
|
}
|
|
167
207
|
}
|
|
168
208
|
|
|
169
|
-
var css_248z = "\n.p-splitbutton[data-v-
|
|
209
|
+
var css_248z = "\n.p-splitbutton[data-v-0df0b659] {\n display: inline-flex;\n position: relative;\n}\n.p-splitbutton .p-splitbutton-defaultbutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659] {\n flex: 1 1 auto;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: 0 none;\n}\n.p-splitbutton-menubutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button[data-v-0df0b659] {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-splitbutton .p-menu[data-v-0df0b659] {\n min-width: 100%;\n}\n.p-fluid .p-splitbutton[data-v-0df0b659] {\n display: flex;\n}\n";
|
|
170
210
|
styleInject(css_248z);
|
|
171
211
|
|
|
172
212
|
script.render = render;
|
|
173
|
-
script.__scopeId = "data-v-
|
|
213
|
+
script.__scopeId = "data-v-0df0b659";
|
|
174
214
|
|
|
175
215
|
return script;
|
|
176
216
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.splitbutton=function(t,e,n,o){"use strict";function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=l(t),
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.splitbutton=function(t,e,n,o){"use strict";function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=l(t),d=l(e),a={name:"SplitButton",emits:["click"],props:{label:{type:String,default:null},icon:{type:String,default:null},model:{type:Array,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:String,default:"body"},disabled:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},buttonProps:{type:null,default:null},menuButtonProps:{type:null,default:null},menuButtonIcon:{type:String,default:"pi pi-chevron-down"},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},data:()=>({isExpanded:!1}),methods:{onDropdownButtonClick(){this.$refs.menu.toggle({currentTarget:this.$el,relatedTarget:this.$refs.button.$el}),this.isExpanded=!this.$refs.menu.visible},onDropdownKeydown(t){"ArrowDown"!==t.code&&"ArrowUp"!==t.code||(this.onDropdownButtonClick(),t.preventDefault())},onDefaultButtonClick(t){this.$refs.menu.hide(t),this.$emit("click")}},computed:{ariaId:()=>n.UniqueComponentId(),containerClass(){return["p-splitbutton p-component",this.class,{[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":"small"===this.size,"p-button-lg":"large"===this.size}]}},components:{PVSButton:u.default,PVSMenu:d.default}};return function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===n&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=t:l.appendChild(document.createTextNode(t))}}("\n.p-splitbutton[data-v-0df0b659] {\n display: inline-flex;\n position: relative;\n}\n.p-splitbutton .p-splitbutton-defaultbutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-defaultbutton.p-button[data-v-0df0b659] {\n flex: 1 1 auto;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: 0 none;\n}\n.p-splitbutton-menubutton[data-v-0df0b659],\n.p-splitbutton.p-button-rounded > .p-splitbutton-menubutton.p-button[data-v-0df0b659],\n.p-splitbutton.p-button-outlined > .p-splitbutton-menubutton.p-button[data-v-0df0b659] {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-splitbutton .p-menu[data-v-0df0b659] {\n min-width: 100%;\n}\n.p-fluid .p-splitbutton[data-v-0df0b659] {\n display: flex;\n}\n"),a.render=function(t,e,n,l,u,d){const a=o.resolveComponent("PVSButton"),i=o.resolveComponent("PVSMenu");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(d.containerClass),style:o.normalizeStyle(n.style)},[o.renderSlot(t.$slots,"default",{},(()=>[o.createVNode(a,o.mergeProps({type:"button",class:"p-splitbutton-defaultbutton",icon:n.icon,label:n.label,disabled:n.disabled,"aria-label":n.label,onClick:d.onDefaultButtonClick},n.buttonProps),null,16,["icon","label","disabled","aria-label","onClick"])])),o.createVNode(a,o.mergeProps({ref:"button",type:"button",class:"p-splitbutton-menubutton",icon:n.menuButtonIcon,disabled:n.disabled,"aria-haspopup":"true","aria-expanded":u.isExpanded,"aria-controls":d.ariaId+"_overlay",onClick:d.onDropdownButtonClick,onKeydown:d.onDropdownKeydown},n.menuButtonProps),null,16,["icon","disabled","aria-expanded","aria-controls","onClick","onKeydown"]),o.createVNode(i,{ref:"menu",id:d.ariaId+"_overlay",model:n.model,popup:!0,autoZIndex:n.autoZIndex,baseZIndex:n.baseZIndex,appendTo:n.appendTo},null,8,["id","model","autoZIndex","baseZIndex","appendTo"])],6)},a.__scopeId="data-v-0df0b659",a}(primevue.button,primevue.tieredmenu,primevue.utils,Vue);
|
package/splitter/Splitter.d.ts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Splitter is utilized to separate and resize panels.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/splitter/)
|
|
6
|
+
*
|
|
7
|
+
* @module splitter
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Custom resize start event.
|
|
15
|
+
* @see {@link SplitterEmits.resizestar}
|
|
16
|
+
*/
|
|
8
17
|
export interface SplitterResizeStartEvent {
|
|
9
18
|
/**
|
|
10
19
|
* Browser event
|
|
@@ -16,6 +25,10 @@ export interface SplitterResizeStartEvent {
|
|
|
16
25
|
sizes: number[];
|
|
17
26
|
}
|
|
18
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Custom resize end event.
|
|
30
|
+
* @see {@link PickListEmits.resizeend}
|
|
31
|
+
*/
|
|
19
32
|
export interface SplitterResizeEndEvent {
|
|
20
33
|
/**
|
|
21
34
|
* Browser event
|
|
@@ -27,16 +40,18 @@ export interface SplitterResizeEndEvent {
|
|
|
27
40
|
sizes: number[];
|
|
28
41
|
}
|
|
29
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Defines valid properties in Splitter component.
|
|
45
|
+
*/
|
|
30
46
|
export interface SplitterProps {
|
|
31
47
|
/**
|
|
32
48
|
* Orientation of the panels.
|
|
33
|
-
* @
|
|
34
|
-
* Default value is 'horizontal'.
|
|
49
|
+
* @defaultValue horizontal
|
|
35
50
|
*/
|
|
36
|
-
layout?:
|
|
51
|
+
layout?: 'horizontal' | 'vertical' | undefined;
|
|
37
52
|
/**
|
|
38
53
|
* Size of the divider in pixels.
|
|
39
|
-
*
|
|
54
|
+
* @defaultValue 4
|
|
40
55
|
*/
|
|
41
56
|
gutterSize?: number | undefined;
|
|
42
57
|
/**
|
|
@@ -45,37 +60,54 @@ export interface SplitterProps {
|
|
|
45
60
|
stateKey?: string | undefined;
|
|
46
61
|
/**
|
|
47
62
|
* Defines where a stateful splitter keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage.
|
|
48
|
-
* @
|
|
49
|
-
* Default value is 'session'.
|
|
63
|
+
* @defaultValue session
|
|
50
64
|
*/
|
|
51
|
-
stateStorage?:
|
|
65
|
+
stateStorage?: 'local' | 'session' | undefined;
|
|
52
66
|
/**
|
|
53
67
|
* Step factor to increment/decrement the size of the panels while pressing the arrow keys.
|
|
54
|
-
*
|
|
68
|
+
* @defaultValue 1
|
|
55
69
|
*/
|
|
56
70
|
step?: number | undefined;
|
|
57
71
|
}
|
|
58
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Defines valid slots in Splitter slots.
|
|
75
|
+
*/
|
|
59
76
|
export interface SplitterSlots {
|
|
60
77
|
/**
|
|
61
78
|
* Default slot to detect SplitterPanel components.
|
|
62
79
|
*/
|
|
63
|
-
default
|
|
80
|
+
default(): VNode[];
|
|
64
81
|
}
|
|
65
82
|
|
|
66
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Defines valid emits in Splitter component.
|
|
85
|
+
*/
|
|
86
|
+
export interface SplitterEmits {
|
|
67
87
|
/**
|
|
68
88
|
* Callback to invoke when resize starts.
|
|
69
89
|
* @param {SplitterResizeStartEvent} event - Custom resize start event.
|
|
70
90
|
*/
|
|
71
|
-
resizestar
|
|
91
|
+
resizestar(event: SplitterResizeStartEvent): void;
|
|
72
92
|
/**
|
|
73
93
|
* Callback to invoke when resize ends.
|
|
74
94
|
* @param {SplitterResizeEndEvent} event - Custom resize end event.
|
|
75
95
|
*/
|
|
76
|
-
resizeend
|
|
77
|
-
}
|
|
96
|
+
resizeend(event: SplitterResizeEndEvent): void;
|
|
97
|
+
}
|
|
78
98
|
|
|
99
|
+
/**
|
|
100
|
+
* **PrimeVue - Splitter**
|
|
101
|
+
*
|
|
102
|
+
* _Splitter is utilized to separate and resize panels._
|
|
103
|
+
*
|
|
104
|
+
* [Live Demo](https://www.primevue.org/splitter/)
|
|
105
|
+
* --- ---
|
|
106
|
+
* 
|
|
107
|
+
*
|
|
108
|
+
* @group Component
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
79
111
|
declare class Splitter extends ClassComponent<SplitterProps, SplitterSlots, SplitterEmits> {}
|
|
80
112
|
|
|
81
113
|
declare module '@vue/runtime-core' {
|
|
@@ -84,17 +116,4 @@ declare module '@vue/runtime-core' {
|
|
|
84
116
|
}
|
|
85
117
|
}
|
|
86
118
|
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* Splitter is utilized to separate and resize panels.
|
|
90
|
-
*
|
|
91
|
-
* Helper Components:
|
|
92
|
-
*
|
|
93
|
-
* - SplitterPanel
|
|
94
|
-
*
|
|
95
|
-
* Demos:
|
|
96
|
-
*
|
|
97
|
-
* - [Splitter](https://www.primefaces.org/primevue/splitter)
|
|
98
|
-
*
|
|
99
|
-
*/
|
|
100
119
|
export default Splitter;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* SplitterPanel is a helper component for Splitter component.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/splitter/)
|
|
6
|
+
*
|
|
7
|
+
* @module splitterpanel
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Defines valid properties in SplitterPanel component.
|
|
15
|
+
*/
|
|
4
16
|
export interface SplitterPanelProps {
|
|
5
17
|
/**
|
|
6
18
|
* Size of the element relative to 100%.
|
|
@@ -12,6 +24,9 @@ export interface SplitterPanelProps {
|
|
|
12
24
|
minSize?: number | undefined;
|
|
13
25
|
}
|
|
14
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Defines valid slots in SplitterPanel slots.
|
|
29
|
+
*/
|
|
15
30
|
export interface SplitterPanelSlots {
|
|
16
31
|
/**
|
|
17
32
|
* Custom content template.
|
|
@@ -19,8 +34,20 @@ export interface SplitterPanelSlots {
|
|
|
19
34
|
default: () => VNode[];
|
|
20
35
|
}
|
|
21
36
|
|
|
22
|
-
export
|
|
37
|
+
export interface SplitterPanelEmits {}
|
|
23
38
|
|
|
39
|
+
/**
|
|
40
|
+
* **PrimeVue - SplitterPanel**
|
|
41
|
+
*
|
|
42
|
+
* _SplitterPanel is a helper component for Splitter component._
|
|
43
|
+
*
|
|
44
|
+
* [Live Demo](https://www.primevue.org/splitterpanel/)
|
|
45
|
+
* --- ---
|
|
46
|
+
* 
|
|
47
|
+
*
|
|
48
|
+
* @group Component
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
24
51
|
declare class SplitterPanel extends ClassComponent<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits> {}
|
|
25
52
|
|
|
26
53
|
declare module '@vue/runtime-core' {
|
|
@@ -29,13 +56,4 @@ declare module '@vue/runtime-core' {
|
|
|
29
56
|
}
|
|
30
57
|
}
|
|
31
58
|
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* SplitterPanel is a helper component for Splitter component.
|
|
35
|
-
*
|
|
36
|
-
* Demos:
|
|
37
|
-
*
|
|
38
|
-
* - [SplitterPanel](https://www.primefaces.org/primevue/splitter)
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
59
|
export default SplitterPanel;
|
package/steps/Steps.d.ts
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/steps/)
|
|
6
|
+
*
|
|
7
|
+
* @module steps
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
11
|
import { MenuItem } from '../menuitem';
|
|
12
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
4
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Defines valid properties in Steps component.
|
|
16
|
+
*/
|
|
5
17
|
export interface StepsProps {
|
|
6
18
|
/**
|
|
7
19
|
* Unique identifier of the element.
|
|
@@ -13,31 +25,49 @@ export interface StepsProps {
|
|
|
13
25
|
model?: MenuItem[] | undefined;
|
|
14
26
|
/**
|
|
15
27
|
* Whether the items are clickable or not.
|
|
16
|
-
*
|
|
28
|
+
* @defaultValue true
|
|
17
29
|
*/
|
|
18
30
|
readonly?: boolean | undefined;
|
|
19
31
|
/**
|
|
20
32
|
* Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
|
|
21
|
-
*
|
|
33
|
+
* @defaultValue true
|
|
22
34
|
*/
|
|
23
35
|
exact?: boolean | undefined;
|
|
24
36
|
}
|
|
25
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Defines valid slots in Steps component.
|
|
40
|
+
*/
|
|
26
41
|
export interface StepsSlots {
|
|
27
42
|
/**
|
|
28
43
|
* Custom item template.
|
|
29
44
|
* @param {Object} scope - item slot's params.
|
|
30
45
|
*/
|
|
31
|
-
item
|
|
46
|
+
item(scope: {
|
|
32
47
|
/**
|
|
33
48
|
* Menuitem instance
|
|
34
49
|
*/
|
|
35
50
|
item: MenuItem;
|
|
36
|
-
})
|
|
51
|
+
}): VNode[];
|
|
37
52
|
}
|
|
38
53
|
|
|
39
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Defines valid emits in Steps component.
|
|
56
|
+
*/
|
|
57
|
+
export interface StepsEmits {}
|
|
40
58
|
|
|
59
|
+
/**
|
|
60
|
+
* **PrimeVue - Steps**
|
|
61
|
+
*
|
|
62
|
+
* _Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps._
|
|
63
|
+
*
|
|
64
|
+
* [Live Demo](https://www.primevue.org/steps/)
|
|
65
|
+
* --- ---
|
|
66
|
+
* 
|
|
67
|
+
*
|
|
68
|
+
* @group Component
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
41
71
|
declare class Steps extends ClassComponent<StepsProps, StepsSlots, StepsEmits> {}
|
|
42
72
|
|
|
43
73
|
declare module '@vue/runtime-core' {
|
|
@@ -46,13 +76,4 @@ declare module '@vue/runtime-core' {
|
|
|
46
76
|
}
|
|
47
77
|
}
|
|
48
78
|
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.
|
|
52
|
-
*
|
|
53
|
-
* Demos:
|
|
54
|
-
*
|
|
55
|
-
* - [Steps](https://www.primefaces.org/primevue/steps)
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
79
|
export default Steps;
|
|
@@ -1,5 +1,76 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://primevue.org/styleclass)
|
|
6
|
+
*
|
|
7
|
+
* @module styleclass
|
|
8
|
+
*/
|
|
9
|
+
import { DirectiveBinding, ObjectDirective } from 'vue';
|
|
2
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Defines options of StyleClass.
|
|
13
|
+
*/
|
|
14
|
+
export interface StyleClassOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Selector to define the target element. Available selectors are '@next', '@prev', '@parent' and '@grandparent'.
|
|
17
|
+
*/
|
|
18
|
+
selector?: '@next' | '@prev' | '@parent' | '@grandparent' | string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Style class to add when item begins to get displayed.
|
|
21
|
+
*/
|
|
22
|
+
enterClassName?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Style class to add during enter animation.
|
|
25
|
+
*/
|
|
26
|
+
enterActiveClassName?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Style class to add when item begins to get displayed.
|
|
29
|
+
*/
|
|
30
|
+
enterToClassName?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Style class to add when item begins to get hidden.
|
|
33
|
+
*/
|
|
34
|
+
leaveClassName?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Style class to add during leave animation.
|
|
37
|
+
*/
|
|
38
|
+
leaveActiveClassName?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Style class to add when leave animation is completed.
|
|
41
|
+
*/
|
|
42
|
+
leaveToClassName?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Whether to trigger leave animation when outside of the element is clicked.
|
|
45
|
+
* @defaultValue false
|
|
46
|
+
*/
|
|
47
|
+
hideOnOutsideClick?: boolean | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Adds or removes a class when no enter-leave animation is required.
|
|
50
|
+
*/
|
|
51
|
+
toggleClass?: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Binding of StyleClass directive.
|
|
56
|
+
*/
|
|
57
|
+
export interface StyleClassDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
58
|
+
/**
|
|
59
|
+
* Value of the StyleClass.
|
|
60
|
+
*/
|
|
61
|
+
value?: StyleClassOptions | undefined;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* **PrimeVue - StyleClass**
|
|
66
|
+
*
|
|
67
|
+
* _StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element._
|
|
68
|
+
*
|
|
69
|
+
* [Live Demo](https://www.primevue.org/styleclass/)
|
|
70
|
+
* --- ---
|
|
71
|
+
* 
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
3
74
|
declare const StyleClass: ObjectDirective;
|
|
4
75
|
|
|
5
76
|
export default StyleClass;
|
package/tabmenu/TabMenu.d.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu.
|
|
4
|
+
*
|
|
5
|
+
* [Live Demo](https://www.primevue.org/tabmenu/)
|
|
6
|
+
*
|
|
7
|
+
* @module tabmenu
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
1
10
|
import { VNode } from 'vue';
|
|
2
11
|
import { MenuItem } from '../menuitem';
|
|
3
12
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
4
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Custom change event.
|
|
16
|
+
* @see {@link TabMenuEmits['tab-change']}
|
|
17
|
+
*/
|
|
5
18
|
export interface TabMenuChangeEvent {
|
|
6
19
|
/**
|
|
7
20
|
* Browser event
|
|
@@ -13,6 +26,9 @@ export interface TabMenuChangeEvent {
|
|
|
13
26
|
index: number;
|
|
14
27
|
}
|
|
15
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Defines valid properties in TabMenu component.
|
|
31
|
+
*/
|
|
16
32
|
export interface TabMenuProps {
|
|
17
33
|
/**
|
|
18
34
|
* An array of menuitems.
|
|
@@ -20,12 +36,12 @@ export interface TabMenuProps {
|
|
|
20
36
|
model?: MenuItem[] | undefined;
|
|
21
37
|
/**
|
|
22
38
|
* Defines if active route highlight should match the exact route path.
|
|
23
|
-
*
|
|
39
|
+
* @defaultValue true
|
|
24
40
|
*/
|
|
25
41
|
exact?: boolean | undefined;
|
|
26
42
|
/**
|
|
27
43
|
* Active index of menuitem.
|
|
28
|
-
*
|
|
44
|
+
* @defaultValue 0
|
|
29
45
|
*/
|
|
30
46
|
activeIndex?: number | undefined;
|
|
31
47
|
/**
|
|
@@ -38,27 +54,45 @@ export interface TabMenuProps {
|
|
|
38
54
|
'aria-labelledby'?: string | undefined;
|
|
39
55
|
}
|
|
40
56
|
|
|
57
|
+
/**
|
|
58
|
+
* Defines valid slots in TabMenu component.
|
|
59
|
+
*/
|
|
41
60
|
export interface TabMenuSlots {
|
|
42
61
|
/**
|
|
43
62
|
* Custom content for each item.
|
|
44
63
|
* @param {Object} scope - item slot's params.
|
|
45
64
|
*/
|
|
46
|
-
item
|
|
65
|
+
item(scope: {
|
|
47
66
|
/**
|
|
48
67
|
* Menuitem instance
|
|
49
68
|
*/
|
|
50
69
|
item: MenuItem;
|
|
51
|
-
})
|
|
70
|
+
}): VNode[];
|
|
52
71
|
}
|
|
53
72
|
|
|
54
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Defines valid emits in TabMenu component.
|
|
75
|
+
*/
|
|
76
|
+
export interface TabMenuEmits {
|
|
55
77
|
/**
|
|
56
78
|
* Callback to invoke when an active tab is changed.
|
|
57
79
|
* @param {TabMenuChangeEvent} event - Custom tab change event.
|
|
58
80
|
*/
|
|
59
|
-
'tab-change'
|
|
60
|
-
}
|
|
81
|
+
'tab-change'(event: TabMenuChangeEvent): void;
|
|
82
|
+
}
|
|
61
83
|
|
|
84
|
+
/**
|
|
85
|
+
* **PrimeVue - TabMenu**
|
|
86
|
+
*
|
|
87
|
+
* _TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu._
|
|
88
|
+
*
|
|
89
|
+
* [Live Demo](https://www.primevue.org/tabmenu/)
|
|
90
|
+
* --- ---
|
|
91
|
+
* 
|
|
92
|
+
*
|
|
93
|
+
* @group Component
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
62
96
|
declare class TabMenu extends ClassComponent<TabMenuProps, TabMenuSlots, TabMenuEmits> {}
|
|
63
97
|
|
|
64
98
|
declare module '@vue/runtime-core' {
|
|
@@ -67,13 +101,4 @@ declare module '@vue/runtime-core' {
|
|
|
67
101
|
}
|
|
68
102
|
}
|
|
69
103
|
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu.
|
|
73
|
-
*
|
|
74
|
-
* Demos:
|
|
75
|
-
*
|
|
76
|
-
* - [TabMenu](https://www.primefaces.org/primevue/tabmenu)
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
104
|
export default TabMenu;
|
package/tabmenu/TabMenu.vue
CHANGED