primevue 3.42.0 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/Accordion.d.ts +8 -0
- package/accordion/Accordion.vue +1 -0
- package/accordion/accordion.cjs.js +3 -2
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +3 -2
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +3 -2
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.d.ts +6 -3
- package/animateonscroll/animateonscroll.cjs.js +2 -2
- package/animateonscroll/animateonscroll.cjs.min.js +1 -1
- package/animateonscroll/animateonscroll.esm.js +2 -2
- package/animateonscroll/animateonscroll.esm.min.js +1 -1
- package/animateonscroll/animateonscroll.js +2 -2
- package/animateonscroll/animateonscroll.min.js +1 -1
- package/api/api.cjs.js +6 -6
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +6 -6
- package/api/api.esm.min.js +1 -1
- package/api/api.js +6 -6
- package/api/api.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +25 -2
- package/autocomplete/AutoComplete.vue +2 -1
- package/autocomplete/autocomplete.cjs.js +5 -3
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +5 -3
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +5 -3
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +6 -3
- package/avatar/Avatar.vue +4 -11
- package/avatar/avatar.cjs.js +4 -11
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +4 -11
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +4 -11
- package/avatar/avatar.min.js +1 -1
- package/badge/Badge.d.ts +8 -4
- package/badgedirective/BadgeDirective.d.ts +8 -0
- package/badgedirective/badgedirective.cjs.js +2 -2
- package/badgedirective/badgedirective.cjs.min.js +1 -1
- package/badgedirective/badgedirective.esm.js +2 -2
- package/badgedirective/badgedirective.esm.min.js +1 -1
- package/badgedirective/badgedirective.js +2 -2
- package/badgedirective/badgedirective.min.js +1 -1
- package/base/style/basestyle.cjs.js +2 -2
- package/base/style/basestyle.cjs.min.js +1 -1
- package/base/style/basestyle.esm.js +2 -2
- package/base/style/basestyle.esm.min.js +1 -1
- package/base/style/basestyle.js +2 -2
- package/base/style/basestyle.min.js +1 -1
- package/basecomponent/BaseComponent.vue +16 -1
- package/basecomponent/basecomponent.cjs.js +14 -5
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +14 -5
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +14 -5
- package/basecomponent/basecomponent.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.cjs.js +2 -2
- package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.esm.js +2 -2
- package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.js +2 -2
- package/basecomponent/style/basecomponentstyle.min.js +1 -1
- package/basedirective/basedirective.cjs.js +2 -3
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +2 -3
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +2 -3
- package/basedirective/basedirective.min.js +1 -1
- package/blockui/BlockUI.d.ts +8 -0
- package/breadcrumb/Breadcrumb.d.ts +8 -0
- package/button/Button.d.ts +10 -10
- package/button/Button.vue +1 -5
- package/button/button.cjs.js +1 -6
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +1 -6
- package/button/button.esm.min.js +1 -1
- package/button/button.js +1 -6
- package/button/button.min.js +1 -1
- package/button/style/buttonstyle.cjs.js +2 -2
- package/button/style/buttonstyle.cjs.min.js +1 -1
- package/button/style/buttonstyle.esm.js +2 -2
- package/button/style/buttonstyle.esm.min.js +1 -1
- package/button/style/buttonstyle.js +2 -2
- package/button/style/buttonstyle.min.js +1 -1
- package/calendar/Calendar.d.ts +37 -11
- package/calendar/Calendar.vue +9 -5
- package/calendar/calendar.cjs.js +10 -8
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +10 -8
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +10 -8
- package/calendar/calendar.min.js +1 -1
- package/carousel/Carousel.d.ts +8 -0
- package/carousel/Carousel.vue +4 -2
- package/carousel/carousel.cjs.js +5 -3
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +5 -3
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +5 -3
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +8 -0
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/CascadeSelectSub.vue +4 -1
- package/cascadeselect/cascadeselect.cjs.js +7 -4
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +7 -4
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +7 -4
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.d.ts +8 -0
- package/chart/Chart.vue +1 -1
- package/chart/chart.cjs.js +4 -3
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +4 -3
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +4 -3
- package/chart/chart.min.js +1 -1
- package/chart/style/chartstyle.cjs.js +6 -2
- package/chart/style/chartstyle.cjs.min.js +1 -1
- package/chart/style/chartstyle.esm.js +6 -2
- package/chart/style/chartstyle.esm.min.js +1 -1
- package/chart/style/chartstyle.js +6 -2
- package/chart/style/chartstyle.min.js +1 -1
- package/checkbox/Checkbox.d.ts +8 -0
- package/checkbox/checkbox.cjs.js +2 -2
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +2 -2
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +2 -2
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +8 -0
- package/chips/Chips.d.ts +8 -0
- package/chips/chips.cjs.js +2 -2
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +2 -2
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +2 -2
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +8 -0
- package/column/Column.d.ts +31 -13
- package/columngroup/ColumnGroup.d.ts +6 -3
- package/config/config.cjs.js +3 -3
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +3 -3
- package/config/config.esm.min.js +1 -1
- package/config/config.js +3 -3
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +24 -2
- package/confirmpopup/ConfirmPopup.d.ts +24 -2
- package/confirmpopup/confirmpopup.cjs.js +2 -2
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +2 -2
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +2 -2
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +8 -0
- package/contextmenu/contextmenu.cjs.js +2 -2
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +2 -2
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +2 -2
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +308 -229
- package/core/core.min.js +27 -27
- package/datatable/BodyCell.vue +1 -0
- package/datatable/ColumnFilter.vue +1 -0
- package/datatable/DataTable.d.ts +23 -1
- package/datatable/FooterCell.vue +1 -0
- package/datatable/HeaderCell.vue +1 -0
- package/datatable/HeaderCheckbox.vue +1 -0
- package/datatable/RowCheckbox.vue +2 -0
- package/datatable/RowRadioButton.vue +1 -0
- package/datatable/TableBody.vue +1 -0
- package/datatable/TableFooter.vue +2 -0
- package/datatable/TableHeader.vue +3 -0
- package/datatable/datatable.cjs.js +34 -20
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +34 -20
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +34 -20
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +24 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +8 -0
- package/deferredcontent/DeferredContent.d.ts +8 -0
- package/dialog/Dialog.d.ts +20 -16
- 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.d.ts +8 -0
- package/dock/Dock.d.ts +8 -0
- package/dropdown/Dropdown.d.ts +28 -24
- package/dropdown/Dropdown.vue +5 -3
- package/dropdown/dropdown.cjs.js +8 -7
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +8 -7
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +8 -7
- package/dropdown/dropdown.min.js +1 -1
- package/dropdown/style/dropdownstyle.cjs.js +1 -1
- package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
- package/dropdown/style/dropdownstyle.esm.js +1 -1
- package/dropdown/style/dropdownstyle.esm.min.js +1 -1
- package/dropdown/style/dropdownstyle.js +1 -1
- package/dropdown/style/dropdownstyle.min.js +1 -1
- package/dynamicdialog/DynamicDialog.vue +1 -1
- package/dynamicdialog/dynamicdialog.cjs.js +1 -3
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +1 -3
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +1 -3
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/editor/Editor.d.ts +8 -0
- package/editor/editor.cjs.js +2 -2
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +2 -2
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +2 -2
- package/editor/editor.min.js +1 -1
- package/fieldset/Fieldset.d.ts +8 -0
- package/fieldset/Fieldset.vue +1 -1
- package/fieldset/fieldset.cjs.js +3 -3
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +3 -3
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +3 -3
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileUpload.d.ts +30 -6
- package/galleria/BaseGalleria.vue +8 -0
- package/galleria/Galleria.d.ts +16 -0
- package/galleria/Galleria.vue +1 -1
- package/galleria/GalleriaContent.vue +11 -1
- package/galleria/GalleriaItem.vue +72 -3
- package/galleria/galleria.cjs.js +93 -13
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +93 -13
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +93 -13
- package/galleria/galleria.min.js +1 -1
- package/image/Image.d.ts +8 -0
- package/image/Image.vue +4 -1
- package/image/image.cjs.js +20 -15
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +20 -15
- package/image/image.esm.min.js +1 -1
- package/image/image.js +20 -15
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +8 -0
- package/inplace/Inplace.d.ts +23 -1
- package/inplace/inplace.cjs.js +2 -2
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +2 -2
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +2 -2
- package/inplace/inplace.min.js +1 -1
- package/inputgroup/InputGroup.d.ts +8 -0
- package/inputgroupaddon/InputGroupAddon.d.ts +8 -0
- package/inputmask/InputMask.d.ts +8 -0
- package/inputnumber/InputNumber.d.ts +30 -12
- package/inputnumber/InputNumber.vue +10 -5
- package/inputnumber/inputnumber.cjs.js +22 -23
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +22 -23
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +22 -23
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +8 -0
- package/inputswitch/inputswitch.cjs.js +2 -2
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +2 -2
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +2 -2
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +8 -4
- package/inputtext/InputText.vue +9 -9
- package/inputtext/inputtext.cjs.js +9 -9
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +9 -9
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +9 -9
- package/inputtext/inputtext.min.js +1 -1
- package/knob/Knob.d.ts +8 -0
- package/listbox/Listbox.d.ts +8 -0
- 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.d.ts +8 -0
- package/menu/Menu.d.ts +8 -0
- package/menu/menu.cjs.js +2 -2
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +2 -2
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +2 -2
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +8 -0
- package/menubar/menubar.cjs.js +2 -2
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +2 -2
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +2 -2
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +17 -13
- package/message/message.cjs.js +2 -2
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +2 -2
- package/message/message.esm.min.js +1 -1
- package/message/message.js +2 -2
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +8 -0
- package/multiselect/multiselect.cjs.js +4 -4
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +4 -4
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +4 -4
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +27 -5
- package/orderlist/OrderList.vue +4 -4
- package/orderlist/orderlist.cjs.js +18 -18
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +18 -18
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +18 -18
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +8 -0
- package/organizationchart/organizationchart.cjs.js +2 -2
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +2 -2
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +2 -2
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +8 -0
- package/overlaypanel/overlaypanel.cjs.js +2 -2
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +2 -2
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +2 -2
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/Paginator.d.ts +44 -26
- package/paginator/style/paginatorstyle.cjs.js +2 -2
- package/paginator/style/paginatorstyle.cjs.min.js +1 -1
- package/paginator/style/paginatorstyle.esm.js +2 -2
- package/paginator/style/paginatorstyle.esm.min.js +1 -1
- package/paginator/style/paginatorstyle.js +2 -2
- package/paginator/style/paginatorstyle.min.js +1 -1
- package/panel/Panel.d.ts +8 -0
- package/panel/Panel.vue +1 -1
- package/panel/panel.cjs.js +3 -3
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +3 -3
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +3 -3
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +8 -0
- package/panelmenu/panelmenu.cjs.js +2 -2
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +2 -2
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +2 -2
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +2 -2
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.esm.js +2 -2
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.js +2 -2
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +168 -124
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +168 -124
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +168 -124
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/Password.d.ts +25 -3
- package/password/Password.vue +2 -1
- package/password/password.cjs.js +5 -6
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +5 -6
- package/password/password.esm.min.js +1 -1
- package/password/password.js +5 -6
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +35 -13
- package/picklist/PickList.vue +48 -12
- package/picklist/picklist.cjs.js +49 -37
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +49 -37
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +49 -37
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +10 -6
- package/progressspinner/ProgressSpinner.d.ts +8 -0
- package/radiobutton/RadioButton.d.ts +8 -0
- package/radiobutton/radiobutton.cjs.js +2 -2
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +2 -2
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +2 -2
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/Rating.d.ts +8 -0
- package/row/Row.d.ts +6 -3
- package/scrollpanel/ScrollPanel.d.ts +8 -0
- package/scrollpanel/ScrollPanel.vue +8 -1
- package/scrollpanel/scrollpanel.cjs.js +14 -5
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +14 -5
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +14 -5
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/ScrollTop.d.ts +8 -0
- package/selectbutton/SelectButton.d.ts +8 -0
- package/sidebar/Sidebar.d.ts +8 -0
- package/sidebar/sidebar.cjs.js +2 -2
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +2 -2
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +2 -2
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.d.ts +8 -0
- package/slider/Slider.d.ts +8 -0
- package/speeddial/SpeedDial.d.ts +23 -1
- package/speeddial/speeddial.cjs.js +2 -2
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +2 -2
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +2 -2
- package/speeddial/speeddial.min.js +1 -1
- package/speeddial/style/speeddialstyle.cjs.js +2 -2
- package/speeddial/style/speeddialstyle.cjs.min.js +1 -1
- package/speeddial/style/speeddialstyle.esm.js +2 -2
- package/speeddial/style/speeddialstyle.esm.min.js +1 -1
- package/speeddial/style/speeddialstyle.js +2 -2
- package/speeddial/style/speeddialstyle.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +24 -2
- package/splitbutton/SplitButton.vue +2 -2
- package/splitbutton/splitbutton.cjs.js +4 -4
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +4 -4
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +4 -4
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.cjs.js +3 -3
- package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.esm.js +3 -3
- package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.js +3 -3
- package/splitbutton/style/splitbuttonstyle.min.js +1 -1
- package/splitter/Splitter.d.ts +8 -0
- package/splitterpanel/SplitterPanel.d.ts +8 -0
- package/steps/Steps.d.ts +8 -0
- package/tabmenu/TabMenu.d.ts +8 -0
- package/tabpanel/TabPanel.d.ts +8 -5
- package/tabview/TabView.vue +1 -0
- package/tabview/tabview.cjs.js +3 -2
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +3 -2
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +3 -2
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +8 -0
- package/terminal/Terminal.d.ts +8 -0
- package/textarea/Textarea.d.ts +8 -0
- package/tieredmenu/TieredMenu.d.ts +18 -14
- package/tieredmenu/tieredmenu.cjs.js +2 -2
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +2 -2
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +2 -2
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +8 -0
- package/toast/Toast.d.ts +8 -0
- package/toast/style/toaststyle.cjs.js +2 -2
- package/toast/style/toaststyle.cjs.min.js +1 -1
- package/toast/style/toaststyle.esm.js +2 -2
- package/toast/style/toaststyle.esm.min.js +1 -1
- package/toast/style/toaststyle.js +2 -2
- package/toast/style/toaststyle.min.js +1 -1
- package/toast/toast.cjs.js +4 -4
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +4 -4
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +4 -4
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +8 -0
- package/togglebutton/togglebutton.cjs.js +2 -2
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +2 -2
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +2 -2
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +8 -0
- package/tooltip/Tooltip.d.ts +8 -0
- package/tree/Tree.d.ts +46 -22
- package/tree/Tree.vue +3 -1
- package/tree/tree.cjs.js +9 -5
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +9 -5
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +9 -5
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +25 -3
- package/treeselect/treeselect.cjs.js +4 -4
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +4 -4
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +4 -4
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +3 -1
- package/treetable/FooterCell.vue +1 -0
- package/treetable/HeaderCell.vue +1 -0
- package/treetable/TreeTable.d.ts +23 -1
- package/treetable/TreeTable.vue +3 -1
- package/treetable/treetable.cjs.js +19 -13
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +19 -13
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +19 -13
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +8 -0
- package/tristatecheckbox/tristatecheckbox.cjs.js +2 -2
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +2 -2
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +2 -2
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/usestyle/usestyle.cjs.js +2 -2
- package/usestyle/usestyle.cjs.min.js +1 -1
- package/usestyle/usestyle.esm.js +2 -2
- package/usestyle/usestyle.esm.min.js +1 -1
- package/usestyle/usestyle.js +2 -2
- package/usestyle/usestyle.min.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +27 -3
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +27 -3
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +27 -3
- package/utils/utils.min.js +1 -1
- package/virtualscroller/VirtualScroller.d.ts +8 -0
- package/virtualscroller/VirtualScroller.vue +1 -1
- package/virtualscroller/virtualscroller.cjs.js +5 -5
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +5 -5
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +5 -5
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1 -1
|
@@ -16,8 +16,8 @@ this.primevue.basedirective = (function (BaseStyle, utils, vue) {
|
|
|
16
16
|
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; }
|
|
17
17
|
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; }
|
|
18
18
|
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; }
|
|
19
|
-
function _toPropertyKey(
|
|
20
|
-
function _toPrimitive(
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
20
|
+
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); }
|
|
21
21
|
var BaseDirective = {
|
|
22
22
|
_getMeta: function _getMeta() {
|
|
23
23
|
return [utils.ObjectUtils.isObject(arguments.length <= 0 ? undefined : arguments[0]) ? undefined : arguments.length <= 0 ? undefined : arguments[0], utils.ObjectUtils.getItemValue(utils.ObjectUtils.isObject(arguments.length <= 0 ? undefined : arguments[0]) ? arguments.length <= 0 ? undefined : arguments[0] : arguments.length <= 1 ? undefined : arguments[1])];
|
|
@@ -187,7 +187,6 @@ this.primevue.basedirective = (function (BaseStyle, utils, vue) {
|
|
|
187
187
|
(_el$$instance$hook = (_el$$instance7 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 || _el$$instance$hook.call(_el$$instance7, el, binding, vnode, prevVnode); // handle hook in directive implementation
|
|
188
188
|
BaseDirective._hook(name, hook, el, binding, vnode, prevVnode); // handle hooks during directive uses (global and self-definition)
|
|
189
189
|
};
|
|
190
|
-
|
|
191
190
|
return {
|
|
192
191
|
created: function created(el, binding, vnode, prevVnode) {
|
|
193
192
|
handleHook('created', el, binding, vnode, prevVnode);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.basedirective=function(t,e,n){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=i(t);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function r(t,e){return c(t)||d(t,e)||a(t,e)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(t,e):void 0}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function d(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,l,r,u=[],a=!0,v=!1;try{if(l=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=l.call(n)).done)&&(u.push(i.value),u.length!==e);a=!0);}catch(t){v=!0,o=t}finally{try{if(!a&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(v)throw o}}return u}}function c(t){if(Array.isArray(t))return t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e,n){return(e=p(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.basedirective=function(t,e,n){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=i(t);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function r(t,e){return c(t)||d(t,e)||a(t,e)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(t,e):void 0}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function d(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,l,r,u=[],a=!0,v=!1;try{if(l=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=l.call(n)).done)&&(u.push(i.value),u.length!==e);a=!0);}catch(t){v=!0,o=t}finally{try{if(!a&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(v)throw o}}return u}}function c(t){if(Array.isArray(t))return t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e,n){var i;return(e="symbol"==l(i=p(e,"string"))?i:String(i))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){if("object"!=l(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=l(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var b={_getMeta:function(){return[e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],e.ObjectUtils.getItemValue(e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getConfig:function(t,e){var n,i,o;return null===(n=(null==t||null===(i=t.instance)||void 0===i?void 0:i.$primevue)||(null==e||null===(o=e.ctx)||void 0===o||null===(o=o.appContext)||void 0===o||null===(o=o.config)||void 0===o||null===(o=o.globalProperties)||void 0===o?void 0:o.$primevue))||void 0===n?void 0:n.config},_getOptionValue:function(t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(t)?b._getOptionValue(e.ObjectUtils.getItemValue(t[Object.keys(t).find((function(t){return e.ObjectUtils.toFlatCase(t)===o}))||""],n),i.join("."),n):void 0:e.ObjectUtils.getItemValue(t,n)},_getPTValue:function(){var t,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=function(){var t=b._getOptionValue.apply(b,arguments);return e.ObjectUtils.isString(t)||e.ObjectUtils.isArray(t)?{class:t}:t},v="data-pc-",d=(null===(t=o.binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.ptOptions)||(null===(i=o.$config)||void 0===i?void 0:i.ptOptions)||{},c=d.mergeSections,s=void 0===c||c,p=d.mergeProps,y=void 0!==p&&p,h=!(arguments.length>4&&void 0!==arguments[4])||arguments[4]?b._useDefaultPT(o,o.defaultPT(),a,r,u):void 0,m=b._usePT(o,b._getPT(l,o.$name),a,r,f(f({},u),{},{global:h||{}})),O=f(f({},"root"===r&&g({},"".concat(v,"name"),e.ObjectUtils.toFlatCase(o.$name))),{},g({},"".concat(v,"section"),e.ObjectUtils.toFlatCase(r)));return s||!s&&m?y?n.mergeProps(h,m,O):f(f(f({},h),m),O):f(f({},m),O)},_getPT:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=function(t){var o,l=i?i(t):t,r=e.ObjectUtils.toFlatCase(n);return null!==(o=null==l?void 0:l[r])&&void 0!==o?o:l};return null!=t&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:o(t.originalValue),value:o(t.value)}:o(t)},_usePT:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,u=function(t){return o(t,l,r)};if(null!=i&&i.hasOwnProperty("_usept")){var a,v=i._usept||(null===(a=t.$config)||void 0===a?void 0:a.ptOptions)||{},d=v.mergeSections,c=void 0===d||d,s=v.mergeProps,g=void 0!==s&&s,p=u(i.originalValue),b=u(i.value);if(void 0===p&&void 0===b)return;return e.ObjectUtils.isString(b)?b:e.ObjectUtils.isString(p)?p:c||!c&&b?g?n.mergeProps(p,b):f(f({},p),b):b}return u(i)},_useDefaultPT:function(){return b._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0,arguments.length>4?arguments[4]:void 0)},_hook:function(t,n,i,o,l,r){var u,a,v="on".concat(e.ObjectUtils.toCapitalCase(n)),d=b._getConfig(o,l),c=null==i?void 0:i.$instance,s=b._usePT(c,b._getPT(null==o||null===(u=o.value)||void 0===u?void 0:u.pt,t),b._getOptionValue,"hooks.".concat(v)),f=b._useDefaultPT(c,null==d||null===(a=d.pt)||void 0===a||null===(a=a.directives)||void 0===a?void 0:a[t],b._getOptionValue,"hooks.".concat(v)),g={el:i,binding:o,vnode:l,prevVnode:r};null==s||s(c,g),null==f||f(c,g)},_extend:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(i,o,l,r,u){var a,v;o._$instances=o._$instances||{};var d=b._getConfig(l,r),c=o._$instances[t]||{},s=e.ObjectUtils.isEmpty(c)?f(f({},n),null==n?void 0:n.methods):{};o._$instances[t]=f(f({},c),{},{$name:t,$host:o,$binding:l,$modifiers:null==l?void 0:l.modifiers,$value:null==l?void 0:l.value,$el:c.$el||o||void 0,$style:f({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==n?void 0:n.style),$config:d,defaultPT:function(){return b._getPT(null==d?void 0:d.pt,void 0,(function(e){var n;return null==e||null===(n=e.directives)||void 0===n?void 0:n[t]}))},isUnstyled:function(){var t,e;return void 0!==(null===(t=o.$instance)||void 0===t||null===(t=t.$binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.unstyled)?null===(e=o.$instance)||void 0===e||null===(e=e.$binding)||void 0===e||null===(e=e.value)||void 0===e?void 0:e.unstyled:null==d?void 0:d.unstyled},ptm:function(){var t;return b._getPTValue(o.$instance,null===(t=o.$instance)||void 0===t||null===(t=t.$binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",f({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return b._getPTValue(o.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null!==(t=o.$instance)&&void 0!==t&&t.isUnstyled()?void 0:b._getOptionValue(null===(e=o.$instance)||void 0===e||null===(e=e.$style)||void 0===e?void 0:e.classes,n,f({},i))},sx:function(){var t;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?b._getOptionValue(null===(t=o.$instance)||void 0===t||null===(t=t.$style)||void 0===t?void 0:t.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",f({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},s),o.$instance=o._$instances[t],null===(a=(v=o.$instance)[i])||void 0===a||a.call(v,o,l,r,u),b._hook(t,i,o,l,r,u)};return{created:function(t,e,n,o){i("created",t,e,n,o)},beforeMount:function(t,e,n,l){var r,u,a,v,d=b._getConfig(e,n);o.default.loadStyle(void 0,{nonce:null==d||null===(r=d.csp)||void 0===r?void 0:r.nonce}),(null===(u=t.$instance)||void 0===u||!u.isUnstyled())&&(null===(a=t.$instance)||void 0===a||null===(a=a.$style)||void 0===a||a.loadStyle(void 0,{nonce:null==d||null===(v=d.csp)||void 0===v?void 0:v.nonce})),i("beforeMount",t,e,n,l)},mounted:function(t,e,n,o){i("mounted",t,e,n,o)},beforeUpdate:function(t,e,n,o){i("beforeUpdate",t,e,n,o)},updated:function(t,e,n,o){i("updated",t,e,n,o)},beforeUnmount:function(t,e,n,o){i("beforeUnmount",t,e,n,o)},unmounted:function(t,e,n,o){i("unmounted",t,e,n,o)}}},extend:function(){var t=r(b._getMeta.apply(b,arguments),2),e=t[1];return f({extend:function(){var t=r(b._getMeta.apply(b,arguments),2),n=t[1];return b.extend(t[0],f(f(f({},e),null==e?void 0:e.methods),n))}},b._extend(t[0],e))}};return b}(primevue.base.style,primevue.utils,Vue);
|
package/blockui/BlockUI.d.ts
CHANGED
|
@@ -30,6 +30,14 @@ export interface BlockUIPassThroughMethodOptions {
|
|
|
30
30
|
* Defines current inline state.
|
|
31
31
|
*/
|
|
32
32
|
state: BlockUIState;
|
|
33
|
+
/**
|
|
34
|
+
* Defines valid attributes.
|
|
35
|
+
*/
|
|
36
|
+
attrs: any;
|
|
37
|
+
/**
|
|
38
|
+
* Defines parent options.
|
|
39
|
+
*/
|
|
40
|
+
parent: any;
|
|
33
41
|
/**
|
|
34
42
|
* Defines passthrough(pt) options in global config.
|
|
35
43
|
*/
|
|
@@ -31,6 +31,14 @@ export interface BreadcrumbPassThroughMethodOptions {
|
|
|
31
31
|
* Defines current options.
|
|
32
32
|
*/
|
|
33
33
|
context: BreadcrumbContext;
|
|
34
|
+
/**
|
|
35
|
+
* Defines valid attributes.
|
|
36
|
+
*/
|
|
37
|
+
attrs: any;
|
|
38
|
+
/**
|
|
39
|
+
* Defines parent options.
|
|
40
|
+
*/
|
|
41
|
+
parent: any;
|
|
34
42
|
/**
|
|
35
43
|
* Defines passthrough(pt) options in global config.
|
|
36
44
|
*/
|
package/button/Button.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent';
|
|
|
12
12
|
import { PassThroughOptions } from '../passthrough';
|
|
13
13
|
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
|
14
14
|
|
|
15
|
-
export declare type ButtonPassThroughOptionType = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions) => ButtonPassThroughAttributes | string) | string | null | undefined;
|
|
15
|
+
export declare type ButtonPassThroughOptionType<T = any> = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions<T>) => ButtonPassThroughAttributes | string) | string | null | undefined;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Custom passthrough(pt) option method.
|
|
19
19
|
*/
|
|
20
|
-
export interface ButtonPassThroughMethodOptions {
|
|
20
|
+
export interface ButtonPassThroughMethodOptions<T> {
|
|
21
21
|
/**
|
|
22
22
|
* Defines instance.
|
|
23
23
|
*/
|
|
@@ -33,7 +33,7 @@ export interface ButtonPassThroughMethodOptions {
|
|
|
33
33
|
/**
|
|
34
34
|
* Defines parent instance.
|
|
35
35
|
*/
|
|
36
|
-
parent:
|
|
36
|
+
parent: T;
|
|
37
37
|
/**
|
|
38
38
|
* Defines passthrough(pt) options in global config.
|
|
39
39
|
*/
|
|
@@ -44,27 +44,27 @@ export interface ButtonPassThroughMethodOptions {
|
|
|
44
44
|
* Custom passthrough(pt) options.
|
|
45
45
|
* @see {@link ButtonProps.pt}
|
|
46
46
|
*/
|
|
47
|
-
export interface ButtonPassThroughOptions {
|
|
47
|
+
export interface ButtonPassThroughOptions<T = any> {
|
|
48
48
|
/**
|
|
49
49
|
* Used to pass attributes to the root's DOM element.
|
|
50
50
|
*/
|
|
51
|
-
root?: ButtonPassThroughOptionType
|
|
51
|
+
root?: ButtonPassThroughOptionType<T>;
|
|
52
52
|
/**
|
|
53
53
|
* Used to pass attributes to the loading icon's DOM element.
|
|
54
54
|
*/
|
|
55
|
-
loadingIcon?: ButtonPassThroughOptionType
|
|
55
|
+
loadingIcon?: ButtonPassThroughOptionType<T>;
|
|
56
56
|
/**
|
|
57
57
|
* Used to pass attributes to the icon's DOM element.
|
|
58
58
|
*/
|
|
59
|
-
icon?: ButtonPassThroughOptionType
|
|
59
|
+
icon?: ButtonPassThroughOptionType<T>;
|
|
60
60
|
/**
|
|
61
61
|
* Used to pass attributes to the label's DOM element.
|
|
62
62
|
*/
|
|
63
|
-
label?: ButtonPassThroughOptionType
|
|
63
|
+
label?: ButtonPassThroughOptionType<T>;
|
|
64
64
|
/**
|
|
65
65
|
* Used to pass attributes to the badge's DOM element.
|
|
66
66
|
*/
|
|
67
|
-
badge?: ButtonPassThroughOptionType
|
|
67
|
+
badge?: ButtonPassThroughOptionType<T>;
|
|
68
68
|
/**
|
|
69
69
|
* Used to manage all lifecycle hooks.
|
|
70
70
|
* @see {@link BaseComponent.ComponentHooks}
|
|
@@ -171,7 +171,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
|
|
|
171
171
|
* Used to pass attributes to DOM elements inside the component.
|
|
172
172
|
* @type {ButtonPassThroughOptions}
|
|
173
173
|
*/
|
|
174
|
-
pt?: PassThrough<ButtonPassThroughOptions
|
|
174
|
+
pt?: PassThrough<ButtonPassThroughOptions<any>>;
|
|
175
175
|
/**
|
|
176
176
|
* Used to configure passthrough(pt) options of the component.
|
|
177
177
|
* @type {PassThroughOptions}
|
package/button/Button.vue
CHANGED
|
@@ -26,10 +26,6 @@ export default {
|
|
|
26
26
|
methods: {
|
|
27
27
|
getPTOptions(key) {
|
|
28
28
|
return this.ptm(key, {
|
|
29
|
-
parent: {
|
|
30
|
-
props: this.$parent?.$props,
|
|
31
|
-
state: this.$parent?.$data
|
|
32
|
-
},
|
|
33
29
|
context: {
|
|
34
30
|
disabled: this.disabled
|
|
35
31
|
}
|
|
@@ -41,7 +37,7 @@ export default {
|
|
|
41
37
|
return this.$attrs.disabled || this.$attrs.disabled === '' || this.loading;
|
|
42
38
|
},
|
|
43
39
|
defaultAriaLabel() {
|
|
44
|
-
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs
|
|
40
|
+
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs.ariaLabel;
|
|
45
41
|
},
|
|
46
42
|
hasIcon() {
|
|
47
43
|
return this.icon || this.$slots.icon;
|
package/button/button.cjs.js
CHANGED
|
@@ -101,12 +101,7 @@ var script = {
|
|
|
101
101
|
"extends": script$1,
|
|
102
102
|
methods: {
|
|
103
103
|
getPTOptions: function getPTOptions(key) {
|
|
104
|
-
var _this$$parent, _this$$parent2;
|
|
105
104
|
return this.ptm(key, {
|
|
106
|
-
parent: {
|
|
107
|
-
props: (_this$$parent = this.$parent) === null || _this$$parent === void 0 ? void 0 : _this$$parent.$props,
|
|
108
|
-
state: (_this$$parent2 = this.$parent) === null || _this$$parent2 === void 0 ? void 0 : _this$$parent2.$data
|
|
109
|
-
},
|
|
110
105
|
context: {
|
|
111
106
|
disabled: this.disabled
|
|
112
107
|
}
|
|
@@ -118,7 +113,7 @@ var script = {
|
|
|
118
113
|
return this.$attrs.disabled || this.$attrs.disabled === '' || this.loading;
|
|
119
114
|
},
|
|
120
115
|
defaultAriaLabel: function defaultAriaLabel() {
|
|
121
|
-
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs
|
|
116
|
+
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs.ariaLabel;
|
|
122
117
|
},
|
|
123
118
|
hasIcon: function hasIcon() {
|
|
124
119
|
return this.icon || this.$slots.icon;
|
package/button/button.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/badge"),t=require("primevue/icons/spinner"),n=require("primevue/ripple"),l=require("primevue/basecomponent"),a=require("primevue/button/style"),o=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(e),s=i(t),d=i(n),c={name:"Button",extends:{name:"BaseButton",extends:i(l).default,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:i(a).default,provide:function(){return{$parentInstance:this}}},methods:{getPTOptions:function(e){
|
|
1
|
+
"use strict";var e=require("primevue/badge"),t=require("primevue/icons/spinner"),n=require("primevue/ripple"),l=require("primevue/basecomponent"),a=require("primevue/button/style"),o=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(e),s=i(t),d=i(n),c={name:"Button",extends:{name:"BaseButton",extends:i(l).default,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:i(a).default,provide:function(){return{$parentInstance:this}}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||""===this.$attrs.disabled||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:s.default,Badge:r.default},directives:{ripple:d.default}},u=["aria-label","disabled","data-pc-severity"];c.render=function(e,t,n,l,a,i){var r=o.resolveComponent("SpinnerIcon"),s=o.resolveComponent("Badge"),d=o.resolveDirective("ripple");return o.withDirectives((o.openBlock(),o.createElementBlock("button",o.mergeProps({class:e.cx("root"),type:"button","aria-label":i.defaultAriaLabel,disabled:i.disabled},i.getPTOptions("root"),{"data-pc-name":"button","data-pc-severity":e.severity}),[o.renderSlot(e.$slots,"default",{},(function(){return[e.loading?o.renderSlot(e.$slots,"loadingicon",{key:0,class:o.normalizeClass([e.cx("loadingIcon"),e.cx("icon")])},(function(){return[e.loadingIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(o.openBlock(),o.createBlock(r,o.mergeProps({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]})):o.renderSlot(e.$slots,"icon",{key:1,class:o.normalizeClass([e.cx("icon")])},(function(){return[e.icon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):o.createCommentVNode("",!0)]})),o.createElementVNode("span",o.mergeProps({class:e.cx("label")},e.ptm("label")),o.toDisplayString(e.label||" "),17),e.badge?(o.openBlock(),o.createBlock(s,o.mergeProps({key:2,value:e.badge,class:e.badgeClass,severity:e.badgeSeverity,unstyled:e.unstyled},e.ptm("badge")),null,16,["value","class","severity","unstyled"])):o.createCommentVNode("",!0)]}))],16,u)),[[d]])},module.exports=c;
|
package/button/button.esm.js
CHANGED
|
@@ -91,12 +91,7 @@ var script = {
|
|
|
91
91
|
"extends": script$1,
|
|
92
92
|
methods: {
|
|
93
93
|
getPTOptions: function getPTOptions(key) {
|
|
94
|
-
var _this$$parent, _this$$parent2;
|
|
95
94
|
return this.ptm(key, {
|
|
96
|
-
parent: {
|
|
97
|
-
props: (_this$$parent = this.$parent) === null || _this$$parent === void 0 ? void 0 : _this$$parent.$props,
|
|
98
|
-
state: (_this$$parent2 = this.$parent) === null || _this$$parent2 === void 0 ? void 0 : _this$$parent2.$data
|
|
99
|
-
},
|
|
100
95
|
context: {
|
|
101
96
|
disabled: this.disabled
|
|
102
97
|
}
|
|
@@ -108,7 +103,7 @@ var script = {
|
|
|
108
103
|
return this.$attrs.disabled || this.$attrs.disabled === '' || this.loading;
|
|
109
104
|
},
|
|
110
105
|
defaultAriaLabel: function defaultAriaLabel() {
|
|
111
|
-
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs
|
|
106
|
+
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs.ariaLabel;
|
|
112
107
|
},
|
|
113
108
|
hasIcon: function hasIcon() {
|
|
114
109
|
return this.icon || this.$slots.icon;
|
package/button/button.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/badge";import t from"primevue/icons/spinner";import n from"primevue/ripple";import
|
|
1
|
+
import e from"primevue/badge";import t from"primevue/icons/spinner";import n from"primevue/ripple";import l from"primevue/basecomponent";import a from"primevue/button/style";import{resolveComponent as i,resolveDirective as o,withDirectives as s,openBlock as d,createElementBlock as r,mergeProps as u,renderSlot as c,normalizeClass as p,createBlock as f,createCommentVNode as g,createElementVNode as y,toDisplayString as b}from"vue";var m={name:"Button",extends:{name:"BaseButton",extends:l,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:a,provide:function(){return{$parentInstance:this}}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||""===this.$attrs.disabled||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:t,Badge:e},directives:{ripple:n}},v=["aria-label","disabled","data-pc-severity"];m.render=function(e,t,n,l,a,m){var h=i("SpinnerIcon"),x=i("Badge"),S=o("ripple");return s((d(),r("button",u({class:e.cx("root"),type:"button","aria-label":m.defaultAriaLabel,disabled:m.disabled},m.getPTOptions("root"),{"data-pc-name":"button","data-pc-severity":e.severity}),[c(e.$slots,"default",{},(function(){return[e.loading?c(e.$slots,"loadingicon",{key:0,class:p([e.cx("loadingIcon"),e.cx("icon")])},(function(){return[e.loadingIcon?(d(),r("span",u({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(d(),f(h,u({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]})):c(e.$slots,"icon",{key:1,class:p([e.cx("icon")])},(function(){return[e.icon?(d(),r("span",u({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):g("",!0)]})),y("span",u({class:e.cx("label")},e.ptm("label")),b(e.label||" "),17),e.badge?(d(),f(x,u({key:2,value:e.badge,class:e.badgeClass,severity:e.badgeSeverity,unstyled:e.unstyled},e.ptm("badge")),null,16,["value","class","severity","unstyled"])):g("",!0)]}))],16,v)),[[S]])};export{m as default};
|
package/button/button.js
CHANGED
|
@@ -96,12 +96,7 @@ this.primevue.button = (function (Badge, SpinnerIcon, Ripple, BaseComponent, But
|
|
|
96
96
|
"extends": script$1,
|
|
97
97
|
methods: {
|
|
98
98
|
getPTOptions: function getPTOptions(key) {
|
|
99
|
-
var _this$$parent, _this$$parent2;
|
|
100
99
|
return this.ptm(key, {
|
|
101
|
-
parent: {
|
|
102
|
-
props: (_this$$parent = this.$parent) === null || _this$$parent === void 0 ? void 0 : _this$$parent.$props,
|
|
103
|
-
state: (_this$$parent2 = this.$parent) === null || _this$$parent2 === void 0 ? void 0 : _this$$parent2.$data
|
|
104
|
-
},
|
|
105
100
|
context: {
|
|
106
101
|
disabled: this.disabled
|
|
107
102
|
}
|
|
@@ -113,7 +108,7 @@ this.primevue.button = (function (Badge, SpinnerIcon, Ripple, BaseComponent, But
|
|
|
113
108
|
return this.$attrs.disabled || this.$attrs.disabled === '' || this.loading;
|
|
114
109
|
},
|
|
115
110
|
defaultAriaLabel: function defaultAriaLabel() {
|
|
116
|
-
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs
|
|
111
|
+
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs.ariaLabel;
|
|
117
112
|
},
|
|
118
113
|
hasIcon: function hasIcon() {
|
|
119
114
|
return this.icon || this.$slots.icon;
|
package/button/button.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.button=function(e,t,n,l,a,o){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(e),r=i(t),d=i(n),c={name:"Button",extends:{name:"BaseButton",extends:i(l).default,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:i(a).default,provide:function(){return{$parentInstance:this}}},methods:{getPTOptions:function(e){
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.button=function(e,t,n,l,a,o){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(e),r=i(t),d=i(n),c={name:"Button",extends:{name:"BaseButton",extends:i(l).default,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:i(a).default,provide:function(){return{$parentInstance:this}}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||""===this.$attrs.disabled||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:r.default,Badge:s.default},directives:{ripple:d.default}},u=["aria-label","disabled","data-pc-severity"];return c.render=function(e,t,n,l,a,i){var s=o.resolveComponent("SpinnerIcon"),r=o.resolveComponent("Badge"),d=o.resolveDirective("ripple");return o.withDirectives((o.openBlock(),o.createElementBlock("button",o.mergeProps({class:e.cx("root"),type:"button","aria-label":i.defaultAriaLabel,disabled:i.disabled},i.getPTOptions("root"),{"data-pc-name":"button","data-pc-severity":e.severity}),[o.renderSlot(e.$slots,"default",{},(function(){return[e.loading?o.renderSlot(e.$slots,"loadingicon",{key:0,class:o.normalizeClass([e.cx("loadingIcon"),e.cx("icon")])},(function(){return[e.loadingIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(o.openBlock(),o.createBlock(s,o.mergeProps({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]})):o.renderSlot(e.$slots,"icon",{key:1,class:o.normalizeClass([e.cx("icon")])},(function(){return[e.icon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):o.createCommentVNode("",!0)]})),o.createElementVNode("span",o.mergeProps({class:e.cx("label")},e.ptm("label")),o.toDisplayString(e.label||" "),17),e.badge?(o.openBlock(),o.createBlock(r,o.mergeProps({key:2,value:e.badge,class:e.badgeClass,severity:e.badgeSeverity,unstyled:e.unstyled},e.ptm("badge")),null,16,["value","class","severity","unstyled"])):o.createCommentVNode("",!0)]}))],16,u)),[[d]])},c}(primevue.badge,primevue.icons.spinner,primevue.ripple,primevue.basecomponent,primevue.button.style,Vue);
|
|
@@ -8,8 +8,8 @@ var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
|
8
8
|
|
|
9
9
|
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); }
|
|
10
10
|
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; }
|
|
11
|
-
function _toPropertyKey(
|
|
12
|
-
function _toPrimitive(
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
+
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); }
|
|
13
13
|
var classes = {
|
|
14
14
|
root: function root(_ref) {
|
|
15
15
|
var instance = _ref.instance,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,
|
|
1
|
+
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,n,i){var r;return(n="symbol"==o(r=e(n,"string"))?r:String(r))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function e(t,n){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}var i=t(require("primevue/base/style")).default.extend({name:"button",classes:{root:function(t){var o=t.instance,e=t.props;return["p-button p-component",n(n(n(n(n(n(n(n({"p-button-icon-only":o.hasIcon&&!e.label&&!e.badge,"p-button-vertical":("top"===e.iconPos||"bottom"===e.iconPos)&&e.label,"p-disabled":o.$attrs.disabled||""===o.$attrs.disabled||e.loading,"p-button-loading":e.loading,"p-button-loading-label-only":e.loading&&!o.hasIcon&&e.label,"p-button-link":e.link},"p-button-".concat(e.severity),e.severity),"p-button-raised",e.raised),"p-button-rounded",e.rounded),"p-button-text",e.text),"p-button-outlined",e.outlined),"p-button-sm","small"===e.size),"p-button-lg","large"===e.size),"p-button-plain",e.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(t){var o=t.props;return["p-button-icon",{"p-button-icon-left":"left"===o.iconPos&&o.label,"p-button-icon-right":"right"===o.iconPos&&o.label,"p-button-icon-top":"top"===o.iconPos&&o.label,"p-button-icon-bottom":"bottom"===o.iconPos&&o.label}]},label:"p-button-label"}});module.exports=i;
|
|
@@ -2,8 +2,8 @@ import BaseStyle from 'primevue/base/style';
|
|
|
2
2
|
|
|
3
3
|
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); }
|
|
4
4
|
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; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
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); }
|
|
7
7
|
var classes = {
|
|
8
8
|
root: function root(_ref) {
|
|
9
9
|
var instance = _ref.instance,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/base/style";function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,
|
|
1
|
+
import t from"primevue/base/style";function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,n,i){var r;return(n="symbol"==o(r=e(n,"string"))?r:String(r))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function e(t,n){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}var i=t.extend({name:"button",classes:{root:function(t){var o=t.instance,e=t.props;return["p-button p-component",n(n(n(n(n(n(n(n({"p-button-icon-only":o.hasIcon&&!e.label&&!e.badge,"p-button-vertical":("top"===e.iconPos||"bottom"===e.iconPos)&&e.label,"p-disabled":o.$attrs.disabled||""===o.$attrs.disabled||e.loading,"p-button-loading":e.loading,"p-button-loading-label-only":e.loading&&!o.hasIcon&&e.label,"p-button-link":e.link},"p-button-".concat(e.severity),e.severity),"p-button-raised",e.raised),"p-button-rounded",e.rounded),"p-button-text",e.text),"p-button-outlined",e.outlined),"p-button-sm","small"===e.size),"p-button-lg","large"===e.size),"p-button-plain",e.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(t){var o=t.props;return["p-button-icon",{"p-button-icon-left":"left"===o.iconPos&&o.label,"p-button-icon-right":"right"===o.iconPos&&o.label,"p-button-icon-top":"top"===o.iconPos&&o.label,"p-button-icon-bottom":"bottom"===o.iconPos&&o.label}]},label:"p-button-label"}});export{i as default};
|
|
@@ -9,8 +9,8 @@ this.primevue.button.style = (function (BaseStyle) {
|
|
|
9
9
|
|
|
10
10
|
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); }
|
|
11
11
|
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; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
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); }
|
|
14
14
|
var classes = {
|
|
15
15
|
root: function root(_ref) {
|
|
16
16
|
var instance = _ref.instance,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.button=this.primevue.button||{},this.primevue.button.style=function(t){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function e(t,o,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.button=this.primevue.button||{},this.primevue.button.style=function(t){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function e(t,o,e){var r;return(o="symbol"==n(r=i(o,"string"))?r:String(r))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function i(t,o){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,o||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}return o(primevue.base.style).default.extend({name:"button",classes:{root:function(t){var o=t.instance,n=t.props;return["p-button p-component",e(e(e(e(e(e(e(e({"p-button-icon-only":o.hasIcon&&!n.label&&!n.badge,"p-button-vertical":("top"===n.iconPos||"bottom"===n.iconPos)&&n.label,"p-disabled":o.$attrs.disabled||""===o.$attrs.disabled||n.loading,"p-button-loading":n.loading,"p-button-loading-label-only":n.loading&&!o.hasIcon&&n.label,"p-button-link":n.link},"p-button-".concat(n.severity),n.severity),"p-button-raised",n.raised),"p-button-rounded",n.rounded),"p-button-text",n.text),"p-button-outlined",n.outlined),"p-button-sm","small"===n.size),"p-button-lg","large"===n.size),"p-button-plain",n.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(t){var o=t.props;return["p-button-icon",{"p-button-icon-left":"left"===o.iconPos&&o.label,"p-button-icon-right":"right"===o.iconPos&&o.label,"p-button-icon-top":"top"===o.iconPos&&o.label,"p-button-icon-bottom":"bottom"===o.iconPos&&o.label}]},label:"p-button-label"}})}();
|
package/calendar/Calendar.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue';
|
|
11
11
|
import { ComponentHooks } from '../basecomponent';
|
|
12
|
-
import {
|
|
12
|
+
import { ButtonPassThroughOptions } from '../button';
|
|
13
13
|
import { PassThroughOptions } from '../passthrough';
|
|
14
14
|
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
|
15
15
|
|
|
@@ -37,12 +37,34 @@ export interface CalendarPassThroughMethodOptions {
|
|
|
37
37
|
* Defines current options.
|
|
38
38
|
*/
|
|
39
39
|
context: CalendarContext;
|
|
40
|
+
/**
|
|
41
|
+
* Defines valid attributes.
|
|
42
|
+
*/
|
|
43
|
+
attrs: any;
|
|
44
|
+
/**
|
|
45
|
+
* Defines parent options.
|
|
46
|
+
*/
|
|
47
|
+
parent: any;
|
|
40
48
|
/**
|
|
41
49
|
* Defines passthrough(pt) options in global config.
|
|
42
50
|
*/
|
|
43
51
|
global: object | undefined;
|
|
44
52
|
}
|
|
45
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Custom shared passthrough(pt) option method.
|
|
56
|
+
*/
|
|
57
|
+
export interface CalendarSharedPassThroughMethodOptions {
|
|
58
|
+
/**
|
|
59
|
+
* Defines valid properties.
|
|
60
|
+
*/
|
|
61
|
+
props: CalendarProps;
|
|
62
|
+
/**
|
|
63
|
+
* Defines current inline state.
|
|
64
|
+
*/
|
|
65
|
+
state: CalendarState;
|
|
66
|
+
}
|
|
67
|
+
|
|
46
68
|
/**
|
|
47
69
|
* Custom Calendar responsive options metadata.
|
|
48
70
|
*/
|
|
@@ -117,9 +139,9 @@ export interface CalendarPassThroughOptions {
|
|
|
117
139
|
input?: CalendarPassThroughOptionType;
|
|
118
140
|
/**
|
|
119
141
|
* Used to pass attributes to the Button component.
|
|
120
|
-
* @see {@link
|
|
142
|
+
* @see {@link ButtonPassThroughOptions}
|
|
121
143
|
*/
|
|
122
|
-
dropdownButton?:
|
|
144
|
+
dropdownButton?: ButtonPassThroughOptions<CalendarSharedPassThroughMethodOptions>;
|
|
123
145
|
/**
|
|
124
146
|
* Used to pass attributes to the panel's DOM element.
|
|
125
147
|
*/
|
|
@@ -138,9 +160,9 @@ export interface CalendarPassThroughOptions {
|
|
|
138
160
|
header?: CalendarPassThroughOptionType;
|
|
139
161
|
/**
|
|
140
162
|
* Used to pass attributes to the Button component.
|
|
141
|
-
* @see {@link
|
|
163
|
+
* @see {@link ButtonPassThroughOptions}
|
|
142
164
|
*/
|
|
143
|
-
previousButton?:
|
|
165
|
+
previousButton?: ButtonPassThroughOptions<CalendarSharedPassThroughMethodOptions>;
|
|
144
166
|
/**
|
|
145
167
|
* Used to pass attributes to the title's DOM element.
|
|
146
168
|
*/
|
|
@@ -159,9 +181,9 @@ export interface CalendarPassThroughOptions {
|
|
|
159
181
|
decadeTitle?: CalendarPassThroughOptionType;
|
|
160
182
|
/**
|
|
161
183
|
* Used to pass attributes to the Button component.
|
|
162
|
-
* @see {@link
|
|
184
|
+
* @see {@link ButtonPassThroughOptions}
|
|
163
185
|
*/
|
|
164
|
-
nextButton?:
|
|
186
|
+
nextButton?: ButtonPassThroughOptions<CalendarSharedPassThroughMethodOptions>;
|
|
165
187
|
/**
|
|
166
188
|
* Used to pass attributes to the container's DOM element.
|
|
167
189
|
*/
|
|
@@ -288,14 +310,14 @@ export interface CalendarPassThroughOptions {
|
|
|
288
310
|
buttonbar?: CalendarPassThroughOptionType;
|
|
289
311
|
/**
|
|
290
312
|
* Used to pass attributes to the Button component.
|
|
291
|
-
* @see {@link
|
|
313
|
+
* @see {@link ButtonPassThroughOptions}
|
|
292
314
|
*/
|
|
293
|
-
todayButton?:
|
|
315
|
+
todayButton?: ButtonPassThroughOptions<CalendarSharedPassThroughMethodOptions>;
|
|
294
316
|
/**
|
|
295
317
|
* Used to pass attributes to the Button component.
|
|
296
|
-
* @see {@link
|
|
318
|
+
* @see {@link ButtonPassThroughOptions}
|
|
297
319
|
*/
|
|
298
|
-
clearButton?:
|
|
320
|
+
clearButton?: ButtonPassThroughOptions<CalendarSharedPassThroughMethodOptions>;
|
|
299
321
|
/**
|
|
300
322
|
* Used to pass attributes to the aria selected day's DOM element.
|
|
301
323
|
*/
|
|
@@ -308,6 +330,10 @@ export interface CalendarPassThroughOptions {
|
|
|
308
330
|
* Used to pass attributes to the aria year's DOM element.
|
|
309
331
|
*/
|
|
310
332
|
hiddenYear?: CalendarPassThroughOptionType;
|
|
333
|
+
/**
|
|
334
|
+
* Used to pass attributes to the datepicker mask's DOM element.
|
|
335
|
+
*/
|
|
336
|
+
datepickerMask?: CalendarPassThroughOptionType;
|
|
311
337
|
/**
|
|
312
338
|
* Used to manage all lifecycle hooks.
|
|
313
339
|
* @see {@link BaseComponent.ComponentHooks}
|
package/calendar/Calendar.vue
CHANGED
|
@@ -1687,10 +1687,14 @@ export default {
|
|
|
1687
1687
|
},
|
|
1688
1688
|
enableModality() {
|
|
1689
1689
|
if (!this.mask) {
|
|
1690
|
-
|
|
1690
|
+
let styleClass = 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter';
|
|
1691
|
+
|
|
1692
|
+
this.mask = DomHandler.createElement('div', {
|
|
1693
|
+
'data-pc-section': 'datepickermask',
|
|
1694
|
+
class: !this.isUnstyled && styleClass,
|
|
1695
|
+
'p-bind': this.ptm('datepickermask')
|
|
1696
|
+
});
|
|
1691
1697
|
this.mask.style.zIndex = String(parseInt(this.overlay.style.zIndex, 10) - 1);
|
|
1692
|
-
this.mask.setAttribute('data-pc-section', 'datepicker-mask');
|
|
1693
|
-
!this.isUnstyled && DomHandler.addMultipleClasses(this.mask, 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter');
|
|
1694
1698
|
|
|
1695
1699
|
this.maskClickListener = () => {
|
|
1696
1700
|
this.overlayVisible = false;
|
|
@@ -1726,7 +1730,7 @@ export default {
|
|
|
1726
1730
|
for (let i = 0; i < bodyChildren.length; i++) {
|
|
1727
1731
|
let bodyChild = bodyChildren[i];
|
|
1728
1732
|
|
|
1729
|
-
if (DomHandler.isAttributeEquals(bodyChild, 'data-pc-section', '
|
|
1733
|
+
if (DomHandler.isAttributeEquals(bodyChild, 'data-pc-section', 'datepickermask')) {
|
|
1730
1734
|
hasBlockerMasks = true;
|
|
1731
1735
|
break;
|
|
1732
1736
|
}
|
|
@@ -1799,7 +1803,7 @@ export default {
|
|
|
1799
1803
|
let parts = text.split(' ');
|
|
1800
1804
|
|
|
1801
1805
|
if (this.timeOnly) {
|
|
1802
|
-
date = new Date();
|
|
1806
|
+
date = new Date(this.modelValue);
|
|
1803
1807
|
this.populateTime(date, parts[0], parts[1]);
|
|
1804
1808
|
} else {
|
|
1805
1809
|
const dateFormat = this.datePattern;
|
package/calendar/calendar.cjs.js
CHANGED
|
@@ -1367,10 +1367,13 @@ var script = {
|
|
|
1367
1367
|
enableModality: function enableModality() {
|
|
1368
1368
|
var _this11 = this;
|
|
1369
1369
|
if (!this.mask) {
|
|
1370
|
-
|
|
1370
|
+
var styleClass = 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter';
|
|
1371
|
+
this.mask = utils.DomHandler.createElement('div', {
|
|
1372
|
+
'data-pc-section': 'datepickermask',
|
|
1373
|
+
"class": !this.isUnstyled && styleClass,
|
|
1374
|
+
'p-bind': this.ptm('datepickermask')
|
|
1375
|
+
});
|
|
1371
1376
|
this.mask.style.zIndex = String(parseInt(this.overlay.style.zIndex, 10) - 1);
|
|
1372
|
-
this.mask.setAttribute('data-pc-section', 'datepicker-mask');
|
|
1373
|
-
!this.isUnstyled && utils.DomHandler.addMultipleClasses(this.mask, 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter');
|
|
1374
1377
|
this.maskClickListener = function () {
|
|
1375
1378
|
_this11.overlayVisible = false;
|
|
1376
1379
|
};
|
|
@@ -1401,7 +1404,7 @@ var script = {
|
|
|
1401
1404
|
var hasBlockerMasks;
|
|
1402
1405
|
for (var i = 0; i < bodyChildren.length; i++) {
|
|
1403
1406
|
var bodyChild = bodyChildren[i];
|
|
1404
|
-
if (utils.DomHandler.isAttributeEquals(bodyChild, 'data-pc-section', '
|
|
1407
|
+
if (utils.DomHandler.isAttributeEquals(bodyChild, 'data-pc-section', 'datepickermask')) {
|
|
1405
1408
|
hasBlockerMasks = true;
|
|
1406
1409
|
break;
|
|
1407
1410
|
}
|
|
@@ -1472,7 +1475,7 @@ var script = {
|
|
|
1472
1475
|
var date;
|
|
1473
1476
|
var parts = text.split(' ');
|
|
1474
1477
|
if (this.timeOnly) {
|
|
1475
|
-
date = new Date();
|
|
1478
|
+
date = new Date(this.modelValue);
|
|
1476
1479
|
this.populateTime(date, parts[0], parts[1]);
|
|
1477
1480
|
} else {
|
|
1478
1481
|
var dateFormat = this.datePattern;
|
|
@@ -1670,7 +1673,6 @@ var script = {
|
|
|
1670
1673
|
if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
|
|
1671
1674
|
throw 'Invalid date'; // E.g. 31/02/00
|
|
1672
1675
|
}
|
|
1673
|
-
|
|
1674
1676
|
return date;
|
|
1675
1677
|
},
|
|
1676
1678
|
getWeekNumber: function getWeekNumber(date) {
|
|
@@ -2558,8 +2560,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2558
2560
|
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; }
|
|
2559
2561
|
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; }
|
|
2560
2562
|
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; }
|
|
2561
|
-
function _toPropertyKey(
|
|
2562
|
-
function _toPrimitive(
|
|
2563
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
2564
|
+
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); }
|
|
2563
2565
|
var _hoisted_1 = ["id"];
|
|
2564
2566
|
var _hoisted_2 = ["id", "placeholder", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly"];
|
|
2565
2567
|
var _hoisted_3 = ["id", "role", "aria-modal", "aria-label"];
|