primevue 3.27.0 → 3.28.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/README.md +1 -1
- package/autocomplete/AutoComplete.d.ts +10 -1
- package/autocomplete/AutoComplete.vue +1 -1
- package/autocomplete/autocomplete.cjs.js +4 -1
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +4 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +4 -1
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +44 -0
- package/avatar/Avatar.vue +10 -8
- package/avatar/avatar.cjs.js +36 -34
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +33 -35
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +37 -36
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +27 -1
- package/avatargroup/AvatarGroup.vue +5 -2
- package/avatargroup/avatargroup.cjs.js +9 -5
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +6 -6
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +10 -7
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/Badge.d.ts +32 -0
- package/badge/Badge.vue +3 -1
- package/badge/badge.cjs.js +8 -4
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +5 -5
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +9 -6
- package/badge/badge.min.js +1 -1
- package/basecomponent/BaseComponent.vue +10 -3
- package/basecomponent/basecomponent.cjs.js +10 -3
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +10 -3
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +10 -3
- package/basecomponent/basecomponent.min.js +1 -1
- package/baseicon/BaseIcon.vue +2 -2
- package/baseicon/baseicon.cjs.js +2 -2
- package/baseicon/baseicon.cjs.min.js +1 -1
- package/baseicon/baseicon.esm.js +2 -2
- package/baseicon/baseicon.esm.min.js +1 -1
- package/baseicon/baseicon.js +2 -2
- package/baseicon/baseicon.min.js +1 -1
- package/blockui/BlockUI.d.ts +44 -0
- package/blockui/BlockUI.vue +3 -1
- package/blockui/blockui.cjs.js +9 -3
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +6 -4
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +10 -5
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +60 -0
- package/breadcrumb/Breadcrumb.vue +8 -6
- package/breadcrumb/BreadcrumbItem.vue +14 -10
- package/breadcrumb/breadcrumb.cjs.js +53 -51
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +53 -52
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +54 -53
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +48 -0
- package/button/Button.vue +10 -9
- package/button/button.cjs.js +43 -44
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +43 -45
- package/button/button.esm.min.js +1 -1
- package/button/button.js +44 -46
- package/button/button.min.js +1 -1
- package/chart/Chart.d.ts +36 -0
- package/chart/Chart.vue +5 -2
- package/chart/chart.cjs.js +10 -5
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +7 -6
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +11 -7
- package/chart/chart.min.js +1 -1
- package/chip/Chip.d.ts +60 -0
- package/chip/Chip.vue +10 -9
- package/chip/chip.cjs.js +35 -36
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +35 -37
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +36 -38
- package/chip/chip.min.js +1 -1
- package/config/PrimeVue.d.ts +8 -0
- package/config/config.cjs.js +3 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +3 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +3 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +88 -0
- package/confirmdialog/ConfirmDialog.vue +9 -6
- package/confirmdialog/confirmdialog.cjs.js +22 -18
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +22 -19
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +23 -20
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +75 -0
- package/confirmpopup/ConfirmPopup.vue +11 -9
- package/confirmpopup/confirmpopup.cjs.js +27 -25
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +27 -26
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +28 -27
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +135 -0
- package/contextmenu/ContextMenu.vue +4 -1
- package/contextmenu/ContextMenuSub.vue +46 -10
- package/contextmenu/contextmenu.cjs.js +57 -46
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +57 -47
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +58 -48
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +278 -246
- package/core/core.min.js +11 -11
- package/dialog/Dialog.d.ts +87 -0
- package/dialog/Dialog.vue +23 -10
- package/dialog/dialog.cjs.js +31 -30
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +31 -31
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +32 -32
- package/dialog/dialog.min.js +1 -1
- package/dock/Dock.d.ts +94 -0
- package/dock/Dock.vue +4 -2
- package/dock/DockSub.vue +30 -6
- package/dock/dock.cjs.js +52 -39
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +52 -40
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +53 -41
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.vue +1 -1
- package/dropdown/dropdown.cjs.js +1 -1
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +1 -1
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +1 -1
- package/dropdown/dropdown.min.js +1 -1
- package/dynamicdialog/DynamicDialog.vue +3 -1
- package/dynamicdialog/dynamicdialog.cjs.js +5 -1
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +4 -1
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +6 -3
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/fileupload/FileContent.vue +11 -9
- package/fileupload/FileUpload.d.ts +154 -0
- package/fileupload/FileUpload.vue +26 -24
- package/fileupload/fileupload.cjs.js +100 -97
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +100 -98
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +101 -99
- package/fileupload/fileupload.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +52 -0
- package/inlinemessage/InlineMessage.vue +7 -3
- package/inlinemessage/inlinemessage.cjs.js +12 -11
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +12 -12
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +13 -13
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.d.ts +59 -0
- package/inplace/Inplace.vue +7 -5
- package/inplace/inplace.cjs.js +17 -16
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +17 -17
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +18 -18
- package/inplace/inplace.min.js +1 -1
- package/listbox/Listbox.d.ts +1 -1
- package/megamenu/MegaMenu.d.ts +149 -0
- package/megamenu/MegaMenu.vue +6 -3
- package/megamenu/MegaMenuSub.vue +43 -15
- package/megamenu/megamenu.cjs.js +83 -75
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +83 -76
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +84 -77
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +113 -0
- package/menu/Menu.vue +11 -8
- package/menu/Menuitem.vue +20 -8
- package/menu/menu.cjs.js +73 -62
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +73 -63
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +74 -64
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +146 -0
- package/menubar/Menubar.vue +8 -5
- package/menubar/MenubarSub.vue +38 -10
- package/menubar/menubar.cjs.js +70 -60
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +70 -61
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +71 -62
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +64 -1
- package/message/Message.vue +9 -7
- package/message/message.cjs.js +22 -21
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +22 -22
- package/message/message.esm.min.js +1 -1
- package/message/message.js +23 -23
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +1 -1
- package/overlaypanel/OverlayPanel.d.ts +56 -0
- package/overlaypanel/OverlayPanel.vue +6 -4
- package/overlaypanel/overlaypanel.cjs.js +13 -10
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +13 -11
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +14 -12
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/panel/Panel.d.ts +10 -1
- package/panel/Panel.vue +1 -1
- package/panel/panel.cjs.js +4 -1
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +4 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +4 -1
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +133 -0
- package/panelmenu/PanelMenu.vue +36 -13
- package/panelmenu/PanelMenuList.vue +3 -0
- package/panelmenu/PanelMenuSub.vue +33 -12
- package/panelmenu/panelmenu.cjs.js +115 -96
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +115 -97
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +116 -98
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.vue +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/progressbar/ProgressBar.d.ts +40 -0
- package/progressbar/ProgressBar.vue +8 -5
- package/progressbar/progressbar.cjs.js +25 -23
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +22 -24
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +26 -25
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.d.ts +40 -0
- package/progressspinner/ProgressSpinner.vue +6 -3
- package/progressspinner/progressspinner.cjs.js +18 -13
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +15 -14
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +19 -15
- package/progressspinner/progressspinner.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +1 -1
- package/resources/themes/arya-green/theme.css +1 -1
- package/resources/themes/arya-orange/theme.css +1 -1
- package/resources/themes/arya-purple/theme.css +1 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +1 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +1 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +1 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +1 -1
- package/resources/themes/fluent-light/theme.css +1 -1
- package/resources/themes/lara-dark-blue/theme.css +1 -1
- package/resources/themes/lara-dark-indigo/theme.css +1 -1
- package/resources/themes/lara-dark-purple/theme.css +1 -1
- package/resources/themes/lara-dark-teal/theme.css +1 -1
- package/resources/themes/lara-light-blue/theme.css +1 -1
- package/resources/themes/lara-light-indigo/theme.css +1 -1
- package/resources/themes/lara-light-purple/theme.css +1 -1
- package/resources/themes/lara-light-teal/theme.css +1 -1
- package/resources/themes/luna-amber/theme.css +1 -1
- package/resources/themes/luna-blue/theme.css +1 -1
- package/resources/themes/luna-green/theme.css +1 -1
- package/resources/themes/luna-pink/theme.css +1 -1
- package/resources/themes/md-dark-deeppurple/theme.css +4 -1
- package/resources/themes/md-dark-indigo/theme.css +4 -1
- package/resources/themes/md-light-deeppurple/theme.css +4 -1
- package/resources/themes/md-light-indigo/theme.css +4 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +4 -1
- package/resources/themes/mdc-dark-indigo/theme.css +4 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +4 -1
- package/resources/themes/mdc-light-indigo/theme.css +4 -1
- package/resources/themes/mira/theme.css +1 -1
- package/resources/themes/nano/theme.css +1 -1
- package/resources/themes/nova/theme.css +1 -1
- package/resources/themes/nova-accent/theme.css +1 -1
- package/resources/themes/nova-alt/theme.css +1 -1
- package/resources/themes/nova-vue/theme.css +1 -1
- package/resources/themes/rhea/theme.css +1 -1
- package/resources/themes/saga-blue/theme.css +1 -1
- package/resources/themes/saga-green/theme.css +1 -1
- package/resources/themes/saga-orange/theme.css +1 -1
- package/resources/themes/saga-purple/theme.css +1 -1
- package/resources/themes/soho-dark/theme.css +1 -1
- package/resources/themes/soho-light/theme.css +1 -1
- package/resources/themes/tailwind-light/theme.css +1 -1
- package/resources/themes/vela-blue/theme.css +1 -1
- package/resources/themes/vela-green/theme.css +1 -1
- package/resources/themes/vela-orange/theme.css +1 -1
- package/resources/themes/vela-purple/theme.css +1 -1
- package/resources/themes/viva-dark/theme.css +1 -1
- package/resources/themes/viva-light/theme.css +1 -1
- package/scrolltop/ScrollTop.d.ts +48 -0
- package/scrolltop/ScrollTop.vue +5 -2
- package/scrolltop/scrolltop.cjs.js +10 -7
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +10 -8
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +11 -9
- package/scrolltop/scrolltop.min.js +1 -1
- package/sidebar/Sidebar.d.ts +68 -0
- package/sidebar/Sidebar.vue +9 -7
- package/sidebar/sidebar.cjs.js +26 -24
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +26 -25
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +27 -26
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.d.ts +32 -0
- package/skeleton/Skeleton.vue +4 -1
- package/skeleton/skeleton.cjs.js +10 -4
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +7 -5
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +11 -6
- package/skeleton/skeleton.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +101 -0
- package/speeddial/SpeedDial.vue +31 -8
- package/speeddial/speeddial.cjs.js +47 -33
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +47 -34
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +48 -35
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +64 -0
- package/splitbutton/SplitButton.vue +8 -5
- package/splitbutton/splitbutton.cjs.js +23 -18
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +23 -19
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +24 -20
- package/splitbutton/splitbutton.min.js +1 -1
- package/steps/Steps.d.ts +52 -0
- package/steps/Steps.vue +11 -8
- package/steps/steps.cjs.js +34 -33
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +31 -34
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +35 -35
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +79 -0
- package/tabmenu/TabMenu.vue +20 -10
- package/tabmenu/tabmenu.cjs.js +47 -41
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +47 -42
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +48 -43
- package/tabmenu/tabmenu.min.js +1 -1
- package/tag/Tag.d.ts +40 -0
- package/tag/Tag.vue +7 -4
- package/tag/tag.cjs.js +14 -12
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +11 -13
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +15 -14
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.d.ts +79 -0
- package/terminal/Terminal.vue +12 -10
- package/terminal/terminal.cjs.js +23 -28
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +23 -29
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +24 -30
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +130 -0
- package/tieredmenu/TieredMenu.vue +4 -1
- package/tieredmenu/TieredMenuSub.vue +39 -11
- package/tieredmenu/tieredmenu.cjs.js +53 -41
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +53 -42
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +54 -43
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/Toast.d.ts +79 -0
- package/toast/Toast.vue +4 -1
- package/toast/ToastMessage.vue +12 -10
- package/toast/toast.cjs.js +31 -31
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +31 -32
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +32 -33
- package/toast/toast.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +1 -2
- package/vetur-attributes.json +160 -0
- package/vetur-tags.json +79 -34
- package/web-types.json +404 -2
package/toast/toast.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/
|
|
1
|
+
import e from"primevue/basecomponent";import t from"primevue/portal";import s from"primevue/toasteventbus";import{ZIndexUtils as o,ObjectUtils as n,UniqueComponentId as i}from"primevue/utils";import a from"primevue/icons/check";import r from"primevue/icons/exclamationtriangle";import l from"primevue/icons/infocircle";import m from"primevue/icons/times";import c from"primevue/icons/timescircle";import p from"primevue/ripple";import{resolveDirective as u,openBlock as d,createElementBlock as h,mergeProps as f,createElementVNode as g,Fragment as y,createBlock as v,resolveDynamicComponent as I,toDisplayString as b,normalizeProps as x,withDirectives as C,createCommentVNode as S,resolveComponent as T,withCtx as k,createVNode as w,TransitionGroup as E,renderList as $}from"vue";var A={name:"ToastMessage",extends:e,emits:["close"],props:{message:{type:null,default:null},templates:{type:Object,default:null},closeIcon:{type:String,default:null},infoIcon:{type:String,default:null},warnIcon:{type:String,default:null},errorIcon:{type:String,default:null},successIcon:{type:String,default:null},closeButtonProps:{type:null,default:null}},closeTimeout:null,mounted(){this.message.life&&(this.closeTimeout=setTimeout((()=>{this.close({message:this.message,type:"life-end"})}),this.message.life))},beforeUnmount(){this.clearCloseTimeout()},methods:{close(e){this.$emit("close",e)},onCloseClick(){this.clearCloseTimeout(),this.close({message:this.message,type:"close"})},clearCloseTimeout(){this.closeTimeout&&(clearTimeout(this.closeTimeout),this.closeTimeout=null)}},computed:{containerClass(){return["p-toast-message",this.message.styleClass,{"p-toast-message-info":"info"===this.message.severity,"p-toast-message-warn":"warn"===this.message.severity,"p-toast-message-error":"error"===this.message.severity,"p-toast-message-success":"success"===this.message.severity}]},iconComponent(){return{info:!this.infoIcon&&l,success:!this.successIcon&&a,warn:!this.warnIcon&&r,error:!this.errorIcon&&c}[this.message.severity]},iconClass(){return[{[this.infoIcon]:"info"===this.message.severity,[this.warnIcon]:"warn"===this.message.severity,[this.errorIcon]:"error"===this.message.severity,[this.successIcon]:"success"===this.message.severity}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{TimesIcon:m,InfoCircleIcon:l,CheckIcon:a,ExclamationTriangleIcon:r,TimesCircleIcon:c},directives:{ripple:p}};const B=["aria-label"];A.render=function(e,t,s,o,n,i){const a=u("ripple");return d(),h("div",f({class:i.containerClass,role:"alert","aria-live":"assertive","aria-atomic":"true"},e.ptm("container")),[g("div",f({class:["p-toast-message-content",s.message.contentStyleClass]},e.ptm("content")),[s.templates.message?(d(),v(I(s.templates.message),{key:1,message:s.message},null,8,["message"])):(d(),h(y,{key:0},[(d(),v(I(s.templates.icon?s.templates.icon:i.iconComponent.name?i.iconComponent:"span"),f({class:[i.iconClass,"p-toast-message-icon"]},e.ptm("icon")),null,16,["class"])),g("div",f({class:"p-toast-message-text"},e.ptm("text")),[g("span",f({class:"p-toast-summary"},e.ptm("summary")),b(s.message.summary),17),g("div",f({class:"p-toast-detail"},e.ptm("detail")),b(s.message.detail),17)],16)],64)),!1!==s.message.closable?(d(),h("div",x(f({key:2},e.ptm("buttonContainer"))),[C((d(),h("button",f({class:"p-toast-icon-close p-link",type:"button","aria-label":i.closeAriaLabel,onClick:t[0]||(t[0]=(...e)=>i.onCloseClick&&i.onCloseClick(...e)),autofocus:""},{...s.closeButtonProps,...e.ptm("button")}),[(d(),v(I(s.templates.closeicon||"TimesIcon"),f({class:["p-toast-icon-close-icon",s.closeIcon]},e.ptm("buttonIcon")),null,16,["class"]))],16,B)),[[a]])],16)):S("",!0)],16)],16)};var P=0,L={name:"Toast",extends:e,inheritAttrs:!1,emits:["close","life-end"],props:{group:{type:String,default:null},position:{type:String,default:"top-right"},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},breakpoints:{type:Object,default:null},closeIcon:{type:String,default:void 0},infoIcon:{type:String,default:void 0},warnIcon:{type:String,default:void 0},errorIcon:{type:String,default:void 0},successIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null}},data:()=>({messages:[]}),styleElement:null,mounted(){s.on("add",this.onAdd),s.on("remove-group",this.onRemoveGroup),s.on("remove-all-groups",this.onRemoveAllGroups),this.breakpoints&&this.createStyle()},beforeUnmount(){this.destroyStyle(),this.$refs.container&&this.autoZIndex&&o.clear(this.$refs.container),s.off("add",this.onAdd),s.off("remove-group",this.onRemoveGroup),s.off("remove-all-groups",this.onRemoveAllGroups)},methods:{add(e){null==e.id&&(e.id=P++),this.messages=[...this.messages,e]},remove(e){let t=-1;for(let s=0;s<this.messages.length;s++)if(this.messages[s]===e.message){t=s;break}this.messages.splice(t,1),this.$emit(e.type,{message:e.message})},onAdd(e){this.group==e.group&&this.add(e)},onRemoveGroup(e){this.group===e&&(this.messages=[])},onRemoveAllGroups(){this.messages=[]},onEnter(){this.$refs.container.setAttribute(this.attributeSelector,""),this.autoZIndex&&o.set("modal",this.$refs.container,this.baseZIndex||this.$primevue.config.zIndex.modal)},onLeave(){this.$refs.container&&this.autoZIndex&&n.isEmpty(this.messages)&&setTimeout((()=>{o.clear(this.$refs.container)}),200)},createStyle(){if(!this.styleElement){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let e="";for(let t in this.breakpoints){let s="";for(let e in this.breakpoints[t])s+=e+":"+this.breakpoints[t][e]+"!important;";e+=`\n @media screen and (max-width: ${t}) {\n .p-toast[${this.attributeSelector}] {\n ${s}\n }\n }\n `}this.styleElement.innerHTML=e}},destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}},computed:{containerClass(){return["p-toast p-component p-toast-"+this.position,{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},attributeSelector:()=>i()},components:{ToastMessage:A,Portal:t}};!function(e,t){void 0===t&&(t={});var s=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===s&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}("\n.p-toast {\n position: fixed;\n width: 25rem;\n}\n.p-toast-message-content {\n display: flex;\n align-items: flex-start;\n}\n.p-toast-message-text {\n flex: 1 1 auto;\n}\n.p-toast-top-right {\n top: 20px;\n right: 20px;\n}\n.p-toast-top-left {\n top: 20px;\n left: 20px;\n}\n.p-toast-bottom-left {\n bottom: 20px;\n left: 20px;\n}\n.p-toast-bottom-right {\n bottom: 20px;\n right: 20px;\n}\n.p-toast-top-center {\n top: 20px;\n left: 50%;\n transform: translateX(-50%);\n}\n.p-toast-bottom-center {\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n}\n.p-toast-center {\n left: 50%;\n top: 50%;\n min-width: 20vw;\n transform: translate(-50%, -50%);\n}\n.p-toast-icon-close {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n.p-toast-icon-close.p-link {\n cursor: pointer;\n}\n\n/* Animations */\n.p-toast-message-enter-from {\n opacity: 0;\n -webkit-transform: translateY(50%);\n -ms-transform: translateY(50%);\n transform: translateY(50%);\n}\n.p-toast-message-leave-from {\n max-height: 1000px;\n}\n.p-toast .p-toast-message.p-toast-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin-bottom: 0;\n overflow: hidden;\n}\n.p-toast-message-enter-active {\n -webkit-transition: transform 0.3s, opacity 0.3s;\n transition: transform 0.3s, opacity 0.3s;\n}\n.p-toast-message-leave-active {\n -webkit-transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin-bottom 0.3s;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin-bottom 0.3s;\n}\n"),L.render=function(e,t,s,o,n,i){const a=T("ToastMessage"),r=T("Portal");return d(),v(r,null,{default:k((()=>[g("div",f({ref:"container",class:i.containerClass},{...e.$attrs,...e.ptm("root")}),[w(E,{name:"p-toast-message",tag:"div",onEnter:i.onEnter,onLeave:i.onLeave},{default:k((()=>[(d(!0),h(y,null,$(n.messages,(o=>(d(),v(a,{key:o.id,message:o,templates:e.$slots,closeIcon:s.closeIcon,infoIcon:s.infoIcon,warnIcon:s.warnIcon,errorIcon:s.errorIcon,successIcon:s.successIcon,closeButtonProps:s.closeButtonProps,onClose:t[0]||(t[0]=e=>i.remove(e)),pt:e.pt},null,8,["message","templates","closeIcon","infoIcon","warnIcon","errorIcon","successIcon","closeButtonProps","pt"])))),128))])),_:1},8,["onEnter","onLeave"])],16)])),_:1})};export{L as default};
|
package/toast/toast.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
|
|
2
|
+
this.primevue.toast = (function (BaseComponent, Portal, ToastEventBus, utils, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
6
|
|
|
7
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
7
8
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
8
9
|
var ToastEventBus__default = /*#__PURE__*/_interopDefaultLegacy(ToastEventBus);
|
|
9
10
|
var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
@@ -15,6 +16,7 @@ this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, Exclam
|
|
|
15
16
|
|
|
16
17
|
var script$1 = {
|
|
17
18
|
name: 'ToastMessage',
|
|
19
|
+
extends: BaseComponent__default["default"],
|
|
18
20
|
emits: ['close'],
|
|
19
21
|
props: {
|
|
20
22
|
message: {
|
|
@@ -123,58 +125,53 @@ this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, Exclam
|
|
|
123
125
|
}
|
|
124
126
|
};
|
|
125
127
|
|
|
126
|
-
const _hoisted_1 =
|
|
127
|
-
const _hoisted_2 = { class: "p-toast-summary" };
|
|
128
|
-
const _hoisted_3 = { class: "p-toast-detail" };
|
|
129
|
-
const _hoisted_4 = { key: 2 };
|
|
130
|
-
const _hoisted_5 = ["aria-label"];
|
|
128
|
+
const _hoisted_1 = ["aria-label"];
|
|
131
129
|
|
|
132
130
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
133
131
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
134
132
|
|
|
135
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
136
|
-
class:
|
|
133
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
134
|
+
class: $options.containerClass,
|
|
137
135
|
role: "alert",
|
|
138
136
|
"aria-live": "assertive",
|
|
139
137
|
"aria-atomic": "true"
|
|
140
|
-
}, [
|
|
141
|
-
vue.createElementVNode("div", {
|
|
142
|
-
class:
|
|
143
|
-
}, [
|
|
138
|
+
}, _ctx.ptm('container')), [
|
|
139
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
140
|
+
class: ["p-toast-message-content", $props.message.contentStyleClass]
|
|
141
|
+
}, _ctx.ptm('content')), [
|
|
144
142
|
(!$props.templates.message)
|
|
145
143
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
146
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.icon ? $props.templates.icon : $options.iconComponent.name ? $options.iconComponent : 'span'), {
|
|
147
|
-
class:
|
|
148
|
-
}, null,
|
|
149
|
-
vue.createElementVNode("div",
|
|
150
|
-
vue.createElementVNode("span",
|
|
151
|
-
vue.createElementVNode("div",
|
|
152
|
-
])
|
|
144
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.icon ? $props.templates.icon : $options.iconComponent.name ? $options.iconComponent : 'span'), vue.mergeProps({
|
|
145
|
+
class: [$options.iconClass, "p-toast-message-icon"]
|
|
146
|
+
}, _ctx.ptm('icon')), null, 16, ["class"])),
|
|
147
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-toast-message-text" }, _ctx.ptm('text')), [
|
|
148
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-toast-summary" }, _ctx.ptm('summary')), vue.toDisplayString($props.message.summary), 17),
|
|
149
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-toast-detail" }, _ctx.ptm('detail')), vue.toDisplayString($props.message.detail), 17)
|
|
150
|
+
], 16)
|
|
153
151
|
], 64))
|
|
154
152
|
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.message), {
|
|
155
153
|
key: 1,
|
|
156
154
|
message: $props.message
|
|
157
155
|
}, null, 8, ["message"])),
|
|
158
|
-
vue.createTextVNode(vue.toDisplayString($props.message.closable) + " ", 1),
|
|
159
156
|
($props.message.closable !== false)
|
|
160
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
157
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 2 }, _ctx.ptm('buttonContainer'))), [
|
|
161
158
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
162
159
|
class: "p-toast-icon-close p-link",
|
|
163
160
|
type: "button",
|
|
164
161
|
"aria-label": $options.closeAriaLabel,
|
|
165
162
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.onCloseClick && $options.onCloseClick(...args))),
|
|
166
163
|
autofocus: ""
|
|
167
|
-
},
|
|
168
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.closeicon || 'TimesIcon'), {
|
|
169
|
-
class:
|
|
170
|
-
}, null,
|
|
171
|
-
], 16,
|
|
164
|
+
}, { ...$props.closeButtonProps, ..._ctx.ptm('button') }), [
|
|
165
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.closeicon || 'TimesIcon'), vue.mergeProps({
|
|
166
|
+
class: ['p-toast-icon-close-icon', $props.closeIcon]
|
|
167
|
+
}, _ctx.ptm('buttonIcon')), null, 16, ["class"]))
|
|
168
|
+
], 16, _hoisted_1)), [
|
|
172
169
|
[_directive_ripple]
|
|
173
170
|
])
|
|
174
|
-
]))
|
|
171
|
+
], 16))
|
|
175
172
|
: vue.createCommentVNode("", true)
|
|
176
|
-
],
|
|
177
|
-
],
|
|
173
|
+
], 16)
|
|
174
|
+
], 16))
|
|
178
175
|
}
|
|
179
176
|
|
|
180
177
|
script$1.render = render$1;
|
|
@@ -183,6 +180,7 @@ this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, Exclam
|
|
|
183
180
|
|
|
184
181
|
var script = {
|
|
185
182
|
name: 'Toast',
|
|
183
|
+
extends: BaseComponent__default["default"],
|
|
186
184
|
inheritAttrs: false,
|
|
187
185
|
emits: ['close', 'life-end'],
|
|
188
186
|
props: {
|
|
@@ -368,7 +366,7 @@ this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, Exclam
|
|
|
368
366
|
vue.createElementVNode("div", vue.mergeProps({
|
|
369
367
|
ref: "container",
|
|
370
368
|
class: $options.containerClass
|
|
371
|
-
}, _ctx.$attrs), [
|
|
369
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
372
370
|
vue.createVNode(vue.TransitionGroup, {
|
|
373
371
|
name: "p-toast-message",
|
|
374
372
|
tag: "div",
|
|
@@ -387,8 +385,9 @@ this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, Exclam
|
|
|
387
385
|
errorIcon: $props.errorIcon,
|
|
388
386
|
successIcon: $props.successIcon,
|
|
389
387
|
closeButtonProps: $props.closeButtonProps,
|
|
390
|
-
onClose: _cache[0] || (_cache[0] = $event => ($options.remove($event)))
|
|
391
|
-
|
|
388
|
+
onClose: _cache[0] || (_cache[0] = $event => ($options.remove($event))),
|
|
389
|
+
pt: _ctx.pt
|
|
390
|
+
}, null, 8, ["message", "templates", "closeIcon", "infoIcon", "warnIcon", "errorIcon", "successIcon", "closeButtonProps", "pt"]))
|
|
392
391
|
}), 128))
|
|
393
392
|
]),
|
|
394
393
|
_: 1
|
|
@@ -433,4 +432,4 @@ this.primevue.toast = (function (Portal, ToastEventBus, utils, CheckIcon, Exclam
|
|
|
433
432
|
|
|
434
433
|
return script;
|
|
435
434
|
|
|
436
|
-
})(primevue.portal, primevue.toasteventbus, primevue.utils, primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.times, primevue.icons.timescircle, primevue.ripple, Vue);
|
|
435
|
+
})(primevue.basecomponent, primevue.portal, primevue.toasteventbus, primevue.utils, primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.times, primevue.icons.timescircle, primevue.ripple, Vue);
|
package/toast/toast.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.toast=function(e,t,s,o,n,a,i,l,r,c){"use strict";function
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.toast=function(e,t,s,o,n,a,i,l,r,c,m){"use strict";function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=p(e),d=p(t),f=p(s),h=p(n),g=p(a),v=p(i),y=p(l),I=p(r),b=p(c),x={name:"ToastMessage",extends:u.default,emits:["close"],props:{message:{type:null,default:null},templates:{type:Object,default:null},closeIcon:{type:String,default:null},infoIcon:{type:String,default:null},warnIcon:{type:String,default:null},errorIcon:{type:String,default:null},successIcon:{type:String,default:null},closeButtonProps:{type:null,default:null}},closeTimeout:null,mounted(){this.message.life&&(this.closeTimeout=setTimeout((()=>{this.close({message:this.message,type:"life-end"})}),this.message.life))},beforeUnmount(){this.clearCloseTimeout()},methods:{close(e){this.$emit("close",e)},onCloseClick(){this.clearCloseTimeout(),this.close({message:this.message,type:"close"})},clearCloseTimeout(){this.closeTimeout&&(clearTimeout(this.closeTimeout),this.closeTimeout=null)}},computed:{containerClass(){return["p-toast-message",this.message.styleClass,{"p-toast-message-info":"info"===this.message.severity,"p-toast-message-warn":"warn"===this.message.severity,"p-toast-message-error":"error"===this.message.severity,"p-toast-message-success":"success"===this.message.severity}]},iconComponent(){return{info:!this.infoIcon&&v.default,success:!this.successIcon&&h.default,warn:!this.warnIcon&&g.default,error:!this.errorIcon&&I.default}[this.message.severity]},iconClass(){return[{[this.infoIcon]:"info"===this.message.severity,[this.warnIcon]:"warn"===this.message.severity,[this.errorIcon]:"error"===this.message.severity,[this.successIcon]:"success"===this.message.severity}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{TimesIcon:y.default,InfoCircleIcon:v.default,CheckIcon:h.default,ExclamationTriangleIcon:g.default,TimesCircleIcon:I.default},directives:{ripple:b.default}};const k=["aria-label"];x.render=function(e,t,s,o,n,a){const i=m.resolveDirective("ripple");return m.openBlock(),m.createElementBlock("div",m.mergeProps({class:a.containerClass,role:"alert","aria-live":"assertive","aria-atomic":"true"},e.ptm("container")),[m.createElementVNode("div",m.mergeProps({class:["p-toast-message-content",s.message.contentStyleClass]},e.ptm("content")),[s.templates.message?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s.templates.message),{key:1,message:s.message},null,8,["message"])):(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s.templates.icon?s.templates.icon:a.iconComponent.name?a.iconComponent:"span"),m.mergeProps({class:[a.iconClass,"p-toast-message-icon"]},e.ptm("icon")),null,16,["class"])),m.createElementVNode("div",m.mergeProps({class:"p-toast-message-text"},e.ptm("text")),[m.createElementVNode("span",m.mergeProps({class:"p-toast-summary"},e.ptm("summary")),m.toDisplayString(s.message.summary),17),m.createElementVNode("div",m.mergeProps({class:"p-toast-detail"},e.ptm("detail")),m.toDisplayString(s.message.detail),17)],16)],64)),!1!==s.message.closable?(m.openBlock(),m.createElementBlock("div",m.normalizeProps(m.mergeProps({key:2},e.ptm("buttonContainer"))),[m.withDirectives((m.openBlock(),m.createElementBlock("button",m.mergeProps({class:"p-toast-icon-close p-link",type:"button","aria-label":a.closeAriaLabel,onClick:t[0]||(t[0]=(...e)=>a.onCloseClick&&a.onCloseClick(...e)),autofocus:""},{...s.closeButtonProps,...e.ptm("button")}),[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s.templates.closeicon||"TimesIcon"),m.mergeProps({class:["p-toast-icon-close-icon",s.closeIcon]},e.ptm("buttonIcon")),null,16,["class"]))],16,k)),[[i]])],16)):m.createCommentVNode("",!0)],16)],16)};var C=0,B={name:"Toast",extends:u.default,inheritAttrs:!1,emits:["close","life-end"],props:{group:{type:String,default:null},position:{type:String,default:"top-right"},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},breakpoints:{type:Object,default:null},closeIcon:{type:String,default:void 0},infoIcon:{type:String,default:void 0},warnIcon:{type:String,default:void 0},errorIcon:{type:String,default:void 0},successIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null}},data:()=>({messages:[]}),styleElement:null,mounted(){f.default.on("add",this.onAdd),f.default.on("remove-group",this.onRemoveGroup),f.default.on("remove-all-groups",this.onRemoveAllGroups),this.breakpoints&&this.createStyle()},beforeUnmount(){this.destroyStyle(),this.$refs.container&&this.autoZIndex&&o.ZIndexUtils.clear(this.$refs.container),f.default.off("add",this.onAdd),f.default.off("remove-group",this.onRemoveGroup),f.default.off("remove-all-groups",this.onRemoveAllGroups)},methods:{add(e){null==e.id&&(e.id=C++),this.messages=[...this.messages,e]},remove(e){let t=-1;for(let s=0;s<this.messages.length;s++)if(this.messages[s]===e.message){t=s;break}this.messages.splice(t,1),this.$emit(e.type,{message:e.message})},onAdd(e){this.group==e.group&&this.add(e)},onRemoveGroup(e){this.group===e&&(this.messages=[])},onRemoveAllGroups(){this.messages=[]},onEnter(){this.$refs.container.setAttribute(this.attributeSelector,""),this.autoZIndex&&o.ZIndexUtils.set("modal",this.$refs.container,this.baseZIndex||this.$primevue.config.zIndex.modal)},onLeave(){this.$refs.container&&this.autoZIndex&&o.ObjectUtils.isEmpty(this.messages)&&setTimeout((()=>{o.ZIndexUtils.clear(this.$refs.container)}),200)},createStyle(){if(!this.styleElement){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let e="";for(let t in this.breakpoints){let s="";for(let e in this.breakpoints[t])s+=e+":"+this.breakpoints[t][e]+"!important;";e+=`\n @media screen and (max-width: ${t}) {\n .p-toast[${this.attributeSelector}] {\n ${s}\n }\n }\n `}this.styleElement.innerHTML=e}},destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}},computed:{containerClass(){return["p-toast p-component p-toast-"+this.position,{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},attributeSelector:()=>o.UniqueComponentId()},components:{ToastMessage:x,Portal:d.default}};return function(e,t){void 0===t&&(t={});var s=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===s&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}("\n.p-toast {\n position: fixed;\n width: 25rem;\n}\n.p-toast-message-content {\n display: flex;\n align-items: flex-start;\n}\n.p-toast-message-text {\n flex: 1 1 auto;\n}\n.p-toast-top-right {\n top: 20px;\n right: 20px;\n}\n.p-toast-top-left {\n top: 20px;\n left: 20px;\n}\n.p-toast-bottom-left {\n bottom: 20px;\n left: 20px;\n}\n.p-toast-bottom-right {\n bottom: 20px;\n right: 20px;\n}\n.p-toast-top-center {\n top: 20px;\n left: 50%;\n transform: translateX(-50%);\n}\n.p-toast-bottom-center {\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n}\n.p-toast-center {\n left: 50%;\n top: 50%;\n min-width: 20vw;\n transform: translate(-50%, -50%);\n}\n.p-toast-icon-close {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n.p-toast-icon-close.p-link {\n cursor: pointer;\n}\n\n/* Animations */\n.p-toast-message-enter-from {\n opacity: 0;\n -webkit-transform: translateY(50%);\n -ms-transform: translateY(50%);\n transform: translateY(50%);\n}\n.p-toast-message-leave-from {\n max-height: 1000px;\n}\n.p-toast .p-toast-message.p-toast-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin-bottom: 0;\n overflow: hidden;\n}\n.p-toast-message-enter-active {\n -webkit-transition: transform 0.3s, opacity 0.3s;\n transition: transform 0.3s, opacity 0.3s;\n}\n.p-toast-message-leave-active {\n -webkit-transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin-bottom 0.3s;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), opacity 0.3s, margin-bottom 0.3s;\n}\n"),B.render=function(e,t,s,o,n,a){const i=m.resolveComponent("ToastMessage"),l=m.resolveComponent("Portal");return m.openBlock(),m.createBlock(l,null,{default:m.withCtx((()=>[m.createElementVNode("div",m.mergeProps({ref:"container",class:a.containerClass},{...e.$attrs,...e.ptm("root")}),[m.createVNode(m.TransitionGroup,{name:"p-toast-message",tag:"div",onEnter:a.onEnter,onLeave:a.onLeave},{default:m.withCtx((()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(n.messages,(o=>(m.openBlock(),m.createBlock(i,{key:o.id,message:o,templates:e.$slots,closeIcon:s.closeIcon,infoIcon:s.infoIcon,warnIcon:s.warnIcon,errorIcon:s.errorIcon,successIcon:s.successIcon,closeButtonProps:s.closeButtonProps,onClose:t[0]||(t[0]=e=>a.remove(e)),pt:e.pt},null,8,["message","templates","closeIcon","infoIcon","warnIcon","errorIcon","successIcon","closeButtonProps","pt"])))),128))])),_:1},8,["onEnter","onLeave"])],16)])),_:1})},B}(primevue.basecomponent,primevue.portal,primevue.toasteventbus,primevue.utils,primevue.icons.check,primevue.icons.exclamationtriangle,primevue.icons.infocircle,primevue.icons.times,primevue.icons.timescircle,primevue.ripple,Vue);
|
|
@@ -148,12 +148,11 @@ export interface TreeSelectSlots {
|
|
|
148
148
|
empty(): VNode[];
|
|
149
149
|
/**
|
|
150
150
|
* Custom indicator template.
|
|
151
|
-
* @deprecated since v3.27.0. Use '
|
|
151
|
+
* @deprecated since v3.27.0. Use 'triggericon' slot.
|
|
152
152
|
*/
|
|
153
153
|
indicator(): VNode[];
|
|
154
154
|
/**
|
|
155
155
|
* Custom indicator template.
|
|
156
|
-
* @deprecated since v3.27.0. Use 'checkboxicon' slot.
|
|
157
156
|
*/
|
|
158
157
|
triggericon(): VNode[];
|
|
159
158
|
/**
|
package/vetur-attributes.json
CHANGED
|
@@ -259,6 +259,34 @@
|
|
|
259
259
|
"description": "Shape of the element, valid options are \"square\" and \"circle\".",
|
|
260
260
|
"type": "string"
|
|
261
261
|
},
|
|
262
|
+
"avatar/pt": {
|
|
263
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
264
|
+
"type": "any"
|
|
265
|
+
},
|
|
266
|
+
"avatargroup/label": {
|
|
267
|
+
"description": "Defines the text to display.",
|
|
268
|
+
"type": "string"
|
|
269
|
+
},
|
|
270
|
+
"avatargroup/icon": {
|
|
271
|
+
"description": "Defines the icon to display.",
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"avatargroup/image": {
|
|
275
|
+
"description": "Defines the image to display.",
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
"avatargroup/size": {
|
|
279
|
+
"description": "Size of the element, valid options are \"large\" and \"xlarge\".",
|
|
280
|
+
"type": "string"
|
|
281
|
+
},
|
|
282
|
+
"avatargroup/shape": {
|
|
283
|
+
"description": "Shape of the element, valid options are \"square\" and \"circle\".",
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"avatargroup/pt": {
|
|
287
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
288
|
+
"type": "any"
|
|
289
|
+
},
|
|
262
290
|
"badge/value": {
|
|
263
291
|
"description": "Value to display inside the badge.",
|
|
264
292
|
"type": "string | number"
|
|
@@ -271,6 +299,10 @@
|
|
|
271
299
|
"description": "Size of the badge, valid options are \"large\" and \"xlarge\".",
|
|
272
300
|
"type": "string"
|
|
273
301
|
},
|
|
302
|
+
"badge/pt": {
|
|
303
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
304
|
+
"type": "any"
|
|
305
|
+
},
|
|
274
306
|
"blockui/blocked": {
|
|
275
307
|
"description": "Controls the blocked state.",
|
|
276
308
|
"type": "array"
|
|
@@ -287,6 +319,10 @@
|
|
|
287
319
|
"description": "Whether to automatically manage layering.",
|
|
288
320
|
"type": "boolean"
|
|
289
321
|
},
|
|
322
|
+
"blockui/pt": {
|
|
323
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
324
|
+
"type": "any"
|
|
325
|
+
},
|
|
290
326
|
"breadcrumb/model": {
|
|
291
327
|
"description": "An array of menuitems.",
|
|
292
328
|
"type": "array"
|
|
@@ -299,6 +335,10 @@
|
|
|
299
335
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
300
336
|
"type": "boolean"
|
|
301
337
|
},
|
|
338
|
+
"breadcrumb/pt": {
|
|
339
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
340
|
+
"type": "any"
|
|
341
|
+
},
|
|
302
342
|
"button/label": {
|
|
303
343
|
"description": "Text of the button.",
|
|
304
344
|
"type": "string"
|
|
@@ -363,6 +403,10 @@
|
|
|
363
403
|
"description": "Add a plain textual class to the button without a background initially.",
|
|
364
404
|
"type": "boolean"
|
|
365
405
|
},
|
|
406
|
+
"button/pt": {
|
|
407
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
408
|
+
"type": "any"
|
|
409
|
+
},
|
|
366
410
|
"calendar/modelValue": {
|
|
367
411
|
"description": "Value of the component.",
|
|
368
412
|
"type": "any"
|
|
@@ -775,6 +819,10 @@
|
|
|
775
819
|
"description": "Height of the chart in non-responsive mode.",
|
|
776
820
|
"type": "number"
|
|
777
821
|
},
|
|
822
|
+
"chart/pt": {
|
|
823
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
824
|
+
"type": "any"
|
|
825
|
+
},
|
|
778
826
|
"checkbox/value": {
|
|
779
827
|
"description": "Value of the checkbox.",
|
|
780
828
|
"type": "any"
|
|
@@ -855,6 +903,10 @@
|
|
|
855
903
|
"description": "Icon of the remove element.",
|
|
856
904
|
"type": "string"
|
|
857
905
|
},
|
|
906
|
+
"chip/pt": {
|
|
907
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
908
|
+
"type": "any"
|
|
909
|
+
},
|
|
858
910
|
"chips/modelValue": {
|
|
859
911
|
"description": "Value of the component.",
|
|
860
912
|
"type": "array"
|
|
@@ -1127,10 +1179,18 @@
|
|
|
1127
1179
|
"description": "Whether the dialog can be relocated by dragging.",
|
|
1128
1180
|
"type": "boolean"
|
|
1129
1181
|
},
|
|
1182
|
+
"confirmdialog/pt": {
|
|
1183
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
1184
|
+
"type": "any"
|
|
1185
|
+
},
|
|
1130
1186
|
"confirmpopup/group": {
|
|
1131
1187
|
"description": "Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.",
|
|
1132
1188
|
"type": "string"
|
|
1133
1189
|
},
|
|
1190
|
+
"confirmpopup/pt": {
|
|
1191
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
1192
|
+
"type": "any"
|
|
1193
|
+
},
|
|
1134
1194
|
"contextmenu/model": {
|
|
1135
1195
|
"description": "An array of menuitems.",
|
|
1136
1196
|
"type": "array"
|
|
@@ -1155,6 +1215,10 @@
|
|
|
1155
1215
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
1156
1216
|
"type": "boolean"
|
|
1157
1217
|
},
|
|
1218
|
+
"contextmenu/pt": {
|
|
1219
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
1220
|
+
"type": "any"
|
|
1221
|
+
},
|
|
1158
1222
|
"datatable/value": {
|
|
1159
1223
|
"description": "An array of objects to display.",
|
|
1160
1224
|
"type": "array"
|
|
@@ -1567,6 +1631,10 @@
|
|
|
1567
1631
|
"description": "A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are \"body\" for document body and \"self\" for the element itself.",
|
|
1568
1632
|
"type": "string"
|
|
1569
1633
|
},
|
|
1634
|
+
"dialog/pt": {
|
|
1635
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
1636
|
+
"type": "any"
|
|
1637
|
+
},
|
|
1570
1638
|
"divider/align": {
|
|
1571
1639
|
"description": "Alignment of the content, options are \"left\", \"center\", \"right\" for horizontal layout and \"top\", \"center\", \"bottom\" for vertical.",
|
|
1572
1640
|
"type": "string"
|
|
@@ -1607,6 +1675,10 @@
|
|
|
1607
1675
|
"description": "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'.",
|
|
1608
1676
|
"type": "object"
|
|
1609
1677
|
},
|
|
1678
|
+
"dock/pt": {
|
|
1679
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
1680
|
+
"type": "any"
|
|
1681
|
+
},
|
|
1610
1682
|
"dropdown/modelValue": {
|
|
1611
1683
|
"description": "Value of the component.",
|
|
1612
1684
|
"type": "any"
|
|
@@ -1919,6 +1991,10 @@
|
|
|
1919
1991
|
"description": "Style class of the component.",
|
|
1920
1992
|
"type": "string"
|
|
1921
1993
|
},
|
|
1994
|
+
"fileupload/pt": {
|
|
1995
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
1996
|
+
"type": "any"
|
|
1997
|
+
},
|
|
1922
1998
|
"galleria/id": {
|
|
1923
1999
|
"description": "Unique identifier of the element.",
|
|
1924
2000
|
"type": "string"
|
|
@@ -2031,6 +2107,10 @@
|
|
|
2031
2107
|
"description": "Display a custom icon for the message.",
|
|
2032
2108
|
"type": "string"
|
|
2033
2109
|
},
|
|
2110
|
+
"inlinemessage/pt": {
|
|
2111
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2112
|
+
"type": "any"
|
|
2113
|
+
},
|
|
2034
2114
|
"inplace/active": {
|
|
2035
2115
|
"description": "Whether the content is displayed or not.",
|
|
2036
2116
|
"type": "boolean"
|
|
@@ -2043,6 +2123,10 @@
|
|
|
2043
2123
|
"description": "When present, it specifies that the element should be disabled.",
|
|
2044
2124
|
"type": "boolean"
|
|
2045
2125
|
},
|
|
2126
|
+
"inplace/pt": {
|
|
2127
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2128
|
+
"type": "any"
|
|
2129
|
+
},
|
|
2046
2130
|
"inputmask/modelValue": {
|
|
2047
2131
|
"description": "Value of the component.",
|
|
2048
2132
|
"type": "any"
|
|
@@ -2407,6 +2491,10 @@
|
|
|
2407
2491
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
2408
2492
|
"type": "boolean"
|
|
2409
2493
|
},
|
|
2494
|
+
"megamenu/pt": {
|
|
2495
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2496
|
+
"type": "any"
|
|
2497
|
+
},
|
|
2410
2498
|
"menu/modelValue": {
|
|
2411
2499
|
"description": "An array of menuitems.",
|
|
2412
2500
|
"type": "array"
|
|
@@ -2431,6 +2519,10 @@
|
|
|
2431
2519
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
2432
2520
|
"type": "boolean"
|
|
2433
2521
|
},
|
|
2522
|
+
"menu/pt": {
|
|
2523
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2524
|
+
"type": "any"
|
|
2525
|
+
},
|
|
2434
2526
|
"menubar/modelValue": {
|
|
2435
2527
|
"description": "An array of menuitems.",
|
|
2436
2528
|
"type": "array"
|
|
@@ -2439,6 +2531,10 @@
|
|
|
2439
2531
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
2440
2532
|
"type": "boolean"
|
|
2441
2533
|
},
|
|
2534
|
+
"menubar/pt": {
|
|
2535
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2536
|
+
"type": "any"
|
|
2537
|
+
},
|
|
2442
2538
|
"message/severity": {
|
|
2443
2539
|
"description": "Severity level of the message. Valid severities are \"success\", \"info\", \"warn\" and \"error\".",
|
|
2444
2540
|
"type": "string"
|
|
@@ -2463,6 +2559,10 @@
|
|
|
2463
2559
|
"description": "Display a custom close icon for the message.",
|
|
2464
2560
|
"type": "string"
|
|
2465
2561
|
},
|
|
2562
|
+
"message/pt": {
|
|
2563
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2564
|
+
"type": "any"
|
|
2565
|
+
},
|
|
2466
2566
|
"multiselect/modelValue": {
|
|
2467
2567
|
"description": "Value of the component.",
|
|
2468
2568
|
"type": "any"
|
|
@@ -2743,6 +2843,10 @@
|
|
|
2743
2843
|
"description": "Display a custom close icon for the message.",
|
|
2744
2844
|
"type": "string"
|
|
2745
2845
|
},
|
|
2846
|
+
"overlaypanel/pt": {
|
|
2847
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2848
|
+
"type": "any"
|
|
2849
|
+
},
|
|
2746
2850
|
"paginator/totalRecords": {
|
|
2747
2851
|
"description": "Number of total records.",
|
|
2748
2852
|
"type": "number"
|
|
@@ -2807,6 +2911,10 @@
|
|
|
2807
2911
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
2808
2912
|
"type": "boolean"
|
|
2809
2913
|
},
|
|
2914
|
+
"panelmenu/pt": {
|
|
2915
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
2916
|
+
"type": "any"
|
|
2917
|
+
},
|
|
2810
2918
|
"password/modelValue": {
|
|
2811
2919
|
"description": "Value of the component.",
|
|
2812
2920
|
"type": "any"
|
|
@@ -2955,6 +3063,10 @@
|
|
|
2955
3063
|
"description": "Whether to display the progress bar value.",
|
|
2956
3064
|
"type": "boolean"
|
|
2957
3065
|
},
|
|
3066
|
+
"progressbar/pt": {
|
|
3067
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3068
|
+
"type": "any"
|
|
3069
|
+
},
|
|
2958
3070
|
"progressspinner/strokeWidth": {
|
|
2959
3071
|
"description": "Width of the circle stroke.",
|
|
2960
3072
|
"type": "string"
|
|
@@ -2967,6 +3079,10 @@
|
|
|
2967
3079
|
"description": "Duration of the rotate animation.",
|
|
2968
3080
|
"type": "string"
|
|
2969
3081
|
},
|
|
3082
|
+
"progressspinner/pt": {
|
|
3083
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3084
|
+
"type": "any"
|
|
3085
|
+
},
|
|
2970
3086
|
"radiobutton/value": {
|
|
2971
3087
|
"description": "Value of the checkbox.",
|
|
2972
3088
|
"type": "any"
|
|
@@ -3063,6 +3179,10 @@
|
|
|
3063
3179
|
"description": "Defines the scrolling behavi, \"smooth\" adds an animation and \"auto\" scrolls with a jump.",
|
|
3064
3180
|
"type": "string"
|
|
3065
3181
|
},
|
|
3182
|
+
"scrolltop/pt": {
|
|
3183
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3184
|
+
"type": "any"
|
|
3185
|
+
},
|
|
3066
3186
|
"selectbutton/modelValue": {
|
|
3067
3187
|
"description": "Value of the component.",
|
|
3068
3188
|
"type": "any"
|
|
@@ -3143,6 +3263,10 @@
|
|
|
3143
3263
|
"description": "Icon to display in the sidebar close button.",
|
|
3144
3264
|
"type": "string"
|
|
3145
3265
|
},
|
|
3266
|
+
"sidebar/pt": {
|
|
3267
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3268
|
+
"type": "any"
|
|
3269
|
+
},
|
|
3146
3270
|
"skeleton/shape": {
|
|
3147
3271
|
"description": "Shape of the element, options are \"rectangle\" and \"circle\".",
|
|
3148
3272
|
"type": "string"
|
|
@@ -3167,6 +3291,10 @@
|
|
|
3167
3291
|
"description": "Type of the animation, valid options are \"wave\" and \"none\".",
|
|
3168
3292
|
"type": "string"
|
|
3169
3293
|
},
|
|
3294
|
+
"skeleton/pt": {
|
|
3295
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3296
|
+
"type": "any"
|
|
3297
|
+
},
|
|
3170
3298
|
"slider/modelValue": {
|
|
3171
3299
|
"description": "Value of the component.",
|
|
3172
3300
|
"type": "number"
|
|
@@ -3279,6 +3407,10 @@
|
|
|
3279
3407
|
"description": "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'.",
|
|
3280
3408
|
"type": "object"
|
|
3281
3409
|
},
|
|
3410
|
+
"speeddial/pt": {
|
|
3411
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3412
|
+
"type": "any"
|
|
3413
|
+
},
|
|
3282
3414
|
"splitbutton/label": {
|
|
3283
3415
|
"description": "Text of the button.",
|
|
3284
3416
|
"type": "string"
|
|
@@ -3347,6 +3479,10 @@
|
|
|
3347
3479
|
"description": "Add a plain textual class to the button without a background initially.",
|
|
3348
3480
|
"type": "boolean"
|
|
3349
3481
|
},
|
|
3482
|
+
"splitbutton/pt": {
|
|
3483
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3484
|
+
"type": "any"
|
|
3485
|
+
},
|
|
3350
3486
|
"splitter/layout": {
|
|
3351
3487
|
"description": "Orientation of the panels, valid values are \"horizontal\" and \"vertical\".",
|
|
3352
3488
|
"type": "string"
|
|
@@ -3399,6 +3535,10 @@
|
|
|
3399
3535
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
3400
3536
|
"type": "boolean"
|
|
3401
3537
|
},
|
|
3538
|
+
"steps/pt": {
|
|
3539
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3540
|
+
"type": "any"
|
|
3541
|
+
},
|
|
3402
3542
|
"tabmenu/model": {
|
|
3403
3543
|
"description": "An array of menuitems.",
|
|
3404
3544
|
"type": "array"
|
|
@@ -3411,6 +3551,10 @@
|
|
|
3411
3551
|
"description": "Active index of menuitem.",
|
|
3412
3552
|
"type": "number"
|
|
3413
3553
|
},
|
|
3554
|
+
"tabmenu/pt": {
|
|
3555
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3556
|
+
"type": "any"
|
|
3557
|
+
},
|
|
3414
3558
|
"tabpanel/header": {
|
|
3415
3559
|
"description": "Orientation of tab headers.",
|
|
3416
3560
|
"type": "string"
|
|
@@ -3507,6 +3651,10 @@
|
|
|
3507
3651
|
"description": "Icon of the tag to display next to the value.",
|
|
3508
3652
|
"type": "string"
|
|
3509
3653
|
},
|
|
3654
|
+
"tag/pt": {
|
|
3655
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3656
|
+
"type": "any"
|
|
3657
|
+
},
|
|
3510
3658
|
"terminal/welcomeMessage": {
|
|
3511
3659
|
"description": "Initial text to display on terminal.",
|
|
3512
3660
|
"type": "string"
|
|
@@ -3515,6 +3663,10 @@
|
|
|
3515
3663
|
"description": "Prompt text for each command.",
|
|
3516
3664
|
"type": "string"
|
|
3517
3665
|
},
|
|
3666
|
+
"terminal/pt": {
|
|
3667
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3668
|
+
"type": "any"
|
|
3669
|
+
},
|
|
3518
3670
|
"textarea/modelValue": {
|
|
3519
3671
|
"description": "Value of the component.",
|
|
3520
3672
|
"type": "any"
|
|
@@ -3547,6 +3699,10 @@
|
|
|
3547
3699
|
"description": "Whether to apply 'router-link-active-exact' class if route exactly matches the item path.",
|
|
3548
3700
|
"type": "boolean"
|
|
3549
3701
|
},
|
|
3702
|
+
"tieredmenu/pt": {
|
|
3703
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3704
|
+
"type": "any"
|
|
3705
|
+
},
|
|
3550
3706
|
"timeline/value": {
|
|
3551
3707
|
"description": "An array of events to display.",
|
|
3552
3708
|
"type": "array"
|
|
@@ -3583,6 +3739,10 @@
|
|
|
3583
3739
|
"description": "Object literal to define widths per screen size.",
|
|
3584
3740
|
"type": "object"
|
|
3585
3741
|
},
|
|
3742
|
+
"toast/pt": {
|
|
3743
|
+
"description": "Uses to pass attributes to DOM elements inside the component.",
|
|
3744
|
+
"type": "any"
|
|
3745
|
+
},
|
|
3586
3746
|
"togglebutton/modelValue": {
|
|
3587
3747
|
"description": "Value of the component.",
|
|
3588
3748
|
"type": "any"
|