primevue 3.48.0 → 3.49.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.vue +2 -1
- package/accordion/accordion.cjs.js +2 -1
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +2 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +2 -1
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.vue +2 -1
- package/accordiontab/accordiontab.cjs.js +2 -1
- package/accordiontab/accordiontab.cjs.min.js +1 -1
- package/accordiontab/accordiontab.esm.js +2 -1
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +2 -1
- package/accordiontab/accordiontab.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +2 -2
- package/autocomplete/AutoComplete.vue +4 -1
- package/autocomplete/autocomplete.cjs.js +6 -3
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +6 -3
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +6 -3
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.vue +2 -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 +37 -5
- package/avatargroup/AvatarGroup.vue +3 -2
- package/avatargroup/avatargroup.cjs.js +3 -2
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -2
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +3 -2
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/Badge.d.ts +2 -2
- package/badge/Badge.vue +3 -2
- package/badge/badge.cjs.js +3 -2
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +3 -2
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +3 -2
- package/badge/badge.min.js +1 -1
- package/basecomponent/BaseComponent.vue +36 -1
- package/basecomponent/basecomponent.cjs.js +58 -1
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +58 -1
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +58 -1
- package/basecomponent/basecomponent.min.js +1 -1
- package/blockui/BlockUI.vue +2 -1
- package/blockui/blockui.cjs.js +2 -1
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +2 -1
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +2 -1
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/Breadcrumb.vue +4 -3
- 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 +3 -3
- package/button/Button.vue +5 -2
- package/button/button.cjs.js +5 -3
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +5 -3
- package/button/button.esm.min.js +1 -1
- package/button/button.js +5 -3
- package/button/button.min.js +1 -1
- package/buttongroup/BaseButtonGroup.vue +15 -0
- package/buttongroup/ButtonGroup.d.ts +113 -0
- package/buttongroup/ButtonGroup.vue +15 -0
- package/buttongroup/buttongroup.cjs.js +38 -0
- package/buttongroup/buttongroup.cjs.min.js +1 -0
- package/buttongroup/buttongroup.esm.js +31 -0
- package/buttongroup/buttongroup.esm.min.js +1 -0
- package/buttongroup/buttongroup.js +38 -0
- package/buttongroup/buttongroup.min.js +1 -0
- package/buttongroup/package.json +9 -0
- package/buttongroup/style/ButtonGroupStyle.d.ts +3 -0
- package/buttongroup/style/buttongroupstyle.cjs.js +17 -0
- package/buttongroup/style/buttongroupstyle.cjs.min.js +1 -0
- package/buttongroup/style/buttongroupstyle.esm.js +11 -0
- package/buttongroup/style/buttongroupstyle.esm.min.js +1 -0
- package/buttongroup/style/buttongroupstyle.js +20 -0
- package/buttongroup/style/buttongroupstyle.min.js +1 -0
- package/buttongroup/style/package.json +6 -0
- package/calendar/Calendar.d.ts +2 -2
- package/calendar/Calendar.vue +9 -3
- package/calendar/calendar.cjs.js +10 -4
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +10 -4
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +10 -4
- package/calendar/calendar.min.js +1 -1
- package/calendar/style/calendarstyle.cjs.js +2 -2
- package/calendar/style/calendarstyle.cjs.min.js +1 -1
- package/calendar/style/calendarstyle.esm.js +2 -2
- package/calendar/style/calendarstyle.esm.min.js +1 -1
- package/calendar/style/calendarstyle.js +2 -2
- package/calendar/style/calendarstyle.min.js +1 -1
- package/card/Card.d.ts +23 -1
- package/card/Card.vue +3 -2
- package/card/card.cjs.js +3 -2
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +3 -2
- package/card/card.esm.min.js +1 -1
- package/card/card.js +3 -2
- package/card/card.min.js +1 -1
- package/carousel/Carousel.vue +2 -1
- package/carousel/carousel.cjs.js +2 -1
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +2 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +2 -1
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +2 -2
- package/cascadeselect/CascadeSelect.vue +18 -5
- package/cascadeselect/cascadeselect.cjs.js +32 -12
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +32 -12
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +32 -12
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.vue +2 -1
- package/chart/chart.cjs.js +2 -1
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +2 -1
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +2 -1
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.vue +5 -1
- package/checkbox/checkbox.cjs.js +5 -2
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +5 -2
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +5 -2
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.vue +2 -1
- package/chip/chip.cjs.js +2 -1
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +2 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +2 -1
- package/chip/chip.min.js +1 -1
- package/chips/Chips.vue +3 -1
- package/chips/chips.cjs.js +4 -2
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +4 -2
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +4 -2
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +2 -2
- package/colorpicker/ColorPicker.vue +3 -2
- package/colorpicker/colorpicker.cjs.js +3 -2
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +3 -2
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +3 -2
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.vue +1 -0
- package/column/column.cjs.js +1 -0
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +1 -0
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -0
- package/column/column.min.js +1 -1
- package/columngroup/ColumnGroup.vue +1 -0
- package/columngroup/columngroup.cjs.js +1 -0
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.esm.js +1 -0
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +1 -0
- package/columngroup/columngroup.min.js +1 -1
- package/config/PrimeVue.d.ts +1 -1
- package/confirmpopup/ConfirmPopup.vue +1 -1
- package/confirmpopup/confirmpopup.cjs.js +1 -7
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +1 -7
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +1 -7
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +2 -2
- package/contextmenu/ContextMenu.vue +7 -1
- package/contextmenu/ContextMenuSub.vue +13 -3
- package/contextmenu/contextmenu.cjs.js +25 -12
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +25 -12
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +25 -12
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +223 -99
- package/core/core.min.js +23 -21
- package/datatable/BaseDataTable.vue +4 -4
- package/datatable/BodyCell.vue +0 -3
- package/datatable/DataTable.d.ts +6 -6
- package/datatable/DataTable.vue +5 -3
- package/datatable/datatable.cjs.js +8 -10
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +8 -10
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +8 -10
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.vue +2 -1
- package/dataview/dataview.cjs.js +2 -1
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +2 -1
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +2 -1
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +2 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +2 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +2 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +2 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.js +1 -1
- package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.min.js +1 -1
- package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.js +1 -1
- package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.min.js +1 -1
- package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.js +1 -1
- package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.min.js +1 -1
- package/deferredcontent/DeferredContent.vue +2 -1
- package/deferredcontent/deferredcontent.cjs.js +2 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +2 -1
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +2 -1
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/Dialog.d.ts +2 -2
- package/dialog/Dialog.vue +2 -2
- package/dialog/dialog.cjs.js +2 -2
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +2 -2
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +2 -2
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.vue +3 -2
- package/divider/divider.cjs.js +3 -2
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +3 -2
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +3 -2
- package/divider/divider.min.js +1 -1
- package/dock/Dock.vue +2 -1
- package/dock/dock.cjs.js +2 -1
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +2 -1
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +2 -1
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +3 -3
- package/dropdown/Dropdown.vue +5 -1
- package/dropdown/dropdown.cjs.js +15 -9
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +15 -9
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +15 -9
- package/dropdown/dropdown.min.js +1 -1
- package/editor/Editor.vue +2 -1
- package/editor/editor.cjs.js +2 -1
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +2 -1
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +2 -1
- package/editor/editor.min.js +1 -1
- package/fieldset/Fieldset.vue +2 -1
- package/fieldset/fieldset.cjs.js +2 -1
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +2 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +2 -1
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileUpload.vue +8 -5
- package/fileupload/fileupload.cjs.js +9 -8
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +9 -8
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +9 -8
- package/fileupload/fileupload.min.js +1 -1
- package/floatlabel/FloatLabel.d.ts +0 -4
- package/floatlabel/FloatLabel.vue +3 -2
- package/floatlabel/floatlabel.cjs.js +3 -2
- package/floatlabel/floatlabel.cjs.min.js +1 -1
- package/floatlabel/floatlabel.esm.js +3 -2
- package/floatlabel/floatlabel.esm.min.js +1 -1
- package/floatlabel/floatlabel.js +3 -2
- package/floatlabel/floatlabel.min.js +1 -1
- package/galleria/GalleriaContent.vue +1 -1
- package/galleria/GalleriaThumbnails.vue +12 -3
- package/galleria/galleria.cjs.js +5 -5
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +5 -5
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +5 -5
- package/galleria/galleria.min.js +1 -1
- package/iconfield/IconField.vue +4 -3
- package/iconfield/iconfield.cjs.js +3 -2
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.js +3 -2
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.js +3 -2
- package/iconfield/iconfield.min.js +1 -1
- package/iconfield/style/iconfieldstyle.cjs.js +3 -3
- package/iconfield/style/iconfieldstyle.cjs.min.js +1 -1
- package/iconfield/style/iconfieldstyle.esm.js +3 -3
- package/iconfield/style/iconfieldstyle.esm.min.js +1 -1
- package/iconfield/style/iconfieldstyle.js +3 -3
- package/iconfield/style/iconfieldstyle.min.js +1 -1
- package/image/Image.vue +1 -1
- package/image/image.cjs.js +1 -1
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +1 -1
- package/image/image.esm.min.js +1 -1
- package/image/image.js +1 -1
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +2 -2
- package/inlinemessage/InlineMessage.vue +2 -1
- package/inlinemessage/inlinemessage.cjs.js +2 -1
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +2 -1
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +2 -1
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.vue +2 -1
- package/inplace/inplace.cjs.js +2 -1
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +2 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +2 -1
- package/inplace/inplace.min.js +1 -1
- package/inputgroup/InputGroup.vue +3 -2
- package/inputgroup/inputgroup.cjs.js +3 -2
- package/inputgroup/inputgroup.cjs.min.js +1 -1
- package/inputgroup/inputgroup.esm.js +3 -2
- package/inputgroup/inputgroup.esm.min.js +1 -1
- package/inputgroup/inputgroup.js +3 -2
- package/inputgroup/inputgroup.min.js +1 -1
- package/inputgroupaddon/InputGroupAddon.vue +3 -2
- package/inputgroupaddon/inputgroupaddon.cjs.js +3 -2
- package/inputgroupaddon/inputgroupaddon.cjs.min.js +1 -1
- package/inputgroupaddon/inputgroupaddon.esm.js +3 -2
- package/inputgroupaddon/inputgroupaddon.esm.min.js +1 -1
- package/inputgroupaddon/inputgroupaddon.js +3 -2
- package/inputgroupaddon/inputgroupaddon.min.js +1 -1
- package/inputicon/BaseInputIcon.vue +3 -0
- package/inputicon/InputIcon.vue +10 -2
- package/inputicon/inputicon.cjs.js +13 -2
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.js +14 -3
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.js +13 -2
- package/inputicon/inputicon.min.js +1 -1
- package/inputicon/style/inputiconstyle.cjs.js +13 -1
- package/inputicon/style/inputiconstyle.cjs.min.js +1 -1
- package/inputicon/style/inputiconstyle.esm.js +9 -1
- package/inputicon/style/inputiconstyle.esm.min.js +1 -1
- package/inputicon/style/inputiconstyle.js +15 -5
- package/inputicon/style/inputiconstyle.min.js +1 -1
- package/inputmask/InputMask.vue +2 -1
- package/inputmask/inputmask.cjs.js +4 -2
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +4 -2
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +4 -2
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.vue +3 -1
- package/inputnumber/inputnumber.cjs.js +4 -2
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +4 -2
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +4 -2
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/BaseInputOtp.vue +53 -0
- package/inputotp/InputOtp.d.ts +275 -0
- package/inputotp/InputOtp.vue +201 -0
- package/inputotp/inputotp.cjs.js +265 -0
- package/inputotp/inputotp.cjs.min.js +1 -0
- package/inputotp/inputotp.esm.js +257 -0
- package/inputotp/inputotp.esm.min.js +1 -0
- package/inputotp/inputotp.js +264 -0
- package/inputotp/inputotp.min.js +1 -0
- package/inputotp/package.json +9 -0
- package/inputotp/style/InputOtpStyle.d.ts +3 -0
- package/inputotp/style/inputotpstyle.cjs.js +18 -0
- package/inputotp/style/inputotpstyle.cjs.min.js +1 -0
- package/inputotp/style/inputotpstyle.esm.js +12 -0
- package/inputotp/style/inputotpstyle.esm.min.js +1 -0
- package/inputotp/style/inputotpstyle.js +21 -0
- package/inputotp/style/inputotpstyle.min.js +1 -0
- package/inputotp/style/package.json +6 -0
- package/inputswitch/InputSwitch.d.ts +0 -16
- package/inputswitch/InputSwitch.vue +5 -1
- package/inputswitch/inputswitch.cjs.js +5 -2
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +5 -2
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +5 -2
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.vue +5 -2
- package/inputtext/inputtext.cjs.js +5 -2
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +5 -2
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +5 -2
- package/inputtext/inputtext.min.js +1 -1
- package/knob/Knob.vue +2 -1
- package/knob/knob.cjs.js +2 -1
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +2 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +2 -1
- package/knob/knob.min.js +1 -1
- package/listbox/Listbox.d.ts +2 -2
- package/listbox/Listbox.vue +2 -3
- package/listbox/listbox.cjs.js +2 -2
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +2 -2
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +2 -2
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -1
- package/megamenu/MegaMenuSub.vue +1 -1
- package/megamenu/megamenu.cjs.js +3 -2
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +3 -2
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +3 -2
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +2 -2
- package/menu/Menu.vue +18 -11
- package/menu/Menuitem.vue +6 -3
- package/menu/menu.cjs.js +23 -18
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +23 -18
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +23 -18
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.vue +19 -6
- package/menubar/MenubarSub.vue +7 -3
- package/menubar/menubar.cjs.js +41 -18
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +41 -18
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +41 -18
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +2 -2
- package/message/Message.vue +2 -1
- package/message/message.cjs.js +2 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +2 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +2 -1
- package/message/message.min.js +1 -1
- package/metergroup/MeterGroup.vue +3 -2
- package/metergroup/metergroup.cjs.js +5 -3
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +5 -3
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +5 -3
- package/metergroup/metergroup.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +3 -3
- package/multiselect/MultiSelect.vue +4 -1
- package/multiselect/multiselect.cjs.js +15 -10
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +15 -10
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +15 -10
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.vue +2 -1
- package/orderlist/orderlist.cjs.js +2 -1
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +2 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +2 -1
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.vue +2 -1
- package/organizationchart/organizationchart.cjs.js +2 -1
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +2 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +2 -1
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +2 -2
- package/overlaypanel/OverlayPanel.vue +1 -1
- package/overlaypanel/overlaypanel.cjs.js +1 -7
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +1 -7
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +1 -7
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/Paginator.vue +2 -1
- package/paginator/paginator.cjs.js +2 -1
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +2 -1
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +2 -1
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.vue +2 -1
- package/panel/panel.cjs.js +2 -1
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +2 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +2 -1
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.vue +2 -1
- package/panelmenu/PanelMenuList.vue +6 -0
- package/panelmenu/PanelMenuSub.vue +7 -3
- package/panelmenu/panelmenu.cjs.js +24 -5
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +24 -5
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +24 -5
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +2 -2
- package/password/Password.vue +10 -4
- package/password/password.cjs.js +9 -4
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +9 -4
- package/password/password.esm.min.js +1 -1
- package/password/password.js +9 -4
- package/password/password.min.js +1 -1
- package/password/style/passwordstyle.cjs.js +4 -3
- package/password/style/passwordstyle.cjs.min.js +1 -1
- package/password/style/passwordstyle.esm.js +4 -3
- package/password/style/passwordstyle.esm.min.js +1 -1
- package/password/style/passwordstyle.js +4 -3
- package/password/style/passwordstyle.min.js +1 -1
- package/picklist/PickList.vue +2 -1
- package/picklist/picklist.cjs.js +2 -1
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +2 -1
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +2 -1
- package/picklist/picklist.min.js +1 -1
- package/portal/Portal.d.ts +2 -2
- package/progressbar/ProgressBar.vue +2 -1
- package/progressbar/progressbar.cjs.js +2 -1
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +2 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +2 -1
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.vue +2 -1
- package/progressspinner/progressspinner.cjs.js +2 -1
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +2 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +2 -1
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/RadioButton.vue +5 -1
- package/radiobutton/radiobutton.cjs.js +5 -2
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +5 -2
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +5 -2
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/Rating.vue +2 -1
- package/rating/rating.cjs.js +2 -1
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +2 -1
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +2 -1
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +346 -119
- package/resources/themes/arya-green/theme.css +346 -119
- package/resources/themes/arya-orange/theme.css +346 -119
- package/resources/themes/arya-purple/theme.css +346 -119
- package/resources/themes/aura-dark-amber/theme.css +379 -134
- package/resources/themes/aura-dark-blue/theme.css +379 -134
- package/resources/themes/aura-dark-cyan/theme.css +379 -134
- package/resources/themes/aura-dark-green/theme.css +379 -134
- package/resources/themes/aura-dark-indigo/theme.css +379 -134
- package/resources/themes/aura-dark-lime/theme.css +379 -134
- package/resources/themes/aura-dark-noir/theme.css +379 -134
- package/resources/themes/aura-dark-pink/theme.css +379 -134
- package/resources/themes/aura-dark-purple/theme.css +379 -134
- package/resources/themes/aura-dark-teal/theme.css +379 -134
- package/resources/themes/aura-light-amber/theme.css +379 -137
- package/resources/themes/aura-light-blue/theme.css +379 -137
- package/resources/themes/aura-light-cyan/theme.css +379 -137
- package/resources/themes/aura-light-green/theme.css +379 -137
- package/resources/themes/aura-light-indigo/theme.css +379 -137
- package/resources/themes/aura-light-lime/theme.css +379 -137
- package/resources/themes/aura-light-noir/theme.css +379 -137
- package/resources/themes/aura-light-pink/theme.css +379 -137
- package/resources/themes/aura-light-purple/theme.css +379 -137
- package/resources/themes/aura-light-teal/theme.css +379 -137
- package/resources/themes/bootstrap4-dark-blue/theme.css +356 -129
- package/resources/themes/bootstrap4-dark-purple/theme.css +356 -129
- package/resources/themes/bootstrap4-light-blue/theme.css +356 -129
- package/resources/themes/bootstrap4-light-purple/theme.css +356 -129
- package/resources/themes/fluent-light/theme.css +340 -119
- package/resources/themes/lara-dark-amber/theme.css +365 -129
- package/resources/themes/lara-dark-blue/theme.css +365 -129
- package/resources/themes/lara-dark-cyan/theme.css +365 -129
- package/resources/themes/lara-dark-green/theme.css +365 -129
- package/resources/themes/lara-dark-indigo/theme.css +365 -129
- package/resources/themes/lara-dark-pink/theme.css +365 -129
- package/resources/themes/lara-dark-purple/theme.css +365 -129
- package/resources/themes/lara-dark-teal/theme.css +365 -129
- package/resources/themes/lara-light-amber/theme.css +361 -129
- package/resources/themes/lara-light-blue/theme.css +361 -129
- package/resources/themes/lara-light-cyan/theme.css +361 -129
- package/resources/themes/lara-light-green/theme.css +361 -129
- package/resources/themes/lara-light-indigo/theme.css +361 -129
- package/resources/themes/lara-light-pink/theme.css +361 -129
- package/resources/themes/lara-light-purple/theme.css +361 -129
- package/resources/themes/lara-light-teal/theme.css +361 -129
- package/resources/themes/luna-amber/theme.css +346 -119
- package/resources/themes/luna-blue/theme.css +346 -119
- package/resources/themes/luna-green/theme.css +346 -119
- package/resources/themes/luna-pink/theme.css +346 -119
- package/resources/themes/md-dark-deeppurple/theme.css +431 -185
- package/resources/themes/md-dark-indigo/theme.css +431 -185
- package/resources/themes/md-light-deeppurple/theme.css +431 -185
- package/resources/themes/md-light-indigo/theme.css +431 -185
- package/resources/themes/mdc-dark-deeppurple/theme.css +431 -185
- package/resources/themes/mdc-dark-indigo/theme.css +431 -185
- package/resources/themes/mdc-light-deeppurple/theme.css +431 -185
- package/resources/themes/mdc-light-indigo/theme.css +431 -185
- package/resources/themes/mira/theme.css +346 -119
- package/resources/themes/nano/theme.css +346 -119
- package/resources/themes/nova/theme.css +346 -119
- package/resources/themes/nova-accent/theme.css +346 -119
- package/resources/themes/nova-alt/theme.css +346 -119
- package/resources/themes/nova-vue/theme.css +346 -119
- package/resources/themes/rhea/theme.css +346 -119
- package/resources/themes/saga-blue/theme.css +346 -119
- package/resources/themes/saga-green/theme.css +346 -119
- package/resources/themes/saga-orange/theme.css +346 -119
- package/resources/themes/saga-purple/theme.css +346 -119
- package/resources/themes/soho-dark/theme.css +356 -129
- package/resources/themes/soho-light/theme.css +356 -129
- package/resources/themes/tailwind-light/theme.css +346 -119
- package/resources/themes/vela-blue/theme.css +346 -119
- package/resources/themes/vela-green/theme.css +346 -119
- package/resources/themes/vela-orange/theme.css +346 -119
- package/resources/themes/vela-purple/theme.css +346 -119
- package/resources/themes/viva-dark/theme.css +357 -130
- package/resources/themes/viva-light/theme.css +357 -130
- package/scrollpanel/ScrollPanel.vue +2 -1
- package/scrollpanel/scrollpanel.cjs.js +2 -1
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +2 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +2 -1
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/ScrollTop.vue +2 -1
- package/scrolltop/scrolltop.cjs.js +2 -1
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +2 -1
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +2 -1
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/SelectButton.vue +44 -17
- package/selectbutton/selectbutton.cjs.js +41 -18
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +41 -18
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +41 -18
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.cjs.js +1 -1
- package/selectbutton/style/selectbuttonstyle.cjs.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.esm.js +1 -1
- package/selectbutton/style/selectbuttonstyle.esm.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.js +1 -1
- package/selectbutton/style/selectbuttonstyle.min.js +1 -1
- package/sidebar/Sidebar.vue +1 -1
- package/sidebar/sidebar.cjs.js +1 -7
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +1 -7
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +1 -7
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.vue +2 -1
- package/skeleton/skeleton.cjs.js +2 -1
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +2 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +2 -1
- package/skeleton/skeleton.min.js +1 -1
- package/slider/Slider.vue +2 -1
- package/slider/slider.cjs.js +2 -1
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +2 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +2 -1
- package/slider/slider.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -1
- package/speeddial/speeddial.cjs.js +2 -1
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +2 -1
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +2 -1
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +3 -3
- package/splitbutton/SplitButton.vue +2 -1
- package/splitbutton/splitbutton.cjs.js +4 -3
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +4 -3
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +4 -3
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.vue +16 -13
- package/splitter/splitter.cjs.js +17 -14
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +17 -14
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +17 -14
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.vue +10 -2
- package/splitterpanel/splitterpanel.cjs.js +10 -2
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +10 -2
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +10 -2
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/stepper/BaseStepper.vue +4 -0
- package/stepper/Stepper.d.ts +197 -0
- package/stepper/Stepper.vue +162 -129
- package/stepper/StepperContent.vue +47 -0
- package/stepper/StepperHeader.vue +41 -0
- package/stepper/StepperSeparator.vue +23 -0
- package/stepper/package.json +9 -0
- package/stepper/stepper.cjs.js +347 -129
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.esm.js +348 -130
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +347 -129
- package/stepper/stepper.min.js +1 -1
- package/stepper/style/StepperStyle.d.ts +3 -0
- package/stepper/style/package.json +6 -0
- package/stepper/style/stepperstyle.cjs.js +25 -19
- package/stepper/style/stepperstyle.cjs.min.js +1 -1
- package/stepper/style/stepperstyle.esm.js +25 -19
- package/stepper/style/stepperstyle.esm.min.js +1 -1
- package/stepper/style/stepperstyle.js +25 -19
- package/stepper/style/stepperstyle.min.js +1 -1
- package/stepperpanel/BaseStepperPanel.vue +18 -0
- package/stepperpanel/StepperPanel.d.ts +286 -0
- package/stepperpanel/StepperPanel.vue +12 -0
- package/stepperpanel/package.json +9 -0
- package/{step/step.cjs.js → stepperpanel/stepperpanel.cjs.js} +11 -11
- package/stepperpanel/stepperpanel.cjs.min.js +1 -0
- package/{step/step.esm.js → stepperpanel/stepperpanel.esm.js} +10 -10
- package/stepperpanel/stepperpanel.esm.min.js +1 -0
- package/{step/step.js → stepperpanel/stepperpanel.js} +12 -12
- package/stepperpanel/stepperpanel.min.js +1 -0
- package/stepperpanel/style/StepperPanelStyle.d.ts +3 -0
- package/stepperpanel/style/package.json +6 -0
- package/stepperpanel/style/stepperpanelstyle.cjs.js +5 -0
- package/stepperpanel/style/stepperpanelstyle.esm.js +3 -0
- package/stepperpanel/style/stepperpanelstyle.js +10 -0
- package/stepperpanel/style/stepperpanelstyle.min.js +1 -0
- package/steps/Steps.vue +2 -1
- package/steps/steps.cjs.js +2 -1
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +2 -1
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +2 -1
- package/steps/steps.min.js +1 -1
- package/styleclass/StyleClass.d.ts +2 -2
- package/tabmenu/TabMenu.vue +3 -2
- package/tabmenu/tabmenu.cjs.js +3 -2
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +3 -2
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +3 -2
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +1 -1
- package/tabview/TabView.d.ts +31 -1
- package/tabview/TabView.vue +4 -3
- package/tabview/tabview.cjs.js +4 -3
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +4 -3
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +4 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +2 -2
- package/tag/Tag.vue +3 -2
- package/tag/tag.cjs.js +3 -2
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +3 -2
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +3 -2
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.vue +2 -1
- package/terminal/terminal.cjs.js +2 -1
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +2 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +2 -1
- package/terminal/terminal.min.js +1 -1
- package/textarea/Textarea.vue +2 -1
- package/textarea/textarea.cjs.js +4 -2
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +4 -2
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +4 -2
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +2 -2
- package/tieredmenu/TieredMenu.vue +11 -4
- package/tieredmenu/TieredMenuSub.vue +13 -3
- package/tieredmenu/tieredmenu.cjs.js +31 -22
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +31 -22
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +31 -22
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.vue +2 -1
- package/timeline/timeline.cjs.js +2 -1
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +2 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +2 -1
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.vue +1 -1
- package/toast/toast.cjs.js +1 -1
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +1 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +1 -1
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.vue +5 -1
- package/togglebutton/togglebutton.cjs.js +5 -2
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +5 -2
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +5 -2
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.vue +3 -2
- package/toolbar/toolbar.cjs.js +3 -2
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +3 -2
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +3 -2
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +6 -7
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +6 -7
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +6 -7
- package/tooltip/tooltip.min.js +1 -1
- package/tree/Tree.d.ts +2 -2
- package/tree/Tree.vue +2 -1
- package/tree/tree.cjs.js +2 -1
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +2 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +2 -1
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +2 -2
- package/treeselect/TreeSelect.vue +2 -1
- package/treeselect/treeselect.cjs.js +2 -1
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +2 -1
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +2 -1
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/TreeTable.d.ts +4 -4
- package/treetable/TreeTable.vue +2 -1
- package/treetable/treetable.cjs.js +2 -1
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +2 -1
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +2 -1
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.vue +5 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +5 -2
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +5 -2
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +5 -2
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/ts-helpers.d.ts +2 -0
- package/vetur-attributes.json +36 -0
- package/vetur-tags.json +14 -0
- package/virtualscroller/VirtualScroller.vue +17 -10
- package/virtualscroller/virtualscroller.cjs.js +23 -16
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +23 -16
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +23 -16
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +119 -1
- package/step/BaseStep.vue +0 -18
- package/step/Step.vue +0 -12
- package/step/step.cjs.min.js +0 -1
- package/step/step.esm.min.js +0 -1
- package/step/step.min.js +0 -1
- package/step/style/stepstyle.cjs.js +0 -5
- package/step/style/stepstyle.esm.js +0 -3
- package/step/style/stepstyle.js +0 -10
- package/step/style/stepstyle.min.js +0 -1
- /package/{step/style/stepstyle.cjs.min.js → stepperpanel/style/stepperpanelstyle.cjs.min.js} +0 -0
- /package/{step/style/stepstyle.esm.min.js → stepperpanel/style/stepperpanelstyle.esm.min.js} +0 -0
|
@@ -51,6 +51,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
51
51
|
var script = {
|
|
52
52
|
name: 'SelectButton',
|
|
53
53
|
"extends": script$1,
|
|
54
|
+
inheritAttrs: false,
|
|
54
55
|
emits: ['update:modelValue', 'focus', 'blur', 'change'],
|
|
55
56
|
data: function data() {
|
|
56
57
|
return {
|
|
@@ -153,34 +154,53 @@ var script = {
|
|
|
153
154
|
case 'ArrowDown':
|
|
154
155
|
case 'ArrowRight':
|
|
155
156
|
{
|
|
156
|
-
this.
|
|
157
|
+
this.onArrowRightKey(event.target);
|
|
157
158
|
event.preventDefault();
|
|
158
159
|
break;
|
|
159
160
|
}
|
|
160
161
|
case 'ArrowUp':
|
|
161
162
|
case 'ArrowLeft':
|
|
162
163
|
{
|
|
163
|
-
this.
|
|
164
|
+
this.onArrowLeftKey(event.target);
|
|
164
165
|
event.preventDefault();
|
|
165
166
|
break;
|
|
166
167
|
}
|
|
167
168
|
}
|
|
168
169
|
},
|
|
169
|
-
|
|
170
|
-
var
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
index: i
|
|
175
|
-
};
|
|
170
|
+
onArrowRightKey: function onArrowRightKey(target) {
|
|
171
|
+
var nextEl = this.findNextElement(target);
|
|
172
|
+
if (nextEl) {
|
|
173
|
+
this.focusedIndex = ObjectUtils.findIndexInList(nextEl, this.findAllElements());
|
|
174
|
+
DomHandler.focus(nextEl);
|
|
176
175
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
176
|
+
},
|
|
177
|
+
onArrowLeftKey: function onArrowLeftKey(target) {
|
|
178
|
+
var prevEl = this.findPrevElement(target);
|
|
179
|
+
if (prevEl) {
|
|
180
|
+
this.focusedIndex = ObjectUtils.findIndexInList(prevEl, this.findAllElements());
|
|
181
|
+
DomHandler.focus(prevEl);
|
|
181
182
|
}
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
},
|
|
184
|
+
findAllElements: function findAllElements() {
|
|
185
|
+
return DomHandler.find(this.$refs.container, '[data-pc-section="button"]');
|
|
186
|
+
},
|
|
187
|
+
findNextElement: function findNextElement(target) {
|
|
188
|
+
if (target.nextElementSibling) {
|
|
189
|
+
if (DomHandler.getAttribute(target.nextElementSibling, 'data-p-disabled')) {
|
|
190
|
+
return this.findNextElement(target.nextElementSibling);
|
|
191
|
+
}
|
|
192
|
+
return target.nextElementSibling;
|
|
193
|
+
}
|
|
194
|
+
return null;
|
|
195
|
+
},
|
|
196
|
+
findPrevElement: function findPrevElement(target) {
|
|
197
|
+
if (target.previousElementSibling) {
|
|
198
|
+
if (DomHandler.getAttribute(target.previousElementSibling, 'data-p-disabled')) {
|
|
199
|
+
return this.findPrevElement(target.previousElementSibling);
|
|
200
|
+
}
|
|
201
|
+
return target.previousElementSibling;
|
|
202
|
+
}
|
|
203
|
+
return null;
|
|
184
204
|
},
|
|
185
205
|
onFocus: function onFocus(event) {
|
|
186
206
|
this.$emit('focus', event);
|
|
@@ -190,6 +210,9 @@ var script = {
|
|
|
190
210
|
this.defaultTabIndexes();
|
|
191
211
|
}
|
|
192
212
|
this.$emit('blur', event, option);
|
|
213
|
+
},
|
|
214
|
+
findTabindex: function findTabindex(option, index) {
|
|
215
|
+
return this.disabled || this.isOptionDisabled(option) || index !== this.focusedIndex ? '-1' : '0';
|
|
193
216
|
}
|
|
194
217
|
},
|
|
195
218
|
computed: {
|
|
@@ -211,14 +234,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
211
234
|
"class": _ctx.cx('root'),
|
|
212
235
|
role: "group",
|
|
213
236
|
"aria-labelledby": _ctx.ariaLabelledby
|
|
214
|
-
}, _ctx.
|
|
237
|
+
}, _ctx.ptmi('root')), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, function (option, i) {
|
|
215
238
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
216
239
|
key: $options.getOptionRenderKey(option),
|
|
217
|
-
tabindex:
|
|
240
|
+
tabindex: $options.findTabindex(option, i),
|
|
218
241
|
"aria-label": $options.getOptionLabel(option),
|
|
219
242
|
role: _ctx.multiple ? 'checkbox' : 'radio',
|
|
220
243
|
"aria-checked": $options.isSelected(option),
|
|
221
|
-
"aria-disabled":
|
|
244
|
+
"aria-disabled": $options.isOptionDisabled(option),
|
|
222
245
|
"class": _ctx.cx('button', {
|
|
223
246
|
option: option
|
|
224
247
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/ripple";import{DomHandler as t,ObjectUtils as n}from"primevue/utils";import i from"primevue/basecomponent";import o from"primevue/selectbutton/style";import{resolveDirective as r,openBlock as
|
|
1
|
+
import e from"primevue/ripple";import{DomHandler as t,ObjectUtils as n}from"primevue/utils";import i from"primevue/basecomponent";import o from"primevue/selectbutton/style";import{resolveDirective as r,openBlock as l,createElementBlock as a,mergeProps as u,Fragment as s,renderList as d,withDirectives as c,renderSlot as f,normalizeClass as p,createElementVNode as h,toDisplayString as b}from"vue";function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){a=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw r}}}}function y(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function v(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function x(e){if(Array.isArray(e))return S(e)}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var A={name:"SelectButton",extends:{name:"BaseSelectButton",extends:i,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,multiple:Boolean,unselectable:{type:Boolean,default:!0},allowEmpty:{type:Boolean,default:!0},invalid:{type:Boolean,default:!1},disabled:Boolean,dataKey:null,ariaLabelledby:{type:String,default:null}},style:o,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","focus","blur","change"],data:function(){return{focusedIndex:0}},mounted:function(){this.defaultTabIndexes()},methods:{defaultTabIndexes:function(){for(var e=t.find(this.$refs.container,'[data-pc-section="button"]'),i=t.findSingle(this.$refs.container,'[data-p-highlight="true"]'),o=0;o<e.length;o++)(!0===t.getAttribute(e[o],"data-p-highlight")&&n.equals(e[o],i)||null===i&&0==o)&&(this.focusedIndex=o)},getOptionLabel:function(e){return this.optionLabel?n.resolveFieldData(e,this.optionLabel):e},getOptionValue:function(e){return this.optionValue?n.resolveFieldData(e,this.optionValue):e},getOptionRenderKey:function(e){return this.dataKey?n.resolveFieldData(e,this.dataKey):this.getOptionLabel(e)},getPTOptions:function(e,t){return this.ptm(t,{context:{active:this.isSelected(e),disabled:this.isOptionDisabled(e),option:e}})},isOptionDisabled:function(e){return!!this.optionDisabled&&n.resolveFieldData(e,this.optionDisabled)},onOptionSelect:function(e,t,i){var o=this;if(!this.disabled&&!this.isOptionDisabled(t)){var r=this.isSelected(t);if(!r||this.unselectable&&this.allowEmpty){var l,a,u=this.getOptionValue(t);l=this.multiple?r?this.modelValue.filter((function(e){return!n.equals(e,u,o.equalityKey)})):this.modelValue?[].concat(x(a=this.modelValue)||v(a)||g(a)||y(),[u]):[u]:r?null:u,this.focusedIndex=i,this.$emit("update:modelValue",l),this.$emit("change",{event:e,value:l})}}},isSelected:function(e){var t=!1,i=this.getOptionValue(e);if(this.multiple){if(this.modelValue){var o,r=m(this.modelValue);try{for(r.s();!(o=r.n()).done;){if(n.equals(o.value,i,this.equalityKey)){t=!0;break}}}catch(e){r.e(e)}finally{r.f()}}}else t=n.equals(this.modelValue,i,this.equalityKey);return t},onKeydown:function(e,t,n){switch(e.code){case"Space":this.onOptionSelect(e,t,n),e.preventDefault();break;case"ArrowDown":case"ArrowRight":this.onArrowRightKey(e.target),e.preventDefault();break;case"ArrowUp":case"ArrowLeft":this.onArrowLeftKey(e.target),e.preventDefault()}},onArrowRightKey:function(e){var i=this.findNextElement(e);i&&(this.focusedIndex=n.findIndexInList(i,this.findAllElements()),t.focus(i))},onArrowLeftKey:function(e){var i=this.findPrevElement(e);i&&(this.focusedIndex=n.findIndexInList(i,this.findAllElements()),t.focus(i))},findAllElements:function(){return t.find(this.$refs.container,'[data-pc-section="button"]')},findNextElement:function(e){return e.nextElementSibling?t.getAttribute(e.nextElementSibling,"data-p-disabled")?this.findNextElement(e.nextElementSibling):e.nextElementSibling:null},findPrevElement:function(e){return e.previousElementSibling?t.getAttribute(e.previousElementSibling,"data-p-disabled")?this.findPrevElement(e.previousElementSibling):e.previousElementSibling:null},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e,t){e.target&&e.relatedTarget&&e.target.parentElement!==e.relatedTarget.parentElement&&this.defaultTabIndexes(),this.$emit("blur",e,t)},findTabindex:function(e,t){return this.disabled||this.isOptionDisabled(e)||t!==this.focusedIndex?"-1":"0"}},computed:{equalityKey:function(){return this.optionValue?null:this.dataKey}},directives:{ripple:e}},w=["aria-labelledby"],E=["tabindex","aria-label","role","aria-checked","aria-disabled","onClick","onKeydown","onBlur","data-p-highlight","data-p-disabled"];A.render=function(e,t,n,i,o,m){var y=r("ripple");return l(),a("div",u({ref:"container",class:e.cx("root"),role:"group","aria-labelledby":e.ariaLabelledby},e.ptmi("root")),[(l(!0),a(s,null,d(e.options,(function(n,i){return c((l(),a("div",u({key:m.getOptionRenderKey(n),tabindex:m.findTabindex(n,i),"aria-label":m.getOptionLabel(n),role:e.multiple?"checkbox":"radio","aria-checked":m.isSelected(n),"aria-disabled":m.isOptionDisabled(n),class:e.cx("button",{option:n}),onClick:function(e){return m.onOptionSelect(e,n,i)},onKeydown:function(e){return m.onKeydown(e,n,i)},onFocus:t[0]||(t[0]=function(e){return m.onFocus(e)}),onBlur:function(e){return m.onBlur(e,n)}},m.getPTOptions(n,"button"),{"data-p-highlight":m.isSelected(n),"data-p-disabled":m.isOptionDisabled(n)}),[f(e.$slots,"option",{option:n,index:i,class:p(e.cx("label"))},(function(){return[h("span",u({class:e.cx("label")},m.getPTOptions(n,"label")),b(m.getOptionLabel(n)),17)]}))],16,E)),[[y]])})),128))],16,w)};export{A as default};
|
|
@@ -55,6 +55,7 @@ this.primevue.selectbutton = (function (Ripple, utils, BaseComponent, SelectButt
|
|
|
55
55
|
var script = {
|
|
56
56
|
name: 'SelectButton',
|
|
57
57
|
"extends": script$1,
|
|
58
|
+
inheritAttrs: false,
|
|
58
59
|
emits: ['update:modelValue', 'focus', 'blur', 'change'],
|
|
59
60
|
data: function data() {
|
|
60
61
|
return {
|
|
@@ -157,34 +158,53 @@ this.primevue.selectbutton = (function (Ripple, utils, BaseComponent, SelectButt
|
|
|
157
158
|
case 'ArrowDown':
|
|
158
159
|
case 'ArrowRight':
|
|
159
160
|
{
|
|
160
|
-
this.
|
|
161
|
+
this.onArrowRightKey(event.target);
|
|
161
162
|
event.preventDefault();
|
|
162
163
|
break;
|
|
163
164
|
}
|
|
164
165
|
case 'ArrowUp':
|
|
165
166
|
case 'ArrowLeft':
|
|
166
167
|
{
|
|
167
|
-
this.
|
|
168
|
+
this.onArrowLeftKey(event.target);
|
|
168
169
|
event.preventDefault();
|
|
169
170
|
break;
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
173
|
},
|
|
173
|
-
|
|
174
|
-
var
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
index: i
|
|
179
|
-
};
|
|
174
|
+
onArrowRightKey: function onArrowRightKey(target) {
|
|
175
|
+
var nextEl = this.findNextElement(target);
|
|
176
|
+
if (nextEl) {
|
|
177
|
+
this.focusedIndex = utils.ObjectUtils.findIndexInList(nextEl, this.findAllElements());
|
|
178
|
+
utils.DomHandler.focus(nextEl);
|
|
180
179
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
},
|
|
181
|
+
onArrowLeftKey: function onArrowLeftKey(target) {
|
|
182
|
+
var prevEl = this.findPrevElement(target);
|
|
183
|
+
if (prevEl) {
|
|
184
|
+
this.focusedIndex = utils.ObjectUtils.findIndexInList(prevEl, this.findAllElements());
|
|
185
|
+
utils.DomHandler.focus(prevEl);
|
|
185
186
|
}
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
},
|
|
188
|
+
findAllElements: function findAllElements() {
|
|
189
|
+
return utils.DomHandler.find(this.$refs.container, '[data-pc-section="button"]');
|
|
190
|
+
},
|
|
191
|
+
findNextElement: function findNextElement(target) {
|
|
192
|
+
if (target.nextElementSibling) {
|
|
193
|
+
if (utils.DomHandler.getAttribute(target.nextElementSibling, 'data-p-disabled')) {
|
|
194
|
+
return this.findNextElement(target.nextElementSibling);
|
|
195
|
+
}
|
|
196
|
+
return target.nextElementSibling;
|
|
197
|
+
}
|
|
198
|
+
return null;
|
|
199
|
+
},
|
|
200
|
+
findPrevElement: function findPrevElement(target) {
|
|
201
|
+
if (target.previousElementSibling) {
|
|
202
|
+
if (utils.DomHandler.getAttribute(target.previousElementSibling, 'data-p-disabled')) {
|
|
203
|
+
return this.findPrevElement(target.previousElementSibling);
|
|
204
|
+
}
|
|
205
|
+
return target.previousElementSibling;
|
|
206
|
+
}
|
|
207
|
+
return null;
|
|
188
208
|
},
|
|
189
209
|
onFocus: function onFocus(event) {
|
|
190
210
|
this.$emit('focus', event);
|
|
@@ -194,6 +214,9 @@ this.primevue.selectbutton = (function (Ripple, utils, BaseComponent, SelectButt
|
|
|
194
214
|
this.defaultTabIndexes();
|
|
195
215
|
}
|
|
196
216
|
this.$emit('blur', event, option);
|
|
217
|
+
},
|
|
218
|
+
findTabindex: function findTabindex(option, index) {
|
|
219
|
+
return this.disabled || this.isOptionDisabled(option) || index !== this.focusedIndex ? '-1' : '0';
|
|
197
220
|
}
|
|
198
221
|
},
|
|
199
222
|
computed: {
|
|
@@ -215,14 +238,14 @@ this.primevue.selectbutton = (function (Ripple, utils, BaseComponent, SelectButt
|
|
|
215
238
|
"class": _ctx.cx('root'),
|
|
216
239
|
role: "group",
|
|
217
240
|
"aria-labelledby": _ctx.ariaLabelledby
|
|
218
|
-
}, _ctx.
|
|
241
|
+
}, _ctx.ptmi('root')), [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, function (option, i) {
|
|
219
242
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
220
243
|
key: $options.getOptionRenderKey(option),
|
|
221
|
-
tabindex:
|
|
244
|
+
tabindex: $options.findTabindex(option, i),
|
|
222
245
|
"aria-label": $options.getOptionLabel(option),
|
|
223
246
|
role: _ctx.multiple ? 'checkbox' : 'radio',
|
|
224
247
|
"aria-checked": $options.isSelected(option),
|
|
225
|
-
"aria-disabled":
|
|
248
|
+
"aria-disabled": $options.isOptionDisabled(option),
|
|
226
249
|
"class": _ctx.cx('button', {
|
|
227
250
|
option: option
|
|
228
251
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.selectbutton=function(e,t,n,i,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.selectbutton=function(e,t,n,i,l){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=o(e);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,l=function(){};return{s:l,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){a=!0,o=e},f:function(){try{r||null==n.return||n.return()}finally{if(a)throw o}}}}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function d(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e){if(Array.isArray(e))return f(e)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var p={name:"SelectButton",extends:{name:"BaseSelectButton",extends:o(n).default,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,multiple:Boolean,unselectable:{type:Boolean,default:!0},allowEmpty:{type:Boolean,default:!0},invalid:{type:Boolean,default:!1},disabled:Boolean,dataKey:null,ariaLabelledby:{type:String,default:null}},style:o(i).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","focus","blur","change"],data:function(){return{focusedIndex:0}},mounted:function(){this.defaultTabIndexes()},methods:{defaultTabIndexes:function(){for(var e=t.DomHandler.find(this.$refs.container,'[data-pc-section="button"]'),n=t.DomHandler.findSingle(this.$refs.container,'[data-p-highlight="true"]'),i=0;i<e.length;i++)(!0===t.DomHandler.getAttribute(e[i],"data-p-highlight")&&t.ObjectUtils.equals(e[i],n)||null===n&&0==i)&&(this.focusedIndex=i)},getOptionLabel:function(e){return this.optionLabel?t.ObjectUtils.resolveFieldData(e,this.optionLabel):e},getOptionValue:function(e){return this.optionValue?t.ObjectUtils.resolveFieldData(e,this.optionValue):e},getOptionRenderKey:function(e){return this.dataKey?t.ObjectUtils.resolveFieldData(e,this.dataKey):this.getOptionLabel(e)},getPTOptions:function(e,t){return this.ptm(t,{context:{active:this.isSelected(e),disabled:this.isOptionDisabled(e),option:e}})},isOptionDisabled:function(e){return!!this.optionDisabled&&t.ObjectUtils.resolveFieldData(e,this.optionDisabled)},onOptionSelect:function(e,n,i){var l=this;if(!this.disabled&&!this.isOptionDisabled(n)){var o=this.isSelected(n);if(!o||this.unselectable&&this.allowEmpty){var r,a,f=this.getOptionValue(n);r=this.multiple?o?this.modelValue.filter((function(e){return!t.ObjectUtils.equals(e,f,l.equalityKey)})):this.modelValue?[].concat(c(a=this.modelValue)||d(a)||u(a)||s(),[f]):[f]:o?null:f,this.focusedIndex=i,this.$emit("update:modelValue",r),this.$emit("change",{event:e,value:r})}}},isSelected:function(e){var n=!1,i=this.getOptionValue(e);if(this.multiple){if(this.modelValue){var l,o=a(this.modelValue);try{for(o.s();!(l=o.n()).done;){if(t.ObjectUtils.equals(l.value,i,this.equalityKey)){n=!0;break}}}catch(e){o.e(e)}finally{o.f()}}}else n=t.ObjectUtils.equals(this.modelValue,i,this.equalityKey);return n},onKeydown:function(e,t,n){switch(e.code){case"Space":this.onOptionSelect(e,t,n),e.preventDefault();break;case"ArrowDown":case"ArrowRight":this.onArrowRightKey(e.target),e.preventDefault();break;case"ArrowUp":case"ArrowLeft":this.onArrowLeftKey(e.target),e.preventDefault()}},onArrowRightKey:function(e){var n=this.findNextElement(e);n&&(this.focusedIndex=t.ObjectUtils.findIndexInList(n,this.findAllElements()),t.DomHandler.focus(n))},onArrowLeftKey:function(e){var n=this.findPrevElement(e);n&&(this.focusedIndex=t.ObjectUtils.findIndexInList(n,this.findAllElements()),t.DomHandler.focus(n))},findAllElements:function(){return t.DomHandler.find(this.$refs.container,'[data-pc-section="button"]')},findNextElement:function(e){return e.nextElementSibling?t.DomHandler.getAttribute(e.nextElementSibling,"data-p-disabled")?this.findNextElement(e.nextElementSibling):e.nextElementSibling:null},findPrevElement:function(e){return e.previousElementSibling?t.DomHandler.getAttribute(e.previousElementSibling,"data-p-disabled")?this.findPrevElement(e.previousElementSibling):e.previousElementSibling:null},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e,t){e.target&&e.relatedTarget&&e.target.parentElement!==e.relatedTarget.parentElement&&this.defaultTabIndexes(),this.$emit("blur",e,t)},findTabindex:function(e,t){return this.disabled||this.isOptionDisabled(e)||t!==this.focusedIndex?"-1":"0"}},computed:{equalityKey:function(){return this.optionValue?null:this.dataKey}},directives:{ripple:r.default}},b=["aria-labelledby"],h=["tabindex","aria-label","role","aria-checked","aria-disabled","onClick","onKeydown","onBlur","data-p-highlight","data-p-disabled"];return p.render=function(e,t,n,i,o,r){var a=l.resolveDirective("ripple");return l.openBlock(),l.createElementBlock("div",l.mergeProps({ref:"container",class:e.cx("root"),role:"group","aria-labelledby":e.ariaLabelledby},e.ptmi("root")),[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.options,(function(n,i){return l.withDirectives((l.openBlock(),l.createElementBlock("div",l.mergeProps({key:r.getOptionRenderKey(n),tabindex:r.findTabindex(n,i),"aria-label":r.getOptionLabel(n),role:e.multiple?"checkbox":"radio","aria-checked":r.isSelected(n),"aria-disabled":r.isOptionDisabled(n),class:e.cx("button",{option:n}),onClick:function(e){return r.onOptionSelect(e,n,i)},onKeydown:function(e){return r.onKeydown(e,n,i)},onFocus:t[0]||(t[0]=function(e){return r.onFocus(e)}),onBlur:function(e){return r.onBlur(e,n)}},r.getPTOptions(n,"button"),{"data-p-highlight":r.isSelected(n),"data-p-disabled":r.isOptionDisabled(n)}),[l.renderSlot(e.$slots,"option",{option:n,index:i,class:l.normalizeClass(e.cx("label"))},(function(){return[l.createElementVNode("span",l.mergeProps({class:e.cx("label")},r.getPTOptions(n,"label")),l.toDisplayString(r.getOptionLabel(n)),17)]}))],16,h)),[[a]])})),128))],16,b)},p}(primevue.ripple,primevue.utils,primevue.basecomponent,primevue.selectbutton.style,Vue);
|
|
@@ -9,7 +9,7 @@ var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
|
9
9
|
var classes = {
|
|
10
10
|
root: function root(_ref) {
|
|
11
11
|
var props = _ref.props;
|
|
12
|
-
return ['p-selectbutton p-
|
|
12
|
+
return ['p-selectbutton p-button-group p-component', {
|
|
13
13
|
'p-disabled': props.disabled,
|
|
14
14
|
'p-invalid': props.invalid
|
|
15
15
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=t(require("primevue/base/style")).default.extend({name:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-
|
|
1
|
+
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=t(require("primevue/base/style")).default.extend({name:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-button-group p-component",{"p-disabled":e.disabled,"p-invalid":e.invalid}]},button:function(t){var e=t.instance,n=t.option;return["p-button p-component",{"p-highlight":e.isSelected(n),"p-disabled":e.isOptionDisabled(n)}]},label:"p-button-label"}});module.exports=e;
|
|
@@ -3,7 +3,7 @@ import BaseStyle from 'primevue/base/style';
|
|
|
3
3
|
var classes = {
|
|
4
4
|
root: function root(_ref) {
|
|
5
5
|
var props = _ref.props;
|
|
6
|
-
return ['p-selectbutton p-
|
|
6
|
+
return ['p-selectbutton p-button-group p-component', {
|
|
7
7
|
'p-disabled': props.disabled,
|
|
8
8
|
'p-invalid': props.invalid
|
|
9
9
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/base/style";var e=t.extend({name:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-
|
|
1
|
+
import t from"primevue/base/style";var e=t.extend({name:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-button-group p-component",{"p-disabled":e.disabled,"p-invalid":e.invalid}]},button:function(t){var e=t.instance,n=t.option;return["p-button p-component",{"p-highlight":e.isSelected(n),"p-disabled":e.isOptionDisabled(n)}]},label:"p-button-label"}});export{e as default};
|
|
@@ -10,7 +10,7 @@ this.primevue.selectbutton.style = (function (BaseStyle) {
|
|
|
10
10
|
var classes = {
|
|
11
11
|
root: function root(_ref) {
|
|
12
12
|
var props = _ref.props;
|
|
13
|
-
return ['p-selectbutton p-
|
|
13
|
+
return ['p-selectbutton p-button-group p-component', {
|
|
14
14
|
'p-disabled': props.disabled,
|
|
15
15
|
'p-invalid': props.invalid
|
|
16
16
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.selectbutton=this.primevue.selectbutton||{},this.primevue.selectbutton.style=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}return e(primevue.base.style).default.extend({name:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.selectbutton=this.primevue.selectbutton||{},this.primevue.selectbutton.style=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}return e(primevue.base.style).default.extend({name:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-button-group p-component",{"p-disabled":e.disabled,"p-invalid":e.invalid}]},button:function(t){var e=t.instance,n=t.option;return["p-button p-component",{"p-highlight":e.isSelected(n),"p-disabled":e.isOptionDisabled(n)}]},label:"p-button-label"}})}();
|
package/sidebar/Sidebar.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<Portal>
|
|
3
3
|
<div v-if="containerVisible" :ref="maskRef" @mousedown="onMaskClick" :class="cx('mask')" :style="sx('mask', true, { position })" v-bind="ptm('mask')">
|
|
4
4
|
<transition name="p-sidebar" @enter="onEnter" @after-enter="onAfterEnter" @before-leave="onBeforeLeave" @leave="onLeave" @after-leave="onAfterLeave" appear v-bind="ptm('transition')">
|
|
5
|
-
<div v-if="visible" :ref="containerRef" v-focustrap :class="cx('root')" role="complementary" :aria-modal="modal" v-bind="
|
|
5
|
+
<div v-if="visible" :ref="containerRef" v-focustrap :class="cx('root')" role="complementary" :aria-modal="modal" v-bind="ptmi('root')">
|
|
6
6
|
<slot v-if="$slots.container" name="container" :onClose="hide" :closeCallback="hide"></slot>
|
|
7
7
|
<template v-else>
|
|
8
8
|
<div :ref="headerContainerRef" :class="cx('header')" v-bind="ptm('header')">
|
package/sidebar/sidebar.cjs.js
CHANGED
|
@@ -236,12 +236,6 @@ var script = {
|
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
240
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
241
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
242
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
243
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
244
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
245
239
|
var _hoisted_1 = ["aria-modal"];
|
|
246
240
|
var _hoisted_2 = ["aria-label"];
|
|
247
241
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -276,7 +270,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
276
270
|
"class": _ctx.cx('root'),
|
|
277
271
|
role: "complementary",
|
|
278
272
|
"aria-modal": _ctx.modal
|
|
279
|
-
},
|
|
273
|
+
}, _ctx.ptmi('root')), [_ctx.$slots.container ? vue.renderSlot(_ctx.$slots, "container", {
|
|
280
274
|
key: 0,
|
|
281
275
|
onClose: $options.hide,
|
|
282
276
|
closeCallback: $options.hide
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/times"),n=require("primevue/portal"),o=require("primevue/ripple"),i=require("primevue/utils"),
|
|
1
|
+
"use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/times"),n=require("primevue/portal"),o=require("primevue/ripple"),i=require("primevue/utils"),s=require("primevue/basecomponent"),r=require("primevue/sidebar/style"),l=require("vue");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=c(e),u=c(t),d=c(n),m=c(o),h={name:"Sidebar",extends:{name:"BaseSidebar",extends:c(s).default,props:{visible:{type:Boolean,default:!1},position:{type:String,default:"left"},header:{type:null,default:null},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},dismissable:{type:Boolean,default:!0},showCloseIcon:{type:Boolean,default:!0},closeIcon:{type:String,default:void 0},modal:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1}},style:c(r).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide"],data:function(){return{containerVisible:this.visible}},container:null,mask:null,content:null,headerContainer:null,closeButton:null,outsideClickListener:null,documentKeydownListener:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.disableDocumentSettings(),this.mask&&this.autoZIndex&&i.ZIndexUtils.clear(this.mask),this.container=null,this.mask=null},methods:{hide:function(){this.$emit("update:visible",!1)},onEnter:function(){this.$emit("show"),this.focus(),this.bindDocumentKeyDownListener(),this.autoZIndex&&i.ZIndexUtils.set("modal",this.mask,this.baseZIndex||this.$primevue.config.zIndex.modal)},onAfterEnter:function(){this.enableDocumentSettings()},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&i.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide")},onAfterLeave:function(){this.autoZIndex&&i.ZIndexUtils.clear(this.mask),this.unbindDocumentKeyDownListener(),this.containerVisible=!1,this.disableDocumentSettings(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissable&&this.modal&&this.mask===e.target&&this.hide()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.header&&e(this.headerContainer);t||(t=this.$slots.default&&e(this.container))||(t=this.closeButton),t&&i.DomHandler.focus(t)},enableDocumentSettings:function(){this.dismissable&&!this.modal&&this.bindOutsideClickListener(),this.blockScroll&&i.DomHandler.blockBodyScroll()},disableDocumentSettings:function(){this.unbindOutsideClickListener(),this.blockScroll&&i.DomHandler.unblockBodyScroll()},onKeydown:function(e){"Escape"===e.code&&this.hide()},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},closeButtonRef:function(e){this.closeButton=e},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeydown,document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.isOutsideClicked(t)&&e.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},isOutsideClicked:function(e){return this.container&&!this.container.contains(e.target)}},computed:{fullScreen:function(){return"full"===this.position},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{focustrap:a.default,ripple:m.default},components:{Portal:d.default,TimesIcon:u.default}},f=["aria-modal"],p=["aria-label"];h.render=function(e,t,n,o,i,s){var r=l.resolveComponent("Portal"),c=l.resolveDirective("ripple"),a=l.resolveDirective("focustrap");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx((function(){return[i.containerVisible?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:s.maskRef,onMousedown:t[1]||(t[1]=function(){return s.onMaskClick&&s.onMaskClick.apply(s,arguments)}),class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position})},e.ptm("mask")),[l.createVNode(l.Transition,l.mergeProps({name:"p-sidebar",onEnter:s.onEnter,onAfterEnter:s.onAfterEnter,onBeforeLeave:s.onBeforeLeave,onLeave:s.onLeave,onAfterLeave:s.onAfterLeave,appear:""},e.ptm("transition")),{default:l.withCtx((function(){return[e.visible?l.withDirectives((l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:s.containerRef,class:e.cx("root"),role:"complementary","aria-modal":e.modal},e.ptmi("root")),[e.$slots.container?l.renderSlot(e.$slots,"container",{key:0,onClose:s.hide,closeCallback:s.hide}):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("div",l.mergeProps({ref:s.headerContainerRef,class:e.cx("header")},e.ptm("header")),[l.renderSlot(e.$slots,"header",{class:l.normalizeClass(e.cx("title"))},(function(){return[e.header?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,class:e.cx("title")},e.ptm("title")),l.toDisplayString(e.header),17)):l.createCommentVNode("",!0)]})),e.showCloseIcon?l.withDirectives((l.openBlock(),l.createElementBlock("button",l.mergeProps({key:0,ref:s.closeButtonRef,type:"button",class:e.cx("closeButton"),"aria-label":s.closeAriaLabel,onClick:t[0]||(t[0]=function(){return s.hide&&s.hide.apply(s,arguments)})},e.ptm("closeButton"),{"data-pc-group-section":"iconcontainer"}),[l.renderSlot(e.$slots,"closeicon",{class:l.normalizeClass(e.cx("closeIcon"))},(function(){return[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.closeIcon?"span":"TimesIcon"),l.mergeProps({class:[e.cx("closeIcon"),e.closeIcon]},e.ptm("closeIcon")),null,16,["class"]))]}))],16,p)),[[c]]):l.createCommentVNode("",!0)],16),l.createElementVNode("div",l.mergeProps({ref:s.contentRef,class:e.cx("content")},e.ptm("content")),[l.renderSlot(e.$slots,"default")],16)],64))],16,f)),[[a]]):l.createCommentVNode("",!0)]})),_:3},16,["onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):l.createCommentVNode("",!0)]})),_:3})},module.exports=h;
|
package/sidebar/sidebar.esm.js
CHANGED
|
@@ -225,12 +225,6 @@ var script = {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
229
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
230
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
231
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
232
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
233
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
234
228
|
var _hoisted_1 = ["aria-modal"];
|
|
235
229
|
var _hoisted_2 = ["aria-label"];
|
|
236
230
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -265,7 +259,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
265
259
|
"class": _ctx.cx('root'),
|
|
266
260
|
role: "complementary",
|
|
267
261
|
"aria-modal": _ctx.modal
|
|
268
|
-
},
|
|
262
|
+
}, _ctx.ptmi('root')), [_ctx.$slots.container ? renderSlot(_ctx.$slots, "container", {
|
|
269
263
|
key: 0,
|
|
270
264
|
onClose: $options.hide,
|
|
271
265
|
closeCallback: $options.hide
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/focustrap";import t from"primevue/icons/times";import n from"primevue/portal";import i from"primevue/ripple";import{ZIndexUtils as o,DomHandler as s}from"primevue/utils";import r from"primevue/basecomponent";import
|
|
1
|
+
import e from"primevue/focustrap";import t from"primevue/icons/times";import n from"primevue/portal";import i from"primevue/ripple";import{ZIndexUtils as o,DomHandler as s}from"primevue/utils";import r from"primevue/basecomponent";import l from"primevue/sidebar/style";import{resolveComponent as a,resolveDirective as c,openBlock as u,createBlock as d,withCtx as f,createElementBlock as m,mergeProps as h,createVNode as p,Transition as v,withDirectives as k,renderSlot as b,Fragment as y,createElementVNode as L,normalizeClass as C,toDisplayString as w,createCommentVNode as x,resolveDynamicComponent as B}from"vue";var I={name:"Sidebar",extends:{name:"BaseSidebar",extends:r,props:{visible:{type:Boolean,default:!1},position:{type:String,default:"left"},header:{type:null,default:null},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},dismissable:{type:Boolean,default:!0},showCloseIcon:{type:Boolean,default:!0},closeIcon:{type:String,default:void 0},modal:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1}},style:l,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide"],data:function(){return{containerVisible:this.visible}},container:null,mask:null,content:null,headerContainer:null,closeButton:null,outsideClickListener:null,documentKeydownListener:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.disableDocumentSettings(),this.mask&&this.autoZIndex&&o.clear(this.mask),this.container=null,this.mask=null},methods:{hide:function(){this.$emit("update:visible",!1)},onEnter:function(){this.$emit("show"),this.focus(),this.bindDocumentKeyDownListener(),this.autoZIndex&&o.set("modal",this.mask,this.baseZIndex||this.$primevue.config.zIndex.modal)},onAfterEnter:function(){this.enableDocumentSettings()},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&s.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide")},onAfterLeave:function(){this.autoZIndex&&o.clear(this.mask),this.unbindDocumentKeyDownListener(),this.containerVisible=!1,this.disableDocumentSettings(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissable&&this.modal&&this.mask===e.target&&this.hide()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.header&&e(this.headerContainer);t||(t=this.$slots.default&&e(this.container))||(t=this.closeButton),t&&s.focus(t)},enableDocumentSettings:function(){this.dismissable&&!this.modal&&this.bindOutsideClickListener(),this.blockScroll&&s.blockBodyScroll()},disableDocumentSettings:function(){this.unbindOutsideClickListener(),this.blockScroll&&s.unblockBodyScroll()},onKeydown:function(e){"Escape"===e.code&&this.hide()},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},closeButtonRef:function(e){this.closeButton=e},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeydown,document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.isOutsideClicked(t)&&e.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},isOutsideClicked:function(e){return this.container&&!this.container.contains(e.target)}},computed:{fullScreen:function(){return"full"===this.position},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{focustrap:e,ripple:i},components:{Portal:n,TimesIcon:t}},S=["aria-modal"],$=["aria-label"];I.render=function(e,t,n,i,o,s){var r=a("Portal"),l=c("ripple"),I=c("focustrap");return u(),d(r,null,{default:f((function(){return[o.containerVisible?(u(),m("div",h({key:0,ref:s.maskRef,onMousedown:t[1]||(t[1]=function(){return s.onMaskClick&&s.onMaskClick.apply(s,arguments)}),class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position})},e.ptm("mask")),[p(v,h({name:"p-sidebar",onEnter:s.onEnter,onAfterEnter:s.onAfterEnter,onBeforeLeave:s.onBeforeLeave,onLeave:s.onLeave,onAfterLeave:s.onAfterLeave,appear:""},e.ptm("transition")),{default:f((function(){return[e.visible?k((u(),m("div",h({key:0,ref:s.containerRef,class:e.cx("root"),role:"complementary","aria-modal":e.modal},e.ptmi("root")),[e.$slots.container?b(e.$slots,"container",{key:0,onClose:s.hide,closeCallback:s.hide}):(u(),m(y,{key:1},[L("div",h({ref:s.headerContainerRef,class:e.cx("header")},e.ptm("header")),[b(e.$slots,"header",{class:C(e.cx("title"))},(function(){return[e.header?(u(),m("div",h({key:0,class:e.cx("title")},e.ptm("title")),w(e.header),17)):x("",!0)]})),e.showCloseIcon?k((u(),m("button",h({key:0,ref:s.closeButtonRef,type:"button",class:e.cx("closeButton"),"aria-label":s.closeAriaLabel,onClick:t[0]||(t[0]=function(){return s.hide&&s.hide.apply(s,arguments)})},e.ptm("closeButton"),{"data-pc-group-section":"iconcontainer"}),[b(e.$slots,"closeicon",{class:C(e.cx("closeIcon"))},(function(){return[(u(),d(B(e.closeIcon?"span":"TimesIcon"),h({class:[e.cx("closeIcon"),e.closeIcon]},e.ptm("closeIcon")),null,16,["class"]))]}))],16,$)),[[l]]):x("",!0)],16),L("div",h({ref:s.contentRef,class:e.cx("content")},e.ptm("content")),[b(e.$slots,"default")],16)],64))],16,S)),[[I]]):x("",!0)]})),_:3},16,["onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):x("",!0)]})),_:3})};export{I as default};
|
package/sidebar/sidebar.js
CHANGED
|
@@ -229,12 +229,6 @@ this.primevue.sidebar = (function (FocusTrap, TimesIcon, Portal, Ripple, utils,
|
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
|
|
232
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
233
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
234
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
235
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
236
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
237
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
238
232
|
var _hoisted_1 = ["aria-modal"];
|
|
239
233
|
var _hoisted_2 = ["aria-label"];
|
|
240
234
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -269,7 +263,7 @@ this.primevue.sidebar = (function (FocusTrap, TimesIcon, Portal, Ripple, utils,
|
|
|
269
263
|
"class": _ctx.cx('root'),
|
|
270
264
|
role: "complementary",
|
|
271
265
|
"aria-modal": _ctx.modal
|
|
272
|
-
},
|
|
266
|
+
}, _ctx.ptmi('root')), [_ctx.$slots.container ? vue.renderSlot(_ctx.$slots, "container", {
|
|
273
267
|
key: 0,
|
|
274
268
|
onClose: $options.hide,
|
|
275
269
|
closeCallback: $options.hide
|
package/sidebar/sidebar.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.sidebar=function(e,t,n,o,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.sidebar=function(e,t,n,i,o,s,r,l){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=c(e),u=c(t),d=c(n),m=c(i),h={name:"Sidebar",extends:{name:"BaseSidebar",extends:c(s).default,props:{visible:{type:Boolean,default:!1},position:{type:String,default:"left"},header:{type:null,default:null},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},dismissable:{type:Boolean,default:!0},showCloseIcon:{type:Boolean,default:!0},closeIcon:{type:String,default:void 0},modal:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1}},style:c(r).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide"],data:function(){return{containerVisible:this.visible}},container:null,mask:null,content:null,headerContainer:null,closeButton:null,outsideClickListener:null,documentKeydownListener:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.disableDocumentSettings(),this.mask&&this.autoZIndex&&o.ZIndexUtils.clear(this.mask),this.container=null,this.mask=null},methods:{hide:function(){this.$emit("update:visible",!1)},onEnter:function(){this.$emit("show"),this.focus(),this.bindDocumentKeyDownListener(),this.autoZIndex&&o.ZIndexUtils.set("modal",this.mask,this.baseZIndex||this.$primevue.config.zIndex.modal)},onAfterEnter:function(){this.enableDocumentSettings()},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&o.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide")},onAfterLeave:function(){this.autoZIndex&&o.ZIndexUtils.clear(this.mask),this.unbindDocumentKeyDownListener(),this.containerVisible=!1,this.disableDocumentSettings(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissable&&this.modal&&this.mask===e.target&&this.hide()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.header&&e(this.headerContainer);t||(t=this.$slots.default&&e(this.container))||(t=this.closeButton),t&&o.DomHandler.focus(t)},enableDocumentSettings:function(){this.dismissable&&!this.modal&&this.bindOutsideClickListener(),this.blockScroll&&o.DomHandler.blockBodyScroll()},disableDocumentSettings:function(){this.unbindOutsideClickListener(),this.blockScroll&&o.DomHandler.unblockBodyScroll()},onKeydown:function(e){"Escape"===e.code&&this.hide()},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},closeButtonRef:function(e){this.closeButton=e},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeydown,document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.isOutsideClicked(t)&&e.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},isOutsideClicked:function(e){return this.container&&!this.container.contains(e.target)}},computed:{fullScreen:function(){return"full"===this.position},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{focustrap:a.default,ripple:m.default},components:{Portal:d.default,TimesIcon:u.default}},f=["aria-modal"],p=["aria-label"];return h.render=function(e,t,n,i,o,s){var r=l.resolveComponent("Portal"),c=l.resolveDirective("ripple"),a=l.resolveDirective("focustrap");return l.openBlock(),l.createBlock(r,null,{default:l.withCtx((function(){return[o.containerVisible?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:s.maskRef,onMousedown:t[1]||(t[1]=function(){return s.onMaskClick&&s.onMaskClick.apply(s,arguments)}),class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position})},e.ptm("mask")),[l.createVNode(l.Transition,l.mergeProps({name:"p-sidebar",onEnter:s.onEnter,onAfterEnter:s.onAfterEnter,onBeforeLeave:s.onBeforeLeave,onLeave:s.onLeave,onAfterLeave:s.onAfterLeave,appear:""},e.ptm("transition")),{default:l.withCtx((function(){return[e.visible?l.withDirectives((l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:s.containerRef,class:e.cx("root"),role:"complementary","aria-modal":e.modal},e.ptmi("root")),[e.$slots.container?l.renderSlot(e.$slots,"container",{key:0,onClose:s.hide,closeCallback:s.hide}):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("div",l.mergeProps({ref:s.headerContainerRef,class:e.cx("header")},e.ptm("header")),[l.renderSlot(e.$slots,"header",{class:l.normalizeClass(e.cx("title"))},(function(){return[e.header?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,class:e.cx("title")},e.ptm("title")),l.toDisplayString(e.header),17)):l.createCommentVNode("",!0)]})),e.showCloseIcon?l.withDirectives((l.openBlock(),l.createElementBlock("button",l.mergeProps({key:0,ref:s.closeButtonRef,type:"button",class:e.cx("closeButton"),"aria-label":s.closeAriaLabel,onClick:t[0]||(t[0]=function(){return s.hide&&s.hide.apply(s,arguments)})},e.ptm("closeButton"),{"data-pc-group-section":"iconcontainer"}),[l.renderSlot(e.$slots,"closeicon",{class:l.normalizeClass(e.cx("closeIcon"))},(function(){return[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.closeIcon?"span":"TimesIcon"),l.mergeProps({class:[e.cx("closeIcon"),e.closeIcon]},e.ptm("closeIcon")),null,16,["class"]))]}))],16,p)),[[c]]):l.createCommentVNode("",!0)],16),l.createElementVNode("div",l.mergeProps({ref:s.contentRef,class:e.cx("content")},e.ptm("content")),[l.renderSlot(e.$slots,"default")],16)],64))],16,f)),[[a]]):l.createCommentVNode("",!0)]})),_:3},16,["onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):l.createCommentVNode("",!0)]})),_:3})},h}(primevue.focustrap,primevue.icons.times,primevue.portal,primevue.ripple,primevue.utils,primevue.basecomponent,primevue.sidebar.style,Vue);
|
package/skeleton/Skeleton.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="cx('root')" :style="[sx('root'), containerStyle]" aria-hidden="true" v-bind="
|
|
2
|
+
<div :class="cx('root')" :style="[sx('root'), containerStyle]" aria-hidden="true" v-bind="ptmi('root')"></div>
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script>
|
|
@@ -8,6 +8,7 @@ import BaseSkeleton from './BaseSkeleton.vue';
|
|
|
8
8
|
export default {
|
|
9
9
|
name: 'Skeleton',
|
|
10
10
|
extends: BaseSkeleton,
|
|
11
|
+
inheritAttrs: false,
|
|
11
12
|
computed: {
|
|
12
13
|
containerStyle() {
|
|
13
14
|
if (this.size) return { width: this.size, height: this.size, borderRadius: this.borderRadius };
|
package/skeleton/skeleton.cjs.js
CHANGED
|
@@ -49,6 +49,7 @@ var script$1 = {
|
|
|
49
49
|
var script = {
|
|
50
50
|
name: 'Skeleton',
|
|
51
51
|
"extends": script$1,
|
|
52
|
+
inheritAttrs: false,
|
|
52
53
|
computed: {
|
|
53
54
|
containerStyle: function containerStyle() {
|
|
54
55
|
if (this.size) return {
|
|
@@ -69,7 +70,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69
70
|
"class": _ctx.cx('root'),
|
|
70
71
|
style: [_ctx.sx('root'), $options.containerStyle],
|
|
71
72
|
"aria-hidden": "true"
|
|
72
|
-
}, _ctx.
|
|
73
|
+
}, _ctx.ptmi('root')), null, 16);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/skeleton/style"),r=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"Skeleton",extends:{name:"BaseSkeleton",extends:i(e).default,props:{shape:{type:String,default:"rectangle"},size:{type:String,default:null},width:{type:String,default:"100%"},height:{type:String,default:"1rem"},borderRadius:{type:String,default:null},animation:{type:String,default:"wave"}},style:i(t).default,provide:function(){return{$parentInstance:this}}},computed:{containerStyle:function(){return this.size?{width:this.size,height:this.size,borderRadius:this.borderRadius}:{width:this.width,height:this.height,borderRadius:this.borderRadius}}}};n.render=function(e,t,i,n,u
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/skeleton/style"),r=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"Skeleton",extends:{name:"BaseSkeleton",extends:i(e).default,props:{shape:{type:String,default:"rectangle"},size:{type:String,default:null},width:{type:String,default:"100%"},height:{type:String,default:"1rem"},borderRadius:{type:String,default:null},animation:{type:String,default:"wave"}},style:i(t).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{containerStyle:function(){return this.size?{width:this.size,height:this.size,borderRadius:this.borderRadius}:{width:this.width,height:this.height,borderRadius:this.borderRadius}}}};n.render=function(e,t,i,n,s,u){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),style:[e.sx("root"),u.containerStyle],"aria-hidden":"true"},e.ptmi("root")),null,16)},module.exports=n;
|
package/skeleton/skeleton.esm.js
CHANGED
|
@@ -42,6 +42,7 @@ var script$1 = {
|
|
|
42
42
|
var script = {
|
|
43
43
|
name: 'Skeleton',
|
|
44
44
|
"extends": script$1,
|
|
45
|
+
inheritAttrs: false,
|
|
45
46
|
computed: {
|
|
46
47
|
containerStyle: function containerStyle() {
|
|
47
48
|
if (this.size) return {
|
|
@@ -62,7 +63,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62
63
|
"class": _ctx.cx('root'),
|
|
63
64
|
style: [_ctx.sx('root'), $options.containerStyle],
|
|
64
65
|
"aria-hidden": "true"
|
|
65
|
-
}, _ctx.
|
|
66
|
+
}, _ctx.ptmi('root')), null, 16);
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
script.render = render;
|