primevue 3.31.0 → 3.32.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/accordion/Accordion.d.ts +5 -5
- package/accordion/Accordion.vue +1 -1
- package/accordion/accordion.cjs.js +3 -3
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +3 -3
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +3 -3
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.d.ts +18 -12
- package/autocomplete/AutoComplete.d.ts +34 -23
- package/autocomplete/AutoComplete.vue +3 -3
- package/autocomplete/BaseAutoComplete.vue +4 -0
- package/autocomplete/autocomplete.cjs.js +9 -5
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +9 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +9 -5
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +7 -7
- package/avatar/Avatar.vue +2 -2
- package/avatar/avatar.cjs.js +2 -2
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +2 -2
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +2 -2
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +3 -3
- package/badge/Badge.d.ts +3 -3
- package/badgedirective/BadgeDirective.d.ts +45 -4
- package/badgedirective/badgedirective.cjs.js +11 -1
- package/badgedirective/badgedirective.cjs.min.js +1 -1
- package/badgedirective/badgedirective.esm.js +11 -1
- package/badgedirective/badgedirective.esm.min.js +1 -1
- package/badgedirective/badgedirective.js +11 -1
- package/badgedirective/badgedirective.min.js +1 -1
- package/basecomponent/BaseComponent.vue +51 -25
- package/basecomponent/basecomponent.cjs.js +66 -42
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +66 -42
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +66 -42
- package/basecomponent/basecomponent.min.js +1 -1
- package/basedirective/basedirective.cjs.js +9 -3
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +9 -3
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +9 -3
- package/basedirective/basedirective.min.js +1 -1
- package/blockui/BaseBlockUI.vue +0 -8
- package/blockui/BlockUI.d.ts +7 -3
- package/blockui/BlockUI.vue +35 -10
- package/blockui/blockui.cjs.js +34 -12
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +34 -12
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +34 -12
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +10 -10
- package/button/Button.d.ts +8 -7
- package/button/Button.vue +4 -0
- package/button/button.cjs.js +5 -0
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +5 -0
- package/button/button.esm.min.js +1 -1
- package/button/button.js +5 -0
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +129 -53
- package/calendar/Calendar.vue +49 -7
- package/calendar/calendar.cjs.js +72 -35
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +72 -35
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +72 -35
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +9 -9
- package/carousel/Carousel.d.ts +32 -20
- package/carousel/Carousel.vue +10 -2
- package/carousel/carousel.cjs.js +11 -2
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +11 -2
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +11 -2
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +25 -19
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/cascadeselect.cjs.js +3 -3
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +3 -3
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +3 -3
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.d.ts +5 -5
- package/checkbox/Checkbox.d.ts +8 -8
- package/chip/Chip.d.ts +7 -7
- package/chips/Chips.d.ts +10 -10
- package/colorpicker/ColorPicker.d.ts +18 -11
- package/colorpicker/ColorPicker.vue +1 -1
- package/colorpicker/colorpicker.cjs.js +3 -3
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +3 -3
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +3 -3
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +58 -58
- package/columngroup/ColumnGroup.d.ts +3 -3
- package/config/PrimeVue.d.ts +8 -0
- package/config/config.cjs.js +4 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +4 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +4 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +14 -14
- package/confirmpopup/ConfirmPopup.d.ts +16 -10
- package/confirmpopup/ConfirmPopup.vue +1 -1
- package/confirmpopup/confirmpopup.cjs.js +3 -3
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +4 -4
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +3 -3
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +19 -13
- package/contextmenu/ContextMenu.vue +1 -1
- package/contextmenu/ContextMenuSub.vue +1 -1
- package/contextmenu/contextmenu.cjs.js +6 -6
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +7 -7
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +6 -6
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1958 -1326
- package/core/core.min.js +18 -16
- package/datatable/BaseDataTable.vue +1 -1
- package/datatable/BodyCell.vue +1 -0
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.d.ts +37 -31
- package/datatable/DataTable.vue +4 -1
- package/datatable/datatable.cjs.js +10 -5
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +10 -5
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +10 -5
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +10 -10
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +7 -7
- package/deferredcontent/DeferredContent.d.ts +3 -3
- package/dialog/BaseDialog.vue +3 -7
- package/dialog/Dialog.d.ts +21 -15
- package/dialog/Dialog.vue +2 -1
- package/dialog/dialog.cjs.js +9 -6
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +9 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +9 -6
- package/dialog/dialog.min.js +1 -1
- package/divider/BaseDivider.vue +9 -24
- package/divider/Divider.d.ts +4 -4
- package/divider/Divider.vue +1 -1
- package/divider/divider.cjs.js +15 -2
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +15 -2
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +15 -2
- package/divider/divider.min.js +1 -1
- package/dock/BaseDock.vue +1 -1
- package/dock/Dock.d.ts +9 -9
- package/dock/Dock.vue +19 -2
- package/dock/dock.cjs.js +10 -4
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +10 -4
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +10 -4
- package/dock/dock.min.js +1 -1
- package/dropdown/BaseDropdown.vue +5 -5
- package/dropdown/Dropdown.d.ts +34 -28
- package/dropdown/Dropdown.vue +2 -2
- package/dropdown/dropdown.cjs.js +9 -9
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +9 -9
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +9 -9
- package/dropdown/dropdown.min.js +1 -1
- package/editor/BaseEditor.vue +0 -14
- package/editor/Editor.d.ts +19 -19
- package/editor/Editor.vue +20 -20
- package/editor/editor.cjs.js +20 -34
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +20 -34
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +20 -34
- package/editor/editor.min.js +1 -1
- package/fieldset/Fieldset.d.ts +17 -11
- package/fieldset/Fieldset.vue +1 -1
- package/fieldset/fieldset.cjs.js +3 -3
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +3 -3
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +3 -3
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileUpload.d.ts +24 -24
- package/fileupload/FileUpload.vue +4 -4
- package/fileupload/fileupload.cjs.js +10 -4
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +10 -4
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +10 -4
- package/fileupload/fileupload.min.js +1 -1
- package/focustrap/FocusTrap.d.ts +5 -5
- package/galleria/Galleria.d.ts +53 -34
- package/galleria/Galleria.vue +1 -1
- package/galleria/GalleriaItem.vue +9 -2
- package/galleria/GalleriaThumbnails.vue +1 -0
- package/galleria/galleria.cjs.js +14 -5
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +14 -5
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +14 -5
- package/galleria/galleria.min.js +1 -1
- package/image/Image.d.ts +28 -21
- package/image/Image.vue +2 -2
- package/image/image.cjs.js +4 -3
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +4 -3
- package/image/image.esm.min.js +1 -1
- package/image/image.js +4 -3
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +5 -5
- package/inplace/Inplace.d.ts +8 -8
- package/inputmask/InputMask.d.ts +32 -4
- package/inputmask/InputMask.vue +9 -1
- package/inputmask/inputmask.cjs.js +9 -1
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +9 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +9 -1
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +10 -10
- package/inputswitch/InputSwitch.d.ts +7 -7
- package/inputtext/InputText.d.ts +3 -3
- package/knob/Knob.d.ts +7 -7
- package/listbox/Listbox.d.ts +18 -18
- package/megamenu/MegaMenu.d.ts +18 -18
- package/megamenu/MegaMenuSub.vue +1 -0
- package/megamenu/megamenu.cjs.js +2 -1
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +2 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +2 -1
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +20 -14
- package/menu/Menu.vue +1 -1
- package/menu/menu.cjs.js +3 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +3 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +3 -3
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +21 -17
- package/menubar/MenubarSub.vue +3 -1
- package/menubar/menubar.cjs.js +4 -2
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +4 -2
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +4 -2
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +18 -12
- package/message/Message.vue +1 -1
- package/message/message.cjs.js +3 -3
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +4 -4
- package/message/message.esm.min.js +1 -1
- package/message/message.js +3 -3
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +47 -41
- package/multiselect/MultiSelect.vue +1 -1
- package/multiselect/multiselect.cjs.js +3 -3
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +3 -3
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +3 -3
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +24 -18
- package/orderlist/OrderList.vue +2 -1
- package/orderlist/orderlist.cjs.js +3 -1
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +3 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +3 -1
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +15 -15
- package/overlaypanel/OverlayPanel.d.ts +13 -7
- package/overlaypanel/OverlayPanel.vue +2 -1
- package/overlaypanel/overlaypanel.cjs.js +5 -3
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +6 -4
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +5 -3
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +15 -15
- package/paginator/Paginator.d.ts +20 -20
- package/paginator/Paginator.vue +2 -1
- package/paginator/paginator.cjs.js +2 -0
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +3 -1
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +2 -0
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +19 -13
- package/panel/Panel.vue +1 -1
- package/panel/panel.cjs.js +3 -3
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +3 -3
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +3 -3
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +27 -21
- package/panelmenu/PanelMenu.vue +1 -1
- package/panelmenu/PanelMenuSub.vue +1 -1
- package/panelmenu/panelmenu.cjs.js +6 -6
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +6 -6
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +6 -6
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +74 -0
- package/passthrough/index.cjs.min.js +1 -0
- package/passthrough/index.d.ts +15 -0
- package/passthrough/index.esm.js +70 -0
- package/passthrough/index.esm.min.js +1 -0
- package/passthrough/index.js +77 -0
- package/passthrough/index.min.js +1 -0
- package/passthrough/package.json +6 -0
- package/{tailwind/tailwind.cjs.js → passthrough/tailwind/index.cjs.js} +1268 -828
- package/passthrough/tailwind/index.cjs.min.js +1 -0
- package/{tailwind/Tailwind.d.ts → passthrough/tailwind/index.d.ts} +1 -1
- package/{tailwind/tailwind.esm.js → passthrough/tailwind/index.esm.js} +1265 -828
- package/passthrough/tailwind/index.esm.min.js +1 -0
- package/{tailwind/tailwind.js → passthrough/tailwind/index.js} +1273 -830
- package/passthrough/tailwind/index.min.js +1 -0
- package/passthrough/tailwind/package.json +6 -0
- package/password/Password.d.ts +25 -14
- package/password/Password.vue +2 -1
- package/password/password.cjs.js +4 -3
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +4 -3
- package/password/password.esm.min.js +1 -1
- package/password/password.js +4 -3
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +42 -36
- package/picklist/PickList.vue +3 -2
- package/picklist/picklist.cjs.js +4 -2
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +4 -2
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +4 -2
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +5 -5
- package/progressspinner/ProgressSpinner.d.ts +5 -5
- package/radiobutton/RadioButton.d.ts +10 -10
- package/rating/Rating.d.ts +12 -12
- package/rating/Rating.vue +3 -3
- package/rating/rating.cjs.js +3 -3
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +3 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +3 -3
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +7 -0
- package/resources/themes/arya-green/theme.css +7 -0
- package/resources/themes/arya-orange/theme.css +7 -0
- package/resources/themes/arya-purple/theme.css +7 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +14 -0
- package/resources/themes/bootstrap4-dark-purple/theme.css +14 -0
- package/resources/themes/bootstrap4-light-blue/theme.css +14 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +14 -0
- package/resources/themes/fluent-light/theme.css +7 -0
- package/resources/themes/lara-dark-blue/theme.css +7 -0
- package/resources/themes/lara-dark-indigo/theme.css +7 -0
- package/resources/themes/lara-dark-purple/theme.css +7 -0
- package/resources/themes/lara-dark-teal/theme.css +7 -0
- package/resources/themes/lara-light-blue/theme.css +7 -0
- package/resources/themes/lara-light-indigo/theme.css +7 -0
- package/resources/themes/lara-light-purple/theme.css +7 -0
- package/resources/themes/lara-light-teal/theme.css +7 -0
- package/resources/themes/luna-amber/theme.css +7 -0
- package/resources/themes/luna-blue/theme.css +7 -0
- package/resources/themes/luna-green/theme.css +7 -0
- package/resources/themes/luna-pink/theme.css +7 -0
- package/resources/themes/md-dark-deeppurple/theme.css +7 -0
- package/resources/themes/md-dark-indigo/theme.css +7 -0
- package/resources/themes/md-light-deeppurple/theme.css +7 -0
- package/resources/themes/md-light-indigo/theme.css +7 -0
- package/resources/themes/mdc-dark-deeppurple/theme.css +7 -0
- package/resources/themes/mdc-dark-indigo/theme.css +7 -0
- package/resources/themes/mdc-light-deeppurple/theme.css +7 -0
- package/resources/themes/mdc-light-indigo/theme.css +7 -0
- package/resources/themes/mira/theme.css +7 -0
- package/resources/themes/nano/theme.css +7 -0
- package/resources/themes/nova/theme.css +7 -0
- package/resources/themes/nova-accent/theme.css +7 -0
- package/resources/themes/nova-alt/theme.css +7 -0
- package/resources/themes/nova-vue/theme.css +7 -0
- package/resources/themes/rhea/theme.css +7 -0
- package/resources/themes/saga-blue/theme.css +7 -0
- package/resources/themes/saga-green/theme.css +7 -0
- package/resources/themes/saga-orange/theme.css +7 -0
- package/resources/themes/saga-purple/theme.css +7 -0
- package/resources/themes/soho-dark/theme.css +7 -0
- package/resources/themes/soho-light/theme.css +7 -0
- package/resources/themes/tailwind-light/theme.css +7 -0
- package/resources/themes/vela-blue/theme.css +7 -0
- package/resources/themes/vela-green/theme.css +7 -0
- package/resources/themes/vela-orange/theme.css +7 -0
- package/resources/themes/vela-purple/theme.css +7 -0
- package/resources/themes/viva-dark/theme.css +7 -0
- package/resources/themes/viva-light/theme.css +7 -0
- package/ripple/Ripple.d.ts +3 -3
- package/row/Row.d.ts +2 -2
- package/scrollpanel/ScrollPanel.d.ts +7 -7
- package/scrolltop/ScrollTop.d.ts +11 -5
- package/scrolltop/ScrollTop.vue +1 -1
- package/scrolltop/scrolltop.cjs.js +3 -3
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +4 -4
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +3 -3
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +5 -5
- package/sidebar/Sidebar.d.ts +16 -10
- package/sidebar/Sidebar.vue +1 -1
- package/sidebar/sidebar.cjs.js +3 -3
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +3 -3
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +3 -3
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.d.ts +3 -3
- package/slider/Slider.d.ts +7 -7
- package/speeddial/BaseSpeedDial.vue +12 -36
- package/speeddial/SpeedDial.d.ts +14 -9
- package/speeddial/SpeedDial.vue +5 -4
- package/speeddial/speeddial.cjs.js +44 -23
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +44 -23
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +44 -23
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +8 -8
- package/splitbutton/SplitButton.vue +22 -3
- package/splitbutton/splitbutton.cjs.js +17 -5
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +17 -5
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +17 -5
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +16 -5
- package/splitter/Splitter.vue +8 -1
- package/splitter/splitter.cjs.js +9 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +9 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +9 -1
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.d.ts +3 -3
- package/splitterpanel/SplitterPanel.vue +1 -1
- package/splitterpanel/splitterpanel.cjs.js +1 -1
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +1 -1
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +1 -1
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/steps/Steps.d.ts +8 -8
- package/styleclass/StyleClass.d.ts +2 -2
- package/tabmenu/TabMenu.d.ts +9 -9
- package/tabpanel/TabPanel.d.ts +10 -10
- package/tabview/TabView.d.ts +16 -16
- package/tag/Tag.d.ts +5 -5
- package/terminal/Terminal.d.ts +11 -11
- package/textarea/Textarea.d.ts +3 -3
- package/tieredmenu/TieredMenu.d.ts +19 -13
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/tieredmenu.cjs.js +3 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +3 -3
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +3 -3
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +9 -9
- package/toast/BaseToast.vue +4 -0
- package/toast/Toast.d.ts +23 -17
- package/toast/Toast.vue +3 -2
- package/toast/toast.cjs.js +4 -2
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +5 -3
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +4 -2
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +31 -9
- package/togglebutton/ToggleButton.vue +12 -3
- package/togglebutton/togglebutton.cjs.js +12 -3
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +12 -3
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +12 -3
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +6 -6
- package/toolbar/Toolbar.vue +3 -3
- package/toolbar/toolbar.cjs.js +3 -6
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +3 -6
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +3 -6
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/Tooltip.d.ts +35 -6
- package/tooltip/tooltip.cjs.js +17 -4
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +17 -4
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +413 -400
- package/tooltip/tooltip.min.js +1 -1
- package/tree/Tree.d.ts +20 -20
- package/tree/Tree.vue +1 -0
- package/tree/tree.cjs.js +3 -2
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +3 -2
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +3 -2
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +23 -17
- package/treeselect/TreeSelect.vue +2 -2
- package/treeselect/treeselect.cjs.js +4 -4
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +4 -4
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +4 -4
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/TreeTable.d.ts +21 -21
- package/treetable/TreeTable.vue +2 -1
- package/treetable/treetable.cjs.js +1 -1
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +1 -1
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +1 -1
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +11 -11
- package/usestyle/UseStyle.d.ts +2 -1
- package/usestyle/usestyle.cjs.js +20 -7
- package/usestyle/usestyle.cjs.min.js +1 -1
- package/usestyle/usestyle.esm.js +20 -7
- package/usestyle/usestyle.esm.min.js +1 -1
- package/usestyle/usestyle.js +20 -7
- package/usestyle/usestyle.min.js +1 -1
- package/utils/Utils.d.ts +4 -0
- package/utils/utils.cjs.js +48 -8
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +48 -8
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +48 -8
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +129 -125
- package/vetur-tags.json +1 -0
- package/virtualscroller/BaseVirtualScroller.vue +1 -1
- package/virtualscroller/VirtualScroller.d.ts +7 -7
- package/virtualscroller/virtualscroller.cjs.js +2 -1
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +2 -1
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +2 -1
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +160 -127
- package/tailwind/package.json +0 -6
- package/tailwind/tailwind.cjs.min.js +0 -1
- package/tailwind/tailwind.esm.min.js +0 -1
- package/tailwind/tailwind.min.js +0 -1
package/calendar/Calendar.d.ts
CHANGED
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
* @module calendar
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
|
|
10
|
+
import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue';
|
|
11
11
|
import { ComponentHooks } from '../basecomponent';
|
|
12
12
|
import { ButtonPassThroughOptionType } from '../button';
|
|
13
13
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
14
14
|
|
|
15
15
|
export declare type CalendarPassThroughOptionType = CalendarPassThroughAttributes | ((options: CalendarPassThroughMethodOptions) => CalendarPassThroughAttributes | string) | string | null | undefined;
|
|
16
16
|
|
|
17
|
+
export declare type CalendarPassThroughTransitionType = TransitionProps | ((options: CalendarPassThroughMethodOptions) => TransitionProps) | undefined;
|
|
18
|
+
|
|
17
19
|
/**
|
|
18
20
|
* Custom passthrough(pt) option method.
|
|
19
21
|
*/
|
|
@@ -21,6 +23,7 @@ export interface CalendarPassThroughMethodOptions {
|
|
|
21
23
|
instance: any;
|
|
22
24
|
props: CalendarProps;
|
|
23
25
|
state: CalendarState;
|
|
26
|
+
context: CalendarContext;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
/**
|
|
@@ -88,207 +91,211 @@ export interface CalendarBlurEvent {
|
|
|
88
91
|
*/
|
|
89
92
|
export interface CalendarPassThroughOptions {
|
|
90
93
|
/**
|
|
91
|
-
*
|
|
94
|
+
* Used to pass attributes to the root's DOM element.
|
|
92
95
|
*/
|
|
93
96
|
root?: CalendarPassThroughOptionType;
|
|
94
97
|
/**
|
|
95
|
-
*
|
|
98
|
+
* Used to pass attributes to the input's DOM element.
|
|
96
99
|
*/
|
|
97
100
|
input?: CalendarPassThroughOptionType;
|
|
98
101
|
/**
|
|
99
|
-
*
|
|
102
|
+
* Used to pass attributes to the Button component.
|
|
100
103
|
* @see {@link ButtonPassThroughOptionType}
|
|
101
104
|
*/
|
|
102
105
|
dropdownButton?: ButtonPassThroughOptionType;
|
|
103
106
|
/**
|
|
104
|
-
*
|
|
107
|
+
* Used to pass attributes to the panel's DOM element.
|
|
105
108
|
*/
|
|
106
109
|
panel?: CalendarPassThroughOptionType;
|
|
107
110
|
/**
|
|
108
|
-
*
|
|
111
|
+
* Used to pass attributes to the group container's DOM element.
|
|
109
112
|
*/
|
|
110
113
|
groupContainer?: CalendarPassThroughOptionType;
|
|
111
114
|
/**
|
|
112
|
-
*
|
|
115
|
+
* Used to pass attributes to the group's DOM element.
|
|
113
116
|
*/
|
|
114
117
|
group?: CalendarPassThroughOptionType;
|
|
115
118
|
/**
|
|
116
|
-
*
|
|
119
|
+
* Used to pass attributes to the header's DOM element.
|
|
117
120
|
*/
|
|
118
121
|
header?: CalendarPassThroughOptionType;
|
|
119
122
|
/**
|
|
120
|
-
*
|
|
123
|
+
* Used to pass attributes to the Button component.
|
|
121
124
|
* @see {@link ButtonPassThroughOptionType}
|
|
122
125
|
*/
|
|
123
126
|
previousButton?: ButtonPassThroughOptionType;
|
|
124
127
|
/**
|
|
125
|
-
*
|
|
128
|
+
* Used to pass attributes to the title's DOM element.
|
|
126
129
|
*/
|
|
127
130
|
title?: CalendarPassThroughOptionType;
|
|
128
131
|
/**
|
|
129
|
-
*
|
|
132
|
+
* Used to pass attributes to the month title's DOM element.
|
|
130
133
|
*/
|
|
131
134
|
monthTitle?: CalendarPassThroughOptionType;
|
|
132
135
|
/**
|
|
133
|
-
*
|
|
136
|
+
* Used to pass attributes to the year title's DOM element.
|
|
134
137
|
*/
|
|
135
138
|
yearTitle?: CalendarPassThroughOptionType;
|
|
136
139
|
/**
|
|
137
|
-
*
|
|
140
|
+
* Used to pass attributes to the decade title's DOM element.
|
|
138
141
|
*/
|
|
139
142
|
decadeTitle?: CalendarPassThroughOptionType;
|
|
140
143
|
/**
|
|
141
|
-
*
|
|
144
|
+
* Used to pass attributes to the Button component.
|
|
142
145
|
* @see {@link ButtonPassThroughOptionType}
|
|
143
146
|
*/
|
|
144
147
|
nextButton?: ButtonPassThroughOptionType;
|
|
145
148
|
/**
|
|
146
|
-
*
|
|
149
|
+
* Used to pass attributes to the container's DOM element.
|
|
147
150
|
*/
|
|
148
151
|
container?: CalendarPassThroughOptionType;
|
|
149
152
|
/**
|
|
150
|
-
*
|
|
153
|
+
* Used to pass attributes to the table's DOM element.
|
|
151
154
|
*/
|
|
152
155
|
table?: CalendarPassThroughOptionType;
|
|
153
156
|
/**
|
|
154
|
-
*
|
|
157
|
+
* Used to pass attributes to the table header's DOM element.
|
|
155
158
|
*/
|
|
156
159
|
tableHeader?: CalendarPassThroughOptionType;
|
|
157
160
|
/**
|
|
158
|
-
*
|
|
161
|
+
* Used to pass attributes to the table header row's DOM element.
|
|
159
162
|
*/
|
|
160
163
|
tableHeaderRow?: CalendarPassThroughOptionType;
|
|
161
164
|
/**
|
|
162
|
-
*
|
|
165
|
+
* Used to pass attributes to the week header's DOM element.
|
|
163
166
|
*/
|
|
164
167
|
weekHeader?: CalendarPassThroughOptionType;
|
|
165
168
|
/**
|
|
166
|
-
*
|
|
169
|
+
* Used to pass attributes to the table header cell's DOM element.
|
|
167
170
|
*/
|
|
168
171
|
tableHeaderCell?: CalendarPassThroughOptionType;
|
|
169
172
|
/**
|
|
170
|
-
*
|
|
173
|
+
* Used to pass attributes to the week label's DOM element.
|
|
171
174
|
*/
|
|
172
175
|
weekLabel?: CalendarPassThroughOptionType;
|
|
173
176
|
/**
|
|
174
|
-
*
|
|
177
|
+
* Used to pass attributes to the week day's DOM element.
|
|
175
178
|
*/
|
|
176
179
|
weekDay?: CalendarPassThroughOptionType;
|
|
177
180
|
/**
|
|
178
|
-
*
|
|
181
|
+
* Used to pass attributes to the table body's DOM element.
|
|
179
182
|
*/
|
|
180
183
|
tableBody?: CalendarPassThroughOptionType;
|
|
181
184
|
/**
|
|
182
|
-
*
|
|
185
|
+
* Used to pass attributes to the table body row's DOM element.
|
|
183
186
|
*/
|
|
184
187
|
tableBodyRow?: CalendarPassThroughOptionType;
|
|
185
188
|
/**
|
|
186
|
-
*
|
|
189
|
+
* Used to pass attributes to the week number's DOM element.
|
|
187
190
|
*/
|
|
188
191
|
weekNumber?: CalendarPassThroughOptionType;
|
|
189
192
|
/**
|
|
190
|
-
*
|
|
193
|
+
* Used to pass attributes to the week label container's DOM element.
|
|
191
194
|
*/
|
|
192
195
|
weekLabelContainer?: CalendarPassThroughOptionType;
|
|
193
196
|
/**
|
|
194
|
-
*
|
|
197
|
+
* Used to pass attributes to the day's DOM element.
|
|
195
198
|
*/
|
|
196
199
|
day?: CalendarPassThroughOptionType;
|
|
197
200
|
/**
|
|
198
|
-
*
|
|
201
|
+
* Used to pass attributes to the day label's DOM element.
|
|
199
202
|
*/
|
|
200
203
|
dayLabel?: CalendarPassThroughOptionType;
|
|
201
204
|
/**
|
|
202
|
-
*
|
|
205
|
+
* Used to pass attributes to the month picker's DOM element.
|
|
203
206
|
*/
|
|
204
207
|
monthPicker?: CalendarPassThroughOptionType;
|
|
205
208
|
/**
|
|
206
|
-
*
|
|
209
|
+
* Used to pass attributes to the month's DOM element.
|
|
207
210
|
*/
|
|
208
211
|
month?: CalendarPassThroughOptionType;
|
|
209
212
|
/**
|
|
210
|
-
*
|
|
213
|
+
* Used to pass attributes to the year picker's DOM element.
|
|
211
214
|
*/
|
|
212
215
|
yearPicker?: CalendarPassThroughOptionType;
|
|
213
216
|
/**
|
|
214
|
-
*
|
|
217
|
+
* Used to pass attributes to the year's DOM element.
|
|
215
218
|
*/
|
|
216
219
|
year?: CalendarPassThroughOptionType;
|
|
217
220
|
/**
|
|
218
|
-
*
|
|
221
|
+
* Used to pass attributes to the time picker's DOM element.
|
|
219
222
|
*/
|
|
220
223
|
timePicker?: CalendarPassThroughOptionType;
|
|
221
224
|
/**
|
|
222
|
-
*
|
|
225
|
+
* Used to pass attributes to the hour picker's DOM element.
|
|
223
226
|
*/
|
|
224
227
|
hourPicker?: CalendarPassThroughOptionType;
|
|
225
228
|
/**
|
|
226
|
-
*
|
|
229
|
+
* Used to pass attributes to the hour's DOM element.
|
|
227
230
|
*/
|
|
228
231
|
hour?: CalendarPassThroughOptionType;
|
|
229
232
|
/**
|
|
230
|
-
*
|
|
233
|
+
* Used to pass attributes to the separatorc ontainer's DOM element.
|
|
231
234
|
*/
|
|
232
235
|
separatorContainer?: CalendarPassThroughOptionType;
|
|
233
236
|
/**
|
|
234
|
-
*
|
|
237
|
+
* Used to pass attributes to the separator's DOM element.
|
|
235
238
|
*/
|
|
236
239
|
separator?: CalendarPassThroughOptionType;
|
|
237
240
|
/**
|
|
238
|
-
*
|
|
241
|
+
* Used to pass attributes to the minute picker's DOM element.
|
|
239
242
|
*/
|
|
240
243
|
minutePicker?: CalendarPassThroughOptionType;
|
|
241
244
|
/**
|
|
242
|
-
*
|
|
245
|
+
* Used to pass attributes to the minute's DOM element.
|
|
243
246
|
*/
|
|
244
247
|
minute?: CalendarPassThroughOptionType;
|
|
245
248
|
/**
|
|
246
|
-
*
|
|
249
|
+
* Used to pass attributes to the second picker's DOM element.
|
|
247
250
|
*/
|
|
248
251
|
secondPicker?: CalendarPassThroughOptionType;
|
|
249
252
|
/**
|
|
250
|
-
*
|
|
253
|
+
* Used to pass attributes to the second's DOM element.
|
|
251
254
|
*/
|
|
252
255
|
second?: CalendarPassThroughOptionType;
|
|
253
256
|
/**
|
|
254
|
-
*
|
|
257
|
+
* Used to pass attributes to the ampm picker's DOM element.
|
|
255
258
|
*/
|
|
256
259
|
ampmPicker?: CalendarPassThroughOptionType;
|
|
257
260
|
/**
|
|
258
|
-
*
|
|
261
|
+
* Used to pass attributes to the ampm's DOM element.
|
|
259
262
|
*/
|
|
260
263
|
ampm?: CalendarPassThroughOptionType;
|
|
261
264
|
/**
|
|
262
|
-
*
|
|
265
|
+
* Used to pass attributes to the buttonbar's DOM element.
|
|
263
266
|
*/
|
|
264
267
|
buttonbar?: CalendarPassThroughOptionType;
|
|
265
268
|
/**
|
|
266
|
-
*
|
|
269
|
+
* Used to pass attributes to the Button component.
|
|
267
270
|
* @see {@link ButtonPassThroughOptionType}
|
|
268
271
|
*/
|
|
269
272
|
todayButton?: ButtonPassThroughOptionType;
|
|
270
273
|
/**
|
|
271
|
-
*
|
|
274
|
+
* Used to pass attributes to the Button component.
|
|
272
275
|
* @see {@link ButtonPassThroughOptionType}
|
|
273
276
|
*/
|
|
274
277
|
clearButton?: ButtonPassThroughOptionType;
|
|
275
278
|
/**
|
|
276
|
-
*
|
|
279
|
+
* Used to pass attributes to the aria selected day's DOM element.
|
|
277
280
|
*/
|
|
278
281
|
hiddenSelectedDay?: CalendarPassThroughOptionType;
|
|
279
282
|
/**
|
|
280
|
-
*
|
|
283
|
+
* Used to pass attributes to the aria month's DOM element.
|
|
281
284
|
*/
|
|
282
285
|
hiddenMonth?: CalendarPassThroughOptionType;
|
|
283
286
|
/**
|
|
284
|
-
*
|
|
287
|
+
* Used to pass attributes to the aria year's DOM element.
|
|
285
288
|
*/
|
|
286
289
|
hiddenYear?: CalendarPassThroughOptionType;
|
|
287
290
|
/**
|
|
288
|
-
*
|
|
291
|
+
* Used to manage all lifecycle hooks
|
|
289
292
|
* @see {@link BaseComponent.ComponentHooks}
|
|
290
293
|
*/
|
|
291
294
|
hooks?: ComponentHooks;
|
|
295
|
+
/**
|
|
296
|
+
* Used to control Vue Transition API.
|
|
297
|
+
*/
|
|
298
|
+
transition?: CalendarPassThroughTransitionType;
|
|
292
299
|
}
|
|
293
300
|
|
|
294
301
|
/**
|
|
@@ -344,6 +351,75 @@ export interface CalendarState {
|
|
|
344
351
|
currentView: string;
|
|
345
352
|
}
|
|
346
353
|
|
|
354
|
+
/**
|
|
355
|
+
* Defines current options in Calendar component.
|
|
356
|
+
*/
|
|
357
|
+
export interface CalendarContext {
|
|
358
|
+
/**
|
|
359
|
+
* Current date.
|
|
360
|
+
*/
|
|
361
|
+
date: string | Date | string[] | Date[] | undefined | null;
|
|
362
|
+
/**
|
|
363
|
+
* Current today state of the calendar's day.
|
|
364
|
+
* @defaultValue false
|
|
365
|
+
*/
|
|
366
|
+
today: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* Current other month state of the calendar's day.
|
|
369
|
+
*/
|
|
370
|
+
otherMonth: boolean;
|
|
371
|
+
/**
|
|
372
|
+
* Current selected state of the calendar's day or month or year.
|
|
373
|
+
* @defaultValue false
|
|
374
|
+
*/
|
|
375
|
+
selected: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Current disabled state of the calendar's day or month or year.
|
|
378
|
+
* @defaultValue false
|
|
379
|
+
*/
|
|
380
|
+
disabled: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* Current month state.
|
|
383
|
+
*/
|
|
384
|
+
month: CalendarMonthOptions;
|
|
385
|
+
/**
|
|
386
|
+
* Current month index state.
|
|
387
|
+
*/
|
|
388
|
+
monthIndex: number;
|
|
389
|
+
/**
|
|
390
|
+
* Current year state.
|
|
391
|
+
*/
|
|
392
|
+
year: CalendarYearOptions;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Defines cuurent month options.
|
|
397
|
+
*/
|
|
398
|
+
export interface CalendarMonthOptions {
|
|
399
|
+
/**
|
|
400
|
+
* Month value.
|
|
401
|
+
*/
|
|
402
|
+
value: string;
|
|
403
|
+
/**
|
|
404
|
+
* Selectable state of the month.
|
|
405
|
+
*/
|
|
406
|
+
selectable: boolean;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Defines current year options.
|
|
411
|
+
*/
|
|
412
|
+
export interface CalendarYearOptions {
|
|
413
|
+
/**
|
|
414
|
+
* Year value.
|
|
415
|
+
*/
|
|
416
|
+
value: number;
|
|
417
|
+
/**
|
|
418
|
+
* Selectable state of the month.
|
|
419
|
+
*/
|
|
420
|
+
selectable: boolean;
|
|
421
|
+
}
|
|
422
|
+
|
|
347
423
|
/**
|
|
348
424
|
* Defines valid properties in Calendar component.
|
|
349
425
|
*/
|
|
@@ -588,7 +664,7 @@ export interface CalendarProps {
|
|
|
588
664
|
*/
|
|
589
665
|
inputClass?: string | object | undefined;
|
|
590
666
|
/**
|
|
591
|
-
*
|
|
667
|
+
* Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
|
592
668
|
*/
|
|
593
669
|
inputProps?: InputHTMLAttributes | undefined;
|
|
594
670
|
/**
|
|
@@ -600,7 +676,7 @@ export interface CalendarProps {
|
|
|
600
676
|
*/
|
|
601
677
|
panelClass?: string | object | undefined;
|
|
602
678
|
/**
|
|
603
|
-
*
|
|
679
|
+
* Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
|
604
680
|
*/
|
|
605
681
|
panelProps?: HTMLAttributes | undefined;
|
|
606
682
|
/**
|
|
@@ -612,7 +688,7 @@ export interface CalendarProps {
|
|
|
612
688
|
*/
|
|
613
689
|
'aria-label'?: string | undefined;
|
|
614
690
|
/**
|
|
615
|
-
*
|
|
691
|
+
* Used to pass attributes to DOM elements inside the component.
|
|
616
692
|
* @type {CalendarPassThroughOptions}
|
|
617
693
|
*/
|
|
618
694
|
pt?: CalendarPassThroughOptions;
|
package/calendar/Calendar.vue
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
</template>
|
|
49
49
|
</CalendarButton>
|
|
50
50
|
<Portal :appendTo="appendTo" :disabled="inline">
|
|
51
|
-
<transition name="p-connected-overlay" @enter="onOverlayEnter($event)" @after-enter="onOverlayEnterComplete" @after-leave="onOverlayAfterLeave" @leave="onOverlayLeave">
|
|
51
|
+
<transition name="p-connected-overlay" @enter="onOverlayEnter($event)" @after-enter="onOverlayEnterComplete" @after-leave="onOverlayAfterLeave" @leave="onOverlayLeave" v-bind="ptm('transition')">
|
|
52
52
|
<div
|
|
53
53
|
v-if="inline || overlayVisible"
|
|
54
54
|
:ref="overlayRef"
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<table :class="cx('table')" role="grid" v-bind="ptm('table')">
|
|
135
135
|
<thead v-bind="ptm('tableHeader')">
|
|
136
136
|
<tr v-bind="ptm('tableHeaderRow')">
|
|
137
|
-
<th v-if="showWeek" scope="col" :class="cx('weekHeader')" v-bind="ptm('weekHeader')" :data-p-disabled="
|
|
137
|
+
<th v-if="showWeek" scope="col" :class="cx('weekHeader')" v-bind="ptm('weekHeader', { context: { disabled: showWeek } })" :data-p-disabled="showWeek">
|
|
138
138
|
<span v-bind="ptm('weekLabel')">{{ weekHeaderLabel }}</span>
|
|
139
139
|
</th>
|
|
140
140
|
<th v-for="weekDay of weekDays" :key="weekDay" scope="col" :abbr="weekDay" v-bind="ptm('tableHeaderCell')">
|
|
@@ -145,12 +145,28 @@
|
|
|
145
145
|
<tbody v-bind="ptm('tableBody')">
|
|
146
146
|
<tr v-for="(week, i) of month.dates" :key="week[0].day + '' + week[0].month" v-bind="ptm('tableBodyRow')">
|
|
147
147
|
<td v-if="showWeek" :class="cx('weekNumber')" v-bind="ptm('weekNumber')">
|
|
148
|
-
<span :class="cx('weekLabelContainer')" v-bind="ptm('weekLabelContainer')" :data-p-disabled="
|
|
148
|
+
<span :class="cx('weekLabelContainer')" v-bind="ptm('weekLabelContainer', { context: { disabled: showWeek } })" :data-p-disabled="showWeek">
|
|
149
149
|
<span v-if="month.weekNumbers[i] < 10" style="visibility: hidden" v-bind="ptm('weekLabel')">0</span>
|
|
150
150
|
{{ month.weekNumbers[i] }}
|
|
151
151
|
</span>
|
|
152
152
|
</td>
|
|
153
|
-
<td
|
|
153
|
+
<td
|
|
154
|
+
v-for="date of week"
|
|
155
|
+
:key="date.day + '' + date.month"
|
|
156
|
+
:aria-label="date.day"
|
|
157
|
+
:class="cx('day', { date })"
|
|
158
|
+
v-bind="
|
|
159
|
+
ptm('day', {
|
|
160
|
+
context: {
|
|
161
|
+
date,
|
|
162
|
+
today: date.today,
|
|
163
|
+
otherMonth: date.otherMonth
|
|
164
|
+
}
|
|
165
|
+
})
|
|
166
|
+
"
|
|
167
|
+
:data-p-today="date.today"
|
|
168
|
+
:data-p-other-month="date.otherMonth"
|
|
169
|
+
>
|
|
154
170
|
<span
|
|
155
171
|
v-ripple
|
|
156
172
|
:class="cx('dayLabel', { date })"
|
|
@@ -159,7 +175,15 @@
|
|
|
159
175
|
@keydown="onDateCellKeydown($event, date, groupIndex)"
|
|
160
176
|
:aria-selected="isSelected(date)"
|
|
161
177
|
:aria-disabled="!date.selectable"
|
|
162
|
-
v-bind="
|
|
178
|
+
v-bind="
|
|
179
|
+
ptm('dayLabel', {
|
|
180
|
+
context: {
|
|
181
|
+
date,
|
|
182
|
+
selected: isSelected(date),
|
|
183
|
+
disabled: !date.selectable
|
|
184
|
+
}
|
|
185
|
+
})
|
|
186
|
+
"
|
|
163
187
|
:data-p-disabled="!date.selectable"
|
|
164
188
|
:data-p-highlight="isSelected(date)"
|
|
165
189
|
>
|
|
@@ -183,7 +207,16 @@
|
|
|
183
207
|
@click="onMonthSelect($event, { month: m, index: i })"
|
|
184
208
|
@keydown="onMonthCellKeydown($event, { month: m, index: i })"
|
|
185
209
|
:class="cx('month', { month: m, index: i })"
|
|
186
|
-
v-bind="
|
|
210
|
+
v-bind="
|
|
211
|
+
ptm('month', {
|
|
212
|
+
context: {
|
|
213
|
+
month: m,
|
|
214
|
+
monthIndex: i,
|
|
215
|
+
selected: isMonthSelected(i),
|
|
216
|
+
disabled: !m.selectable
|
|
217
|
+
}
|
|
218
|
+
})
|
|
219
|
+
"
|
|
187
220
|
:data-p-disabled="!m.selectable"
|
|
188
221
|
:data-p-highlight="isMonthSelected(i)"
|
|
189
222
|
>
|
|
@@ -201,7 +234,15 @@
|
|
|
201
234
|
@click="onYearSelect($event, y)"
|
|
202
235
|
@keydown="onYearCellKeydown($event, y)"
|
|
203
236
|
:class="cx('year', { year: y })"
|
|
204
|
-
v-bind="
|
|
237
|
+
v-bind="
|
|
238
|
+
ptm('year', {
|
|
239
|
+
context: {
|
|
240
|
+
year: y,
|
|
241
|
+
selected: isYearSelected(y.value),
|
|
242
|
+
disabled: !y.selectable
|
|
243
|
+
}
|
|
244
|
+
})
|
|
245
|
+
"
|
|
205
246
|
:data-p-disabled="!y.selectable"
|
|
206
247
|
:data-p-highlight="isYearSelected(y.value)"
|
|
207
248
|
>
|
|
@@ -2541,6 +2582,7 @@ export default {
|
|
|
2541
2582
|
if (!this.responsiveStyleElement) {
|
|
2542
2583
|
this.responsiveStyleElement = document.createElement('style');
|
|
2543
2584
|
this.responsiveStyleElement.type = 'text/css';
|
|
2585
|
+
DomHandler.setAttribute(this.responsiveStyleElement, 'nonce', this.$primevue?.config?.csp?.nonce);
|
|
2544
2586
|
document.body.appendChild(this.responsiveStyleElement);
|
|
2545
2587
|
}
|
|
2546
2588
|
|