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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var BaseComponent = require('primevue/basecomponent');
|
|
3
4
|
var CheckIcon = require('primevue/icons/check');
|
|
4
5
|
var ExclamationTriangleIcon = require('primevue/icons/exclamationtriangle');
|
|
5
6
|
var InfoCircleIcon = require('primevue/icons/infocircle');
|
|
@@ -8,6 +9,7 @@ var vue = require('vue');
|
|
|
8
9
|
|
|
9
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
11
|
|
|
12
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
11
13
|
var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
12
14
|
var ExclamationTriangleIcon__default = /*#__PURE__*/_interopDefaultLegacy(ExclamationTriangleIcon);
|
|
13
15
|
var InfoCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(InfoCircleIcon);
|
|
@@ -15,6 +17,7 @@ var TimesCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesCircleIco
|
|
|
15
17
|
|
|
16
18
|
var script = {
|
|
17
19
|
name: 'InlineMessage',
|
|
20
|
+
extends: BaseComponent__default["default"],
|
|
18
21
|
props: {
|
|
19
22
|
severity: {
|
|
20
23
|
type: String,
|
|
@@ -53,24 +56,22 @@ var script = {
|
|
|
53
56
|
}
|
|
54
57
|
};
|
|
55
58
|
|
|
56
|
-
const _hoisted_1 = { class: "p-inline-message-text" };
|
|
57
|
-
|
|
58
59
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
59
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
60
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
60
61
|
"aria-live": "polite",
|
|
61
|
-
class:
|
|
62
|
-
}, [
|
|
62
|
+
class: $options.containerClass
|
|
63
|
+
}, _ctx.ptm('root')), [
|
|
63
64
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
64
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), {
|
|
65
|
-
class:
|
|
66
|
-
}, null,
|
|
65
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), vue.mergeProps({
|
|
66
|
+
class: ['p-inline-message-icon', $props.icon]
|
|
67
|
+
}, _ctx.ptm('icon')), null, 16, ["class"]))
|
|
67
68
|
]),
|
|
68
|
-
vue.createElementVNode("span",
|
|
69
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-inline-message-text" }, _ctx.ptm('text')), [
|
|
69
70
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
70
71
|
vue.createTextVNode(" ")
|
|
71
72
|
])
|
|
72
|
-
])
|
|
73
|
-
],
|
|
73
|
+
], 16)
|
|
74
|
+
], 16))
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
function styleInject(css, ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/icons/check"),
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),n=require("primevue/icons/check"),t=require("primevue/icons/exclamationtriangle"),i=require("primevue/icons/infocircle"),s=require("primevue/icons/timescircle"),o=require("vue");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(e),a=r(n),c=r(t),p=r(i),u=r(s),d={name:"InlineMessage",extends:l.default,props:{severity:{type:String,default:"error"},icon:{type:String,default:void 0}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},computed:{containerClass(){return["p-inline-message p-component p-inline-message-"+this.severity,{"p-inline-message-icon-only":!this.$slots.default}]},iconComponent(){return{info:p.default,success:a.default,warn:c.default,error:u.default}[this.severity]}}};!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===t&&i.firstChild?i.insertBefore(s,i.firstChild):i.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}("\n.p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n}\n.p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n}\n.p-fluid .p-inline-message {\n display: flex;\n}\n"),d.render=function(e,n,t,i,s,r){return o.openBlock(),o.createElementBlock("div",o.mergeProps({"aria-live":"polite",class:r.containerClass},e.ptm("root")),[o.renderSlot(e.$slots,"icon",{},(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.icon?"span":r.iconComponent),o.mergeProps({class:["p-inline-message-icon",t.icon]},e.ptm("icon")),null,16,["class"]))])),o.createElementVNode("span",o.mergeProps({class:"p-inline-message-text"},e.ptm("text")),[o.renderSlot(e.$slots,"default",{},(()=>[o.createTextVNode(" ")]))],16)],16)},module.exports=d;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
1
2
|
import CheckIcon from 'primevue/icons/check';
|
|
2
3
|
import ExclamationTriangleIcon from 'primevue/icons/exclamationtriangle';
|
|
3
4
|
import InfoCircleIcon from 'primevue/icons/infocircle';
|
|
4
5
|
import TimesCircleIcon from 'primevue/icons/timescircle';
|
|
5
|
-
import { openBlock, createElementBlock,
|
|
6
|
+
import { openBlock, createElementBlock, mergeProps, renderSlot, createBlock, resolveDynamicComponent, createElementVNode, createTextVNode } from 'vue';
|
|
6
7
|
|
|
7
8
|
var script = {
|
|
8
9
|
name: 'InlineMessage',
|
|
10
|
+
extends: BaseComponent,
|
|
9
11
|
props: {
|
|
10
12
|
severity: {
|
|
11
13
|
type: String,
|
|
@@ -44,24 +46,22 @@ var script = {
|
|
|
44
46
|
}
|
|
45
47
|
};
|
|
46
48
|
|
|
47
|
-
const _hoisted_1 = { class: "p-inline-message-text" };
|
|
48
|
-
|
|
49
49
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
50
|
-
return (openBlock(), createElementBlock("div", {
|
|
50
|
+
return (openBlock(), createElementBlock("div", mergeProps({
|
|
51
51
|
"aria-live": "polite",
|
|
52
|
-
class:
|
|
53
|
-
}, [
|
|
52
|
+
class: $options.containerClass
|
|
53
|
+
}, _ctx.ptm('root')), [
|
|
54
54
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
55
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), {
|
|
56
|
-
class:
|
|
57
|
-
}, null,
|
|
55
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), mergeProps({
|
|
56
|
+
class: ['p-inline-message-icon', $props.icon]
|
|
57
|
+
}, _ctx.ptm('icon')), null, 16, ["class"]))
|
|
58
58
|
]),
|
|
59
|
-
createElementVNode("span",
|
|
59
|
+
createElementVNode("span", mergeProps({ class: "p-inline-message-text" }, _ctx.ptm('text')), [
|
|
60
60
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
61
61
|
createTextVNode(" ")
|
|
62
62
|
])
|
|
63
|
-
])
|
|
64
|
-
],
|
|
63
|
+
], 16)
|
|
64
|
+
], 16))
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
function styleInject(css, ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/icons/check";import
|
|
1
|
+
import e from"primevue/basecomponent";import i from"primevue/icons/check";import n from"primevue/icons/exclamationtriangle";import t from"primevue/icons/infocircle";import s from"primevue/icons/timescircle";import{openBlock as o,createElementBlock as r,mergeProps as l,renderSlot as a,createBlock as m,resolveDynamicComponent as c,createElementVNode as p,createTextVNode as d}from"vue";var u={name:"InlineMessage",extends:e,props:{severity:{type:String,default:"error"},icon:{type:String,default:void 0}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},computed:{containerClass(){return["p-inline-message p-component p-inline-message-"+this.severity,{"p-inline-message-icon-only":!this.$slots.default}]},iconComponent(){return{info:t,success:i,warn:n,error:s}[this.severity]}}};!function(e,i){void 0===i&&(i={});var n=i.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===n&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}("\n.p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n}\n.p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n}\n.p-fluid .p-inline-message {\n display: flex;\n}\n"),u.render=function(e,i,n,t,s,u){return o(),r("div",l({"aria-live":"polite",class:u.containerClass},e.ptm("root")),[a(e.$slots,"icon",{},(()=>[(o(),m(c(n.icon?"span":u.iconComponent),l({class:["p-inline-message-icon",n.icon]},e.ptm("icon")),null,16,["class"]))])),p("span",l({class:"p-inline-message-text"},e.ptm("text")),[a(e.$slots,"default",{},(()=>[d(" ")]))],16)],16)};export{u as default};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.inlinemessage = (function (CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, vue) {
|
|
2
|
+
this.primevue.inlinemessage = (function (BaseComponent, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, 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 CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
8
9
|
var ExclamationTriangleIcon__default = /*#__PURE__*/_interopDefaultLegacy(ExclamationTriangleIcon);
|
|
9
10
|
var InfoCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(InfoCircleIcon);
|
|
@@ -11,6 +12,7 @@ this.primevue.inlinemessage = (function (CheckIcon, ExclamationTriangleIcon, Inf
|
|
|
11
12
|
|
|
12
13
|
var script = {
|
|
13
14
|
name: 'InlineMessage',
|
|
15
|
+
extends: BaseComponent__default["default"],
|
|
14
16
|
props: {
|
|
15
17
|
severity: {
|
|
16
18
|
type: String,
|
|
@@ -49,24 +51,22 @@ this.primevue.inlinemessage = (function (CheckIcon, ExclamationTriangleIcon, Inf
|
|
|
49
51
|
}
|
|
50
52
|
};
|
|
51
53
|
|
|
52
|
-
const _hoisted_1 = { class: "p-inline-message-text" };
|
|
53
|
-
|
|
54
54
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
55
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
55
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
56
56
|
"aria-live": "polite",
|
|
57
|
-
class:
|
|
58
|
-
}, [
|
|
57
|
+
class: $options.containerClass
|
|
58
|
+
}, _ctx.ptm('root')), [
|
|
59
59
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
60
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), {
|
|
61
|
-
class:
|
|
62
|
-
}, null,
|
|
60
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), vue.mergeProps({
|
|
61
|
+
class: ['p-inline-message-icon', $props.icon]
|
|
62
|
+
}, _ctx.ptm('icon')), null, 16, ["class"]))
|
|
63
63
|
]),
|
|
64
|
-
vue.createElementVNode("span",
|
|
64
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-inline-message-text" }, _ctx.ptm('text')), [
|
|
65
65
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
66
66
|
vue.createTextVNode(" ")
|
|
67
67
|
])
|
|
68
|
-
])
|
|
69
|
-
],
|
|
68
|
+
], 16)
|
|
69
|
+
], 16))
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
function styleInject(css, ref) {
|
|
@@ -103,4 +103,4 @@ this.primevue.inlinemessage = (function (CheckIcon, ExclamationTriangleIcon, Inf
|
|
|
103
103
|
|
|
104
104
|
return script;
|
|
105
105
|
|
|
106
|
-
})(primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.timescircle, Vue);
|
|
106
|
+
})(primevue.basecomponent, primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.timescircle, Vue);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.inlinemessage=function(e,n,i,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.inlinemessage=function(e,n,t,i,s,o){"use strict";function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(e),a=l(n),c=l(t),p=l(i),m=l(s),d={name:"InlineMessage",extends:r.default,props:{severity:{type:String,default:"error"},icon:{type:String,default:void 0}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},computed:{containerClass(){return["p-inline-message p-component p-inline-message-"+this.severity,{"p-inline-message-icon-only":!this.$slots.default}]},iconComponent(){return{info:p.default,success:a.default,warn:c.default,error:m.default}[this.severity]}}};return function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===t&&i.firstChild?i.insertBefore(s,i.firstChild):i.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}("\n.p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n}\n.p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n}\n.p-fluid .p-inline-message {\n display: flex;\n}\n"),d.render=function(e,n,t,i,s,l){return o.openBlock(),o.createElementBlock("div",o.mergeProps({"aria-live":"polite",class:l.containerClass},e.ptm("root")),[o.renderSlot(e.$slots,"icon",{},(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.icon?"span":l.iconComponent),o.mergeProps({class:["p-inline-message-icon",t.icon]},e.ptm("icon")),null,16,["class"]))])),o.createElementVNode("span",o.mergeProps({class:"p-inline-message-text"},e.ptm("text")),[o.renderSlot(e.$slots,"default",{},(()=>[o.createTextVNode(" ")]))],16)],16)},d}(primevue.basecomponent,primevue.icons.check,primevue.icons.exclamationtriangle,primevue.icons.infocircle,primevue.icons.timescircle,Vue);
|
package/inplace/Inplace.d.ts
CHANGED
|
@@ -7,9 +7,63 @@
|
|
|
7
7
|
* @module inplace
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
+
|
|
10
11
|
import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
|
|
12
|
+
import { ButtonPassThroughOptions } from '../button';
|
|
11
13
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
12
14
|
|
|
15
|
+
export declare type InplacePassThroughOptionType = InplacePassThroughAttributes | ((options: InplacePassThroughMethodOptions) => InplacePassThroughAttributes) | null | undefined;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Custom passthrough(pt) option method.
|
|
19
|
+
*/
|
|
20
|
+
export interface InplacePassThroughMethodOptions {
|
|
21
|
+
props: InplaceProps;
|
|
22
|
+
state: InplaceState;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Custom passthrough(pt) options.
|
|
27
|
+
* @see {@link InplaceProps.pt}
|
|
28
|
+
*/
|
|
29
|
+
export interface InplacePassThroughOptions {
|
|
30
|
+
/**
|
|
31
|
+
* Uses to pass attributes to the root's DOM element.
|
|
32
|
+
*/
|
|
33
|
+
root?: InplacePassThroughOptionType;
|
|
34
|
+
/**
|
|
35
|
+
* Uses to pass attributes to the display's DOM element.
|
|
36
|
+
*/
|
|
37
|
+
display?: InplacePassThroughOptionType;
|
|
38
|
+
/**
|
|
39
|
+
* Uses to pass attributes to the content's DOM element.
|
|
40
|
+
*/
|
|
41
|
+
content?: InplacePassThroughOptionType;
|
|
42
|
+
/**
|
|
43
|
+
* Uses to pass attributes to the Button component.
|
|
44
|
+
* @see {@link ButtonPassThroughOptions}
|
|
45
|
+
*/
|
|
46
|
+
closeButton?: ButtonPassThroughOptions;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Custom passthrough attributes for each DOM elements
|
|
51
|
+
*/
|
|
52
|
+
export interface InplacePassThroughAttributes {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Defines current inline state in Inplace component.
|
|
58
|
+
*/
|
|
59
|
+
export interface InplaceState {
|
|
60
|
+
/**
|
|
61
|
+
* Current active state as a boolean.
|
|
62
|
+
* @defaultValue false
|
|
63
|
+
*/
|
|
64
|
+
d_active: boolean;
|
|
65
|
+
}
|
|
66
|
+
|
|
13
67
|
/**
|
|
14
68
|
* Defines valid properties in Inplace component.
|
|
15
69
|
*/
|
|
@@ -42,6 +96,11 @@ export interface InplaceProps {
|
|
|
42
96
|
* Uses to pass all properties of the HTMLButtonElement to the close button.
|
|
43
97
|
*/
|
|
44
98
|
closeButtonProps?: ButtonHTMLAttributes | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* Uses to pass attributes to DOM elements inside the component.
|
|
101
|
+
* @type {InplacePassThroughOptions}
|
|
102
|
+
*/
|
|
103
|
+
pt?: InplacePassThroughOptions;
|
|
45
104
|
}
|
|
46
105
|
|
|
47
106
|
/**
|
package/inplace/Inplace.vue
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-focustrap :class="containerClass" aria-live="polite">
|
|
3
|
-
<div v-if="!d_active" ref="display" :class="displayClass" :tabindex="$attrs.tabindex || '0'" role="button" @click="open" @keydown.enter="open" v-bind="displayProps">
|
|
2
|
+
<div v-focustrap :class="containerClass" aria-live="polite" v-bind="ptm('root')">
|
|
3
|
+
<div v-if="!d_active" ref="display" :class="displayClass" :tabindex="$attrs.tabindex || '0'" role="button" @click="open" @keydown.enter="open" v-bind="{ ...displayProps, ...ptm('display') }">
|
|
4
4
|
<slot name="display"></slot>
|
|
5
5
|
</div>
|
|
6
|
-
<div v-else class="p-inplace-content">
|
|
6
|
+
<div v-else class="p-inplace-content" v-bind="ptm('content')">
|
|
7
7
|
<slot name="content"></slot>
|
|
8
|
-
<IPButton v-if="closable" :aria-label="closeAriaLabel" @click="close" v-bind="closeButtonProps">
|
|
8
|
+
<IPButton v-if="closable" :aria-label="closeAriaLabel" @click="close" :pt="ptm('closeButton')" v-bind="closeButtonProps">
|
|
9
9
|
<template #icon>
|
|
10
10
|
<slot name="closeicon">
|
|
11
|
-
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="closeIcon"></component>
|
|
11
|
+
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="closeIcon" v-bind="ptm('closeButton')['icon']"></component>
|
|
12
12
|
</slot>
|
|
13
13
|
</template>
|
|
14
14
|
</IPButton>
|
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
</template>
|
|
18
18
|
|
|
19
19
|
<script>
|
|
20
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
20
21
|
import Button from 'primevue/button';
|
|
21
22
|
import FocusTrap from 'primevue/focustrap';
|
|
22
23
|
import TimesIcon from 'primevue/icons/times';
|
|
23
24
|
|
|
24
25
|
export default {
|
|
25
26
|
name: 'Inplace',
|
|
27
|
+
extends: BaseComponent,
|
|
26
28
|
emits: ['open', 'close', 'update:active'],
|
|
27
29
|
props: {
|
|
28
30
|
closable: {
|
package/inplace/inplace.cjs.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var BaseComponent = require('primevue/basecomponent');
|
|
3
4
|
var Button = require('primevue/button');
|
|
4
5
|
var FocusTrap = require('primevue/focustrap');
|
|
5
6
|
var TimesIcon = require('primevue/icons/times');
|
|
@@ -7,12 +8,14 @@ var vue = require('vue');
|
|
|
7
8
|
|
|
8
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
10
|
|
|
11
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
10
12
|
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
11
13
|
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
12
14
|
var TimesIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesIcon);
|
|
13
15
|
|
|
14
16
|
var script = {
|
|
15
17
|
name: 'Inplace',
|
|
18
|
+
extends: BaseComponent__default["default"],
|
|
16
19
|
emits: ['open', 'close', 'update:active'],
|
|
17
20
|
props: {
|
|
18
21
|
closable: {
|
|
@@ -90,19 +93,15 @@ var script = {
|
|
|
90
93
|
};
|
|
91
94
|
|
|
92
95
|
const _hoisted_1 = ["tabindex"];
|
|
93
|
-
const _hoisted_2 = {
|
|
94
|
-
key: 1,
|
|
95
|
-
class: "p-inplace-content"
|
|
96
|
-
};
|
|
97
96
|
|
|
98
97
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
99
98
|
const _component_IPButton = vue.resolveComponent("IPButton");
|
|
100
99
|
const _directive_focustrap = vue.resolveDirective("focustrap");
|
|
101
100
|
|
|
102
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
103
|
-
class:
|
|
101
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
102
|
+
class: $options.containerClass,
|
|
104
103
|
"aria-live": "polite"
|
|
105
|
-
}, [
|
|
104
|
+
}, _ctx.ptm('root')), [
|
|
106
105
|
(!$data.d_active)
|
|
107
106
|
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
108
107
|
key: 0,
|
|
@@ -112,29 +111,31 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
112
111
|
role: "button",
|
|
113
112
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.open && $options.open(...args))),
|
|
114
113
|
onKeydown: _cache[1] || (_cache[1] = vue.withKeys((...args) => ($options.open && $options.open(...args)), ["enter"]))
|
|
115
|
-
},
|
|
114
|
+
}, { ...$props.displayProps, ..._ctx.ptm('display') }), [
|
|
116
115
|
vue.renderSlot(_ctx.$slots, "display")
|
|
117
116
|
], 16, _hoisted_1))
|
|
118
|
-
: (vue.openBlock(), vue.createElementBlock("div",
|
|
117
|
+
: (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
118
|
+
key: 1,
|
|
119
|
+
class: "p-inplace-content"
|
|
120
|
+
}, _ctx.ptm('content')), [
|
|
119
121
|
vue.renderSlot(_ctx.$slots, "content"),
|
|
120
122
|
($props.closable)
|
|
121
123
|
? (vue.openBlock(), vue.createBlock(_component_IPButton, vue.mergeProps({
|
|
122
124
|
key: 0,
|
|
123
125
|
"aria-label": $options.closeAriaLabel,
|
|
124
|
-
onClick: $options.close
|
|
126
|
+
onClick: $options.close,
|
|
127
|
+
pt: _ctx.ptm('closeButton')
|
|
125
128
|
}, $props.closeButtonProps), {
|
|
126
129
|
icon: vue.withCtx(() => [
|
|
127
130
|
vue.renderSlot(_ctx.$slots, "closeicon", {}, () => [
|
|
128
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), {
|
|
129
|
-
class: vue.normalizeClass($props.closeIcon)
|
|
130
|
-
}, null, 8, ["class"]))
|
|
131
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), vue.mergeProps({ class: $props.closeIcon }, _ctx.ptm('closeButton')['icon']), null, 16, ["class"]))
|
|
131
132
|
])
|
|
132
133
|
]),
|
|
133
134
|
_: 3
|
|
134
|
-
}, 16, ["aria-label", "onClick"]))
|
|
135
|
+
}, 16, ["aria-label", "onClick", "pt"]))
|
|
135
136
|
: vue.createCommentVNode("", true)
|
|
136
|
-
]))
|
|
137
|
-
],
|
|
137
|
+
], 16))
|
|
138
|
+
], 16)), [
|
|
138
139
|
[_directive_focustrap]
|
|
139
140
|
])
|
|
140
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/button"),n=require("primevue/focustrap"),o=require("primevue/icons/times"),l=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e),s=i(t),c=i(n),p=i(o),r={name:"Inplace",extends:a.default,emits:["open","close","update:active"],props:{closable:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},closeIcon:{type:String,default:void 0},displayProps:{type:null,default:null},closeButtonProps:{type:null,default:null}},data(){return{d_active:this.active}},watch:{active(e){this.d_active=e}},methods:{open(e){this.disabled||(this.$emit("open",e),this.d_active=!0,this.$emit("update:active",!0))},close(e){this.$emit("close",e),this.d_active=!1,this.$emit("update:active",!1),setTimeout((()=>{this.$refs.display.focus()}),0)}},computed:{containerClass(){return["p-inplace p-component",{"p-inplace-closable":this.closable}]},displayClass(){return["p-inplace-display",{"p-disabled":this.disabled}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{IPButton:s.default,TimesIcon:p.default},directives:{focustrap:c.default}};const d=["tabindex"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===n&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}("\n.p-inplace .p-inplace-display {\n display: inline;\n cursor: pointer;\n}\n.p-inplace .p-inplace-content {\n display: inline;\n}\n.p-fluid .p-inplace.p-inplace-closable .p-inplace-content {\n display: flex;\n}\n.p-fluid .p-inplace.p-inplace-closable .p-inplace-content > .p-inputtext {\n flex: 1 1 auto;\n width: 1%;\n}\n"),r.render=function(e,t,n,o,i,a){const s=l.resolveComponent("IPButton"),c=l.resolveDirective("focustrap");return l.withDirectives((l.openBlock(),l.createElementBlock("div",l.mergeProps({class:a.containerClass,"aria-live":"polite"},e.ptm("root")),[i.d_active?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:1,class:"p-inplace-content"},e.ptm("content")),[l.renderSlot(e.$slots,"content"),n.closable?(l.openBlock(),l.createBlock(s,l.mergeProps({key:0,"aria-label":a.closeAriaLabel,onClick:a.close,pt:e.ptm("closeButton")},n.closeButtonProps),{icon:l.withCtx((()=>[l.renderSlot(e.$slots,"closeicon",{},(()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(n.closeIcon?"span":"TimesIcon"),l.mergeProps({class:n.closeIcon},e.ptm("closeButton").icon),null,16,["class"]))]))])),_:3},16,["aria-label","onClick","pt"])):l.createCommentVNode("",!0)],16)):(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:"display",class:a.displayClass,tabindex:e.$attrs.tabindex||"0",role:"button",onClick:t[0]||(t[0]=(...e)=>a.open&&a.open(...e)),onKeydown:t[1]||(t[1]=l.withKeys(((...e)=>a.open&&a.open(...e)),["enter"]))},{...n.displayProps,...e.ptm("display")}),[l.renderSlot(e.$slots,"display")],16,d))],16)),[[c]])},module.exports=r;
|
package/inplace/inplace.esm.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
1
2
|
import Button from 'primevue/button';
|
|
2
3
|
import FocusTrap from 'primevue/focustrap';
|
|
3
4
|
import TimesIcon from 'primevue/icons/times';
|
|
4
|
-
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock,
|
|
5
|
+
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, mergeProps, withKeys, renderSlot, createBlock, withCtx, resolveDynamicComponent, createCommentVNode } from 'vue';
|
|
5
6
|
|
|
6
7
|
var script = {
|
|
7
8
|
name: 'Inplace',
|
|
9
|
+
extends: BaseComponent,
|
|
8
10
|
emits: ['open', 'close', 'update:active'],
|
|
9
11
|
props: {
|
|
10
12
|
closable: {
|
|
@@ -82,19 +84,15 @@ var script = {
|
|
|
82
84
|
};
|
|
83
85
|
|
|
84
86
|
const _hoisted_1 = ["tabindex"];
|
|
85
|
-
const _hoisted_2 = {
|
|
86
|
-
key: 1,
|
|
87
|
-
class: "p-inplace-content"
|
|
88
|
-
};
|
|
89
87
|
|
|
90
88
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
91
89
|
const _component_IPButton = resolveComponent("IPButton");
|
|
92
90
|
const _directive_focustrap = resolveDirective("focustrap");
|
|
93
91
|
|
|
94
|
-
return withDirectives((openBlock(), createElementBlock("div", {
|
|
95
|
-
class:
|
|
92
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
93
|
+
class: $options.containerClass,
|
|
96
94
|
"aria-live": "polite"
|
|
97
|
-
}, [
|
|
95
|
+
}, _ctx.ptm('root')), [
|
|
98
96
|
(!$data.d_active)
|
|
99
97
|
? (openBlock(), createElementBlock("div", mergeProps({
|
|
100
98
|
key: 0,
|
|
@@ -104,29 +102,31 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
104
102
|
role: "button",
|
|
105
103
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.open && $options.open(...args))),
|
|
106
104
|
onKeydown: _cache[1] || (_cache[1] = withKeys((...args) => ($options.open && $options.open(...args)), ["enter"]))
|
|
107
|
-
},
|
|
105
|
+
}, { ...$props.displayProps, ..._ctx.ptm('display') }), [
|
|
108
106
|
renderSlot(_ctx.$slots, "display")
|
|
109
107
|
], 16, _hoisted_1))
|
|
110
|
-
: (openBlock(), createElementBlock("div",
|
|
108
|
+
: (openBlock(), createElementBlock("div", mergeProps({
|
|
109
|
+
key: 1,
|
|
110
|
+
class: "p-inplace-content"
|
|
111
|
+
}, _ctx.ptm('content')), [
|
|
111
112
|
renderSlot(_ctx.$slots, "content"),
|
|
112
113
|
($props.closable)
|
|
113
114
|
? (openBlock(), createBlock(_component_IPButton, mergeProps({
|
|
114
115
|
key: 0,
|
|
115
116
|
"aria-label": $options.closeAriaLabel,
|
|
116
|
-
onClick: $options.close
|
|
117
|
+
onClick: $options.close,
|
|
118
|
+
pt: _ctx.ptm('closeButton')
|
|
117
119
|
}, $props.closeButtonProps), {
|
|
118
120
|
icon: withCtx(() => [
|
|
119
121
|
renderSlot(_ctx.$slots, "closeicon", {}, () => [
|
|
120
|
-
(openBlock(), createBlock(resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), {
|
|
121
|
-
class: normalizeClass($props.closeIcon)
|
|
122
|
-
}, null, 8, ["class"]))
|
|
122
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), mergeProps({ class: $props.closeIcon }, _ctx.ptm('closeButton')['icon']), null, 16, ["class"]))
|
|
123
123
|
])
|
|
124
124
|
]),
|
|
125
125
|
_: 3
|
|
126
|
-
}, 16, ["aria-label", "onClick"]))
|
|
126
|
+
}, 16, ["aria-label", "onClick", "pt"]))
|
|
127
127
|
: createCommentVNode("", true)
|
|
128
|
-
]))
|
|
129
|
-
],
|
|
128
|
+
], 16))
|
|
129
|
+
], 16)), [
|
|
130
130
|
[_directive_focustrap]
|
|
131
131
|
])
|
|
132
132
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/
|
|
1
|
+
import e from"primevue/basecomponent";import t from"primevue/button";import n from"primevue/focustrap";import i from"primevue/icons/times";import{resolveComponent as o,resolveDirective as l,withDirectives as a,openBlock as s,createElementBlock as p,mergeProps as c,withKeys as d,renderSlot as r,createBlock as u,withCtx as m,resolveDynamicComponent as f,createCommentVNode as v}from"vue";var y={name:"Inplace",extends:e,emits:["open","close","update:active"],props:{closable:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},closeIcon:{type:String,default:void 0},displayProps:{type:null,default:null},closeButtonProps:{type:null,default:null}},data(){return{d_active:this.active}},watch:{active(e){this.d_active=e}},methods:{open(e){this.disabled||(this.$emit("open",e),this.d_active=!0,this.$emit("update:active",!0))},close(e){this.$emit("close",e),this.d_active=!1,this.$emit("update:active",!1),setTimeout((()=>{this.$refs.display.focus()}),0)}},computed:{containerClass(){return["p-inplace p-component",{"p-inplace-closable":this.closable}]},displayClass(){return["p-inplace-display",{"p-disabled":this.disabled}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{IPButton:t,TimesIcon:i},directives:{focustrap:n}};const h=["tabindex"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-inplace .p-inplace-display {\n display: inline;\n cursor: pointer;\n}\n.p-inplace .p-inplace-content {\n display: inline;\n}\n.p-fluid .p-inplace.p-inplace-closable .p-inplace-content {\n display: flex;\n}\n.p-fluid .p-inplace.p-inplace-closable .p-inplace-content > .p-inputtext {\n flex: 1 1 auto;\n width: 1%;\n}\n"),y.render=function(e,t,n,i,y,b){const x=o("IPButton"),B=l("focustrap");return a((s(),p("div",c({class:b.containerClass,"aria-live":"polite"},e.ptm("root")),[y.d_active?(s(),p("div",c({key:1,class:"p-inplace-content"},e.ptm("content")),[r(e.$slots,"content"),n.closable?(s(),u(x,c({key:0,"aria-label":b.closeAriaLabel,onClick:b.close,pt:e.ptm("closeButton")},n.closeButtonProps),{icon:m((()=>[r(e.$slots,"closeicon",{},(()=>[(s(),u(f(n.closeIcon?"span":"TimesIcon"),c({class:n.closeIcon},e.ptm("closeButton").icon),null,16,["class"]))]))])),_:3},16,["aria-label","onClick","pt"])):v("",!0)],16)):(s(),p("div",c({key:0,ref:"display",class:b.displayClass,tabindex:e.$attrs.tabindex||"0",role:"button",onClick:t[0]||(t[0]=(...e)=>b.open&&b.open(...e)),onKeydown:t[1]||(t[1]=d(((...e)=>b.open&&b.open(...e)),["enter"]))},{...n.displayProps,...e.ptm("display")}),[r(e.$slots,"display")],16,h))],16)),[[B]])};export{y as default};
|
package/inplace/inplace.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.inplace = (function (Button, FocusTrap, TimesIcon, vue) {
|
|
2
|
+
this.primevue.inplace = (function (BaseComponent, Button, FocusTrap, TimesIcon, 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 Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
8
9
|
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
9
10
|
var TimesIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesIcon);
|
|
10
11
|
|
|
11
12
|
var script = {
|
|
12
13
|
name: 'Inplace',
|
|
14
|
+
extends: BaseComponent__default["default"],
|
|
13
15
|
emits: ['open', 'close', 'update:active'],
|
|
14
16
|
props: {
|
|
15
17
|
closable: {
|
|
@@ -87,19 +89,15 @@ this.primevue.inplace = (function (Button, FocusTrap, TimesIcon, vue) {
|
|
|
87
89
|
};
|
|
88
90
|
|
|
89
91
|
const _hoisted_1 = ["tabindex"];
|
|
90
|
-
const _hoisted_2 = {
|
|
91
|
-
key: 1,
|
|
92
|
-
class: "p-inplace-content"
|
|
93
|
-
};
|
|
94
92
|
|
|
95
93
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
96
94
|
const _component_IPButton = vue.resolveComponent("IPButton");
|
|
97
95
|
const _directive_focustrap = vue.resolveDirective("focustrap");
|
|
98
96
|
|
|
99
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
100
|
-
class:
|
|
97
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
98
|
+
class: $options.containerClass,
|
|
101
99
|
"aria-live": "polite"
|
|
102
|
-
}, [
|
|
100
|
+
}, _ctx.ptm('root')), [
|
|
103
101
|
(!$data.d_active)
|
|
104
102
|
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
105
103
|
key: 0,
|
|
@@ -109,29 +107,31 @@ this.primevue.inplace = (function (Button, FocusTrap, TimesIcon, vue) {
|
|
|
109
107
|
role: "button",
|
|
110
108
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.open && $options.open(...args))),
|
|
111
109
|
onKeydown: _cache[1] || (_cache[1] = vue.withKeys((...args) => ($options.open && $options.open(...args)), ["enter"]))
|
|
112
|
-
},
|
|
110
|
+
}, { ...$props.displayProps, ..._ctx.ptm('display') }), [
|
|
113
111
|
vue.renderSlot(_ctx.$slots, "display")
|
|
114
112
|
], 16, _hoisted_1))
|
|
115
|
-
: (vue.openBlock(), vue.createElementBlock("div",
|
|
113
|
+
: (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
114
|
+
key: 1,
|
|
115
|
+
class: "p-inplace-content"
|
|
116
|
+
}, _ctx.ptm('content')), [
|
|
116
117
|
vue.renderSlot(_ctx.$slots, "content"),
|
|
117
118
|
($props.closable)
|
|
118
119
|
? (vue.openBlock(), vue.createBlock(_component_IPButton, vue.mergeProps({
|
|
119
120
|
key: 0,
|
|
120
121
|
"aria-label": $options.closeAriaLabel,
|
|
121
|
-
onClick: $options.close
|
|
122
|
+
onClick: $options.close,
|
|
123
|
+
pt: _ctx.ptm('closeButton')
|
|
122
124
|
}, $props.closeButtonProps), {
|
|
123
125
|
icon: vue.withCtx(() => [
|
|
124
126
|
vue.renderSlot(_ctx.$slots, "closeicon", {}, () => [
|
|
125
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), {
|
|
126
|
-
class: vue.normalizeClass($props.closeIcon)
|
|
127
|
-
}, null, 8, ["class"]))
|
|
127
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), vue.mergeProps({ class: $props.closeIcon }, _ctx.ptm('closeButton')['icon']), null, 16, ["class"]))
|
|
128
128
|
])
|
|
129
129
|
]),
|
|
130
130
|
_: 3
|
|
131
|
-
}, 16, ["aria-label", "onClick"]))
|
|
131
|
+
}, 16, ["aria-label", "onClick", "pt"]))
|
|
132
132
|
: vue.createCommentVNode("", true)
|
|
133
|
-
]))
|
|
134
|
-
],
|
|
133
|
+
], 16))
|
|
134
|
+
], 16)), [
|
|
135
135
|
[_directive_focustrap]
|
|
136
136
|
])
|
|
137
137
|
}
|
|
@@ -170,4 +170,4 @@ this.primevue.inplace = (function (Button, FocusTrap, TimesIcon, vue) {
|
|
|
170
170
|
|
|
171
171
|
return script;
|
|
172
172
|
|
|
173
|
-
})(primevue.button, primevue.focustrap, primevue.icons.times, Vue);
|
|
173
|
+
})(primevue.basecomponent, primevue.button, primevue.focustrap, primevue.icons.times, Vue);
|
package/inplace/inplace.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.inplace=function(e,t,n,l){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.inplace=function(e,t,n,o,l){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e),s=i(t),c=i(n),p=i(o),r={name:"Inplace",extends:a.default,emits:["open","close","update:active"],props:{closable:{type:Boolean,default:!1},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},closeIcon:{type:String,default:void 0},displayProps:{type:null,default:null},closeButtonProps:{type:null,default:null}},data(){return{d_active:this.active}},watch:{active(e){this.d_active=e}},methods:{open(e){this.disabled||(this.$emit("open",e),this.d_active=!0,this.$emit("update:active",!0))},close(e){this.$emit("close",e),this.d_active=!1,this.$emit("update:active",!1),setTimeout((()=>{this.$refs.display.focus()}),0)}},computed:{containerClass(){return["p-inplace p-component",{"p-inplace-closable":this.closable}]},displayClass(){return["p-inplace-display",{"p-disabled":this.disabled}]},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{IPButton:s.default,TimesIcon:p.default},directives:{focustrap:c.default}};const d=["tabindex"];return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===n&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}("\n.p-inplace .p-inplace-display {\n display: inline;\n cursor: pointer;\n}\n.p-inplace .p-inplace-content {\n display: inline;\n}\n.p-fluid .p-inplace.p-inplace-closable .p-inplace-content {\n display: flex;\n}\n.p-fluid .p-inplace.p-inplace-closable .p-inplace-content > .p-inputtext {\n flex: 1 1 auto;\n width: 1%;\n}\n"),r.render=function(e,t,n,o,i,a){const s=l.resolveComponent("IPButton"),c=l.resolveDirective("focustrap");return l.withDirectives((l.openBlock(),l.createElementBlock("div",l.mergeProps({class:a.containerClass,"aria-live":"polite"},e.ptm("root")),[i.d_active?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:1,class:"p-inplace-content"},e.ptm("content")),[l.renderSlot(e.$slots,"content"),n.closable?(l.openBlock(),l.createBlock(s,l.mergeProps({key:0,"aria-label":a.closeAriaLabel,onClick:a.close,pt:e.ptm("closeButton")},n.closeButtonProps),{icon:l.withCtx((()=>[l.renderSlot(e.$slots,"closeicon",{},(()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(n.closeIcon?"span":"TimesIcon"),l.mergeProps({class:n.closeIcon},e.ptm("closeButton").icon),null,16,["class"]))]))])),_:3},16,["aria-label","onClick","pt"])):l.createCommentVNode("",!0)],16)):(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:"display",class:a.displayClass,tabindex:e.$attrs.tabindex||"0",role:"button",onClick:t[0]||(t[0]=(...e)=>a.open&&a.open(...e)),onKeydown:t[1]||(t[1]=l.withKeys(((...e)=>a.open&&a.open(...e)),["enter"]))},{...n.displayProps,...e.ptm("display")}),[l.renderSlot(e.$slots,"display")],16,d))],16)),[[c]])},r}(primevue.basecomponent,primevue.button,primevue.focustrap,primevue.icons.times,Vue);
|