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/core/core.js
CHANGED
|
@@ -1705,7 +1705,8 @@ this.primevue.config = (function (exports, api, vue) {
|
|
|
1705
1705
|
overlay: 1000,
|
|
1706
1706
|
menu: 1000,
|
|
1707
1707
|
tooltip: 1100
|
|
1708
|
-
}
|
|
1708
|
+
},
|
|
1709
|
+
pt: undefined
|
|
1709
1710
|
};
|
|
1710
1711
|
|
|
1711
1712
|
const PrimeVueSymbol = Symbol();
|
|
@@ -1752,6 +1753,7 @@ this.primevue.config = (function (exports, api, vue) {
|
|
|
1752
1753
|
};
|
|
1753
1754
|
|
|
1754
1755
|
exports["default"] = PrimeVue;
|
|
1756
|
+
exports.defaultOptions = defaultOptions;
|
|
1755
1757
|
exports.usePrimeVue = usePrimeVue;
|
|
1756
1758
|
|
|
1757
1759
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -1920,7 +1922,7 @@ this.primevue.basecomponent = (function (utils) {
|
|
|
1920
1922
|
props: {
|
|
1921
1923
|
pt: {
|
|
1922
1924
|
type: Object,
|
|
1923
|
-
|
|
1925
|
+
default: undefined
|
|
1924
1926
|
}
|
|
1925
1927
|
},
|
|
1926
1928
|
methods: {
|
|
@@ -1929,11 +1931,18 @@ this.primevue.basecomponent = (function (utils) {
|
|
|
1929
1931
|
|
|
1930
1932
|
return obj[Object.keys(obj).find((k) => utils.ObjectUtils.convertToFlatCase(k) === fKey) || ''];
|
|
1931
1933
|
},
|
|
1934
|
+
getPTValue(obj = {}, key = '', params = {}) {
|
|
1935
|
+
const self = utils.ObjectUtils.getItemValue(this.getPTItem(obj, key), params);
|
|
1936
|
+
const globalComponentPT = this.getPTItem(this.$primevue.config.pt, this.$.type.name);
|
|
1937
|
+
const global = utils.ObjectUtils.getItemValue(this.getPTItem(globalComponentPT, key), params);
|
|
1938
|
+
|
|
1939
|
+
return { ...global, ...self };
|
|
1940
|
+
},
|
|
1932
1941
|
ptm(key = '', params = {}) {
|
|
1933
|
-
return
|
|
1942
|
+
return this.getPTValue(this.pt, key, { props: this.$props, state: this.$data, ...params });
|
|
1934
1943
|
},
|
|
1935
1944
|
ptmo(obj = {}, key = '', params = {}) {
|
|
1936
|
-
return
|
|
1945
|
+
return this.getPTValue(obj, key, params);
|
|
1937
1946
|
}
|
|
1938
1947
|
}
|
|
1939
1948
|
};
|
|
@@ -1951,11 +1960,11 @@ this.primevue.baseicon = (function (utils) {
|
|
|
1951
1960
|
props: {
|
|
1952
1961
|
label: {
|
|
1953
1962
|
type: String,
|
|
1954
|
-
|
|
1963
|
+
default: undefined
|
|
1955
1964
|
},
|
|
1956
1965
|
spin: {
|
|
1957
1966
|
type: Boolean,
|
|
1958
|
-
|
|
1967
|
+
default: false
|
|
1959
1968
|
}
|
|
1960
1969
|
},
|
|
1961
1970
|
methods: {
|
|
@@ -5497,16 +5506,18 @@ this.primevue.usedialog = (function (exports, vue) {
|
|
|
5497
5506
|
})({}, Vue);
|
|
5498
5507
|
|
|
5499
5508
|
this.primevue = this.primevue || {};
|
|
5500
|
-
this.primevue.button = (function (SpinnerIcon, Ripple, vue) {
|
|
5509
|
+
this.primevue.button = (function (BaseComponent, SpinnerIcon, Ripple, vue) {
|
|
5501
5510
|
'use strict';
|
|
5502
5511
|
|
|
5503
5512
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
5504
5513
|
|
|
5514
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
5505
5515
|
var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
|
|
5506
5516
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
5507
5517
|
|
|
5508
5518
|
var script = {
|
|
5509
5519
|
name: 'Button',
|
|
5520
|
+
extends: BaseComponent__default["default"],
|
|
5510
5521
|
props: {
|
|
5511
5522
|
label: {
|
|
5512
5523
|
type: String,
|
|
@@ -5638,58 +5649,54 @@ this.primevue.button = (function (SpinnerIcon, Ripple, vue) {
|
|
|
5638
5649
|
};
|
|
5639
5650
|
|
|
5640
5651
|
const _hoisted_1 = ["aria-label", "disabled"];
|
|
5641
|
-
const _hoisted_2 = { class: "p-button-label" };
|
|
5642
5652
|
|
|
5643
5653
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5644
5654
|
const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
|
|
5645
5655
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
5646
5656
|
|
|
5647
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
5648
|
-
class:
|
|
5657
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
5658
|
+
class: $options.buttonClass,
|
|
5649
5659
|
type: "button",
|
|
5650
5660
|
"aria-label": $options.defaultAriaLabel,
|
|
5651
5661
|
disabled: $options.disabled
|
|
5652
|
-
}, [
|
|
5653
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
:
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
: vue.
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
], 64))
|
|
5691
|
-
: vue.createCommentVNode("", true)
|
|
5692
|
-
], 10, _hoisted_1)), [
|
|
5662
|
+
}, _ctx.ptm('root')), [
|
|
5663
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5664
|
+
($props.loading)
|
|
5665
|
+
? vue.renderSlot(_ctx.$slots, "loadingicon", {
|
|
5666
|
+
key: 0,
|
|
5667
|
+
class: vue.normalizeClass($options.loadingIconStyleClass)
|
|
5668
|
+
}, () => [
|
|
5669
|
+
($props.loadingIcon)
|
|
5670
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
5671
|
+
key: 0,
|
|
5672
|
+
class: [$options.loadingIconStyleClass, $props.loadingIcon]
|
|
5673
|
+
}, _ctx.ptm('loadingIcon')), null, 16))
|
|
5674
|
+
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, vue.mergeProps({
|
|
5675
|
+
key: 1,
|
|
5676
|
+
class: $options.loadingIconStyleClass,
|
|
5677
|
+
spin: ""
|
|
5678
|
+
}, _ctx.ptm('loadingIcon')), null, 16, ["class"]))
|
|
5679
|
+
])
|
|
5680
|
+
: vue.renderSlot(_ctx.$slots, "icon", {
|
|
5681
|
+
key: 1,
|
|
5682
|
+
class: vue.normalizeClass($options.iconStyleClass)
|
|
5683
|
+
}, () => [
|
|
5684
|
+
($props.icon)
|
|
5685
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
5686
|
+
key: 0,
|
|
5687
|
+
class: [$options.iconStyleClass, $props.icon]
|
|
5688
|
+
}, _ctx.ptm('icon')), null, 16))
|
|
5689
|
+
: vue.createCommentVNode("", true)
|
|
5690
|
+
]),
|
|
5691
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-button-label" }, _ctx.ptm('label')), vue.toDisplayString($props.label || ' '), 17),
|
|
5692
|
+
($props.badge)
|
|
5693
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
5694
|
+
key: 2,
|
|
5695
|
+
class: $options.badgeStyleClass
|
|
5696
|
+
}, _ctx.ptm('badge')), vue.toDisplayString($props.badge), 17))
|
|
5697
|
+
: vue.createCommentVNode("", true)
|
|
5698
|
+
])
|
|
5699
|
+
], 16, _hoisted_1)), [
|
|
5693
5700
|
[_directive_ripple]
|
|
5694
5701
|
])
|
|
5695
5702
|
}
|
|
@@ -5698,7 +5705,7 @@ this.primevue.button = (function (SpinnerIcon, Ripple, vue) {
|
|
|
5698
5705
|
|
|
5699
5706
|
return script;
|
|
5700
5707
|
|
|
5701
|
-
})(primevue.icons.spinner, primevue.ripple, Vue);
|
|
5708
|
+
})(primevue.basecomponent, primevue.icons.spinner, primevue.ripple, Vue);
|
|
5702
5709
|
|
|
5703
5710
|
this.primevue = this.primevue || {};
|
|
5704
5711
|
this.primevue.inputtext = (function (vue) {
|
|
@@ -6955,11 +6962,12 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6955
6962
|
})(primevue.button, primevue.icons.angledown, primevue.icons.angleup, primevue.inputtext, primevue.utils, Vue);
|
|
6956
6963
|
|
|
6957
6964
|
this.primevue = this.primevue || {};
|
|
6958
|
-
this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
|
|
6965
|
+
this.primevue.message = (function (BaseComponent, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
|
|
6959
6966
|
'use strict';
|
|
6960
6967
|
|
|
6961
6968
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6962
6969
|
|
|
6970
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
6963
6971
|
var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
6964
6972
|
var ExclamationTriangleIcon__default = /*#__PURE__*/_interopDefaultLegacy(ExclamationTriangleIcon);
|
|
6965
6973
|
var InfoCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(InfoCircleIcon);
|
|
@@ -6969,6 +6977,7 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
6969
6977
|
|
|
6970
6978
|
var script = {
|
|
6971
6979
|
name: 'Message',
|
|
6980
|
+
extends: BaseComponent__default["default"],
|
|
6972
6981
|
emits: ['close'],
|
|
6973
6982
|
props: {
|
|
6974
6983
|
severity: {
|
|
@@ -7050,9 +7059,7 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7050
7059
|
}
|
|
7051
7060
|
};
|
|
7052
7061
|
|
|
7053
|
-
const _hoisted_1 =
|
|
7054
|
-
const _hoisted_2 = { class: "p-message-text" };
|
|
7055
|
-
const _hoisted_3 = ["aria-label"];
|
|
7062
|
+
const _hoisted_1 = ["aria-label"];
|
|
7056
7063
|
|
|
7057
7064
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7058
7065
|
const _component_TimesIcon = vue.resolveComponent("TimesIcon");
|
|
@@ -7063,21 +7070,21 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7063
7070
|
appear: ""
|
|
7064
7071
|
}, {
|
|
7065
7072
|
default: vue.withCtx(() => [
|
|
7066
|
-
vue.withDirectives(vue.createElementVNode("div", {
|
|
7067
|
-
class:
|
|
7073
|
+
vue.withDirectives(vue.createElementVNode("div", vue.mergeProps({
|
|
7074
|
+
class: $options.containerClass,
|
|
7068
7075
|
role: "alert",
|
|
7069
7076
|
"aria-live": "assertive",
|
|
7070
7077
|
"aria-atomic": "true"
|
|
7071
|
-
}, [
|
|
7072
|
-
vue.createElementVNode("div",
|
|
7078
|
+
}, _ctx.ptm('root')), [
|
|
7079
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-message-wrapper" }, _ctx.ptm('wrapper')), [
|
|
7073
7080
|
vue.renderSlot(_ctx.$slots, "messageicon", { class: "p-message-icon" }, () => [
|
|
7074
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), {
|
|
7075
|
-
class:
|
|
7076
|
-
}, null,
|
|
7081
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), vue.mergeProps({
|
|
7082
|
+
class: ['p-message-icon', $props.icon]
|
|
7083
|
+
}, _ctx.ptm('icon')), null, 16, ["class"]))
|
|
7077
7084
|
]),
|
|
7078
|
-
vue.createElementVNode("div",
|
|
7085
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-message-text" }, _ctx.ptm('text')), [
|
|
7079
7086
|
vue.renderSlot(_ctx.$slots, "default")
|
|
7080
|
-
]),
|
|
7087
|
+
], 16),
|
|
7081
7088
|
($props.closable)
|
|
7082
7089
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
7083
7090
|
key: 0,
|
|
@@ -7085,24 +7092,24 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7085
7092
|
"aria-label": $options.closeAriaLabel,
|
|
7086
7093
|
type: "button",
|
|
7087
7094
|
onClick: _cache[0] || (_cache[0] = $event => ($options.close($event)))
|
|
7088
|
-
},
|
|
7095
|
+
}, { ...$props.closeButtonProps, ..._ctx.ptm('button') }), [
|
|
7089
7096
|
vue.renderSlot(_ctx.$slots, "closeicon", { class: "p-message-close-icon" }, () => [
|
|
7090
7097
|
($props.closeIcon)
|
|
7091
|
-
? (vue.openBlock(), vue.createElementBlock("i", {
|
|
7098
|
+
? (vue.openBlock(), vue.createElementBlock("i", vue.mergeProps({
|
|
7092
7099
|
key: 0,
|
|
7093
|
-
class:
|
|
7094
|
-
}, null,
|
|
7095
|
-
: (vue.openBlock(), vue.createBlock(_component_TimesIcon, {
|
|
7100
|
+
class: ['p-message-close-icon', $props.closeIcon]
|
|
7101
|
+
}, _ctx.ptm('buttonIcon')), null, 16))
|
|
7102
|
+
: (vue.openBlock(), vue.createBlock(_component_TimesIcon, vue.mergeProps({
|
|
7096
7103
|
key: 1,
|
|
7097
7104
|
class: "p-message-close-icon"
|
|
7098
|
-
}))
|
|
7105
|
+
}, _ctx.ptm('buttonIcon')), null, 16))
|
|
7099
7106
|
])
|
|
7100
|
-
], 16,
|
|
7107
|
+
], 16, _hoisted_1)), [
|
|
7101
7108
|
[_directive_ripple]
|
|
7102
7109
|
])
|
|
7103
7110
|
: vue.createCommentVNode("", true)
|
|
7104
|
-
])
|
|
7105
|
-
],
|
|
7111
|
+
], 16)
|
|
7112
|
+
], 16), [
|
|
7106
7113
|
[vue.vShow, $data.visible]
|
|
7107
7114
|
])
|
|
7108
7115
|
]),
|
|
@@ -7144,14 +7151,19 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7144
7151
|
|
|
7145
7152
|
return script;
|
|
7146
7153
|
|
|
7147
|
-
})(primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.times, primevue.icons.timescircle, primevue.ripple, Vue);
|
|
7154
|
+
})(primevue.basecomponent, primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.times, primevue.icons.timescircle, primevue.ripple, Vue);
|
|
7148
7155
|
|
|
7149
7156
|
this.primevue = this.primevue || {};
|
|
7150
|
-
this.primevue.progressbar = (function (vue) {
|
|
7157
|
+
this.primevue.progressbar = (function (BaseComponent, vue) {
|
|
7151
7158
|
'use strict';
|
|
7152
7159
|
|
|
7160
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7161
|
+
|
|
7162
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
7163
|
+
|
|
7153
7164
|
var script = {
|
|
7154
7165
|
name: 'ProgressBar',
|
|
7166
|
+
extends: BaseComponent__default["default"],
|
|
7155
7167
|
props: {
|
|
7156
7168
|
value: {
|
|
7157
7169
|
type: Number,
|
|
@@ -7192,46 +7204,42 @@ this.primevue.progressbar = (function (vue) {
|
|
|
7192
7204
|
};
|
|
7193
7205
|
|
|
7194
7206
|
const _hoisted_1 = ["aria-valuenow"];
|
|
7195
|
-
const _hoisted_2 = {
|
|
7196
|
-
key: 0,
|
|
7197
|
-
class: "p-progressbar-label"
|
|
7198
|
-
};
|
|
7199
|
-
const _hoisted_3 = {
|
|
7200
|
-
key: 1,
|
|
7201
|
-
class: "p-progressbar-indeterminate-container"
|
|
7202
|
-
};
|
|
7203
|
-
const _hoisted_4 = /*#__PURE__*/vue.createElementVNode("div", { class: "p-progressbar-value p-progressbar-value-animate" }, null, -1);
|
|
7204
|
-
const _hoisted_5 = [
|
|
7205
|
-
_hoisted_4
|
|
7206
|
-
];
|
|
7207
7207
|
|
|
7208
7208
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7209
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
7209
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7210
7210
|
role: "progressbar",
|
|
7211
|
-
class:
|
|
7211
|
+
class: $options.containerClass,
|
|
7212
7212
|
"aria-valuemin": "0",
|
|
7213
7213
|
"aria-valuenow": $props.value,
|
|
7214
7214
|
"aria-valuemax": "100"
|
|
7215
|
-
}, [
|
|
7215
|
+
}, _ctx.ptm('root')), [
|
|
7216
7216
|
($options.determinate)
|
|
7217
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
7217
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7218
7218
|
key: 0,
|
|
7219
7219
|
class: "p-progressbar-value p-progressbar-value-animate",
|
|
7220
|
-
style:
|
|
7221
|
-
}, [
|
|
7220
|
+
style: $options.progressStyle
|
|
7221
|
+
}, _ctx.ptm('value')), [
|
|
7222
7222
|
($props.value != null && $props.value !== 0 && $props.showValue)
|
|
7223
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
7223
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7224
|
+
key: 0,
|
|
7225
|
+
class: "p-progressbar-label"
|
|
7226
|
+
}, _ctx.ptm('label')), [
|
|
7224
7227
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
7225
7228
|
vue.createTextVNode(vue.toDisplayString($props.value + '%'), 1)
|
|
7226
7229
|
])
|
|
7227
|
-
]))
|
|
7230
|
+
], 16))
|
|
7228
7231
|
: vue.createCommentVNode("", true)
|
|
7229
|
-
],
|
|
7232
|
+
], 16))
|
|
7230
7233
|
: vue.createCommentVNode("", true),
|
|
7231
7234
|
($options.indeterminate)
|
|
7232
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
7235
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7236
|
+
key: 1,
|
|
7237
|
+
class: "p-progressbar-indeterminate-container"
|
|
7238
|
+
}, _ctx.ptm('root')), [
|
|
7239
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-progressbar-value p-progressbar-value-animate" }, _ctx.ptm('value')), null, 16)
|
|
7240
|
+
], 16))
|
|
7233
7241
|
: vue.createCommentVNode("", true)
|
|
7234
|
-
],
|
|
7242
|
+
], 16, _hoisted_1))
|
|
7235
7243
|
}
|
|
7236
7244
|
|
|
7237
7245
|
function styleInject(css, ref) {
|
|
@@ -7268,7 +7276,7 @@ this.primevue.progressbar = (function (vue) {
|
|
|
7268
7276
|
|
|
7269
7277
|
return script;
|
|
7270
7278
|
|
|
7271
|
-
})(Vue);
|
|
7279
|
+
})(primevue.basecomponent, Vue);
|
|
7272
7280
|
|
|
7273
7281
|
this.primevue = this.primevue || {};
|
|
7274
7282
|
this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIcon, TimesIcon, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
|
|
@@ -8074,7 +8082,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8074
8082
|
'p-disabled': this.disabled,
|
|
8075
8083
|
'p-dropdown-clearable': this.showClear && !this.disabled,
|
|
8076
8084
|
'p-focus': this.focused,
|
|
8077
|
-
'p-inputwrapper-filled': this.
|
|
8085
|
+
'p-inputwrapper-filled': this.hasSelectedOption,
|
|
8078
8086
|
'p-inputwrapper-focus': this.focused || this.overlayVisible,
|
|
8079
8087
|
'p-overlay-open': this.overlayVisible
|
|
8080
8088
|
}
|
|
@@ -8543,11 +8551,12 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8543
8551
|
})(primevue.api, primevue.icons.chevrondown, primevue.icons.filter, primevue.icons.spinner, primevue.icons.times, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
|
|
8544
8552
|
|
|
8545
8553
|
this.primevue = this.primevue || {};
|
|
8546
|
-
this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon, Portal, Ripple, utils, vue) {
|
|
8554
|
+
this.primevue.dialog = (function (BaseComponent, FocusTrap, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon, Portal, Ripple, utils, vue) {
|
|
8547
8555
|
'use strict';
|
|
8548
8556
|
|
|
8549
8557
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8550
8558
|
|
|
8559
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
8551
8560
|
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
8552
8561
|
var TimesIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesIcon);
|
|
8553
8562
|
var WindowMaximizeIcon__default = /*#__PURE__*/_interopDefaultLegacy(WindowMaximizeIcon);
|
|
@@ -8557,6 +8566,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
8557
8566
|
|
|
8558
8567
|
var script = {
|
|
8559
8568
|
name: 'Dialog',
|
|
8569
|
+
extends: BaseComponent__default["default"],
|
|
8560
8570
|
inheritAttrs: false,
|
|
8561
8571
|
emits: ['update:visible', 'show', 'hide', 'after-hide', 'maximize', 'unmaximize', 'dragend'],
|
|
8562
8572
|
props: {
|
|
@@ -9023,9 +9033,8 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9023
9033
|
|
|
9024
9034
|
const _hoisted_1 = ["aria-labelledby", "aria-modal"];
|
|
9025
9035
|
const _hoisted_2 = ["id"];
|
|
9026
|
-
const _hoisted_3 =
|
|
9027
|
-
const _hoisted_4 = ["autofocus", "
|
|
9028
|
-
const _hoisted_5 = ["autofocus", "aria-label"];
|
|
9036
|
+
const _hoisted_3 = ["autofocus", "tabindex"];
|
|
9037
|
+
const _hoisted_4 = ["autofocus", "aria-label", "pt"];
|
|
9029
9038
|
|
|
9030
9039
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9031
9040
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
@@ -9035,12 +9044,12 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9035
9044
|
return (vue.openBlock(), vue.createBlock(_component_Portal, { appendTo: $props.appendTo }, {
|
|
9036
9045
|
default: vue.withCtx(() => [
|
|
9037
9046
|
($data.containerVisible)
|
|
9038
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
9047
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9039
9048
|
key: 0,
|
|
9040
9049
|
ref: $options.maskRef,
|
|
9041
|
-
class:
|
|
9050
|
+
class: $options.maskClass,
|
|
9042
9051
|
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onMaskClick && $options.onMaskClick(...args)))
|
|
9043
|
-
}, [
|
|
9052
|
+
}, _ctx.ptm('mask')), [
|
|
9044
9053
|
vue.createVNode(vue.Transition, {
|
|
9045
9054
|
name: "p-dialog",
|
|
9046
9055
|
onBeforeEnter: $options.onBeforeEnter,
|
|
@@ -9059,26 +9068,26 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9059
9068
|
role: "dialog",
|
|
9060
9069
|
"aria-labelledby": $options.ariaLabelledById,
|
|
9061
9070
|
"aria-modal": $props.modal
|
|
9062
|
-
}, _ctx.$attrs), [
|
|
9071
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
9063
9072
|
($props.showHeader)
|
|
9064
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
9073
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9065
9074
|
key: 0,
|
|
9066
9075
|
ref: $options.headerContainerRef,
|
|
9067
9076
|
class: "p-dialog-header",
|
|
9068
9077
|
onMousedown: _cache[2] || (_cache[2] = (...args) => ($options.initDrag && $options.initDrag(...args)))
|
|
9069
|
-
}, [
|
|
9078
|
+
}, _ctx.ptm('header')), [
|
|
9070
9079
|
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
9071
9080
|
($props.header)
|
|
9072
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
9081
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
9073
9082
|
key: 0,
|
|
9074
9083
|
id: $options.ariaLabelledById,
|
|
9075
9084
|
class: "p-dialog-title"
|
|
9076
|
-
}, vue.toDisplayString($props.header),
|
|
9085
|
+
}, _ctx.ptm('headerTitle')), vue.toDisplayString($props.header), 17, _hoisted_2))
|
|
9077
9086
|
: vue.createCommentVNode("", true)
|
|
9078
9087
|
]),
|
|
9079
|
-
vue.createElementVNode("div",
|
|
9088
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-dialog-header-icons" }, _ctx.ptm('headerIcons')), [
|
|
9080
9089
|
($props.maximizable)
|
|
9081
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9090
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9082
9091
|
key: 0,
|
|
9083
9092
|
ref: $options.maximizableRef,
|
|
9084
9093
|
autofocus: $data.focusableMax,
|
|
@@ -9086,13 +9095,11 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9086
9095
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.maximize && $options.maximize(...args))),
|
|
9087
9096
|
type: "button",
|
|
9088
9097
|
tabindex: $props.maximizable ? '0' : '-1'
|
|
9089
|
-
}, [
|
|
9098
|
+
}, _ctx.ptm('maximizableButton')), [
|
|
9090
9099
|
vue.renderSlot(_ctx.$slots, "maximizeicon", { maximized: $data.maximized }, () => [
|
|
9091
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.maximizeIconComponent), {
|
|
9092
|
-
class: vue.normalizeClass($options.maximizeIconClass)
|
|
9093
|
-
}, null, 8, ["class"]))
|
|
9100
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.maximizeIconComponent), vue.mergeProps({ class: $options.maximizeIconClass }, _ctx.ptm('maximizableIcon')), null, 16, ["class"]))
|
|
9094
9101
|
])
|
|
9095
|
-
],
|
|
9102
|
+
], 16, _hoisted_3)), [
|
|
9096
9103
|
[_directive_ripple]
|
|
9097
9104
|
])
|
|
9098
9105
|
: vue.createCommentVNode("", true),
|
|
@@ -9104,37 +9111,38 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9104
9111
|
class: "p-dialog-header-icon p-dialog-header-close p-link",
|
|
9105
9112
|
onClick: _cache[1] || (_cache[1] = (...args) => ($options.close && $options.close(...args))),
|
|
9106
9113
|
"aria-label": $options.closeAriaLabel,
|
|
9107
|
-
type: "button"
|
|
9114
|
+
type: "button",
|
|
9115
|
+
pt: _ctx.ptm('closeButton')
|
|
9108
9116
|
}, $props.closeButtonProps), [
|
|
9109
9117
|
vue.renderSlot(_ctx.$slots, "closeicon", {}, () => [
|
|
9110
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), {
|
|
9111
|
-
class:
|
|
9112
|
-
}, null,
|
|
9118
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), vue.mergeProps({
|
|
9119
|
+
class: ['p-dialog-header-close-icon', $props.closeIcon]
|
|
9120
|
+
}, _ctx.ptm('closeButton')['icon']), null, 16, ["class"]))
|
|
9113
9121
|
])
|
|
9114
|
-
], 16,
|
|
9122
|
+
], 16, _hoisted_4)), [
|
|
9115
9123
|
[_directive_ripple]
|
|
9116
9124
|
])
|
|
9117
9125
|
: vue.createCommentVNode("", true)
|
|
9118
|
-
])
|
|
9119
|
-
],
|
|
9126
|
+
], 16)
|
|
9127
|
+
], 16))
|
|
9120
9128
|
: vue.createCommentVNode("", true),
|
|
9121
9129
|
vue.createElementVNode("div", vue.mergeProps({
|
|
9122
9130
|
ref: $options.contentRef,
|
|
9123
9131
|
class: $options.contentStyleClass,
|
|
9124
9132
|
style: $props.contentStyle
|
|
9125
|
-
},
|
|
9133
|
+
}, { ...$props.contentProps, ..._ctx.ptm('content') }), [
|
|
9126
9134
|
vue.renderSlot(_ctx.$slots, "default")
|
|
9127
9135
|
], 16),
|
|
9128
9136
|
($props.footer || _ctx.$slots.footer)
|
|
9129
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
9137
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9130
9138
|
key: 1,
|
|
9131
9139
|
ref: $options.footerContainerRef,
|
|
9132
9140
|
class: "p-dialog-footer"
|
|
9133
|
-
}, [
|
|
9141
|
+
}, _ctx.ptm('footer')), [
|
|
9134
9142
|
vue.renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
9135
9143
|
vue.createTextVNode(vue.toDisplayString($props.footer), 1)
|
|
9136
9144
|
])
|
|
9137
|
-
],
|
|
9145
|
+
], 16))
|
|
9138
9146
|
: vue.createCommentVNode("", true)
|
|
9139
9147
|
], 16, _hoisted_1)), [
|
|
9140
9148
|
[_directive_focustrap, { disabled: !$props.modal }]
|
|
@@ -9143,7 +9151,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9143
9151
|
]),
|
|
9144
9152
|
_: 3
|
|
9145
9153
|
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave", "onAfterLeave"])
|
|
9146
|
-
],
|
|
9154
|
+
], 16))
|
|
9147
9155
|
: vue.createCommentVNode("", true)
|
|
9148
9156
|
]),
|
|
9149
9157
|
_: 3
|
|
@@ -9184,7 +9192,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9184
9192
|
|
|
9185
9193
|
return script;
|
|
9186
9194
|
|
|
9187
|
-
})(primevue.focustrap, primevue.icons.times, primevue.icons.windowmaximize, primevue.icons.windowminimize, primevue.portal, primevue.ripple, primevue.utils, Vue);
|
|
9195
|
+
})(primevue.basecomponent, primevue.focustrap, primevue.icons.times, primevue.icons.windowmaximize, primevue.icons.windowminimize, primevue.portal, primevue.ripple, primevue.utils, Vue);
|
|
9188
9196
|
|
|
9189
9197
|
this.primevue = this.primevue || {};
|
|
9190
9198
|
this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
|
|
@@ -10967,17 +10975,19 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10967
10975
|
})(primevue.icons.search, primevue.icons.spinner, primevue.utils, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple, Vue);
|
|
10968
10976
|
|
|
10969
10977
|
this.primevue = this.primevue || {};
|
|
10970
|
-
this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
10978
|
+
this.primevue.menu = (function (BaseComponent, OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
10971
10979
|
'use strict';
|
|
10972
10980
|
|
|
10973
10981
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10974
10982
|
|
|
10983
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
10975
10984
|
var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
|
|
10976
10985
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
10977
10986
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
10978
10987
|
|
|
10979
10988
|
var script$1 = {
|
|
10980
10989
|
name: 'Menuitem',
|
|
10990
|
+
extends: BaseComponent__default["default"],
|
|
10981
10991
|
inheritAttrs: false,
|
|
10982
10992
|
emits: ['item-click'],
|
|
10983
10993
|
props: {
|
|
@@ -10991,6 +11001,16 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
10991
11001
|
getItemProp(processedItem, name) {
|
|
10992
11002
|
return processedItem && processedItem.item ? utils.ObjectUtils.getItemValue(processedItem.item[name]) : undefined;
|
|
10993
11003
|
},
|
|
11004
|
+
getPTOptions(key) {
|
|
11005
|
+
return this.ptm(key, {
|
|
11006
|
+
context: {
|
|
11007
|
+
focused: this.isItemFocused()
|
|
11008
|
+
}
|
|
11009
|
+
});
|
|
11010
|
+
},
|
|
11011
|
+
isItemFocused() {
|
|
11012
|
+
return this.focusedOptionId === this.id;
|
|
11013
|
+
},
|
|
10994
11014
|
onItemActionClick(event, navigate) {
|
|
10995
11015
|
navigate && navigate(event);
|
|
10996
11016
|
},
|
|
@@ -11034,28 +11054,26 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11034
11054
|
|
|
11035
11055
|
const _hoisted_1$1 = ["id", "aria-label", "aria-disabled"];
|
|
11036
11056
|
const _hoisted_2$1 = ["href", "onClick"];
|
|
11037
|
-
const _hoisted_3$1 =
|
|
11038
|
-
const _hoisted_4$1 = ["href", "target"];
|
|
11039
|
-
const _hoisted_5$1 = { class: "p-menuitem-text" };
|
|
11057
|
+
const _hoisted_3$1 = ["href", "target"];
|
|
11040
11058
|
|
|
11041
11059
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11042
11060
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
11043
11061
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
11044
11062
|
|
|
11045
11063
|
return ($options.visible())
|
|
11046
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11064
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11047
11065
|
key: 0,
|
|
11048
11066
|
id: $props.id,
|
|
11049
|
-
class:
|
|
11067
|
+
class: $options.containerClass(),
|
|
11050
11068
|
role: "menuitem",
|
|
11051
|
-
style:
|
|
11069
|
+
style: $props.item.style,
|
|
11052
11070
|
"aria-label": $options.label(),
|
|
11053
11071
|
"aria-disabled": $options.disabled()
|
|
11054
|
-
}, [
|
|
11055
|
-
vue.createElementVNode("div", {
|
|
11072
|
+
}, $options.getPTOptions('menuitem')), [
|
|
11073
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
11056
11074
|
class: "p-menuitem-content",
|
|
11057
11075
|
onClick: _cache[0] || (_cache[0] = $event => ($options.onItemClick($event)))
|
|
11058
|
-
}, [
|
|
11076
|
+
}, $options.getPTOptions('content')), [
|
|
11059
11077
|
(!$props.templates.item)
|
|
11060
11078
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11061
11079
|
($props.item.to && !$options.disabled())
|
|
@@ -11065,13 +11083,13 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11065
11083
|
custom: ""
|
|
11066
11084
|
}, {
|
|
11067
11085
|
default: vue.withCtx(({ navigate, href, isActive, isExactActive }) => [
|
|
11068
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11086
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11069
11087
|
href: href,
|
|
11070
|
-
class:
|
|
11088
|
+
class: $options.linkClass({ isActive, isExactActive }),
|
|
11071
11089
|
tabindex: "-1",
|
|
11072
11090
|
"aria-hidden": "true",
|
|
11073
11091
|
onClick: $event => ($options.onItemActionClick($event, navigate))
|
|
11074
|
-
}, [
|
|
11092
|
+
}, $options.getPTOptions('action')), [
|
|
11075
11093
|
($props.templates.itemicon)
|
|
11076
11094
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11077
11095
|
key: 0,
|
|
@@ -11079,26 +11097,26 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11079
11097
|
class: vue.normalizeClass($options.iconClass)
|
|
11080
11098
|
}, null, 8, ["item", "class"]))
|
|
11081
11099
|
: ($props.item.icon)
|
|
11082
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11100
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11083
11101
|
key: 1,
|
|
11084
|
-
class:
|
|
11085
|
-
}, null,
|
|
11102
|
+
class: $options.iconClass
|
|
11103
|
+
}, $options.getPTOptions('icon')), null, 16))
|
|
11086
11104
|
: vue.createCommentVNode("", true),
|
|
11087
|
-
vue.createElementVNode("span",
|
|
11088
|
-
],
|
|
11105
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions('label')), vue.toDisplayString($options.label()), 17)
|
|
11106
|
+
], 16, _hoisted_2$1)), [
|
|
11089
11107
|
[_directive_ripple]
|
|
11090
11108
|
])
|
|
11091
11109
|
]),
|
|
11092
11110
|
_: 1
|
|
11093
11111
|
}, 8, ["to"]))
|
|
11094
|
-
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11112
|
+
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11095
11113
|
key: 1,
|
|
11096
11114
|
href: $props.item.url,
|
|
11097
|
-
class:
|
|
11115
|
+
class: $options.linkClass(),
|
|
11098
11116
|
target: $props.item.target,
|
|
11099
11117
|
tabindex: "-1",
|
|
11100
11118
|
"aria-hidden": "true"
|
|
11101
|
-
}, [
|
|
11119
|
+
}, $options.getPTOptions('action')), [
|
|
11102
11120
|
($props.templates.itemicon)
|
|
11103
11121
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11104
11122
|
key: 0,
|
|
@@ -11106,13 +11124,13 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11106
11124
|
class: vue.normalizeClass($options.iconClass)
|
|
11107
11125
|
}, null, 8, ["item", "class"]))
|
|
11108
11126
|
: ($props.item.icon)
|
|
11109
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11127
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11110
11128
|
key: 1,
|
|
11111
|
-
class:
|
|
11112
|
-
}, null,
|
|
11129
|
+
class: $options.iconClass
|
|
11130
|
+
}, $options.getPTOptions('icon')), null, 16))
|
|
11113
11131
|
: vue.createCommentVNode("", true),
|
|
11114
|
-
vue.createElementVNode("span",
|
|
11115
|
-
],
|
|
11132
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions('label')), vue.toDisplayString($options.label()), 17)
|
|
11133
|
+
], 16, _hoisted_3$1)), [
|
|
11116
11134
|
[_directive_ripple]
|
|
11117
11135
|
])
|
|
11118
11136
|
], 64))
|
|
@@ -11120,8 +11138,8 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11120
11138
|
key: 1,
|
|
11121
11139
|
item: $props.item
|
|
11122
11140
|
}, null, 8, ["item"]))
|
|
11123
|
-
])
|
|
11124
|
-
],
|
|
11141
|
+
], 16)
|
|
11142
|
+
], 16, _hoisted_1$1))
|
|
11125
11143
|
: vue.createCommentVNode("", true)
|
|
11126
11144
|
}
|
|
11127
11145
|
|
|
@@ -11129,6 +11147,7 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11129
11147
|
|
|
11130
11148
|
var script = {
|
|
11131
11149
|
name: 'Menu',
|
|
11150
|
+
extends: BaseComponent__default["default"],
|
|
11132
11151
|
inheritAttrs: false,
|
|
11133
11152
|
emits: ['show', 'hide', 'focus', 'blur'],
|
|
11134
11153
|
props: {
|
|
@@ -11492,16 +11511,8 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11492
11511
|
};
|
|
11493
11512
|
|
|
11494
11513
|
const _hoisted_1 = ["id"];
|
|
11495
|
-
const _hoisted_2 =
|
|
11496
|
-
|
|
11497
|
-
class: "p-menu-start"
|
|
11498
|
-
};
|
|
11499
|
-
const _hoisted_3 = ["id", "tabindex", "aria-activedescendant", "aria-label", "aria-labelledby"];
|
|
11500
|
-
const _hoisted_4 = ["id"];
|
|
11501
|
-
const _hoisted_5 = {
|
|
11502
|
-
key: 1,
|
|
11503
|
-
class: "p-menu-end"
|
|
11504
|
-
};
|
|
11514
|
+
const _hoisted_2 = ["id", "tabindex", "aria-activedescendant", "aria-label", "aria-labelledby"];
|
|
11515
|
+
const _hoisted_3 = ["id"];
|
|
11505
11516
|
|
|
11506
11517
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11507
11518
|
const _component_PVMenuitem = vue.resolveComponent("PVMenuitem");
|
|
@@ -11524,16 +11535,18 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11524
11535
|
key: 0,
|
|
11525
11536
|
ref: $options.containerRef,
|
|
11526
11537
|
id: $data.id,
|
|
11527
|
-
class: $options.containerClass
|
|
11528
|
-
}, _ctx.$attrs, {
|
|
11538
|
+
class: $options.containerClass,
|
|
11529
11539
|
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
|
|
11530
|
-
}), [
|
|
11540
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
11531
11541
|
(_ctx.$slots.start)
|
|
11532
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
11542
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
11543
|
+
key: 0,
|
|
11544
|
+
class: "p-menu-start"
|
|
11545
|
+
}, _ctx.ptm('start')), [
|
|
11533
11546
|
vue.renderSlot(_ctx.$slots, "start")
|
|
11534
|
-
]))
|
|
11547
|
+
], 16))
|
|
11535
11548
|
: vue.createCommentVNode("", true),
|
|
11536
|
-
vue.createElementVNode("ul", {
|
|
11549
|
+
vue.createElementVNode("ul", vue.mergeProps({
|
|
11537
11550
|
ref: $options.listRef,
|
|
11538
11551
|
id: $data.id + '_list',
|
|
11539
11552
|
class: "p-menu-list p-reset",
|
|
@@ -11545,7 +11558,7 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11545
11558
|
onFocus: _cache[0] || (_cache[0] = (...args) => ($options.onListFocus && $options.onListFocus(...args))),
|
|
11546
11559
|
onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onListBlur && $options.onListBlur(...args))),
|
|
11547
11560
|
onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onListKeyDown && $options.onListKeyDown(...args)))
|
|
11548
|
-
}, [
|
|
11561
|
+
}, _ctx.ptm('menu')), [
|
|
11549
11562
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.model, (item, i) => {
|
|
11550
11563
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
11551
11564
|
key: $options.label(item) + i.toString()
|
|
@@ -11553,16 +11566,16 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11553
11566
|
(item.items && $options.visible(item) && !item.separator)
|
|
11554
11567
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11555
11568
|
(item.items)
|
|
11556
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11569
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11557
11570
|
key: 0,
|
|
11558
11571
|
id: $data.id + '_' + i,
|
|
11559
11572
|
class: "p-submenu-header",
|
|
11560
11573
|
role: "none"
|
|
11561
|
-
}, [
|
|
11574
|
+
}, _ctx.ptm('submenuHeader')), [
|
|
11562
11575
|
vue.renderSlot(_ctx.$slots, "item", { item: item }, () => [
|
|
11563
11576
|
vue.createTextVNode(vue.toDisplayString($options.label(item)), 1)
|
|
11564
11577
|
])
|
|
11565
|
-
],
|
|
11578
|
+
], 16, _hoisted_3))
|
|
11566
11579
|
: vue.createCommentVNode("", true),
|
|
11567
11580
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (child, j) => {
|
|
11568
11581
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
@@ -11576,26 +11589,27 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11576
11589
|
templates: _ctx.$slots,
|
|
11577
11590
|
exact: $props.exact,
|
|
11578
11591
|
focusedOptionId: $options.focusedOptionId,
|
|
11579
|
-
onItemClick: $options.itemClick
|
|
11580
|
-
|
|
11592
|
+
onItemClick: $options.itemClick,
|
|
11593
|
+
pt: _ctx.pt
|
|
11594
|
+
}, null, 8, ["id", "item", "templates", "exact", "focusedOptionId", "onItemClick", "pt"]))
|
|
11581
11595
|
: ($options.visible(child) && child.separator)
|
|
11582
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11596
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11583
11597
|
key: 'separator' + i + j,
|
|
11584
|
-
class:
|
|
11585
|
-
style:
|
|
11598
|
+
class: $options.separatorClass(item),
|
|
11599
|
+
style: child.style,
|
|
11586
11600
|
role: "separator"
|
|
11587
|
-
}, null,
|
|
11601
|
+
}, _ctx.ptm('separator')), null, 16))
|
|
11588
11602
|
: vue.createCommentVNode("", true)
|
|
11589
11603
|
], 64))
|
|
11590
11604
|
}), 128))
|
|
11591
11605
|
], 64))
|
|
11592
11606
|
: ($options.visible(item) && item.separator)
|
|
11593
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11607
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11594
11608
|
key: 'separator' + i.toString(),
|
|
11595
|
-
class:
|
|
11596
|
-
style:
|
|
11609
|
+
class: $options.separatorClass(item),
|
|
11610
|
+
style: item.style,
|
|
11597
11611
|
role: "separator"
|
|
11598
|
-
}, null,
|
|
11612
|
+
}, _ctx.ptm('separator')), null, 16))
|
|
11599
11613
|
: (vue.openBlock(), vue.createBlock(_component_PVMenuitem, {
|
|
11600
11614
|
key: $options.label(item) + i.toString(),
|
|
11601
11615
|
id: $data.id + '_' + i,
|
|
@@ -11603,15 +11617,19 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11603
11617
|
templates: _ctx.$slots,
|
|
11604
11618
|
exact: $props.exact,
|
|
11605
11619
|
focusedOptionId: $options.focusedOptionId,
|
|
11606
|
-
onItemClick: $options.itemClick
|
|
11607
|
-
|
|
11620
|
+
onItemClick: $options.itemClick,
|
|
11621
|
+
pt: _ctx.pt
|
|
11622
|
+
}, null, 8, ["id", "item", "templates", "exact", "focusedOptionId", "onItemClick", "pt"]))
|
|
11608
11623
|
], 64))
|
|
11609
11624
|
}), 128))
|
|
11610
|
-
],
|
|
11625
|
+
], 16, _hoisted_2),
|
|
11611
11626
|
(_ctx.$slots.end)
|
|
11612
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
11627
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
11628
|
+
key: 1,
|
|
11629
|
+
class: "p-menu-end"
|
|
11630
|
+
}, _ctx.ptm('end')), [
|
|
11613
11631
|
vue.renderSlot(_ctx.$slots, "end")
|
|
11614
|
-
]))
|
|
11632
|
+
], 16))
|
|
11615
11633
|
: vue.createCommentVNode("", true)
|
|
11616
11634
|
], 16, _hoisted_1))
|
|
11617
11635
|
: vue.createCommentVNode("", true)
|
|
@@ -11657,14 +11675,15 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11657
11675
|
|
|
11658
11676
|
return script;
|
|
11659
11677
|
|
|
11660
|
-
})(primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.ripple, Vue);
|
|
11678
|
+
})(primevue.basecomponent, primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.ripple, Vue);
|
|
11661
11679
|
|
|
11662
11680
|
this.primevue = this.primevue || {};
|
|
11663
|
-
this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRightIcon, Ripple, vue) {
|
|
11681
|
+
this.primevue.tieredmenu = (function (BaseComponent, OverlayEventBus, Portal, utils, AngleRightIcon, Ripple, vue) {
|
|
11664
11682
|
'use strict';
|
|
11665
11683
|
|
|
11666
11684
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11667
11685
|
|
|
11686
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
11668
11687
|
var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
|
|
11669
11688
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
11670
11689
|
var AngleRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleRightIcon);
|
|
@@ -11672,6 +11691,7 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11672
11691
|
|
|
11673
11692
|
var script$1 = {
|
|
11674
11693
|
name: 'TieredMenuSub',
|
|
11694
|
+
extends: BaseComponent__default["default"],
|
|
11675
11695
|
emits: ['item-click', 'item-mouseenter'],
|
|
11676
11696
|
props: {
|
|
11677
11697
|
menuId: {
|
|
@@ -11716,6 +11736,14 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11716
11736
|
getItemLabel(processedItem) {
|
|
11717
11737
|
return this.getItemProp(processedItem, 'label');
|
|
11718
11738
|
},
|
|
11739
|
+
getPTOptions(processedItem, key) {
|
|
11740
|
+
return this.ptm(key, {
|
|
11741
|
+
context: {
|
|
11742
|
+
active: this.isItemActive(processedItem),
|
|
11743
|
+
focused: this.isItemFocused(processedItem)
|
|
11744
|
+
}
|
|
11745
|
+
});
|
|
11746
|
+
},
|
|
11719
11747
|
isItemActive(processedItem) {
|
|
11720
11748
|
return this.activeItemPath.some((path) => path.key === processedItem.key);
|
|
11721
11749
|
},
|
|
@@ -11785,10 +11813,8 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11785
11813
|
const _hoisted_1$1 = ["id", "aria-label", "aria-disabled", "aria-expanded", "aria-haspopup", "aria-level", "aria-setsize", "aria-posinset"];
|
|
11786
11814
|
const _hoisted_2 = ["onClick", "onMouseenter"];
|
|
11787
11815
|
const _hoisted_3 = ["href", "onClick"];
|
|
11788
|
-
const _hoisted_4 =
|
|
11789
|
-
const _hoisted_5 = ["
|
|
11790
|
-
const _hoisted_6 = { class: "p-menuitem-text" };
|
|
11791
|
-
const _hoisted_7 = ["id"];
|
|
11816
|
+
const _hoisted_4 = ["href", "target"];
|
|
11817
|
+
const _hoisted_5 = ["id"];
|
|
11792
11818
|
|
|
11793
11819
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11794
11820
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
@@ -11796,17 +11822,17 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11796
11822
|
const _component_TieredMenuSub = vue.resolveComponent("TieredMenuSub", true);
|
|
11797
11823
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
11798
11824
|
|
|
11799
|
-
return (vue.openBlock(), vue.createElementBlock("ul",
|
|
11825
|
+
return (vue.openBlock(), vue.createElementBlock("ul", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('menu'))), [
|
|
11800
11826
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.items, (processedItem, index) => {
|
|
11801
11827
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
11802
11828
|
key: $options.getItemKey(processedItem)
|
|
11803
11829
|
}, [
|
|
11804
11830
|
($options.isItemVisible(processedItem) && !$options.getItemProp(processedItem, 'separator'))
|
|
11805
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11831
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11806
11832
|
key: 0,
|
|
11807
11833
|
id: $options.getItemId(processedItem),
|
|
11808
|
-
style:
|
|
11809
|
-
class:
|
|
11834
|
+
style: $options.getItemProp(processedItem, 'style'),
|
|
11835
|
+
class: $options.getItemClass(processedItem),
|
|
11810
11836
|
role: "menuitem",
|
|
11811
11837
|
"aria-label": $options.getItemLabel(processedItem),
|
|
11812
11838
|
"aria-disabled": $options.isItemDisabled(processedItem) || undefined,
|
|
@@ -11815,12 +11841,12 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11815
11841
|
"aria-level": $props.level + 1,
|
|
11816
11842
|
"aria-setsize": $options.getAriaSetSize(),
|
|
11817
11843
|
"aria-posinset": $options.getAriaPosInset(index)
|
|
11818
|
-
}, [
|
|
11819
|
-
vue.createElementVNode("div", {
|
|
11844
|
+
}, $options.getPTOptions(processedItem, 'menuitem')), [
|
|
11845
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
11820
11846
|
class: "p-menuitem-content",
|
|
11821
11847
|
onClick: $event => ($options.onItemClick($event, processedItem)),
|
|
11822
11848
|
onMouseenter: $event => ($options.onItemMouseEnter($event, processedItem))
|
|
11823
|
-
}, [
|
|
11849
|
+
}, $options.getPTOptions(processedItem, 'content')), [
|
|
11824
11850
|
(!$props.templates.item)
|
|
11825
11851
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11826
11852
|
($options.getItemProp(processedItem, 'to') && !$options.isItemDisabled(processedItem))
|
|
@@ -11830,13 +11856,13 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11830
11856
|
custom: ""
|
|
11831
11857
|
}, {
|
|
11832
11858
|
default: vue.withCtx(({ navigate, href, isActive, isExactActive }) => [
|
|
11833
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11859
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11834
11860
|
href: href,
|
|
11835
|
-
class:
|
|
11861
|
+
class: $options.getItemActionClass(processedItem, { isActive, isExactActive }),
|
|
11836
11862
|
tabindex: "-1",
|
|
11837
11863
|
"aria-hidden": "true",
|
|
11838
11864
|
onClick: $event => ($options.onItemActionClick($event, navigate))
|
|
11839
|
-
}, [
|
|
11865
|
+
}, $options.getPTOptions(processedItem, 'action')), [
|
|
11840
11866
|
($props.templates.itemicon)
|
|
11841
11867
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11842
11868
|
key: 0,
|
|
@@ -11844,26 +11870,26 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11844
11870
|
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
11845
11871
|
}, null, 8, ["item", "class"]))
|
|
11846
11872
|
: ($options.getItemProp(processedItem, 'icon'))
|
|
11847
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11873
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11848
11874
|
key: 1,
|
|
11849
|
-
class:
|
|
11850
|
-
}, null,
|
|
11875
|
+
class: $options.getItemIconClass(processedItem)
|
|
11876
|
+
}, $options.getPTOptions(processedItem, 'icon')), null, 16))
|
|
11851
11877
|
: vue.createCommentVNode("", true),
|
|
11852
|
-
vue.createElementVNode("span",
|
|
11853
|
-
],
|
|
11878
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions(processedItem, 'label')), vue.toDisplayString($options.getItemLabel(processedItem)), 17)
|
|
11879
|
+
], 16, _hoisted_3)), [
|
|
11854
11880
|
[_directive_ripple]
|
|
11855
11881
|
])
|
|
11856
11882
|
]),
|
|
11857
11883
|
_: 2
|
|
11858
11884
|
}, 1032, ["to"]))
|
|
11859
|
-
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11885
|
+
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11860
11886
|
key: 1,
|
|
11861
11887
|
href: $options.getItemProp(processedItem, 'url'),
|
|
11862
|
-
class:
|
|
11888
|
+
class: $options.getItemActionClass(processedItem),
|
|
11863
11889
|
target: $options.getItemProp(processedItem, 'target'),
|
|
11864
11890
|
tabindex: "-1",
|
|
11865
11891
|
"aria-hidden": "true"
|
|
11866
|
-
}, [
|
|
11892
|
+
}, $options.getPTOptions(processedItem, 'action')), [
|
|
11867
11893
|
($props.templates.itemicon)
|
|
11868
11894
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11869
11895
|
key: 0,
|
|
@@ -11871,27 +11897,27 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11871
11897
|
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
11872
11898
|
}, null, 8, ["item", "class"]))
|
|
11873
11899
|
: ($options.getItemProp(processedItem, 'icon'))
|
|
11874
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11900
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11875
11901
|
key: 1,
|
|
11876
|
-
class:
|
|
11877
|
-
}, null,
|
|
11902
|
+
class: $options.getItemIconClass(processedItem)
|
|
11903
|
+
}, $options.getPTOptions(processedItem, 'icon')), null, 16))
|
|
11878
11904
|
: vue.createCommentVNode("", true),
|
|
11879
|
-
vue.createElementVNode("span",
|
|
11905
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions(processedItem, 'label')), vue.toDisplayString($options.getItemLabel(processedItem)), 17),
|
|
11880
11906
|
($options.getItemProp(processedItem, 'items'))
|
|
11881
11907
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
11882
11908
|
($props.templates.submenuicon)
|
|
11883
|
-
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.submenuicon), {
|
|
11909
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.submenuicon), vue.mergeProps({
|
|
11884
11910
|
key: 0,
|
|
11885
11911
|
class: "p-submenu-icon",
|
|
11886
11912
|
active: $options.isItemActive(processedItem)
|
|
11887
|
-
}, null,
|
|
11888
|
-
: (vue.openBlock(), vue.createBlock(_component_AngleRightIcon, {
|
|
11913
|
+
}, $options.getPTOptions(processedItem, 'submenuIcon')), null, 16, ["active"]))
|
|
11914
|
+
: (vue.openBlock(), vue.createBlock(_component_AngleRightIcon, vue.mergeProps({
|
|
11889
11915
|
key: 1,
|
|
11890
11916
|
class: "p-submenu-icon"
|
|
11891
|
-
}))
|
|
11917
|
+
}, $options.getPTOptions(processedItem, 'submenuIcon')), null, 16))
|
|
11892
11918
|
], 64))
|
|
11893
11919
|
: vue.createCommentVNode("", true)
|
|
11894
|
-
],
|
|
11920
|
+
], 16, _hoisted_4)), [
|
|
11895
11921
|
[_directive_ripple]
|
|
11896
11922
|
])
|
|
11897
11923
|
], 64))
|
|
@@ -11899,7 +11925,7 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11899
11925
|
key: 1,
|
|
11900
11926
|
item: processedItem.item
|
|
11901
11927
|
}, null, 8, ["item"]))
|
|
11902
|
-
],
|
|
11928
|
+
], 16, _hoisted_2),
|
|
11903
11929
|
($options.isItemVisible(processedItem) && $options.isItemGroup(processedItem))
|
|
11904
11930
|
? (vue.openBlock(), vue.createBlock(_component_TieredMenuSub, {
|
|
11905
11931
|
key: 0,
|
|
@@ -11913,30 +11939,32 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11913
11939
|
activeItemPath: $props.activeItemPath,
|
|
11914
11940
|
exact: $props.exact,
|
|
11915
11941
|
level: $props.level + 1,
|
|
11942
|
+
pt: _ctx.pt,
|
|
11916
11943
|
onItemClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('item-click', $event))),
|
|
11917
11944
|
onItemMouseenter: _cache[1] || (_cache[1] = $event => (_ctx.$emit('item-mouseenter', $event)))
|
|
11918
|
-
}, null, 8, ["id", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "level"]))
|
|
11945
|
+
}, null, 8, ["id", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "level", "pt"]))
|
|
11919
11946
|
: vue.createCommentVNode("", true)
|
|
11920
|
-
],
|
|
11947
|
+
], 16, _hoisted_1$1))
|
|
11921
11948
|
: vue.createCommentVNode("", true),
|
|
11922
11949
|
($options.isItemVisible(processedItem) && $options.getItemProp(processedItem, 'separator'))
|
|
11923
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11950
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11924
11951
|
key: 1,
|
|
11925
11952
|
id: $options.getItemId(processedItem),
|
|
11926
|
-
style:
|
|
11927
|
-
class:
|
|
11953
|
+
style: $options.getItemProp(processedItem, 'style'),
|
|
11954
|
+
class: $options.getSeparatorItemClass(processedItem),
|
|
11928
11955
|
role: "separator"
|
|
11929
|
-
}, null,
|
|
11956
|
+
}, _ctx.ptm('separator')), null, 16, _hoisted_5))
|
|
11930
11957
|
: vue.createCommentVNode("", true)
|
|
11931
11958
|
], 64))
|
|
11932
11959
|
}), 128))
|
|
11933
|
-
]))
|
|
11960
|
+
], 16))
|
|
11934
11961
|
}
|
|
11935
11962
|
|
|
11936
11963
|
script$1.render = render$1;
|
|
11937
11964
|
|
|
11938
11965
|
var script = {
|
|
11939
11966
|
name: 'TieredMenu',
|
|
11967
|
+
extends: BaseComponent__default["default"],
|
|
11940
11968
|
inheritAttrs: false,
|
|
11941
11969
|
emits: ['focus', 'blur', 'before-show', 'before-hide', 'hide', 'show'],
|
|
11942
11970
|
props: {
|
|
@@ -12573,7 +12601,7 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
12573
12601
|
id: $data.id,
|
|
12574
12602
|
class: $options.containerClass,
|
|
12575
12603
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
|
|
12576
|
-
}, _ctx.$attrs), [
|
|
12604
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
12577
12605
|
vue.createVNode(_component_TieredMenuSub, {
|
|
12578
12606
|
ref: $options.menubarRef,
|
|
12579
12607
|
id: $data.id + '_list',
|
|
@@ -12592,12 +12620,13 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
12592
12620
|
activeItemPath: $data.activeItemPath,
|
|
12593
12621
|
exact: $props.exact,
|
|
12594
12622
|
level: 0,
|
|
12623
|
+
pt: _ctx.pt,
|
|
12595
12624
|
onFocus: $options.onFocus,
|
|
12596
12625
|
onBlur: $options.onBlur,
|
|
12597
12626
|
onKeydown: $options.onKeyDown,
|
|
12598
12627
|
onItemClick: $options.onItemClick,
|
|
12599
12628
|
onItemMouseenter: $options.onItemMouseEnter
|
|
12600
|
-
}, null, 8, ["id", "tabindex", "aria-label", "aria-labelledby", "aria-disabled", "aria-activedescendant", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "onFocus", "onBlur", "onKeydown", "onItemClick", "onItemMouseenter"])
|
|
12629
|
+
}, null, 8, ["id", "tabindex", "aria-label", "aria-labelledby", "aria-disabled", "aria-activedescendant", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "pt", "onFocus", "onBlur", "onKeydown", "onItemClick", "onItemMouseenter"])
|
|
12601
12630
|
], 16, _hoisted_1))
|
|
12602
12631
|
: vue.createCommentVNode("", true)
|
|
12603
12632
|
]),
|
|
@@ -12642,14 +12671,19 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
12642
12671
|
|
|
12643
12672
|
return script;
|
|
12644
12673
|
|
|
12645
|
-
})(primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.icons.angleright, primevue.ripple, Vue);
|
|
12674
|
+
})(primevue.basecomponent, primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.icons.angleright, primevue.ripple, Vue);
|
|
12646
12675
|
|
|
12647
12676
|
this.primevue = this.primevue || {};
|
|
12648
|
-
this.primevue.badge = (function (utils, vue) {
|
|
12677
|
+
this.primevue.badge = (function (BaseComponent, utils, vue) {
|
|
12649
12678
|
'use strict';
|
|
12650
12679
|
|
|
12680
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12681
|
+
|
|
12682
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
12683
|
+
|
|
12651
12684
|
var script = {
|
|
12652
12685
|
name: 'Badge',
|
|
12686
|
+
extends: BaseComponent__default["default"],
|
|
12653
12687
|
props: {
|
|
12654
12688
|
value: {
|
|
12655
12689
|
type: [String, Number],
|
|
@@ -12687,18 +12721,16 @@ this.primevue.badge = (function (utils, vue) {
|
|
|
12687
12721
|
};
|
|
12688
12722
|
|
|
12689
12723
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12690
|
-
return (vue.openBlock(), vue.createElementBlock("span", {
|
|
12691
|
-
class: vue.normalizeClass($options.badgeClass)
|
|
12692
|
-
}, [
|
|
12724
|
+
return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: $options.badgeClass }, _ctx.ptm('root')), [
|
|
12693
12725
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
12694
12726
|
vue.createTextVNode(vue.toDisplayString($props.value), 1)
|
|
12695
12727
|
])
|
|
12696
|
-
],
|
|
12728
|
+
], 16))
|
|
12697
12729
|
}
|
|
12698
12730
|
|
|
12699
12731
|
script.render = render;
|
|
12700
12732
|
|
|
12701
12733
|
return script;
|
|
12702
12734
|
|
|
12703
|
-
})(primevue.utils, Vue);
|
|
12735
|
+
})(primevue.basecomponent, primevue.utils, Vue);
|
|
12704
12736
|
|