primevue 3.41.1 → 3.42.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/autocomplete/AutoComplete.d.ts +2 -2
- package/autocomplete/BaseAutoComplete.vue +2 -2
- package/autocomplete/autocomplete.cjs.js +2 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +2 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +2 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +2 -2
- package/avatar/BaseAvatar.vue +2 -2
- package/avatar/avatar.cjs.js +2 -2
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +2 -2
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +2 -2
- package/avatar/avatar.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +2 -2
- package/calendar/BaseCalendar.vue +6 -2
- package/calendar/Calendar.d.ts +21 -2
- package/calendar/Calendar.vue +6 -1
- package/calendar/calendar.cjs.js +17 -4
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +17 -4
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +17 -4
- package/calendar/calendar.min.js +1 -1
- package/calendar/style/calendarstyle.cjs.js +4 -2
- package/calendar/style/calendarstyle.cjs.min.js +1 -1
- package/calendar/style/calendarstyle.esm.js +4 -2
- package/calendar/style/calendarstyle.esm.min.js +1 -1
- package/calendar/style/calendarstyle.js +4 -2
- package/calendar/style/calendarstyle.min.js +1 -1
- package/cascadeselect/BaseCascadeSelect.vue +2 -2
- package/cascadeselect/CascadeSelect.d.ts +2 -2
- package/cascadeselect/cascadeselect.cjs.js +2 -2
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +2 -2
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +2 -2
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/BaseCheckbox.vue +2 -2
- package/checkbox/Checkbox.d.ts +2 -2
- 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/chips/BaseChips.vue +2 -2
- package/chips/Chips.d.ts +2 -2
- 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/confirmpopup/ConfirmPopup.vue +0 -1
- package/contextmenu/BaseContextMenu.vue +2 -2
- package/contextmenu/ContextMenu.d.ts +2 -2
- 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 +52 -24
- package/core/core.min.js +8 -8
- package/datatable/DataTable.d.ts +1 -1
- package/dock/BaseDock.vue +2 -2
- package/dock/Dock.d.ts +2 -2
- package/dock/DockSub.vue +2 -2
- package/dock/dock.cjs.js +6 -6
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +6 -6
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +6 -6
- package/dock/dock.min.js +1 -1
- package/dropdown/BaseDropdown.vue +2 -2
- package/dropdown/Dropdown.d.ts +2 -2
- package/dropdown/dropdown.cjs.js +2 -2
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +2 -2
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +2 -2
- package/dropdown/dropdown.min.js +1 -1
- package/editor/Editor.vue +6 -0
- package/editor/editor.cjs.js +6 -0
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +6 -0
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +6 -0
- package/editor/editor.min.js +1 -1
- package/inlinemessage/InlineMessage.vue +2 -2
- package/inlinemessage/inlinemessage.cjs.js +7 -5
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +5 -3
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +7 -5
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inputnumber/BaseInputNumber.vue +2 -2
- package/inputnumber/InputNumber.d.ts +2 -2
- package/inputnumber/inputnumber.cjs.js +2 -2
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +2 -2
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +2 -2
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/BaseInputSwitch.vue +2 -2
- package/inputswitch/InputSwitch.d.ts +2 -2
- 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/knob/BaseKnob.vue +2 -2
- package/knob/Knob.d.ts +2 -2
- package/knob/knob.cjs.js +2 -2
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +2 -2
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +2 -2
- package/knob/knob.min.js +1 -1
- package/listbox/BaseListbox.vue +2 -2
- package/listbox/Listbox.d.ts +2 -2
- package/listbox/Listbox.vue +4 -3
- package/listbox/listbox.cjs.js +6 -5
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +6 -5
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +6 -5
- package/listbox/listbox.min.js +1 -1
- package/megamenu/BaseMegaMenu.vue +2 -2
- package/megamenu/MegaMenu.d.ts +2 -2
- package/megamenu/megamenu.cjs.js +2 -2
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +2 -2
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +2 -2
- package/megamenu/megamenu.min.js +1 -1
- package/megamenu/style/megamenustyle.cjs.js +1 -1
- package/megamenu/style/megamenustyle.cjs.min.js +1 -1
- package/megamenu/style/megamenustyle.esm.js +1 -1
- package/megamenu/style/megamenustyle.esm.min.js +1 -1
- package/megamenu/style/megamenustyle.js +1 -1
- package/megamenu/style/megamenustyle.min.js +1 -1
- package/menu/BaseMenu.vue +2 -2
- package/menu/Menu.d.ts +2 -2
- package/menu/Menu.vue +5 -1
- package/menu/menu.cjs.js +6 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +6 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +6 -3
- package/menu/menu.min.js +1 -1
- package/menubar/BaseMenubar.vue +2 -2
- package/menubar/Menubar.d.ts +2 -2
- 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/multiselect/BaseMultiSelect.vue +2 -2
- package/multiselect/MultiSelect.d.ts +2 -2
- package/multiselect/multiselect.cjs.js +2 -2
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +2 -2
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +2 -2
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/BaseOrderList.vue +2 -2
- package/orderlist/OrderList.d.ts +2 -2
- package/orderlist/orderlist.cjs.js +2 -2
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +2 -2
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +2 -2
- package/orderlist/orderlist.min.js +1 -1
- package/package.json +1 -1
- package/password/BasePassword.vue +2 -2
- package/password/Password.d.ts +2 -2
- package/password/password.cjs.js +2 -2
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +2 -2
- package/password/password.esm.min.js +1 -1
- package/password/password.js +2 -2
- package/password/password.min.js +1 -1
- package/picklist/PickList.vue +1 -4
- package/picklist/picklist.cjs.js +1 -4
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +1 -4
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +1 -4
- package/picklist/picklist.min.js +1 -1
- package/radiobutton/BaseRadioButton.vue +2 -2
- package/radiobutton/RadioButton.d.ts +2 -2
- 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/resources/themes/arya-blue/theme.css +6 -6
- package/resources/themes/arya-green/theme.css +6 -6
- package/resources/themes/arya-orange/theme.css +6 -6
- package/resources/themes/arya-purple/theme.css +6 -6
- package/resources/themes/bootstrap4-dark-blue/theme.css +6 -6
- package/resources/themes/bootstrap4-dark-purple/theme.css +6 -6
- package/resources/themes/bootstrap4-light-blue/theme.css +6 -6
- package/resources/themes/bootstrap4-light-purple/theme.css +6 -6
- package/resources/themes/fluent-light/theme.css +6 -6
- package/resources/themes/lara-dark-amber/theme.css +6 -6
- package/resources/themes/lara-dark-blue/theme.css +6 -6
- package/resources/themes/lara-dark-cyan/theme.css +6 -6
- package/resources/themes/lara-dark-green/theme.css +6 -6
- package/resources/themes/lara-dark-indigo/theme.css +6 -6
- package/resources/themes/lara-dark-pink/theme.css +6 -6
- package/resources/themes/lara-dark-purple/theme.css +6 -6
- package/resources/themes/lara-dark-teal/theme.css +6 -6
- package/resources/themes/lara-light-amber/theme.css +6 -6
- package/resources/themes/lara-light-blue/theme.css +6 -6
- package/resources/themes/lara-light-cyan/theme.css +6 -6
- package/resources/themes/lara-light-green/theme.css +6 -6
- package/resources/themes/lara-light-indigo/theme.css +6 -6
- package/resources/themes/lara-light-pink/theme.css +6 -6
- package/resources/themes/lara-light-purple/theme.css +6 -6
- package/resources/themes/lara-light-teal/theme.css +6 -6
- package/resources/themes/luna-amber/theme.css +6 -6
- package/resources/themes/luna-blue/theme.css +6 -6
- package/resources/themes/luna-green/theme.css +6 -6
- package/resources/themes/luna-pink/theme.css +6 -6
- package/resources/themes/md-dark-deeppurple/theme.css +6 -6
- package/resources/themes/md-dark-indigo/theme.css +6 -6
- package/resources/themes/md-light-deeppurple/theme.css +6 -6
- package/resources/themes/md-light-indigo/theme.css +6 -6
- package/resources/themes/mdc-dark-deeppurple/theme.css +6 -6
- package/resources/themes/mdc-dark-indigo/theme.css +6 -6
- package/resources/themes/mdc-light-deeppurple/theme.css +6 -6
- package/resources/themes/mdc-light-indigo/theme.css +6 -6
- package/resources/themes/mira/theme.css +6 -6
- package/resources/themes/nano/theme.css +6 -6
- package/resources/themes/nova/theme.css +6 -6
- package/resources/themes/nova-accent/theme.css +6 -6
- package/resources/themes/nova-alt/theme.css +6 -6
- package/resources/themes/nova-vue/theme.css +6 -6
- package/resources/themes/rhea/theme.css +6 -6
- package/resources/themes/saga-blue/theme.css +6 -6
- package/resources/themes/saga-green/theme.css +6 -6
- package/resources/themes/saga-orange/theme.css +6 -6
- package/resources/themes/saga-purple/theme.css +6 -6
- package/resources/themes/soho-dark/theme.css +6 -6
- package/resources/themes/soho-light/theme.css +6 -6
- package/resources/themes/tailwind-light/theme.css +6 -6
- package/resources/themes/vela-blue/theme.css +6 -6
- package/resources/themes/vela-green/theme.css +6 -6
- package/resources/themes/vela-orange/theme.css +6 -6
- package/resources/themes/vela-purple/theme.css +6 -6
- package/resources/themes/viva-dark/theme.css +6 -6
- package/resources/themes/viva-light/theme.css +6 -6
- package/selectbutton/BaseSelectButton.vue +1 -1
- package/selectbutton/SelectButton.d.ts +1 -1
- package/selectbutton/selectbutton.cjs.js +1 -1
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +1 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +1 -1
- package/selectbutton/selectbutton.min.js +1 -1
- package/slider/BaseSlider.vue +2 -2
- package/slider/Slider.d.ts +2 -2
- package/slider/slider.cjs.js +2 -2
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +2 -2
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +2 -2
- package/slider/slider.min.js +1 -1
- package/speeddial/BaseSpeedDial.vue +2 -2
- package/speeddial/SpeedDial.d.ts +2 -2
- 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/splitter/Splitter.vue +1 -2
- package/splitter/splitter.cjs.js +1 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +1 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +1 -1
- package/splitter/splitter.min.js +1 -1
- package/tabmenu/BaseTabMenu.vue +2 -2
- package/tabmenu/TabMenu.d.ts +2 -2
- package/tabmenu/tabmenu.cjs.js +2 -2
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +2 -2
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +2 -2
- package/tabmenu/tabmenu.min.js +1 -1
- package/tieredmenu/BaseTieredMenu.vue +2 -2
- package/tieredmenu/TieredMenu.d.ts +2 -2
- package/tieredmenu/TieredMenu.vue +5 -1
- package/tieredmenu/tieredmenu.cjs.js +6 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +6 -3
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +6 -3
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/togglebutton/BaseToggleButton.vue +2 -2
- package/togglebutton/ToggleButton.d.ts +2 -2
- 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/BaseToolbar.vue +1 -1
- package/toolbar/Toolbar.d.ts +1 -1
- package/toolbar/toolbar.cjs.js +1 -1
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +1 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +1 -1
- package/toolbar/toolbar.min.js +1 -1
- package/tree/BaseTree.vue +6 -2
- package/tree/Tree.d.ts +8 -62
- package/tree/Tree.vue +2 -1
- package/tree/TreeNode.vue +17 -8
- package/tree/style/treestyle.cjs.js +1 -0
- package/tree/style/treestyle.cjs.min.js +1 -1
- package/tree/style/treestyle.esm.js +1 -0
- package/tree/style/treestyle.esm.min.js +1 -1
- package/tree/style/treestyle.js +1 -0
- package/tree/style/treestyle.min.js +1 -1
- package/tree/tree.cjs.js +30 -11
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +31 -12
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +30 -11
- package/tree/tree.min.js +1 -1
- package/treenode/TreeNode.d.ts +71 -0
- package/treenode/package.json +3 -0
- package/treeselect/BaseTreeSelect.vue +2 -2
- package/treeselect/TreeSelect.d.ts +4 -3
- package/treeselect/treeselect.cjs.js +2 -2
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +2 -2
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +2 -2
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BaseTreeTable.vue +4 -0
- package/treetable/BodyCell.vue +16 -4
- package/treetable/TreeTable.d.ts +6 -1
- package/treetable/TreeTable.vue +2 -1
- package/treetable/TreeTableRow.vue +5 -0
- package/treetable/treetable.cjs.js +33 -6
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +34 -7
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +33 -6
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/BaseTriStateCheckbox.vue +2 -2
- package/tristatecheckbox/TriStateCheckbox.d.ts +2 -2
- 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/web-types.json +1 -1
package/avatar/avatar.cjs.js
CHANGED
package/avatar/avatar.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/avatar/style"),t=require("primevue/basecomponent"),a=require("vue");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(e),n={name:"Avatar",extends:{name:"BaseAvatar",extends:r(t).default,props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},size:{type:String,default:"normal"},shape:{type:String,default:"square"},
|
|
1
|
+
"use strict";var e=require("primevue/avatar/style"),t=require("primevue/basecomponent"),a=require("vue");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(e),n={name:"Avatar",extends:{name:"BaseAvatar",extends:r(t).default,props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},size:{type:String,default:"normal"},shape:{type:String,default:"square"},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:l.default,provide:function(){return{$parentInstance:this}}},emits:["error"],methods:{onError:function(e){this.$emit("error",e)},getPTOptions:function(e){return this.ptm(e,{parent:{instance:this.$parent}})}}},o=["aria-labelledby","aria-label"],i=["src","alt"];n.render=function(e,t,r,l,n,s){return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:e.cx("root"),"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},s.getPTOptions("root"),{"data-pc-name":"avatar"}),[a.renderSlot(e.$slots,"default",{},(function(){return[e.label?(a.openBlock(),a.createElementBlock("span",a.mergeProps({key:0,class:e.cx("label")},s.getPTOptions("label")),a.toDisplayString(e.label),17)):e.$slots.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.$slots.icon),{key:1,class:a.normalizeClass(e.cx("icon"))},null,8,["class"])):e.icon?(a.openBlock(),a.createElementBlock("span",a.mergeProps({key:2,class:[e.cx("icon"),e.icon]},s.getPTOptions("icon")),null,16)):e.image?(a.openBlock(),a.createElementBlock("img",a.mergeProps({key:3,src:e.image,alt:e.ariaLabel,onError:t[0]||(t[0]=function(){return s.onError&&s.onError.apply(s,arguments)})},s.getPTOptions("image")),null,16,i)):a.createCommentVNode("",!0)]}))],16,o)},module.exports=n;
|
package/avatar/avatar.esm.js
CHANGED
package/avatar/avatar.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/avatar/style";import a from"primevue/basecomponent";import{openBlock as t,createElementBlock as r,mergeProps as
|
|
1
|
+
import e from"primevue/avatar/style";import a from"primevue/basecomponent";import{openBlock as t,createElementBlock as r,mergeProps as n,renderSlot as l,toDisplayString as i,createBlock as o,resolveDynamicComponent as s,normalizeClass as p,createCommentVNode as u}from"vue";var c={name:"Avatar",extends:{name:"BaseAvatar",extends:a,props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},size:{type:String,default:"normal"},shape:{type:String,default:"square"},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:e,provide:function(){return{$parentInstance:this}}},emits:["error"],methods:{onError:function(e){this.$emit("error",e)},getPTOptions:function(e){return this.ptm(e,{parent:{instance:this.$parent}})}}},m=["aria-labelledby","aria-label"],d=["src","alt"];c.render=function(e,a,c,b,f,y){return t(),r("div",n({class:e.cx("root"),"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},y.getPTOptions("root"),{"data-pc-name":"avatar"}),[l(e.$slots,"default",{},(function(){return[e.label?(t(),r("span",n({key:0,class:e.cx("label")},y.getPTOptions("label")),i(e.label),17)):e.$slots.icon?(t(),o(s(e.$slots.icon),{key:1,class:p(e.cx("icon"))},null,8,["class"])):e.icon?(t(),r("span",n({key:2,class:[e.cx("icon"),e.icon]},y.getPTOptions("icon")),null,16)):e.image?(t(),r("img",n({key:3,src:e.image,alt:e.ariaLabel,onError:a[0]||(a[0]=function(){return y.onError&&y.onError.apply(y,arguments)})},y.getPTOptions("image")),null,16,d)):u("",!0)]}))],16,m)};export{c as default};
|
package/avatar/avatar.js
CHANGED
|
@@ -31,11 +31,11 @@ this.primevue.avatar = (function (AvatarStyle, BaseComponent, vue) {
|
|
|
31
31
|
type: String,
|
|
32
32
|
"default": 'square'
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
ariaLabelledby: {
|
|
35
35
|
type: String,
|
|
36
36
|
"default": null
|
|
37
37
|
},
|
|
38
|
-
|
|
38
|
+
ariaLabel: {
|
|
39
39
|
type: String,
|
|
40
40
|
"default": null
|
|
41
41
|
}
|
package/avatar/avatar.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.avatar=function(e,t,a){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.avatar=function(e,t,a){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(e),l={name:"Avatar",extends:{name:"BaseAvatar",extends:r(t).default,props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},size:{type:String,default:"normal"},shape:{type:String,default:"square"},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:n.default,provide:function(){return{$parentInstance:this}}},emits:["error"],methods:{onError:function(e){this.$emit("error",e)},getPTOptions:function(e){return this.ptm(e,{parent:{instance:this.$parent}})}}},o=["aria-labelledby","aria-label"],i=["src","alt"];return l.render=function(e,t,r,n,l,s){return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:e.cx("root"),"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},s.getPTOptions("root"),{"data-pc-name":"avatar"}),[a.renderSlot(e.$slots,"default",{},(function(){return[e.label?(a.openBlock(),a.createElementBlock("span",a.mergeProps({key:0,class:e.cx("label")},s.getPTOptions("label")),a.toDisplayString(e.label),17)):e.$slots.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.$slots.icon),{key:1,class:a.normalizeClass(e.cx("icon"))},null,8,["class"])):e.icon?(a.openBlock(),a.createElementBlock("span",a.mergeProps({key:2,class:[e.cx("icon"),e.icon]},s.getPTOptions("icon")),null,16)):e.image?(a.openBlock(),a.createElementBlock("img",a.mergeProps({key:3,src:e.image,alt:e.ariaLabel,onError:t[0]||(t[0]=function(){return s.onError&&s.onError.apply(s,arguments)})},s.getPTOptions("image")),null,16,i)):a.createCommentVNode("",!0)]}))],16,o)},l}(primevue.avatar.style,primevue.basecomponent,Vue);
|
|
@@ -141,11 +141,11 @@ export interface BreadcrumbProps {
|
|
|
141
141
|
/**
|
|
142
142
|
* Defines a string value that labels an interactive element.
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
ariaLabel?: string | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* Identifier of the underlying menu element.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
ariaLabelledby?: string | undefined;
|
|
149
149
|
/**
|
|
150
150
|
* Used to pass attributes to DOM elements inside the component.
|
|
151
151
|
* @type {BreadcrumbPassThroughOptions}
|
|
@@ -31,6 +31,10 @@ export default {
|
|
|
31
31
|
type: Boolean,
|
|
32
32
|
default: false
|
|
33
33
|
},
|
|
34
|
+
iconDisplay: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: 'button'
|
|
37
|
+
},
|
|
34
38
|
icon: {
|
|
35
39
|
type: String,
|
|
36
40
|
default: undefined
|
|
@@ -216,11 +220,11 @@ export default {
|
|
|
216
220
|
type: null,
|
|
217
221
|
default: null
|
|
218
222
|
},
|
|
219
|
-
|
|
223
|
+
ariaLabelledby: {
|
|
220
224
|
type: String,
|
|
221
225
|
default: null
|
|
222
226
|
},
|
|
223
|
-
|
|
227
|
+
ariaLabel: {
|
|
224
228
|
type: String,
|
|
225
229
|
default: null
|
|
226
230
|
}
|
package/calendar/Calendar.d.ts
CHANGED
|
@@ -479,6 +479,11 @@ export interface CalendarProps {
|
|
|
479
479
|
* @defaultValue false
|
|
480
480
|
*/
|
|
481
481
|
showIcon?: boolean | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* Icon position of the component. This only applies if the showIcon option is set to true.
|
|
484
|
+
* @defaultValue 'button'
|
|
485
|
+
*/
|
|
486
|
+
iconDisplay?: 'button' | 'input' | undefined;
|
|
482
487
|
/**
|
|
483
488
|
* Icon of the calendar button.
|
|
484
489
|
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
|
@@ -708,11 +713,11 @@ export interface CalendarProps {
|
|
|
708
713
|
/**
|
|
709
714
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
|
710
715
|
*/
|
|
711
|
-
|
|
716
|
+
ariaLabelledby?: string | undefined;
|
|
712
717
|
/**
|
|
713
718
|
* Establishes a string value that labels the component.
|
|
714
719
|
*/
|
|
715
|
-
|
|
720
|
+
ariaLabel?: string | undefined;
|
|
716
721
|
/**
|
|
717
722
|
* Used to pass attributes to DOM elements inside the component.
|
|
718
723
|
* @type {CalendarPassThroughOptions}
|
|
@@ -784,6 +789,20 @@ export interface CalendarSlots {
|
|
|
784
789
|
*/
|
|
785
790
|
class: any;
|
|
786
791
|
}): VNode[];
|
|
792
|
+
/**
|
|
793
|
+
* Custom input icon template.
|
|
794
|
+
* @param {Object} scope - input icon slot's params.
|
|
795
|
+
*/
|
|
796
|
+
inputicon(scope: {
|
|
797
|
+
/**
|
|
798
|
+
* Style class of the input icon
|
|
799
|
+
*/
|
|
800
|
+
class: any;
|
|
801
|
+
/**
|
|
802
|
+
* Click callback
|
|
803
|
+
*/
|
|
804
|
+
clickCallback: () => void;
|
|
805
|
+
}): VNode[];
|
|
787
806
|
/**
|
|
788
807
|
* Custom previous icon template.
|
|
789
808
|
* @param {Object} scope - previous icon slot's params.
|
package/calendar/Calendar.vue
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
v-bind="{ ...inputProps, ...ptm('input') }"
|
|
29
29
|
/>
|
|
30
30
|
<CalendarButton
|
|
31
|
-
v-if="showIcon"
|
|
31
|
+
v-if="showIcon && iconDisplay === 'button'"
|
|
32
32
|
:class="cx('dropdownButton')"
|
|
33
33
|
:disabled="disabled"
|
|
34
34
|
@click="onButtonClick"
|
|
@@ -47,6 +47,11 @@
|
|
|
47
47
|
</slot>
|
|
48
48
|
</template>
|
|
49
49
|
</CalendarButton>
|
|
50
|
+
<template v-else-if="showIcon && iconDisplay === 'input'">
|
|
51
|
+
<slot name="inputicon" :class="cx('inputIcon')" :clickCallback="onButtonClick">
|
|
52
|
+
<component :is="icon ? 'i' : 'CalendarIcon'" :class="[icon, cx('inputIcon')]" @click="onButtonClick" v-bind="ptm('inputicon')" />
|
|
53
|
+
</slot>
|
|
54
|
+
</template>
|
|
50
55
|
<Portal :appendTo="appendTo" :disabled="inline">
|
|
51
56
|
<transition name="p-connected-overlay" @enter="onOverlayEnter($event)" @after-enter="onOverlayEnterComplete" @after-leave="onOverlayAfterLeave" @leave="onOverlayLeave" v-bind="ptm('transition')">
|
|
52
57
|
<div
|
package/calendar/calendar.cjs.js
CHANGED
|
@@ -57,6 +57,10 @@ var script$1 = {
|
|
|
57
57
|
type: Boolean,
|
|
58
58
|
"default": false
|
|
59
59
|
},
|
|
60
|
+
iconDisplay: {
|
|
61
|
+
type: String,
|
|
62
|
+
"default": 'button'
|
|
63
|
+
},
|
|
60
64
|
icon: {
|
|
61
65
|
type: String,
|
|
62
66
|
"default": undefined
|
|
@@ -242,11 +246,11 @@ var script$1 = {
|
|
|
242
246
|
type: null,
|
|
243
247
|
"default": null
|
|
244
248
|
},
|
|
245
|
-
|
|
249
|
+
ariaLabelledby: {
|
|
246
250
|
type: String,
|
|
247
251
|
"default": null
|
|
248
252
|
},
|
|
249
|
-
|
|
253
|
+
ariaLabel: {
|
|
250
254
|
type: String,
|
|
251
255
|
"default": null
|
|
252
256
|
}
|
|
@@ -2626,7 +2630,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2626
2630
|
onKeydown: _cache[4] || (_cache[4] = function () {
|
|
2627
2631
|
return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
|
|
2628
2632
|
})
|
|
2629
|
-
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm('input'))), null, 16, _hoisted_2)) : vue.createCommentVNode("", true), _ctx.showIcon ? (vue.openBlock(), vue.createBlock(_component_CalendarButton, {
|
|
2633
|
+
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm('input'))), null, 16, _hoisted_2)) : vue.createCommentVNode("", true), _ctx.showIcon && _ctx.iconDisplay === 'button' ? (vue.openBlock(), vue.createBlock(_component_CalendarButton, {
|
|
2630
2634
|
key: 1,
|
|
2631
2635
|
"class": vue.normalizeClass(_ctx.cx('dropdownButton')),
|
|
2632
2636
|
disabled: _ctx.disabled,
|
|
@@ -2652,7 +2656,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2652
2656
|
})];
|
|
2653
2657
|
}),
|
|
2654
2658
|
_: 3
|
|
2655
|
-
}, 8, ["class", "disabled", "onClick", "aria-label", "aria-expanded", "aria-controls", "unstyled", "pt"])) :
|
|
2659
|
+
}, 8, ["class", "disabled", "onClick", "aria-label", "aria-expanded", "aria-controls", "unstyled", "pt"])) : _ctx.showIcon && _ctx.iconDisplay === 'input' ? vue.renderSlot(_ctx.$slots, "inputicon", {
|
|
2660
|
+
key: 2,
|
|
2661
|
+
"class": vue.normalizeClass(_ctx.cx('inputIcon')),
|
|
2662
|
+
clickCallback: $options.onButtonClick
|
|
2663
|
+
}, function () {
|
|
2664
|
+
return [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon ? 'i' : 'CalendarIcon'), vue.mergeProps({
|
|
2665
|
+
"class": [_ctx.icon, _ctx.cx('inputIcon')],
|
|
2666
|
+
onClick: $options.onButtonClick
|
|
2667
|
+
}, _ctx.ptm('inputicon')), null, 16, ["class", "onClick"]))];
|
|
2668
|
+
}) : vue.createCommentVNode("", true), vue.createVNode(_component_Portal, {
|
|
2656
2669
|
appendTo: _ctx.appendTo,
|
|
2657
2670
|
disabled: _ctx.inline
|
|
2658
2671
|
}, {
|