primevue 3.47.2 → 3.48.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/accordion/style/accordionstyle.cjs.js +0 -2
- package/accordion/style/accordionstyle.cjs.min.js +1 -1
- package/accordion/style/accordionstyle.esm.js +0 -2
- package/accordion/style/accordionstyle.esm.min.js +1 -1
- package/accordion/style/accordionstyle.js +0 -2
- package/accordion/style/accordionstyle.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +10 -0
- package/autocomplete/AutoComplete.vue +2 -14
- package/autocomplete/BaseAutoComplete.vue +8 -0
- package/autocomplete/autocomplete.cjs.js +10 -5
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +10 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +10 -5
- package/autocomplete/autocomplete.min.js +1 -1
- package/autocomplete/style/autocompletestyle.cjs.js +23 -16
- package/autocomplete/style/autocompletestyle.cjs.min.js +1 -1
- package/autocomplete/style/autocompletestyle.esm.js +23 -16
- package/autocomplete/style/autocompletestyle.esm.min.js +1 -1
- package/autocomplete/style/autocompletestyle.js +23 -16
- package/autocomplete/style/autocompletestyle.min.js +1 -1
- package/avatar/Avatar.vue +1 -1
- package/avatar/avatar.cjs.js +1 -3
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +1 -3
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -3
- package/avatar/avatar.min.js +1 -1
- package/avatar/style/avatarstyle.cjs.js +0 -2
- package/avatar/style/avatarstyle.cjs.min.js +1 -1
- package/avatar/style/avatarstyle.esm.js +0 -2
- package/avatar/style/avatarstyle.esm.min.js +1 -1
- package/avatar/style/avatarstyle.js +0 -2
- package/avatar/style/avatarstyle.min.js +1 -1
- package/avatargroup/AvatarGroup.vue +1 -1
- package/avatargroup/avatargroup.cjs.js +1 -3
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +1 -3
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -3
- package/avatargroup/avatargroup.min.js +1 -1
- package/avatargroup/style/avatargroupstyle.cjs.js +0 -2
- package/avatargroup/style/avatargroupstyle.cjs.min.js +1 -1
- package/avatargroup/style/avatargroupstyle.esm.js +0 -2
- package/avatargroup/style/avatargroupstyle.esm.min.js +1 -1
- package/avatargroup/style/avatargroupstyle.js +0 -2
- package/avatargroup/style/avatargroupstyle.min.js +1 -1
- package/badge/Badge.d.ts +1 -1
- package/badge/Badge.vue +1 -1
- package/badge/badge.cjs.js +1 -3
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +1 -3
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +1 -3
- package/badge/badge.min.js +1 -1
- package/badge/style/badgestyle.cjs.js +3 -3
- package/badge/style/badgestyle.cjs.min.js +1 -1
- package/badge/style/badgestyle.esm.js +3 -3
- package/badge/style/badgestyle.esm.min.js +1 -1
- package/badge/style/badgestyle.js +3 -3
- package/badge/style/badgestyle.min.js +1 -1
- package/badgedirective/style/badgedirectivestyle.cjs.js +0 -2
- package/badgedirective/style/badgedirectivestyle.cjs.min.js +1 -1
- package/badgedirective/style/badgedirectivestyle.esm.js +0 -2
- package/badgedirective/style/badgedirectivestyle.esm.min.js +1 -1
- package/badgedirective/style/badgedirectivestyle.js +0 -2
- package/badgedirective/style/badgedirectivestyle.min.js +1 -1
- package/basecomponent/BaseComponent.vue +20 -7
- package/basecomponent/basecomponent.cjs.js +16 -8
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +16 -8
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +16 -8
- package/basecomponent/basecomponent.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.cjs.js +0 -4
- package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.esm.js +0 -4
- package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.js +0 -4
- package/basecomponent/style/basecomponentstyle.min.js +1 -1
- package/basedirective/basedirective.cjs.js +16 -4
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +16 -4
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +16 -4
- package/basedirective/basedirective.min.js +1 -1
- package/baseicon/BaseIcon.vue +1 -6
- package/baseicon/baseicon.cjs.js +0 -5
- package/baseicon/baseicon.cjs.min.js +1 -1
- package/baseicon/baseicon.esm.js +1 -6
- package/baseicon/baseicon.esm.min.js +1 -1
- package/baseicon/baseicon.js +0 -5
- package/baseicon/baseicon.min.js +1 -1
- package/blockui/BlockUI.vue +0 -2
- package/blockui/blockui.cjs.js +0 -2
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +0 -2
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +0 -2
- package/blockui/blockui.min.js +1 -1
- package/blockui/style/blockuistyle.cjs.js +0 -2
- package/blockui/style/blockuistyle.cjs.min.js +1 -1
- package/blockui/style/blockuistyle.esm.js +0 -2
- package/blockui/style/blockuistyle.esm.min.js +1 -1
- package/blockui/style/blockuistyle.js +0 -2
- package/blockui/style/blockuistyle.min.js +1 -1
- package/breadcrumb/Breadcrumb.vue +1 -1
- package/breadcrumb/breadcrumb.cjs.js +1 -3
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +1 -3
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -3
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/breadcrumb/style/breadcrumbstyle.cjs.js +0 -2
- package/breadcrumb/style/breadcrumbstyle.cjs.min.js +1 -1
- package/breadcrumb/style/breadcrumbstyle.esm.js +0 -2
- package/breadcrumb/style/breadcrumbstyle.esm.min.js +1 -1
- package/breadcrumb/style/breadcrumbstyle.js +0 -2
- package/breadcrumb/style/breadcrumbstyle.min.js +1 -1
- package/button/Button.d.ts +2 -2
- package/button/Button.vue +1 -1
- package/button/button.cjs.js +0 -1
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +0 -1
- package/button/button.esm.min.js +1 -1
- package/button/button.js +0 -1
- package/button/button.min.js +1 -1
- package/calendar/BaseCalendar.vue +8 -0
- package/calendar/Calendar.d.ts +10 -0
- package/calendar/Calendar.vue +13 -8
- package/calendar/calendar.cjs.js +23 -11
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +24 -12
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +23 -11
- package/calendar/calendar.min.js +1 -1
- package/calendar/style/calendarstyle.cjs.js +24 -20
- package/calendar/style/calendarstyle.cjs.min.js +1 -1
- package/calendar/style/calendarstyle.esm.js +24 -20
- package/calendar/style/calendarstyle.esm.min.js +1 -1
- package/calendar/style/calendarstyle.js +24 -20
- package/calendar/style/calendarstyle.min.js +1 -1
- package/card/Card.vue +1 -1
- package/card/card.cjs.js +1 -3
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +1 -3
- package/card/card.esm.min.js +1 -1
- package/card/card.js +1 -3
- package/card/card.min.js +1 -1
- package/carousel/style/carouselstyle.cjs.js +0 -2
- package/carousel/style/carouselstyle.cjs.min.js +1 -1
- package/carousel/style/carouselstyle.esm.js +0 -2
- package/carousel/style/carouselstyle.esm.min.js +1 -1
- package/carousel/style/carouselstyle.js +0 -2
- package/carousel/style/carouselstyle.min.js +1 -1
- package/cascadeselect/BaseCascadeSelect.vue +8 -0
- package/cascadeselect/CascadeSelect.d.ts +10 -0
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/cascadeselect.cjs.js +9 -3
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +9 -3
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +9 -3
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.cjs.js +4 -4
- package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.esm.js +4 -4
- package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.js +4 -4
- package/cascadeselect/style/cascadeselectstyle.min.js +1 -1
- package/chart/Chart.vue +1 -1
- package/chart/chart.cjs.js +1 -3
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +1 -3
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +1 -3
- package/chart/chart.min.js +1 -1
- package/checkbox/BaseCheckbox.vue +8 -0
- package/checkbox/Checkbox.d.ts +10 -0
- package/checkbox/Checkbox.vue +1 -1
- package/checkbox/checkbox.cjs.js +8 -1
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +8 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +8 -1
- package/checkbox/checkbox.min.js +1 -1
- package/checkbox/style/checkboxstyle.cjs.js +3 -3
- package/checkbox/style/checkboxstyle.cjs.min.js +1 -1
- package/checkbox/style/checkboxstyle.esm.js +3 -3
- package/checkbox/style/checkboxstyle.esm.min.js +1 -1
- package/checkbox/style/checkboxstyle.js +3 -3
- package/checkbox/style/checkboxstyle.min.js +1 -1
- package/chip/Chip.vue +1 -1
- package/chip/chip.cjs.js +1 -3
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +1 -3
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -3
- package/chip/chip.min.js +1 -1
- package/chip/style/chipstyle.cjs.js +0 -2
- package/chip/style/chipstyle.cjs.min.js +1 -1
- package/chip/style/chipstyle.esm.js +0 -2
- package/chip/style/chipstyle.esm.min.js +1 -1
- package/chip/style/chipstyle.js +0 -2
- package/chip/style/chipstyle.min.js +1 -1
- package/chips/BaseChips.vue +8 -0
- package/chips/Chips.d.ts +11 -0
- package/chips/Chips.vue +10 -2
- package/chips/chips.cjs.js +18 -4
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +18 -4
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +18 -4
- package/chips/chips.min.js +1 -1
- package/chips/style/chipsstyle.cjs.js +11 -6
- package/chips/style/chipsstyle.cjs.min.js +1 -1
- package/chips/style/chipsstyle.esm.js +11 -6
- package/chips/style/chipsstyle.esm.min.js +1 -1
- package/chips/style/chipsstyle.js +11 -6
- package/chips/style/chipsstyle.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +1 -1
- package/colorpicker/ColorPicker.vue +11 -8
- package/colorpicker/colorpicker.cjs.js +12 -14
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +12 -14
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +12 -14
- package/colorpicker/colorpicker.min.js +1 -1
- package/colorpicker/style/colorpickerstyle.cjs.js +0 -3
- package/colorpicker/style/colorpickerstyle.cjs.min.js +1 -1
- package/colorpicker/style/colorpickerstyle.esm.js +0 -3
- package/colorpicker/style/colorpickerstyle.esm.min.js +1 -1
- package/colorpicker/style/colorpickerstyle.js +0 -3
- package/colorpicker/style/colorpickerstyle.min.js +1 -1
- package/config/PrimeVue.d.ts +1 -1
- package/config/config.cjs.js +1 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +1 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +1 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +4 -4
- package/confirmdialog/confirmdialog.cjs.js +4 -6
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +4 -6
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +4 -6
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +4 -22
- package/confirmpopup/confirmpopup.cjs.js +4 -6
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +4 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +4 -6
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.cjs.js +0 -3
- package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.esm.js +0 -3
- package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.js +0 -3
- package/confirmpopup/style/confirmpopupstyle.min.js +1 -1
- package/contextmenu/ContextMenu.vue +1 -1
- package/contextmenu/contextmenu.cjs.js +1 -3
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +1 -3
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +1 -3
- package/contextmenu/contextmenu.min.js +1 -1
- package/contextmenu/style/contextmenustyle.cjs.js +0 -3
- package/contextmenu/style/contextmenustyle.cjs.min.js +1 -1
- package/contextmenu/style/contextmenustyle.esm.js +0 -3
- package/contextmenu/style/contextmenustyle.esm.min.js +1 -1
- package/contextmenu/style/contextmenustyle.js +0 -3
- package/contextmenu/style/contextmenustyle.min.js +1 -1
- package/core/core.js +370 -760
- package/core/core.min.js +126 -126
- package/datatable/BodyRow.vue +13 -1
- package/datatable/ColumnFilter.vue +10 -17
- package/datatable/DataTable.vue +2 -2
- package/datatable/HeaderCell.vue +1 -1
- package/datatable/TableBody.vue +5 -2
- package/datatable/datatable.cjs.js +45 -22
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +45 -22
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +45 -22
- package/datatable/datatable.min.js +1 -1
- package/datatable/style/datatablestyle.cjs.js +3 -5
- package/datatable/style/datatablestyle.cjs.min.js +1 -1
- package/datatable/style/datatablestyle.esm.js +3 -5
- package/datatable/style/datatablestyle.esm.min.js +1 -1
- package/datatable/style/datatablestyle.js +3 -5
- package/datatable/style/datatablestyle.min.js +1 -1
- package/dataview/DataView.vue +1 -1
- package/dataview/dataview.cjs.js +1 -3
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +1 -3
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +1 -3
- package/dataview/dataview.min.js +1 -1
- package/dialog/Dialog.vue +11 -5
- package/dialog/dialog.cjs.js +10 -4
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +11 -5
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +10 -4
- package/dialog/dialog.min.js +1 -1
- package/dialog/style/dialogstyle.cjs.js +0 -4
- package/dialog/style/dialogstyle.cjs.min.js +1 -1
- package/dialog/style/dialogstyle.esm.js +0 -4
- package/dialog/style/dialogstyle.esm.min.js +1 -1
- package/dialog/style/dialogstyle.js +0 -4
- package/dialog/style/dialogstyle.min.js +1 -1
- package/divider/Divider.vue +1 -1
- package/divider/divider.cjs.js +1 -3
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +1 -3
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -3
- package/divider/divider.min.js +1 -1
- package/divider/style/dividerstyle.cjs.js +0 -3
- package/divider/style/dividerstyle.cjs.min.js +1 -1
- package/divider/style/dividerstyle.esm.js +0 -3
- package/divider/style/dividerstyle.esm.min.js +1 -1
- package/divider/style/dividerstyle.js +0 -3
- package/divider/style/dividerstyle.min.js +1 -1
- package/dock/Dock.vue +1 -1
- package/dock/dock.cjs.js +1 -3
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +1 -3
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +1 -3
- package/dock/dock.min.js +1 -1
- package/dock/style/dockstyle.cjs.js +0 -2
- package/dock/style/dockstyle.cjs.min.js +1 -1
- package/dock/style/dockstyle.esm.js +0 -2
- package/dock/style/dockstyle.esm.min.js +1 -1
- package/dock/style/dockstyle.js +0 -2
- package/dock/style/dockstyle.min.js +1 -1
- package/dropdown/BaseDropdown.vue +8 -0
- package/dropdown/Dropdown.d.ts +10 -0
- package/dropdown/Dropdown.vue +4 -4
- package/dropdown/dropdown.cjs.js +13 -7
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +12 -6
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +14 -8
- package/dropdown/dropdown.min.js +1 -1
- package/dropdown/style/dropdownstyle.cjs.js +17 -11
- package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
- package/dropdown/style/dropdownstyle.esm.js +17 -11
- package/dropdown/style/dropdownstyle.esm.min.js +1 -1
- package/dropdown/style/dropdownstyle.js +17 -11
- package/dropdown/style/dropdownstyle.min.js +1 -1
- package/editor/Editor.vue +1 -1
- package/editor/editor.cjs.js +1 -3
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +1 -3
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +1 -3
- package/editor/editor.min.js +1 -1
- package/fieldset/Fieldset.vue +12 -8
- package/fieldset/fieldset.cjs.js +13 -11
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +13 -11
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +13 -11
- package/fieldset/fieldset.min.js +1 -1
- package/fieldset/style/fieldsetstyle.cjs.js +0 -2
- package/fieldset/style/fieldsetstyle.cjs.min.js +1 -1
- package/fieldset/style/fieldsetstyle.esm.js +0 -2
- package/fieldset/style/fieldsetstyle.esm.min.js +1 -1
- package/fieldset/style/fieldsetstyle.js +0 -2
- package/fieldset/style/fieldsetstyle.min.js +1 -1
- package/fileupload/FileUpload.vue +4 -4
- package/fileupload/fileupload.cjs.js +4 -10
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +4 -10
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +4 -10
- package/fileupload/fileupload.min.js +1 -1
- package/fileupload/style/fileuploadstyle.cjs.js +0 -2
- package/fileupload/style/fileuploadstyle.cjs.min.js +1 -1
- package/fileupload/style/fileuploadstyle.esm.js +0 -2
- package/fileupload/style/fileuploadstyle.esm.min.js +1 -1
- package/fileupload/style/fileuploadstyle.js +0 -2
- package/fileupload/style/fileuploadstyle.min.js +1 -1
- package/floatlabel/BaseFloatLabel.vue +16 -0
- package/floatlabel/FloatLabel.d.ts +128 -0
- package/floatlabel/FloatLabel.vue +14 -0
- package/floatlabel/floatlabel.cjs.js +37 -0
- package/floatlabel/floatlabel.cjs.min.js +1 -0
- package/floatlabel/floatlabel.esm.js +30 -0
- package/floatlabel/floatlabel.esm.min.js +1 -0
- package/floatlabel/floatlabel.js +37 -0
- package/floatlabel/floatlabel.min.js +1 -0
- package/floatlabel/package.json +9 -0
- package/floatlabel/style/FloatLabelStyle.d.ts +3 -0
- package/floatlabel/style/floatlabelstyle.cjs.js +17 -0
- package/floatlabel/style/floatlabelstyle.cjs.min.js +1 -0
- package/floatlabel/style/floatlabelstyle.esm.js +11 -0
- package/floatlabel/style/floatlabelstyle.esm.min.js +1 -0
- package/floatlabel/style/floatlabelstyle.js +20 -0
- package/floatlabel/style/floatlabelstyle.min.js +1 -0
- package/floatlabel/style/package.json +6 -0
- package/galleria/GalleriaContent.vue +7 -2
- package/galleria/galleria.cjs.js +8 -4
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +8 -4
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +8 -4
- package/galleria/galleria.min.js +1 -1
- package/galleria/style/galleriastyle.cjs.js +0 -3
- package/galleria/style/galleriastyle.cjs.min.js +1 -1
- package/galleria/style/galleriastyle.esm.js +0 -3
- package/galleria/style/galleriastyle.esm.min.js +1 -1
- package/galleria/style/galleriastyle.js +0 -3
- package/galleria/style/galleriastyle.min.js +1 -1
- package/iconfield/BaseIconField.vue +21 -0
- package/iconfield/IconField.d.ts +127 -0
- package/iconfield/IconField.vue +14 -0
- package/iconfield/iconfield.cjs.js +42 -0
- package/iconfield/iconfield.cjs.min.js +1 -0
- package/iconfield/iconfield.esm.js +35 -0
- package/iconfield/iconfield.esm.min.js +1 -0
- package/iconfield/iconfield.js +42 -0
- package/iconfield/iconfield.min.js +1 -0
- package/iconfield/package.json +9 -0
- package/iconfield/style/IconField.d.ts +3 -0
- package/iconfield/style/iconfieldstyle.cjs.js +23 -0
- package/iconfield/style/iconfieldstyle.cjs.min.js +1 -0
- package/iconfield/style/iconfieldstyle.esm.js +17 -0
- package/iconfield/style/iconfieldstyle.esm.min.js +1 -0
- package/iconfield/style/iconfieldstyle.js +26 -0
- package/iconfield/style/iconfieldstyle.min.js +1 -0
- package/iconfield/style/package.json +6 -0
- package/icons/arrowdown/index.cjs.js +3 -15
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +3 -15
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +3 -15
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowdown/index.vue +6 -13
- package/icons/arrowup/index.cjs.js +3 -15
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +3 -15
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +3 -15
- package/icons/arrowup/index.min.js +1 -1
- package/icons/arrowup/index.vue +6 -13
- package/icons/ban/index.cjs.js +3 -15
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +3 -15
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +3 -15
- package/icons/ban/index.min.js +1 -1
- package/icons/ban/index.vue +4 -11
- package/icons/exclamationtriangle/index.cjs.js +5 -17
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +5 -17
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +5 -17
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/exclamationtriangle/index.vue +12 -19
- package/icons/eyeslash/index.cjs.js +3 -15
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +3 -15
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +3 -15
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/eyeslash/index.vue +6 -13
- package/icons/filter/index.cjs.js +3 -15
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +3 -15
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +3 -15
- package/icons/filter/index.min.js +1 -1
- package/icons/filter/index.vue +4 -11
- package/icons/filterslash/index.cjs.js +3 -15
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +3 -15
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +3 -15
- package/icons/filterslash/index.min.js +1 -1
- package/icons/filterslash/index.vue +6 -13
- package/icons/infocircle/index.cjs.js +3 -15
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +3 -15
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +3 -15
- package/icons/infocircle/index.min.js +1 -1
- package/icons/infocircle/index.vue +6 -13
- package/icons/pencil/index.cjs.js +3 -15
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +3 -15
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +3 -15
- package/icons/pencil/index.min.js +1 -1
- package/icons/pencil/index.vue +4 -11
- package/icons/plus/index.cjs.js +3 -15
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +3 -15
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +3 -15
- package/icons/plus/index.min.js +1 -1
- package/icons/plus/index.vue +4 -11
- package/icons/refresh/index.cjs.js +3 -15
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +3 -15
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +3 -15
- package/icons/refresh/index.min.js +1 -1
- package/icons/refresh/index.vue +6 -13
- package/icons/search/index.cjs.js +3 -15
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +3 -15
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +3 -15
- package/icons/search/index.min.js +1 -1
- package/icons/search/index.vue +6 -13
- package/icons/searchminus/index.cjs.js +3 -15
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +3 -15
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +3 -15
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchminus/index.vue +6 -13
- package/icons/searchplus/index.cjs.js +3 -15
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +3 -15
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +3 -15
- package/icons/searchplus/index.min.js +1 -1
- package/icons/searchplus/index.vue +6 -13
- package/icons/sortalt/index.cjs.js +6 -18
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +6 -18
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +6 -18
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortalt/index.vue +10 -17
- package/icons/sortamountdown/index.cjs.js +3 -15
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +3 -15
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +3 -15
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountdown/index.vue +4 -11
- package/icons/sortamountupalt/index.cjs.js +3 -15
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +3 -15
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +3 -15
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/sortamountupalt/index.vue +4 -11
- package/icons/spinner/index.cjs.js +3 -15
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +3 -15
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +3 -15
- package/icons/spinner/index.min.js +1 -1
- package/icons/spinner/index.vue +4 -11
- package/icons/star/index.cjs.js +3 -15
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +3 -15
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +3 -15
- package/icons/star/index.min.js +1 -1
- package/icons/star/index.vue +4 -11
- package/icons/starfill/index.cjs.js +3 -15
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +3 -15
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +3 -15
- package/icons/starfill/index.min.js +1 -1
- package/icons/starfill/index.vue +4 -11
- package/icons/thlarge/index.cjs.js +3 -15
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +3 -15
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +3 -15
- package/icons/thlarge/index.min.js +1 -1
- package/icons/thlarge/index.vue +6 -13
- package/icons/timescircle/index.cjs.js +3 -15
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +3 -15
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +3 -15
- package/icons/timescircle/index.min.js +1 -1
- package/icons/timescircle/index.vue +6 -13
- package/icons/trash/index.cjs.js +3 -15
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +3 -15
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +3 -15
- package/icons/trash/index.min.js +1 -1
- package/icons/trash/index.vue +6 -13
- package/icons/undo/index.cjs.js +3 -15
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +3 -15
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +3 -15
- package/icons/undo/index.min.js +1 -1
- package/icons/undo/index.vue +6 -13
- package/icons/upload/index.cjs.js +3 -15
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +3 -15
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +3 -15
- package/icons/upload/index.min.js +1 -1
- package/icons/upload/index.vue +6 -13
- package/icons/windowmaximize/index.cjs.js +3 -15
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +3 -15
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +3 -15
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowmaximize/index.vue +6 -13
- package/icons/windowminimize/index.cjs.js +3 -15
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +3 -15
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +3 -15
- package/icons/windowminimize/index.min.js +1 -1
- package/icons/windowminimize/index.vue +6 -13
- package/image/Image.vue +1 -1
- package/image/image.cjs.js +1 -3
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +1 -3
- package/image/image.esm.min.js +1 -1
- package/image/image.js +1 -3
- package/image/image.min.js +1 -1
- package/image/style/imagestyle.cjs.js +0 -2
- package/image/style/imagestyle.cjs.min.js +1 -1
- package/image/style/imagestyle.esm.js +0 -2
- package/image/style/imagestyle.esm.min.js +1 -1
- package/image/style/imagestyle.js +0 -2
- package/image/style/imagestyle.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +1 -1
- package/inlinemessage/style/inlinemessagestyle.cjs.js +0 -2
- package/inlinemessage/style/inlinemessagestyle.cjs.min.js +1 -1
- package/inlinemessage/style/inlinemessagestyle.esm.js +0 -2
- package/inlinemessage/style/inlinemessagestyle.esm.min.js +1 -1
- package/inlinemessage/style/inlinemessagestyle.js +0 -2
- package/inlinemessage/style/inlinemessagestyle.min.js +1 -1
- package/inplace/Inplace.vue +1 -1
- package/inplace/inplace.cjs.js +1 -3
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +1 -3
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +1 -3
- package/inplace/inplace.min.js +1 -1
- package/inplace/style/inplacestyle.cjs.js +0 -2
- package/inplace/style/inplacestyle.cjs.min.js +1 -1
- package/inplace/style/inplacestyle.esm.js +0 -2
- package/inplace/style/inplacestyle.esm.min.js +1 -1
- package/inplace/style/inplacestyle.js +0 -2
- package/inplace/style/inplacestyle.min.js +1 -1
- package/inputgroup/InputGroup.vue +1 -1
- package/inputgroup/inputgroup.cjs.js +1 -3
- package/inputgroup/inputgroup.cjs.min.js +1 -1
- package/inputgroup/inputgroup.esm.js +1 -3
- package/inputgroup/inputgroup.esm.min.js +1 -1
- package/inputgroup/inputgroup.js +1 -3
- package/inputgroup/inputgroup.min.js +1 -1
- package/inputgroupaddon/InputGroupAddon.vue +1 -1
- package/inputgroupaddon/inputgroupaddon.cjs.js +1 -3
- package/inputgroupaddon/inputgroupaddon.cjs.min.js +1 -1
- package/inputgroupaddon/inputgroupaddon.esm.js +1 -3
- package/inputgroupaddon/inputgroupaddon.esm.min.js +1 -1
- package/inputgroupaddon/inputgroupaddon.js +1 -3
- package/inputgroupaddon/inputgroupaddon.min.js +1 -1
- package/inputicon/BaseInputIcon.vue +15 -0
- package/inputicon/InputIcon.d.ts +117 -0
- package/inputicon/InputIcon.vue +12 -0
- package/inputicon/inputicon.cjs.js +34 -0
- package/inputicon/inputicon.cjs.min.js +1 -0
- package/inputicon/inputicon.esm.js +27 -0
- package/inputicon/inputicon.esm.min.js +1 -0
- package/inputicon/inputicon.js +34 -0
- package/inputicon/inputicon.min.js +1 -0
- package/inputicon/package.json +9 -0
- package/inputicon/style/InputIcoonStyle.d.ts +3 -0
- package/inputicon/style/inputiconstyle.cjs.js +5 -0
- package/inputicon/style/inputiconstyle.cjs.min.js +1 -0
- package/inputicon/style/inputiconstyle.esm.js +3 -0
- package/inputicon/style/inputiconstyle.esm.min.js +1 -0
- package/inputicon/style/inputiconstyle.js +10 -0
- package/inputicon/style/inputiconstyle.min.js +1 -0
- package/inputicon/style/package.json +6 -0
- package/inputmask/BaseInputMask.vue +8 -0
- package/inputmask/InputMask.d.ts +10 -0
- package/inputmask/InputMask.vue +1 -1
- package/inputmask/inputmask.cjs.js +9 -3
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +9 -3
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +9 -3
- package/inputmask/inputmask.min.js +1 -1
- package/inputmask/style/inputmaskstyle.cjs.js +5 -2
- package/inputmask/style/inputmaskstyle.cjs.min.js +1 -1
- package/inputmask/style/inputmaskstyle.esm.js +5 -2
- package/inputmask/style/inputmaskstyle.esm.min.js +1 -1
- package/inputmask/style/inputmaskstyle.js +5 -2
- package/inputmask/style/inputmaskstyle.min.js +1 -1
- package/inputnumber/BaseInputNumber.vue +8 -0
- package/inputnumber/InputNumber.d.ts +10 -0
- package/inputnumber/InputNumber.vue +3 -26
- package/inputnumber/inputnumber.cjs.js +14 -13
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +14 -13
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +14 -13
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputnumber/style/inputnumberstyle.cjs.js +15 -10
- package/inputnumber/style/inputnumberstyle.cjs.min.js +1 -1
- package/inputnumber/style/inputnumberstyle.esm.js +15 -10
- package/inputnumber/style/inputnumberstyle.esm.min.js +1 -1
- package/inputnumber/style/inputnumberstyle.js +15 -10
- package/inputnumber/style/inputnumberstyle.min.js +1 -1
- package/inputswitch/BaseInputSwitch.vue +4 -0
- package/inputswitch/InputSwitch.d.ts +5 -0
- package/inputswitch/InputSwitch.vue +1 -1
- package/inputswitch/inputswitch.cjs.js +4 -1
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +4 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +4 -1
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.cjs.js +2 -3
- package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.esm.js +2 -3
- package/inputswitch/style/inputswitchstyle.esm.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.js +2 -3
- package/inputswitch/style/inputswitchstyle.min.js +1 -1
- package/inputtext/BaseInputText.vue +8 -0
- package/inputtext/InputText.d.ts +10 -0
- package/inputtext/InputText.vue +1 -1
- package/inputtext/inputtext.cjs.js +9 -3
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +9 -3
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +9 -3
- package/inputtext/inputtext.min.js +1 -1
- package/inputtext/style/inputtextstyle.cjs.js +3 -1
- package/inputtext/style/inputtextstyle.cjs.min.js +1 -1
- package/inputtext/style/inputtextstyle.esm.js +3 -1
- package/inputtext/style/inputtextstyle.esm.min.js +1 -1
- package/inputtext/style/inputtextstyle.js +3 -1
- package/inputtext/style/inputtextstyle.min.js +1 -1
- package/knob/Knob.vue +11 -8
- package/knob/knob.cjs.js +10 -10
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +10 -10
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +10 -10
- package/knob/knob.min.js +1 -1
- package/knob/style/knobstyle.cjs.js +0 -2
- package/knob/style/knobstyle.cjs.min.js +1 -1
- package/knob/style/knobstyle.esm.js +0 -2
- package/knob/style/knobstyle.esm.min.js +1 -1
- package/knob/style/knobstyle.js +0 -2
- package/knob/style/knobstyle.min.js +1 -1
- package/listbox/BaseListbox.vue +4 -0
- package/listbox/Listbox.d.ts +5 -0
- package/listbox/Listbox.vue +1 -1
- package/listbox/listbox.cjs.js +5 -3
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +5 -3
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +5 -3
- package/listbox/listbox.min.js +1 -1
- package/listbox/style/listboxstyle.cjs.js +2 -3
- package/listbox/style/listboxstyle.cjs.min.js +1 -1
- package/listbox/style/listboxstyle.esm.js +2 -3
- package/listbox/style/listboxstyle.esm.min.js +1 -1
- package/listbox/style/listboxstyle.js +2 -3
- package/listbox/style/listboxstyle.min.js +1 -1
- package/megamenu/MegaMenu.vue +1 -1
- package/megamenu/megamenu.cjs.js +1 -3
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +1 -3
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +1 -3
- package/megamenu/megamenu.min.js +1 -1
- package/megamenu/style/megamenustyle.cjs.js +0 -2
- package/megamenu/style/megamenustyle.cjs.min.js +1 -1
- package/megamenu/style/megamenustyle.esm.js +0 -2
- package/megamenu/style/megamenustyle.esm.min.js +1 -1
- package/megamenu/style/megamenustyle.js +0 -2
- package/megamenu/style/megamenustyle.min.js +1 -1
- package/menu/Menu.vue +1 -1
- package/menu/menu.cjs.js +1 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +1 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +1 -3
- package/menu/menu.min.js +1 -1
- package/menu/style/menustyle.cjs.js +0 -3
- package/menu/style/menustyle.cjs.min.js +1 -1
- package/menu/style/menustyle.esm.js +0 -3
- package/menu/style/menustyle.esm.min.js +1 -1
- package/menu/style/menustyle.js +0 -3
- package/menu/style/menustyle.min.js +1 -1
- package/menubar/style/menubarstyle.cjs.js +0 -2
- package/menubar/style/menubarstyle.cjs.min.js +1 -1
- package/menubar/style/menubarstyle.esm.js +0 -2
- package/menubar/style/menubarstyle.esm.min.js +1 -1
- package/menubar/style/menubarstyle.js +0 -2
- package/menubar/style/menubarstyle.min.js +1 -1
- package/message/Message.d.ts +1 -1
- package/message/Message.vue +1 -1
- package/message/message.cjs.js +1 -3
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +1 -3
- package/message/message.esm.min.js +1 -1
- package/message/message.js +1 -3
- package/message/message.min.js +1 -1
- package/message/style/messagestyle.cjs.js +0 -2
- package/message/style/messagestyle.cjs.min.js +1 -1
- package/message/style/messagestyle.esm.js +0 -2
- package/message/style/messagestyle.esm.min.js +1 -1
- package/message/style/messagestyle.js +0 -2
- package/message/style/messagestyle.min.js +1 -1
- package/metergroup/MeterGroup.vue +1 -1
- package/metergroup/metergroup.cjs.js +1 -3
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +1 -3
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +1 -3
- package/metergroup/metergroup.min.js +1 -1
- package/metergroup/style/metergroupstyle.cjs.js +7 -11
- package/metergroup/style/metergroupstyle.cjs.min.js +1 -1
- package/metergroup/style/metergroupstyle.esm.js +7 -11
- package/metergroup/style/metergroupstyle.esm.min.js +1 -1
- package/metergroup/style/metergroupstyle.js +7 -11
- package/metergroup/style/metergroupstyle.min.js +1 -1
- package/multiselect/BaseMultiSelect.vue +8 -0
- package/multiselect/MultiSelect.d.ts +10 -0
- package/multiselect/MultiSelect.vue +3 -2
- package/multiselect/multiselect.cjs.js +13 -5
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +13 -5
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +13 -5
- package/multiselect/multiselect.min.js +1 -1
- package/multiselect/style/multiselectstyle.cjs.js +17 -11
- package/multiselect/style/multiselectstyle.cjs.min.js +1 -1
- package/multiselect/style/multiselectstyle.esm.js +17 -11
- package/multiselect/style/multiselectstyle.esm.min.js +1 -1
- package/multiselect/style/multiselectstyle.js +17 -11
- package/multiselect/style/multiselectstyle.min.js +1 -1
- package/orderlist/OrderList.vue +4 -4
- package/orderlist/orderlist.cjs.js +4 -8
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +4 -8
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +4 -8
- package/orderlist/orderlist.min.js +1 -1
- package/orderlist/style/orderliststyle.cjs.js +0 -2
- package/orderlist/style/orderliststyle.cjs.min.js +1 -1
- package/orderlist/style/orderliststyle.esm.js +0 -2
- package/orderlist/style/orderliststyle.esm.min.js +1 -1
- package/orderlist/style/orderliststyle.js +0 -2
- package/orderlist/style/orderliststyle.min.js +1 -1
- package/organizationchart/style/organizationchartstyle.cjs.js +0 -2
- package/organizationchart/style/organizationchartstyle.cjs.min.js +1 -1
- package/organizationchart/style/organizationchartstyle.esm.js +0 -2
- package/organizationchart/style/organizationchartstyle.esm.min.js +1 -1
- package/organizationchart/style/organizationchartstyle.js +0 -2
- package/organizationchart/style/organizationchartstyle.min.js +1 -1
- package/overlaypanel/style/overlaypanelstyle.cjs.js +0 -3
- package/overlaypanel/style/overlaypanelstyle.cjs.min.js +1 -1
- package/overlaypanel/style/overlaypanelstyle.esm.js +0 -3
- package/overlaypanel/style/overlaypanelstyle.esm.min.js +1 -1
- package/overlaypanel/style/overlaypanelstyle.js +0 -3
- package/overlaypanel/style/overlaypanelstyle.min.js +1 -1
- package/package.json +1 -1
- package/paginator/JumpToPageDropdown.vue +0 -1
- package/paginator/JumpToPageInput.vue +1 -11
- package/paginator/Paginator.vue +1 -1
- package/paginator/RowsPerPageDropdown.vue +0 -1
- package/paginator/paginator.cjs.js +2 -7
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +2 -7
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +2 -7
- package/paginator/paginator.min.js +1 -1
- package/paginator/style/paginatorstyle.cjs.js +0 -2
- package/paginator/style/paginatorstyle.cjs.min.js +1 -1
- package/paginator/style/paginatorstyle.esm.js +0 -2
- package/paginator/style/paginatorstyle.esm.min.js +1 -1
- package/paginator/style/paginatorstyle.js +0 -2
- package/paginator/style/paginatorstyle.min.js +1 -1
- package/panel/Panel.vue +13 -9
- package/panel/panel.cjs.js +14 -12
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +14 -12
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +14 -12
- package/panel/panel.min.js +1 -1
- package/panel/style/panelstyle.cjs.js +0 -2
- package/panel/style/panelstyle.cjs.min.js +1 -1
- package/panel/style/panelstyle.esm.js +0 -2
- package/panel/style/panelstyle.esm.min.js +1 -1
- package/panel/style/panelstyle.js +0 -2
- package/panel/style/panelstyle.min.js +1 -1
- package/panelmenu/PanelMenu.vue +1 -1
- package/panelmenu/panelmenu.cjs.js +1 -3
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +1 -3
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +1 -3
- package/panelmenu/panelmenu.min.js +1 -1
- package/panelmenu/style/panelmenustyle.cjs.js +0 -2
- package/panelmenu/style/panelmenustyle.cjs.min.js +1 -1
- package/panelmenu/style/panelmenustyle.esm.js +0 -2
- package/panelmenu/style/panelmenustyle.esm.min.js +1 -1
- package/panelmenu/style/panelmenustyle.js +0 -2
- package/panelmenu/style/panelmenustyle.min.js +1 -1
- package/passthrough/index.d.ts +3 -1
- package/password/BasePassword.vue +8 -0
- package/password/Password.d.ts +10 -0
- package/password/Password.vue +11 -2
- package/password/password.cjs.js +20 -5
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +21 -6
- package/password/password.esm.min.js +1 -1
- package/password/password.js +20 -5
- package/password/password.min.js +1 -1
- package/password/style/passwordstyle.cjs.js +2 -4
- package/password/style/passwordstyle.cjs.min.js +1 -1
- package/password/style/passwordstyle.esm.js +2 -4
- package/password/style/passwordstyle.esm.min.js +1 -1
- package/password/style/passwordstyle.js +2 -4
- package/password/style/passwordstyle.min.js +1 -1
- package/picklist/PickList.vue +12 -48
- package/picklist/picklist.cjs.js +11 -23
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +11 -23
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +11 -23
- package/picklist/picklist.min.js +1 -1
- package/picklist/style/pickliststyle.cjs.js +0 -2
- package/picklist/style/pickliststyle.cjs.min.js +1 -1
- package/picklist/style/pickliststyle.esm.js +0 -2
- package/picklist/style/pickliststyle.esm.min.js +1 -1
- package/picklist/style/pickliststyle.js +0 -2
- package/picklist/style/pickliststyle.min.js +1 -1
- package/progressbar/ProgressBar.vue +1 -1
- package/progressbar/progressbar.cjs.js +1 -3
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +1 -3
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -3
- package/progressbar/progressbar.min.js +1 -1
- package/progressbar/style/progressbarstyle.cjs.js +0 -2
- package/progressbar/style/progressbarstyle.cjs.min.js +1 -1
- package/progressbar/style/progressbarstyle.esm.js +0 -2
- package/progressbar/style/progressbarstyle.esm.min.js +1 -1
- package/progressbar/style/progressbarstyle.js +0 -2
- package/progressbar/style/progressbarstyle.min.js +1 -1
- package/progressspinner/ProgressSpinner.vue +1 -1
- package/progressspinner/progressspinner.cjs.js +1 -3
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +1 -3
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -3
- package/progressspinner/progressspinner.min.js +1 -1
- package/progressspinner/style/progressspinnerstyle.cjs.js +0 -2
- package/progressspinner/style/progressspinnerstyle.cjs.min.js +1 -1
- package/progressspinner/style/progressspinnerstyle.esm.js +0 -2
- package/progressspinner/style/progressspinnerstyle.esm.min.js +1 -1
- package/progressspinner/style/progressspinnerstyle.js +0 -2
- package/progressspinner/style/progressspinnerstyle.min.js +1 -1
- package/radiobutton/BaseRadioButton.vue +8 -0
- package/radiobutton/RadioButton.d.ts +10 -0
- package/radiobutton/RadioButton.vue +1 -1
- package/radiobutton/radiobutton.cjs.js +8 -1
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +8 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +8 -1
- package/radiobutton/radiobutton.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.cjs.js +3 -3
- package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.esm.js +3 -3
- package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.js +3 -3
- package/radiobutton/style/radiobuttonstyle.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.cjs.js +1 -3
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +1 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +1 -3
- package/rating/rating.min.js +1 -1
- package/rating/style/ratingstyle.cjs.js +0 -2
- package/rating/style/ratingstyle.cjs.min.js +1 -1
- package/rating/style/ratingstyle.esm.js +0 -2
- package/rating/style/ratingstyle.esm.min.js +1 -1
- package/rating/style/ratingstyle.js +0 -2
- package/rating/style/ratingstyle.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +4899 -231
- package/resources/themes/arya-green/theme.css +4899 -231
- package/resources/themes/arya-orange/theme.css +4899 -231
- package/resources/themes/arya-purple/theme.css +4899 -231
- package/resources/themes/aura-dark-amber/theme.css +5255 -375
- package/resources/themes/aura-dark-blue/theme.css +5255 -375
- package/resources/themes/aura-dark-cyan/theme.css +5255 -375
- package/resources/themes/aura-dark-green/theme.css +5255 -375
- package/resources/themes/aura-dark-indigo/theme.css +5255 -375
- package/resources/themes/aura-dark-lime/theme.css +5255 -375
- package/resources/themes/aura-dark-noir/theme.css +5255 -375
- package/resources/themes/aura-dark-pink/theme.css +5255 -375
- package/resources/themes/aura-dark-purple/theme.css +5255 -375
- package/resources/themes/aura-dark-teal/theme.css +5255 -375
- package/resources/themes/aura-light-amber/theme.css +5268 -389
- package/resources/themes/aura-light-blue/theme.css +5268 -389
- package/resources/themes/aura-light-cyan/theme.css +5268 -389
- package/resources/themes/aura-light-green/theme.css +5268 -389
- package/resources/themes/aura-light-indigo/theme.css +5268 -389
- package/resources/themes/aura-light-lime/theme.css +5268 -389
- package/resources/themes/aura-light-noir/theme.css +5269 -390
- package/resources/themes/aura-light-pink/theme.css +5268 -389
- package/resources/themes/aura-light-purple/theme.css +5268 -389
- package/resources/themes/aura-light-teal/theme.css +5268 -389
- package/resources/themes/bootstrap4-dark-blue/theme.css +4876 -208
- package/resources/themes/bootstrap4-dark-purple/theme.css +4876 -208
- package/resources/themes/bootstrap4-light-blue/theme.css +4876 -208
- package/resources/themes/bootstrap4-light-purple/theme.css +4876 -208
- package/resources/themes/fluent-light/theme.css +4881 -213
- package/resources/themes/lara-dark-amber/theme.css +4999 -253
- package/resources/themes/lara-dark-blue/theme.css +4999 -253
- package/resources/themes/lara-dark-cyan/theme.css +4999 -253
- package/resources/themes/lara-dark-green/theme.css +4999 -253
- package/resources/themes/lara-dark-indigo/theme.css +4999 -253
- package/resources/themes/lara-dark-pink/theme.css +4999 -253
- package/resources/themes/lara-dark-purple/theme.css +4999 -253
- package/resources/themes/lara-dark-teal/theme.css +4999 -253
- package/resources/themes/lara-light-amber/theme.css +4980 -234
- package/resources/themes/lara-light-blue/theme.css +4980 -234
- package/resources/themes/lara-light-cyan/theme.css +4980 -234
- package/resources/themes/lara-light-green/theme.css +4980 -234
- package/resources/themes/lara-light-indigo/theme.css +4980 -234
- package/resources/themes/lara-light-pink/theme.css +4980 -234
- package/resources/themes/lara-light-purple/theme.css +4980 -234
- package/resources/themes/lara-light-teal/theme.css +4980 -234
- package/resources/themes/luna-amber/theme.css +4898 -230
- package/resources/themes/luna-blue/theme.css +4898 -230
- package/resources/themes/luna-green/theme.css +4898 -230
- package/resources/themes/luna-pink/theme.css +4898 -230
- package/resources/themes/md-dark-deeppurple/theme.css +5371 -588
- package/resources/themes/md-dark-indigo/theme.css +5363 -580
- package/resources/themes/md-light-deeppurple/theme.css +5210 -428
- package/resources/themes/md-light-indigo/theme.css +5210 -428
- package/resources/themes/mdc-dark-deeppurple/theme.css +5370 -587
- package/resources/themes/mdc-dark-indigo/theme.css +5315 -532
- package/resources/themes/mdc-light-deeppurple/theme.css +5257 -475
- package/resources/themes/mdc-light-indigo/theme.css +5257 -475
- package/resources/themes/mira/theme.css +4899 -231
- package/resources/themes/nano/theme.css +4902 -234
- package/resources/themes/nova/theme.css +4899 -231
- package/resources/themes/nova-accent/theme.css +4899 -231
- package/resources/themes/nova-alt/theme.css +4899 -231
- package/resources/themes/nova-vue/theme.css +4899 -231
- package/resources/themes/rhea/theme.css +4899 -231
- package/resources/themes/saga-blue/theme.css +4899 -231
- package/resources/themes/saga-green/theme.css +4899 -231
- package/resources/themes/saga-orange/theme.css +4899 -231
- package/resources/themes/saga-purple/theme.css +4899 -231
- package/resources/themes/soho-dark/theme.css +4900 -232
- package/resources/themes/soho-light/theme.css +4900 -232
- package/resources/themes/tailwind-light/theme.css +4899 -231
- package/resources/themes/vela-blue/theme.css +4899 -231
- package/resources/themes/vela-green/theme.css +4899 -231
- package/resources/themes/vela-orange/theme.css +4899 -231
- package/resources/themes/vela-purple/theme.css +4899 -231
- package/resources/themes/viva-dark/theme.css +4900 -232
- package/resources/themes/viva-light/theme.css +4900 -232
- package/ripple/style/ripplestyle.cjs.js +0 -2
- package/ripple/style/ripplestyle.cjs.min.js +1 -1
- package/ripple/style/ripplestyle.esm.js +0 -2
- package/ripple/style/ripplestyle.esm.min.js +1 -1
- package/ripple/style/ripplestyle.js +0 -2
- package/ripple/style/ripplestyle.min.js +1 -1
- package/scrollpanel/ScrollPanel.vue +10 -3
- package/scrollpanel/scrollpanel.cjs.js +9 -5
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +9 -5
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +9 -5
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrollpanel/style/scrollpanelstyle.cjs.js +0 -2
- package/scrollpanel/style/scrollpanelstyle.cjs.min.js +1 -1
- package/scrollpanel/style/scrollpanelstyle.esm.js +0 -2
- package/scrollpanel/style/scrollpanelstyle.esm.min.js +1 -1
- package/scrollpanel/style/scrollpanelstyle.js +0 -2
- package/scrollpanel/style/scrollpanelstyle.min.js +1 -1
- package/scrolltop/ScrollTop.vue +1 -1
- package/scrolltop/scrolltop.cjs.js +1 -3
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +1 -3
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -3
- package/scrolltop/scrolltop.min.js +1 -1
- package/scrolltop/style/scrolltopstyle.cjs.js +0 -2
- package/scrolltop/style/scrolltopstyle.cjs.min.js +1 -1
- package/scrolltop/style/scrolltopstyle.esm.js +0 -2
- package/scrolltop/style/scrolltopstyle.esm.min.js +1 -1
- package/scrolltop/style/scrolltopstyle.js +0 -2
- package/scrolltop/style/scrolltopstyle.min.js +1 -1
- package/selectbutton/BaseSelectButton.vue +4 -0
- package/selectbutton/SelectButton.d.ts +5 -0
- package/selectbutton/SelectButton.vue +1 -1
- package/selectbutton/selectbutton.cjs.js +5 -3
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +5 -3
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +5 -3
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.cjs.js +2 -1
- package/selectbutton/style/selectbuttonstyle.cjs.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.esm.js +2 -1
- package/selectbutton/style/selectbuttonstyle.esm.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.js +2 -1
- package/selectbutton/style/selectbuttonstyle.min.js +1 -1
- package/sidebar/style/sidebarstyle.cjs.js +0 -3
- package/sidebar/style/sidebarstyle.cjs.min.js +1 -1
- package/sidebar/style/sidebarstyle.esm.js +0 -3
- package/sidebar/style/sidebarstyle.esm.min.js +1 -1
- package/sidebar/style/sidebarstyle.js +0 -3
- package/sidebar/style/sidebarstyle.min.js +1 -1
- package/skeleton/Skeleton.vue +1 -1
- package/skeleton/skeleton.cjs.js +1 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +1 -3
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -3
- package/skeleton/skeleton.min.js +1 -1
- package/skeleton/style/skeletonstyle.cjs.js +0 -2
- package/skeleton/style/skeletonstyle.cjs.min.js +1 -1
- package/skeleton/style/skeletonstyle.esm.js +0 -2
- package/skeleton/style/skeletonstyle.esm.min.js +1 -1
- package/skeleton/style/skeletonstyle.js +0 -2
- package/skeleton/style/skeletonstyle.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.cjs.js +1 -2
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +1 -2
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +1 -2
- package/slider/slider.min.js +1 -1
- package/slider/style/sliderstyle.cjs.js +0 -2
- package/slider/style/sliderstyle.cjs.min.js +1 -1
- package/slider/style/sliderstyle.esm.js +0 -2
- package/slider/style/sliderstyle.esm.min.js +1 -1
- package/slider/style/sliderstyle.js +0 -2
- package/slider/style/sliderstyle.min.js +1 -1
- package/speeddial/SpeedDial.vue +1 -1
- package/speeddial/speeddial.cjs.js +1 -3
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +1 -3
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +1 -3
- package/speeddial/speeddial.min.js +1 -1
- package/speeddial/style/speeddialstyle.cjs.js +0 -2
- package/speeddial/style/speeddialstyle.cjs.min.js +1 -1
- package/speeddial/style/speeddialstyle.esm.js +0 -2
- package/speeddial/style/speeddialstyle.esm.min.js +1 -1
- package/speeddial/style/speeddialstyle.js +0 -2
- package/speeddial/style/speeddialstyle.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +1 -1
- package/splitbutton/SplitButton.vue +35 -34
- package/splitbutton/splitbutton.cjs.js +44 -42
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +45 -43
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +44 -42
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.cjs.js +0 -2
- package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.esm.js +0 -2
- package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.js +0 -2
- package/splitbutton/style/splitbuttonstyle.min.js +1 -1
- package/splitter/Splitter.vue +1 -1
- package/splitter/splitter.cjs.js +1 -3
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +1 -3
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +1 -3
- package/splitter/splitter.min.js +1 -1
- package/splitter/style/splitterstyle.cjs.js +0 -2
- package/splitter/style/splitterstyle.cjs.min.js +1 -1
- package/splitter/style/splitterstyle.esm.js +0 -2
- package/splitter/style/splitterstyle.esm.min.js +1 -1
- package/splitter/style/splitterstyle.js +0 -2
- package/splitter/style/splitterstyle.min.js +1 -1
- package/splitterpanel/SplitterPanel.vue +1 -1
- package/splitterpanel/splitterpanel.cjs.js +1 -3
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +1 -3
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +1 -3
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/splitterpanel/style/splitterpanelstyle.cjs.js +0 -2
- package/splitterpanel/style/splitterpanelstyle.cjs.min.js +1 -1
- package/splitterpanel/style/splitterpanelstyle.esm.js +0 -2
- package/splitterpanel/style/splitterpanelstyle.esm.min.js +1 -1
- package/splitterpanel/style/splitterpanelstyle.js +0 -2
- package/splitterpanel/style/splitterpanelstyle.min.js +1 -1
- package/step/BaseStep.vue +18 -0
- package/step/Step.vue +12 -0
- package/step/step.cjs.js +37 -0
- package/step/step.cjs.min.js +1 -0
- package/step/step.esm.js +30 -0
- package/step/step.esm.min.js +1 -0
- package/step/step.js +37 -0
- package/step/step.min.js +1 -0
- package/step/style/stepstyle.cjs.js +5 -0
- package/step/style/stepstyle.cjs.min.js +1 -0
- package/step/style/stepstyle.esm.js +3 -0
- package/step/style/stepstyle.esm.min.js +1 -0
- package/step/style/stepstyle.js +10 -0
- package/step/style/stepstyle.min.js +1 -0
- package/stepper/BaseStepper.vue +25 -0
- package/stepper/Stepper.vue +234 -0
- package/stepper/stepper.cjs.js +271 -0
- package/stepper/stepper.cjs.min.js +1 -0
- package/stepper/stepper.esm.js +264 -0
- package/stepper/stepper.esm.min.js +1 -0
- package/stepper/stepper.js +270 -0
- package/stepper/stepper.min.js +1 -0
- package/stepper/style/stepperstyle.cjs.js +50 -0
- package/stepper/style/stepperstyle.cjs.min.js +1 -0
- package/stepper/style/stepperstyle.esm.js +44 -0
- package/stepper/style/stepperstyle.esm.min.js +1 -0
- package/stepper/style/stepperstyle.js +53 -0
- package/stepper/style/stepperstyle.min.js +1 -0
- package/steps/Steps.vue +1 -1
- package/steps/steps.cjs.js +1 -3
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +1 -3
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +1 -3
- package/steps/steps.min.js +1 -1
- package/steps/style/stepsstyle.cjs.js +0 -2
- package/steps/style/stepsstyle.cjs.min.js +1 -1
- package/steps/style/stepsstyle.esm.js +0 -2
- package/steps/style/stepsstyle.esm.min.js +1 -1
- package/steps/style/stepsstyle.js +0 -2
- package/steps/style/stepsstyle.min.js +1 -1
- package/tabmenu/TabMenu.vue +1 -1
- package/tabmenu/style/tabmenustyle.cjs.js +0 -2
- package/tabmenu/style/tabmenustyle.cjs.min.js +1 -1
- package/tabmenu/style/tabmenustyle.esm.js +0 -2
- package/tabmenu/style/tabmenustyle.esm.min.js +1 -1
- package/tabmenu/style/tabmenustyle.js +0 -2
- package/tabmenu/style/tabmenustyle.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +1 -3
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +1 -3
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +1 -3
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/TabView.vue +2 -1
- package/tabview/style/tabviewstyle.cjs.js +0 -2
- package/tabview/style/tabviewstyle.cjs.min.js +1 -1
- package/tabview/style/tabviewstyle.esm.js +0 -2
- package/tabview/style/tabviewstyle.esm.min.js +1 -1
- package/tabview/style/tabviewstyle.js +0 -2
- package/tabview/style/tabviewstyle.min.js +1 -1
- package/tabview/tabview.cjs.js +2 -3
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +2 -3
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +2 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +1 -1
- package/tag/Tag.vue +1 -1
- package/tag/style/tagstyle.cjs.js +2 -2
- package/tag/style/tagstyle.cjs.min.js +1 -1
- package/tag/style/tagstyle.esm.js +2 -2
- package/tag/style/tagstyle.esm.min.js +1 -1
- package/tag/style/tagstyle.js +2 -2
- package/tag/style/tagstyle.min.js +1 -1
- package/tag/tag.cjs.js +1 -3
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +1 -3
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +1 -3
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.vue +1 -1
- package/terminal/style/terminalstyle.cjs.js +0 -2
- package/terminal/style/terminalstyle.cjs.min.js +1 -1
- package/terminal/style/terminalstyle.esm.js +0 -2
- package/terminal/style/terminalstyle.esm.min.js +1 -1
- package/terminal/style/terminalstyle.js +0 -2
- package/terminal/style/terminalstyle.min.js +1 -1
- package/terminal/terminal.cjs.js +1 -3
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +1 -3
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +1 -3
- package/terminal/terminal.min.js +1 -1
- package/textarea/BaseTextarea.vue +9 -1
- package/textarea/Textarea.d.ts +10 -0
- package/textarea/Textarea.vue +1 -1
- package/textarea/style/textareastyle.cjs.js +3 -3
- package/textarea/style/textareastyle.cjs.min.js +1 -1
- package/textarea/style/textareastyle.esm.js +3 -3
- package/textarea/style/textareastyle.esm.min.js +1 -1
- package/textarea/style/textareastyle.js +3 -3
- package/textarea/style/textareastyle.min.js +1 -1
- package/textarea/textarea.cjs.js +10 -4
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +10 -4
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +10 -4
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/style/tieredmenustyle.cjs.js +0 -3
- package/tieredmenu/style/tieredmenustyle.cjs.min.js +1 -1
- package/tieredmenu/style/tieredmenustyle.esm.js +0 -3
- package/tieredmenu/style/tieredmenustyle.esm.min.js +1 -1
- package/tieredmenu/style/tieredmenustyle.js +0 -3
- package/tieredmenu/style/tieredmenustyle.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +1 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +1 -3
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +1 -3
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.vue +1 -1
- package/timeline/style/timelinestyle.cjs.js +0 -2
- package/timeline/style/timelinestyle.cjs.min.js +1 -1
- package/timeline/style/timelinestyle.esm.js +0 -2
- package/timeline/style/timelinestyle.esm.min.js +1 -1
- package/timeline/style/timelinestyle.js +0 -2
- package/timeline/style/timelinestyle.min.js +1 -1
- package/timeline/timeline.cjs.js +1 -3
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +1 -3
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -3
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.d.ts +1 -1
- package/toast/style/toaststyle.cjs.js +3 -4
- package/toast/style/toaststyle.cjs.min.js +1 -1
- package/toast/style/toaststyle.esm.js +3 -4
- package/toast/style/toaststyle.esm.min.js +1 -1
- package/toast/style/toaststyle.js +3 -4
- package/toast/style/toaststyle.min.js +1 -1
- package/togglebutton/BaseToggleButton.vue +4 -0
- package/togglebutton/ToggleButton.d.ts +5 -0
- package/togglebutton/ToggleButton.vue +1 -1
- package/togglebutton/style/togglebuttonstyle.cjs.js +2 -3
- package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -1
- package/togglebutton/style/togglebuttonstyle.esm.js +2 -3
- package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -1
- package/togglebutton/style/togglebuttonstyle.js +2 -3
- package/togglebutton/style/togglebuttonstyle.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +4 -1
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +4 -1
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +4 -1
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.vue +1 -1
- package/toolbar/style/toolbarstyle.cjs.js +0 -2
- package/toolbar/style/toolbarstyle.cjs.min.js +1 -1
- package/toolbar/style/toolbarstyle.esm.js +0 -2
- package/toolbar/style/toolbarstyle.esm.min.js +1 -1
- package/toolbar/style/toolbarstyle.js +0 -2
- package/toolbar/style/toolbarstyle.min.js +1 -1
- package/toolbar/toolbar.cjs.js +1 -3
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +1 -3
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +1 -3
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.js +0 -2
- package/tooltip/style/tooltipstyle.cjs.min.js +1 -1
- package/tooltip/style/tooltipstyle.esm.js +0 -2
- package/tooltip/style/tooltipstyle.esm.min.js +1 -1
- package/tooltip/style/tooltipstyle.js +0 -2
- package/tooltip/style/tooltipstyle.min.js +1 -1
- package/tree/Tree.vue +1 -1
- package/tree/style/treestyle.cjs.js +0 -2
- package/tree/style/treestyle.cjs.min.js +1 -1
- package/tree/style/treestyle.esm.js +0 -2
- package/tree/style/treestyle.esm.min.js +1 -1
- package/tree/style/treestyle.js +0 -2
- package/tree/style/treestyle.min.js +1 -1
- package/tree/tree.cjs.js +1 -3
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +1 -3
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +1 -3
- package/tree/tree.min.js +1 -1
- package/treeselect/BaseTreeSelect.vue +8 -0
- package/treeselect/TreeSelect.d.ts +10 -0
- package/treeselect/TreeSelect.vue +7 -3
- package/treeselect/style/treeselectstyle.cjs.js +4 -4
- package/treeselect/style/treeselectstyle.cjs.min.js +1 -1
- package/treeselect/style/treeselectstyle.esm.js +4 -4
- package/treeselect/style/treeselectstyle.esm.min.js +1 -1
- package/treeselect/style/treeselectstyle.js +4 -4
- package/treeselect/style/treeselectstyle.min.js +1 -1
- package/treeselect/treeselect.cjs.js +16 -6
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +17 -7
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +16 -6
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/HeaderCell.vue +1 -1
- package/treetable/TreeTable.vue +2 -4
- package/treetable/style/treetablestyle.cjs.js +0 -2
- package/treetable/style/treetablestyle.cjs.min.js +1 -1
- package/treetable/style/treetablestyle.esm.js +0 -2
- package/treetable/style/treetablestyle.esm.min.js +1 -1
- package/treetable/style/treetablestyle.js +0 -2
- package/treetable/style/treetablestyle.min.js +1 -1
- package/treetable/treetable.cjs.js +4 -9
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +4 -9
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +4 -9
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/BaseTriStateCheckbox.vue +8 -0
- package/tristatecheckbox/TriStateCheckbox.d.ts +10 -0
- package/tristatecheckbox/TriStateCheckbox.vue +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +3 -3
- package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +3 -3
- package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.js +3 -3
- package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +8 -1
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +8 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +8 -1
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/vetur-attributes.json +138 -6
- package/vetur-tags.json +33 -0
- package/virtualscroller/VirtualScroller.vue +8 -7
- package/virtualscroller/virtualscroller.cjs.js +17 -15
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +17 -15
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +17 -15
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +337 -7
package/dialog/dialog.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/times"),n=require("primevue/icons/windowmaximize"),o=require("primevue/icons/windowminimize"),i=require("primevue/portal"),a=require("primevue/ripple"),r=require("primevue/utils"),l=require("vue"),s=require("primevue/basecomponent"),c=require("primevue/dialog/style");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),d=u(t),p=u(n),f=u(o),h=u(i),b=u(a),y={name:"Dialog",extends:{name:"BaseDialog",extends:u(s).default,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},rtl:{type:Boolean,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},_instance:null},style:u(c).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragend"],provide:function(){var e=this;return{dialogRef:l.computed((function(){return e._instance}))}},data:function(){return{containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&r.ZIndexUtils.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onBeforeEnter:function(e){e.setAttribute(this.attributeSelector,"")},onEnter:function(){this.$emit("show"),this.focus(),this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&r.ZIndexUtils.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&r.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide"),this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&r.ZIndexUtils.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissableMask&&this.modal&&this.mask===e.target&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer))||(t=this.$slots.default&&e(this.content))||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)),t&&r.DomHandler.focus(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?r.DomHandler.blockBodyScroll():r.DomHandler.unblockBodyScroll())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&r.DomHandler.blockBodyScroll()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&r.DomHandler.unblockBodyScroll()},onKeyDown:function(e){"Escape"===e.code&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e},closeButtonRef:function(e){this.closeButton=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",r.DomHandler.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="";for(var n in this.breakpoints)t+="\n @media screen and (max-width: ".concat(n,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.breakpoints[n]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){"icons"!==e.target.closest("div").getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",!this.isUnstyled&&r.DomHandler.addClass(document.body,"p-unselectable-text"))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=r.DomHandler.getOuterWidth(e.container),o=r.DomHandler.getOuterHeight(e.container),i=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,l=e.container.getBoundingClientRect(),s=l.left+i,c=l.top+a,u=r.DomHandler.getViewport(),m=getComputedStyle(e.container),d=parseFloat(m.marginLeft),p=parseFloat(m.marginTop);e.container.style.position="fixed",e.keepInViewport?(s>=e.minX&&s+n<u.width&&(e.lastPageX=t.pageX,e.container.style.left=s-d+"px"),c>=e.minY&&c+o<u.height&&(e.lastPageY=t.pageY,e.container.style.top=c-p+"px")):(e.lastPageX=t.pageX,e.container.style.left=s-d+"px",e.lastPageY=t.pageY,e.container.style.top=c-p+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,!e.isUnstyled&&r.DomHandler.removeClass(document.body,"p-unselectable-text"),e.$emit("dragend",t))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaId:function(){return r.UniqueComponentId()},ariaLabelledById:function(){return null!=this.header||null!==this.$attrs["aria-labelledby"]?this.ariaId+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},attributeSelector:function(){return r.UniqueComponentId()}},directives:{ripple:b.default,focustrap:m.default},components:{Portal:h.default,WindowMinimizeIcon:f.default,WindowMaximizeIcon:p.default,TimesIcon:d.default}};function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){var o;return(t="symbol"==g(o=D(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=g(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var B=["aria-labelledby","aria-modal"],L=["id"],w=["autofocus","tabindex"],z=["autofocus","aria-label"];y.render=function(e,t,n,o,i,a){var r=l.resolveComponent("Portal"),s=l.resolveDirective("ripple"),c=l.resolveDirective("focustrap");return l.openBlock(),l.createBlock(r,{appendTo:e.appendTo},{default:l.withCtx((function(){return[i.containerVisible?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onClick:t[3]||(t[3]=function(){return a.onMaskClick&&a.onMaskClick.apply(a,arguments)})},e.ptm("mask")),[l.createVNode(l.Transition,l.mergeProps({name:"p-dialog",onBeforeEnter:a.onBeforeEnter,onEnter:a.onEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:l.withCtx((function(){return[e.visible?l.withDirectives((l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},x(x({},e.$attrs),e.ptm("root"))),[e.$slots.container?l.renderSlot(e.$slots,"container",{key:0,onClose:a.close,onMaximize:function(e){return a.maximize(e)},closeCallback:a.close,maximizeCallback:function(e){return a.maximize(e)}}):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[e.showHeader?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[2]||(t[2]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[l.renderSlot(e.$slots,"header",{class:l.normalizeClass(e.cx("title"))},(function(){return[e.header?(l.openBlock(),l.createElementBlock("span",l.mergeProps({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),l.toDisplayString(e.header),17,L)):l.createCommentVNode("",!0)]})),l.createElementVNode("div",l.mergeProps({class:e.cx("icons")},e.ptm("icons")),[e.maximizable?l.withDirectives((l.openBlock(),l.createElementBlock("button",l.mergeProps({key:0,ref:a.maximizableRef,autofocus:i.focusableMax,class:e.cx("maximizableButton"),onClick:t[0]||(t[0]=function(){return a.maximize&&a.maximize.apply(a,arguments)}),type:"button",tabindex:e.maximizable?"0":"-1"},e.ptm("maximizableButton"),{"data-pc-group-section":"headericon"}),[l.renderSlot(e.$slots,"maximizeicon",{maximized:i.maximized,class:l.normalizeClass(e.cx("maximizableIcon"))},(function(){return[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(a.maximizeIconComponent),l.mergeProps({class:[e.cx("maximizableIcon"),i.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("maximizableIcon")),null,16,["class"]))]}))],16,w)),[[s]]):l.createCommentVNode("",!0),e.closable?l.withDirectives((l.openBlock(),l.createElementBlock("button",l.mergeProps({key:1,ref:a.closeButtonRef,autofocus:i.focusableClose,class:e.cx("closeButton"),onClick:t[1]||(t[1]=function(){return a.close&&a.close.apply(a,arguments)}),"aria-label":a.closeAriaLabel,type:"button"},x(x({},e.closeButtonProps),e.ptm("closeButton")),{"data-pc-group-section":"headericon"}),[l.renderSlot(e.$slots,"closeicon",{class:l.normalizeClass(e.cx("closeButtonIcon"))},(function(){return[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.closeIcon?"span":"TimesIcon"),l.mergeProps({class:[e.cx("closeButtonIcon"),e.closeIcon]},e.ptm("closeButtonIcon")),null,16,["class"]))]}))],16,z)),[[s]]):l.createCommentVNode("",!0)],16)],16)):l.createCommentVNode("",!0),l.createElementVNode("div",l.mergeProps({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},x(x({},e.contentProps),e.ptm("content"))),[l.renderSlot(e.$slots,"default")],16),e.footer||e.$slots.footer?(l.openBlock(),l.createElementBlock("div",l.mergeProps({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[l.renderSlot(e.$slots,"footer",{},(function(){return[l.createTextVNode(l.toDisplayString(e.footer),1)]}))],16)):l.createCommentVNode("",!0)],64))],16,B)),[[c,{disabled:!e.modal}]]):l.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):l.createCommentVNode("",!0)]})),_:3},8,["appendTo"])},module.exports=y;
|
|
1
|
+
"use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/times"),n=require("primevue/icons/windowmaximize"),o=require("primevue/icons/windowminimize"),i=require("primevue/portal"),a=require("primevue/ripple"),l=require("primevue/utils"),r=require("vue"),s=require("primevue/basecomponent"),c=require("primevue/dialog/style");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),d=u(t),p=u(n),f=u(o),h=u(i),b=u(a),y={name:"Dialog",extends:{name:"BaseDialog",extends:u(s).default,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},rtl:{type:Boolean,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},_instance:null},style:u(c).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragend"],provide:function(){var e=this;return{dialogRef:r.computed((function(){return e._instance}))}},data:function(){return{id:this.$attrs.id,containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null}},watch:{"$attrs.id":function(e){this.id=e||l.UniqueComponentId()}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&l.ZIndexUtils.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.id=this.id||l.UniqueComponentId(),this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onBeforeEnter:function(e){e.setAttribute(this.attributeSelector,"")},onEnter:function(){this.$emit("show"),this.focus(),this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&l.ZIndexUtils.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&l.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide"),this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&l.ZIndexUtils.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissableMask&&this.modal&&this.mask===e.target&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer))||(t=this.$slots.default&&e(this.content))||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)),t&&l.DomHandler.focus(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?l.DomHandler.blockBodyScroll():l.DomHandler.unblockBodyScroll())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.DomHandler.blockBodyScroll()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.DomHandler.unblockBodyScroll()},onKeyDown:function(e){"Escape"===e.code&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e},closeButtonRef:function(e){this.closeButton=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",l.DomHandler.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="";for(var n in this.breakpoints)t+="\n @media screen and (max-width: ".concat(n,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.breakpoints[n]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){"icons"!==e.target.closest("div").getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text"),!this.isUnstyled&&l.DomHandler.addClass(document.body,"p-unselectable-text"))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=l.DomHandler.getOuterWidth(e.container),o=l.DomHandler.getOuterHeight(e.container),i=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,r=e.container.getBoundingClientRect(),s=r.left+i,c=r.top+a,u=l.DomHandler.getViewport(),m=getComputedStyle(e.container),d=parseFloat(m.marginLeft),p=parseFloat(m.marginTop);e.container.style.position="fixed",e.keepInViewport?(s>=e.minX&&s+n<u.width&&(e.lastPageX=t.pageX,e.container.style.left=s-d+"px"),c>=e.minY&&c+o<u.height&&(e.lastPageY=t.pageY,e.container.style.top=c-p+"px")):(e.lastPageX=t.pageX,e.container.style.left=s-d+"px",e.lastPageY=t.pageY,e.container.style.top=c-p+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,document.body.removeAttribute("data-p-unselectable-text"),!e.isUnstyled&&l.DomHandler.removeClass(document.body,"p-unselectable-text"),e.$emit("dragend",t))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaLabelledById:function(){return null!=this.header||null!==this.$attrs["aria-labelledby"]?this.id+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},attributeSelector:function(){return l.UniqueComponentId()}},directives:{ripple:b.default,focustrap:m.default},components:{Portal:h.default,WindowMinimizeIcon:f.default,WindowMaximizeIcon:p.default,TimesIcon:d.default}};function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){var o;return(t="symbol"==g(o=D(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=g(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var B=["aria-labelledby","aria-modal"],w=["id"],L=["autofocus","tabindex"],z=["autofocus","aria-label"];y.render=function(e,t,n,o,i,a){var l=r.resolveComponent("Portal"),s=r.resolveDirective("ripple"),c=r.resolveDirective("focustrap");return r.openBlock(),r.createBlock(l,{appendTo:e.appendTo},{default:r.withCtx((function(){return[i.containerVisible?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onClick:t[3]||(t[3]=function(){return a.onMaskClick&&a.onMaskClick.apply(a,arguments)})},e.ptm("mask")),[r.createVNode(r.Transition,r.mergeProps({name:"p-dialog",onBeforeEnter:a.onBeforeEnter,onEnter:a.onEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:r.withCtx((function(){return[e.visible?r.withDirectives((r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},x(x({},e.$attrs),e.ptm("root"))),[e.$slots.container?r.renderSlot(e.$slots,"container",{key:0,onClose:a.close,onMaximize:function(e){return a.maximize(e)},closeCallback:a.close,maximizeCallback:function(e){return a.maximize(e)}}):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[e.showHeader?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[2]||(t[2]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[r.renderSlot(e.$slots,"header",{class:r.normalizeClass(e.cx("title"))},(function(){return[e.header?(r.openBlock(),r.createElementBlock("span",r.mergeProps({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),r.toDisplayString(e.header),17,w)):r.createCommentVNode("",!0)]})),r.createElementVNode("div",r.mergeProps({class:e.cx("icons")},e.ptm("icons")),[e.maximizable?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:0,ref:a.maximizableRef,autofocus:i.focusableMax,class:e.cx("maximizableButton"),onClick:t[0]||(t[0]=function(){return a.maximize&&a.maximize.apply(a,arguments)}),type:"button",tabindex:e.maximizable?"0":"-1"},e.ptm("maximizableButton"),{"data-pc-group-section":"headericon"}),[r.renderSlot(e.$slots,"maximizeicon",{maximized:i.maximized,class:r.normalizeClass(e.cx("maximizableIcon"))},(function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(a.maximizeIconComponent),r.mergeProps({class:[e.cx("maximizableIcon"),i.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("maximizableIcon")),null,16,["class"]))]}))],16,L)),[[s]]):r.createCommentVNode("",!0),e.closable?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:1,ref:a.closeButtonRef,autofocus:i.focusableClose,class:e.cx("closeButton"),onClick:t[1]||(t[1]=function(){return a.close&&a.close.apply(a,arguments)}),"aria-label":a.closeAriaLabel,type:"button"},x(x({},e.closeButtonProps),e.ptm("closeButton")),{"data-pc-group-section":"headericon"}),[r.renderSlot(e.$slots,"closeicon",{class:r.normalizeClass(e.cx("closeButtonIcon"))},(function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.closeIcon?"span":"TimesIcon"),r.mergeProps({class:[e.cx("closeButtonIcon"),e.closeIcon]},e.ptm("closeButtonIcon")),null,16,["class"]))]}))],16,z)),[[s]]):r.createCommentVNode("",!0)],16)],16)):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},x(x({},e.contentProps),e.ptm("content"))),[r.renderSlot(e.$slots,"default")],16),e.footer||e.$slots.footer?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[r.renderSlot(e.$slots,"footer",{},(function(){return[r.createTextVNode(r.toDisplayString(e.footer),1)]}))],16)):r.createCommentVNode("",!0)],64))],16,B)),[[c,{disabled:!e.modal}]]):r.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):r.createCommentVNode("",!0)]})),_:3},8,["appendTo"])},module.exports=y;
|
package/dialog/dialog.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import WindowMaximizeIcon from 'primevue/icons/windowmaximize';
|
|
|
4
4
|
import WindowMinimizeIcon from 'primevue/icons/windowminimize';
|
|
5
5
|
import Portal from 'primevue/portal';
|
|
6
6
|
import Ripple from 'primevue/ripple';
|
|
7
|
-
import { ZIndexUtils, DomHandler
|
|
7
|
+
import { UniqueComponentId, ZIndexUtils, DomHandler } from 'primevue/utils';
|
|
8
8
|
import { computed, resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createElementBlock, mergeProps, createVNode, Transition, withDirectives, renderSlot, Fragment, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, resolveDynamicComponent, createTextVNode } from 'vue';
|
|
9
9
|
import BaseComponent from 'primevue/basecomponent';
|
|
10
10
|
import DialogStyle from 'primevue/dialog/style';
|
|
@@ -146,12 +146,18 @@ var script = {
|
|
|
146
146
|
},
|
|
147
147
|
data: function data() {
|
|
148
148
|
return {
|
|
149
|
+
id: this.$attrs.id,
|
|
149
150
|
containerVisible: this.visible,
|
|
150
151
|
maximized: false,
|
|
151
152
|
focusableMax: null,
|
|
152
153
|
focusableClose: null
|
|
153
154
|
};
|
|
154
155
|
},
|
|
156
|
+
watch: {
|
|
157
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
158
|
+
this.id = newValue || UniqueComponentId();
|
|
159
|
+
}
|
|
160
|
+
},
|
|
155
161
|
documentKeydownListener: null,
|
|
156
162
|
container: null,
|
|
157
163
|
mask: null,
|
|
@@ -182,6 +188,7 @@ var script = {
|
|
|
182
188
|
this.mask = null;
|
|
183
189
|
},
|
|
184
190
|
mounted: function mounted() {
|
|
191
|
+
this.id = this.id || UniqueComponentId();
|
|
185
192
|
if (this.breakpoints) {
|
|
186
193
|
this.createStyle();
|
|
187
194
|
}
|
|
@@ -341,6 +348,7 @@ var script = {
|
|
|
341
348
|
this.lastPageX = event.pageX;
|
|
342
349
|
this.lastPageY = event.pageY;
|
|
343
350
|
this.container.style.margin = '0';
|
|
351
|
+
document.body.setAttribute('data-p-unselectable-text');
|
|
344
352
|
!this.isUnstyled && DomHandler.addClass(document.body, 'p-unselectable-text');
|
|
345
353
|
}
|
|
346
354
|
},
|
|
@@ -404,6 +412,7 @@ var script = {
|
|
|
404
412
|
this.documentDragEndListener = function (event) {
|
|
405
413
|
if (_this3.dragging) {
|
|
406
414
|
_this3.dragging = false;
|
|
415
|
+
document.body.removeAttribute('data-p-unselectable-text');
|
|
407
416
|
!_this3.isUnstyled && DomHandler.removeClass(document.body, 'p-unselectable-text');
|
|
408
417
|
_this3.$emit('dragend', event);
|
|
409
418
|
}
|
|
@@ -421,11 +430,8 @@ var script = {
|
|
|
421
430
|
maximizeIconComponent: function maximizeIconComponent() {
|
|
422
431
|
return this.maximized ? this.minimizeIcon ? 'span' : 'WindowMinimizeIcon' : this.maximizeIcon ? 'span' : 'WindowMaximizeIcon';
|
|
423
432
|
},
|
|
424
|
-
ariaId: function ariaId() {
|
|
425
|
-
return UniqueComponentId();
|
|
426
|
-
},
|
|
427
433
|
ariaLabelledById: function ariaLabelledById() {
|
|
428
|
-
return this.header != null || this.$attrs['aria-labelledby'] !== null ? this.
|
|
434
|
+
return this.header != null || this.$attrs['aria-labelledby'] !== null ? this.id + '_header' : null;
|
|
429
435
|
},
|
|
430
436
|
closeAriaLabel: function closeAriaLabel() {
|
|
431
437
|
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : undefined;
|
package/dialog/dialog.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/focustrap";import t from"primevue/icons/times";import n from"primevue/icons/windowmaximize";import i from"primevue/icons/windowminimize";import o from"primevue/portal";import a from"primevue/ripple";import{ZIndexUtils as s,DomHandler as l,UniqueComponentId as r}from"primevue/utils";import{computed as c,resolveComponent as u,resolveDirective as m,openBlock as d,createBlock as f,withCtx as p,createElementBlock as h,mergeProps as b,createVNode as y,Transition as g,withDirectives as v,renderSlot as x,Fragment as L,normalizeClass as w,toDisplayString as z,createCommentVNode as k,createElementVNode as D,resolveDynamicComponent as B,createTextVNode as E}from"vue";import S from"primevue/basecomponent";import I from"primevue/dialog/style";var C={name:"Dialog",extends:{name:"BaseDialog",extends:S,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},rtl:{type:Boolean,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},_instance:null},style:I,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragend"],provide:function(){var e=this;return{dialogRef:c((function(){return e._instance}))}},data:function(){return{containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&s.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onBeforeEnter:function(e){e.setAttribute(this.attributeSelector,"")},onEnter:function(){this.$emit("show"),this.focus(),this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&s.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&l.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide"),this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&s.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissableMask&&this.modal&&this.mask===e.target&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer))||(t=this.$slots.default&&e(this.content))||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)),t&&l.focus(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?l.blockBodyScroll():l.unblockBodyScroll())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.blockBodyScroll()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.unblockBodyScroll()},onKeyDown:function(e){"Escape"===e.code&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e},closeButtonRef:function(e){this.closeButton=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",l.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="";for(var n in this.breakpoints)t+="\n @media screen and (max-width: ".concat(n,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.breakpoints[n]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){"icons"!==e.target.closest("div").getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",!this.isUnstyled&&l.addClass(document.body,"p-unselectable-text"))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=l.getOuterWidth(e.container),i=l.getOuterHeight(e.container),o=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,s=e.container.getBoundingClientRect(),r=s.left+o,c=s.top+a,u=l.getViewport(),m=getComputedStyle(e.container),d=parseFloat(m.marginLeft),f=parseFloat(m.marginTop);e.container.style.position="fixed",e.keepInViewport?(r>=e.minX&&r+n<u.width&&(e.lastPageX=t.pageX,e.container.style.left=r-d+"px"),c>=e.minY&&c+i<u.height&&(e.lastPageY=t.pageY,e.container.style.top=c-f+"px")):(e.lastPageX=t.pageX,e.container.style.left=r-d+"px",e.lastPageY=t.pageY,e.container.style.top=c-f+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,!e.isUnstyled&&l.removeClass(document.body,"p-unselectable-text"),e.$emit("dragend",t))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaId:function(){return r()},ariaLabelledById:function(){return null!=this.header||null!==this.$attrs["aria-labelledby"]?this.ariaId+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},attributeSelector:function(){return r()}},directives:{ripple:a,focustrap:e},components:{Portal:o,WindowMinimizeIcon:i,WindowMaximizeIcon:n,TimesIcon:t}};function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){var i;return(t="symbol"==P(i=M(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if("object"!=P(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=P(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var R=["aria-labelledby","aria-modal"],K=["id"],X=["autofocus","tabindex"],Y=["autofocus","aria-label"];C.render=function(e,t,n,i,o,a){var s=u("Portal"),l=m("ripple"),r=m("focustrap");return d(),f(s,{appendTo:e.appendTo},{default:p((function(){return[o.containerVisible?(d(),h("div",b({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onClick:t[3]||(t[3]=function(){return a.onMaskClick&&a.onMaskClick.apply(a,arguments)})},e.ptm("mask")),[y(g,b({name:"p-dialog",onBeforeEnter:a.onBeforeEnter,onEnter:a.onEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:p((function(){return[e.visible?v((d(),h("div",b({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},$($({},e.$attrs),e.ptm("root"))),[e.$slots.container?x(e.$slots,"container",{key:0,onClose:a.close,onMaximize:function(e){return a.maximize(e)},closeCallback:a.close,maximizeCallback:function(e){return a.maximize(e)}}):(d(),h(L,{key:1},[e.showHeader?(d(),h("div",b({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[2]||(t[2]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[x(e.$slots,"header",{class:w(e.cx("title"))},(function(){return[e.header?(d(),h("span",b({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),z(e.header),17,K)):k("",!0)]})),D("div",b({class:e.cx("icons")},e.ptm("icons")),[e.maximizable?v((d(),h("button",b({key:0,ref:a.maximizableRef,autofocus:o.focusableMax,class:e.cx("maximizableButton"),onClick:t[0]||(t[0]=function(){return a.maximize&&a.maximize.apply(a,arguments)}),type:"button",tabindex:e.maximizable?"0":"-1"},e.ptm("maximizableButton"),{"data-pc-group-section":"headericon"}),[x(e.$slots,"maximizeicon",{maximized:o.maximized,class:w(e.cx("maximizableIcon"))},(function(){return[(d(),f(B(a.maximizeIconComponent),b({class:[e.cx("maximizableIcon"),o.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("maximizableIcon")),null,16,["class"]))]}))],16,X)),[[l]]):k("",!0),e.closable?v((d(),h("button",b({key:1,ref:a.closeButtonRef,autofocus:o.focusableClose,class:e.cx("closeButton"),onClick:t[1]||(t[1]=function(){return a.close&&a.close.apply(a,arguments)}),"aria-label":a.closeAriaLabel,type:"button"},$($({},e.closeButtonProps),e.ptm("closeButton")),{"data-pc-group-section":"headericon"}),[x(e.$slots,"closeicon",{class:w(e.cx("closeButtonIcon"))},(function(){return[(d(),f(B(e.closeIcon?"span":"TimesIcon"),b({class:[e.cx("closeButtonIcon"),e.closeIcon]},e.ptm("closeButtonIcon")),null,16,["class"]))]}))],16,Y)),[[l]]):k("",!0)],16)],16)):k("",!0),D("div",b({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},$($({},e.contentProps),e.ptm("content"))),[x(e.$slots,"default")],16),e.footer||e.$slots.footer?(d(),h("div",b({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[x(e.$slots,"footer",{},(function(){return[E(z(e.footer),1)]}))],16)):k("",!0)],64))],16,R)),[[r,{disabled:!e.modal}]]):k("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):k("",!0)]})),_:3},8,["appendTo"])};export{C as default};
|
|
1
|
+
import e from"primevue/focustrap";import t from"primevue/icons/times";import n from"primevue/icons/windowmaximize";import i from"primevue/icons/windowminimize";import o from"primevue/portal";import a from"primevue/ripple";import{UniqueComponentId as s,ZIndexUtils as l,DomHandler as r}from"primevue/utils";import{computed as c,resolveComponent as u,resolveDirective as m,openBlock as d,createBlock as f,withCtx as p,createElementBlock as h,mergeProps as b,createVNode as y,Transition as g,withDirectives as v,renderSlot as x,Fragment as L,normalizeClass as w,toDisplayString as z,createCommentVNode as k,createElementVNode as D,resolveDynamicComponent as B,createTextVNode as E}from"vue";import S from"primevue/basecomponent";import I from"primevue/dialog/style";var C={name:"Dialog",extends:{name:"BaseDialog",extends:S,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},rtl:{type:Boolean,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},_instance:null},style:I,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragend"],provide:function(){var e=this;return{dialogRef:c((function(){return e._instance}))}},data:function(){return{id:this.$attrs.id,containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null}},watch:{"$attrs.id":function(e){this.id=e||s()}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&l.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.id=this.id||s(),this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onBeforeEnter:function(e){e.setAttribute(this.attributeSelector,"")},onEnter:function(){this.$emit("show"),this.focus(),this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&l.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&r.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide"),this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&l.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissableMask&&this.modal&&this.mask===e.target&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer))||(t=this.$slots.default&&e(this.content))||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)),t&&r.focus(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?r.blockBodyScroll():r.unblockBodyScroll())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&r.blockBodyScroll()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&r.unblockBodyScroll()},onKeyDown:function(e){"Escape"===e.code&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e},closeButtonRef:function(e){this.closeButton=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",r.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="";for(var n in this.breakpoints)t+="\n @media screen and (max-width: ".concat(n,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.breakpoints[n]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){"icons"!==e.target.closest("div").getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text"),!this.isUnstyled&&r.addClass(document.body,"p-unselectable-text"))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=r.getOuterWidth(e.container),i=r.getOuterHeight(e.container),o=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,s=e.container.getBoundingClientRect(),l=s.left+o,c=s.top+a,u=r.getViewport(),m=getComputedStyle(e.container),d=parseFloat(m.marginLeft),f=parseFloat(m.marginTop);e.container.style.position="fixed",e.keepInViewport?(l>=e.minX&&l+n<u.width&&(e.lastPageX=t.pageX,e.container.style.left=l-d+"px"),c>=e.minY&&c+i<u.height&&(e.lastPageY=t.pageY,e.container.style.top=c-f+"px")):(e.lastPageX=t.pageX,e.container.style.left=l-d+"px",e.lastPageY=t.pageY,e.container.style.top=c-f+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,document.body.removeAttribute("data-p-unselectable-text"),!e.isUnstyled&&r.removeClass(document.body,"p-unselectable-text"),e.$emit("dragend",t))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaLabelledById:function(){return null!=this.header||null!==this.$attrs["aria-labelledby"]?this.id+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},attributeSelector:function(){return s()}},directives:{ripple:a,focustrap:e},components:{Portal:o,WindowMinimizeIcon:i,WindowMaximizeIcon:n,TimesIcon:t}};function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){var i;return(t="symbol"==P(i=M(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if("object"!=P(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=P(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var R=["aria-labelledby","aria-modal"],K=["id"],A=["autofocus","tabindex"],X=["autofocus","aria-label"];C.render=function(e,t,n,i,o,a){var s=u("Portal"),l=m("ripple"),r=m("focustrap");return d(),f(s,{appendTo:e.appendTo},{default:p((function(){return[o.containerVisible?(d(),h("div",b({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onClick:t[3]||(t[3]=function(){return a.onMaskClick&&a.onMaskClick.apply(a,arguments)})},e.ptm("mask")),[y(g,b({name:"p-dialog",onBeforeEnter:a.onBeforeEnter,onEnter:a.onEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:p((function(){return[e.visible?v((d(),h("div",b({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},O(O({},e.$attrs),e.ptm("root"))),[e.$slots.container?x(e.$slots,"container",{key:0,onClose:a.close,onMaximize:function(e){return a.maximize(e)},closeCallback:a.close,maximizeCallback:function(e){return a.maximize(e)}}):(d(),h(L,{key:1},[e.showHeader?(d(),h("div",b({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[2]||(t[2]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[x(e.$slots,"header",{class:w(e.cx("title"))},(function(){return[e.header?(d(),h("span",b({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),z(e.header),17,K)):k("",!0)]})),D("div",b({class:e.cx("icons")},e.ptm("icons")),[e.maximizable?v((d(),h("button",b({key:0,ref:a.maximizableRef,autofocus:o.focusableMax,class:e.cx("maximizableButton"),onClick:t[0]||(t[0]=function(){return a.maximize&&a.maximize.apply(a,arguments)}),type:"button",tabindex:e.maximizable?"0":"-1"},e.ptm("maximizableButton"),{"data-pc-group-section":"headericon"}),[x(e.$slots,"maximizeicon",{maximized:o.maximized,class:w(e.cx("maximizableIcon"))},(function(){return[(d(),f(B(a.maximizeIconComponent),b({class:[e.cx("maximizableIcon"),o.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("maximizableIcon")),null,16,["class"]))]}))],16,A)),[[l]]):k("",!0),e.closable?v((d(),h("button",b({key:1,ref:a.closeButtonRef,autofocus:o.focusableClose,class:e.cx("closeButton"),onClick:t[1]||(t[1]=function(){return a.close&&a.close.apply(a,arguments)}),"aria-label":a.closeAriaLabel,type:"button"},O(O({},e.closeButtonProps),e.ptm("closeButton")),{"data-pc-group-section":"headericon"}),[x(e.$slots,"closeicon",{class:w(e.cx("closeButtonIcon"))},(function(){return[(d(),f(B(e.closeIcon?"span":"TimesIcon"),b({class:[e.cx("closeButtonIcon"),e.closeIcon]},e.ptm("closeButtonIcon")),null,16,["class"]))]}))],16,X)),[[l]]):k("",!0)],16)],16)):k("",!0),D("div",b({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},O(O({},e.contentProps),e.ptm("content"))),[x(e.$slots,"default")],16),e.footer||e.$slots.footer?(d(),h("div",b({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[x(e.$slots,"footer",{},(function(){return[E(z(e.footer),1)]}))],16)):k("",!0)],64))],16,R)),[[r,{disabled:!e.modal}]]):k("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):k("",!0)]})),_:3},8,["appendTo"])};export{C as default};
|
package/dialog/dialog.js
CHANGED
|
@@ -150,12 +150,18 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
150
150
|
},
|
|
151
151
|
data: function data() {
|
|
152
152
|
return {
|
|
153
|
+
id: this.$attrs.id,
|
|
153
154
|
containerVisible: this.visible,
|
|
154
155
|
maximized: false,
|
|
155
156
|
focusableMax: null,
|
|
156
157
|
focusableClose: null
|
|
157
158
|
};
|
|
158
159
|
},
|
|
160
|
+
watch: {
|
|
161
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
162
|
+
this.id = newValue || utils.UniqueComponentId();
|
|
163
|
+
}
|
|
164
|
+
},
|
|
159
165
|
documentKeydownListener: null,
|
|
160
166
|
container: null,
|
|
161
167
|
mask: null,
|
|
@@ -186,6 +192,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
186
192
|
this.mask = null;
|
|
187
193
|
},
|
|
188
194
|
mounted: function mounted() {
|
|
195
|
+
this.id = this.id || utils.UniqueComponentId();
|
|
189
196
|
if (this.breakpoints) {
|
|
190
197
|
this.createStyle();
|
|
191
198
|
}
|
|
@@ -345,6 +352,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
345
352
|
this.lastPageX = event.pageX;
|
|
346
353
|
this.lastPageY = event.pageY;
|
|
347
354
|
this.container.style.margin = '0';
|
|
355
|
+
document.body.setAttribute('data-p-unselectable-text');
|
|
348
356
|
!this.isUnstyled && utils.DomHandler.addClass(document.body, 'p-unselectable-text');
|
|
349
357
|
}
|
|
350
358
|
},
|
|
@@ -408,6 +416,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
408
416
|
this.documentDragEndListener = function (event) {
|
|
409
417
|
if (_this3.dragging) {
|
|
410
418
|
_this3.dragging = false;
|
|
419
|
+
document.body.removeAttribute('data-p-unselectable-text');
|
|
411
420
|
!_this3.isUnstyled && utils.DomHandler.removeClass(document.body, 'p-unselectable-text');
|
|
412
421
|
_this3.$emit('dragend', event);
|
|
413
422
|
}
|
|
@@ -425,11 +434,8 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
425
434
|
maximizeIconComponent: function maximizeIconComponent() {
|
|
426
435
|
return this.maximized ? this.minimizeIcon ? 'span' : 'WindowMinimizeIcon' : this.maximizeIcon ? 'span' : 'WindowMaximizeIcon';
|
|
427
436
|
},
|
|
428
|
-
ariaId: function ariaId() {
|
|
429
|
-
return utils.UniqueComponentId();
|
|
430
|
-
},
|
|
431
437
|
ariaLabelledById: function ariaLabelledById() {
|
|
432
|
-
return this.header != null || this.$attrs['aria-labelledby'] !== null ? this.
|
|
438
|
+
return this.header != null || this.$attrs['aria-labelledby'] !== null ? this.id + '_header' : null;
|
|
433
439
|
},
|
|
434
440
|
closeAriaLabel: function closeAriaLabel() {
|
|
435
441
|
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : undefined;
|
package/dialog/dialog.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.dialog=function(e,t,n,o,i,a,l,r,s,c){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),d=u(t),p=u(n),f=u(o),h=u(i),b=u(a),y={name:"Dialog",extends:{name:"BaseDialog",extends:u(s).default,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},rtl:{type:Boolean,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},_instance:null},style:u(c).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragend"],provide:function(){var e=this;return{dialogRef:r.computed((function(){return e._instance}))}},data:function(){return{containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&l.ZIndexUtils.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onBeforeEnter:function(e){e.setAttribute(this.attributeSelector,"")},onEnter:function(){this.$emit("show"),this.focus(),this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&l.ZIndexUtils.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&l.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide"),this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&l.ZIndexUtils.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissableMask&&this.modal&&this.mask===e.target&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer))||(t=this.$slots.default&&e(this.content))||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)),t&&l.DomHandler.focus(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?l.DomHandler.blockBodyScroll():l.DomHandler.unblockBodyScroll())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.DomHandler.blockBodyScroll()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.DomHandler.unblockBodyScroll()},onKeyDown:function(e){"Escape"===e.code&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e},closeButtonRef:function(e){this.closeButton=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",l.DomHandler.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="";for(var n in this.breakpoints)t+="\n @media screen and (max-width: ".concat(n,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.breakpoints[n]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){"icons"!==e.target.closest("div").getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",!this.isUnstyled&&l.DomHandler.addClass(document.body,"p-unselectable-text"))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=l.DomHandler.getOuterWidth(e.container),o=l.DomHandler.getOuterHeight(e.container),i=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,r=e.container.getBoundingClientRect(),s=r.left+i,c=r.top+a,u=l.DomHandler.getViewport(),m=getComputedStyle(e.container),d=parseFloat(m.marginLeft),p=parseFloat(m.marginTop);e.container.style.position="fixed",e.keepInViewport?(s>=e.minX&&s+n<u.width&&(e.lastPageX=t.pageX,e.container.style.left=s-d+"px"),c>=e.minY&&c+o<u.height&&(e.lastPageY=t.pageY,e.container.style.top=c-p+"px")):(e.lastPageX=t.pageX,e.container.style.left=s-d+"px",e.lastPageY=t.pageY,e.container.style.top=c-p+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,!e.isUnstyled&&l.DomHandler.removeClass(document.body,"p-unselectable-text"),e.$emit("dragend",t))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaId:function(){return l.UniqueComponentId()},ariaLabelledById:function(){return null!=this.header||null!==this.$attrs["aria-labelledby"]?this.ariaId+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},attributeSelector:function(){return l.UniqueComponentId()}},directives:{ripple:b.default,focustrap:m.default},components:{Portal:h.default,WindowMinimizeIcon:f.default,WindowMaximizeIcon:p.default,TimesIcon:d.default}};function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){var o;return(t="symbol"==g(o=D(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=g(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var B=["aria-labelledby","aria-modal"],L=["id"],w=["autofocus","tabindex"],z=["autofocus","aria-label"];return y.render=function(e,t,n,o,i,a){var l=r.resolveComponent("Portal"),s=r.resolveDirective("ripple"),c=r.resolveDirective("focustrap");return r.openBlock(),r.createBlock(l,{appendTo:e.appendTo},{default:r.withCtx((function(){return[i.containerVisible?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onClick:t[3]||(t[3]=function(){return a.onMaskClick&&a.onMaskClick.apply(a,arguments)})},e.ptm("mask")),[r.createVNode(r.Transition,r.mergeProps({name:"p-dialog",onBeforeEnter:a.onBeforeEnter,onEnter:a.onEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:r.withCtx((function(){return[e.visible?r.withDirectives((r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},x(x({},e.$attrs),e.ptm("root"))),[e.$slots.container?r.renderSlot(e.$slots,"container",{key:0,onClose:a.close,onMaximize:function(e){return a.maximize(e)},closeCallback:a.close,maximizeCallback:function(e){return a.maximize(e)}}):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[e.showHeader?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[2]||(t[2]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[r.renderSlot(e.$slots,"header",{class:r.normalizeClass(e.cx("title"))},(function(){return[e.header?(r.openBlock(),r.createElementBlock("span",r.mergeProps({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),r.toDisplayString(e.header),17,L)):r.createCommentVNode("",!0)]})),r.createElementVNode("div",r.mergeProps({class:e.cx("icons")},e.ptm("icons")),[e.maximizable?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:0,ref:a.maximizableRef,autofocus:i.focusableMax,class:e.cx("maximizableButton"),onClick:t[0]||(t[0]=function(){return a.maximize&&a.maximize.apply(a,arguments)}),type:"button",tabindex:e.maximizable?"0":"-1"},e.ptm("maximizableButton"),{"data-pc-group-section":"headericon"}),[r.renderSlot(e.$slots,"maximizeicon",{maximized:i.maximized,class:r.normalizeClass(e.cx("maximizableIcon"))},(function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(a.maximizeIconComponent),r.mergeProps({class:[e.cx("maximizableIcon"),i.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("maximizableIcon")),null,16,["class"]))]}))],16,w)),[[s]]):r.createCommentVNode("",!0),e.closable?r.withDirectives((r.openBlock(),r.createElementBlock("button",r.mergeProps({key:1,ref:a.closeButtonRef,autofocus:i.focusableClose,class:e.cx("closeButton"),onClick:t[1]||(t[1]=function(){return a.close&&a.close.apply(a,arguments)}),"aria-label":a.closeAriaLabel,type:"button"},x(x({},e.closeButtonProps),e.ptm("closeButton")),{"data-pc-group-section":"headericon"}),[r.renderSlot(e.$slots,"closeicon",{class:r.normalizeClass(e.cx("closeButtonIcon"))},(function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.closeIcon?"span":"TimesIcon"),r.mergeProps({class:[e.cx("closeButtonIcon"),e.closeIcon]},e.ptm("closeButtonIcon")),null,16,["class"]))]}))],16,z)),[[s]]):r.createCommentVNode("",!0)],16)],16)):r.createCommentVNode("",!0),r.createElementVNode("div",r.mergeProps({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},x(x({},e.contentProps),e.ptm("content"))),[r.renderSlot(e.$slots,"default")],16),e.footer||e.$slots.footer?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[r.renderSlot(e.$slots,"footer",{},(function(){return[r.createTextVNode(r.toDisplayString(e.footer),1)]}))],16)):r.createCommentVNode("",!0)],64))],16,B)),[[c,{disabled:!e.modal}]]):r.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):r.createCommentVNode("",!0)]})),_:3},8,["appendTo"])},y}(primevue.focustrap,primevue.icons.times,primevue.icons.windowmaximize,primevue.icons.windowminimize,primevue.portal,primevue.ripple,primevue.utils,Vue,primevue.basecomponent,primevue.dialog.style);
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.dialog=function(e,t,n,o,i,a,l,s,r,c){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),d=u(t),p=u(n),f=u(o),h=u(i),b=u(a),y={name:"Dialog",extends:{name:"BaseDialog",extends:u(r).default,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},rtl:{type:Boolean,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},_instance:null},style:u(c).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragend"],provide:function(){var e=this;return{dialogRef:s.computed((function(){return e._instance}))}},data:function(){return{id:this.$attrs.id,containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null}},watch:{"$attrs.id":function(e){this.id=e||l.UniqueComponentId()}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&l.ZIndexUtils.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.id=this.id||l.UniqueComponentId(),this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onBeforeEnter:function(e){e.setAttribute(this.attributeSelector,"")},onEnter:function(){this.$emit("show"),this.focus(),this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&l.ZIndexUtils.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&l.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){this.$emit("hide"),this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&l.ZIndexUtils.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskClick:function(e){this.dismissableMask&&this.modal&&this.mask===e.target&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector("[autofocus]")},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer))||(t=this.$slots.default&&e(this.content))||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)),t&&l.DomHandler.focus(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?l.DomHandler.blockBodyScroll():l.DomHandler.unblockBodyScroll())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.DomHandler.blockBodyScroll()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&l.DomHandler.unblockBodyScroll()},onKeyDown:function(e){"Escape"===e.code&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e},closeButtonRef:function(e){this.closeButton=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",l.DomHandler.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="";for(var n in this.breakpoints)t+="\n @media screen and (max-width: ".concat(n,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.breakpoints[n]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){"icons"!==e.target.closest("div").getAttribute("data-pc-section")&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text"),!this.isUnstyled&&l.DomHandler.addClass(document.body,"p-unselectable-text"))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=l.DomHandler.getOuterWidth(e.container),o=l.DomHandler.getOuterHeight(e.container),i=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,s=e.container.getBoundingClientRect(),r=s.left+i,c=s.top+a,u=l.DomHandler.getViewport(),m=getComputedStyle(e.container),d=parseFloat(m.marginLeft),p=parseFloat(m.marginTop);e.container.style.position="fixed",e.keepInViewport?(r>=e.minX&&r+n<u.width&&(e.lastPageX=t.pageX,e.container.style.left=r-d+"px"),c>=e.minY&&c+o<u.height&&(e.lastPageY=t.pageY,e.container.style.top=c-p+"px")):(e.lastPageX=t.pageX,e.container.style.left=r-d+"px",e.lastPageY=t.pageY,e.container.style.top=c-p+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,document.body.removeAttribute("data-p-unselectable-text"),!e.isUnstyled&&l.DomHandler.removeClass(document.body,"p-unselectable-text"),e.$emit("dragend",t))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaLabelledById:function(){return null!=this.header||null!==this.$attrs["aria-labelledby"]?this.id+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},attributeSelector:function(){return l.UniqueComponentId()}},directives:{ripple:b.default,focustrap:m.default},components:{Portal:h.default,WindowMinimizeIcon:f.default,WindowMaximizeIcon:p.default,TimesIcon:d.default}};function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){var o;return(t="symbol"==g(o=D(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=g(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var B=["aria-labelledby","aria-modal"],w=["id"],L=["autofocus","tabindex"],z=["autofocus","aria-label"];return y.render=function(e,t,n,o,i,a){var l=s.resolveComponent("Portal"),r=s.resolveDirective("ripple"),c=s.resolveDirective("focustrap");return s.openBlock(),s.createBlock(l,{appendTo:e.appendTo},{default:s.withCtx((function(){return[i.containerVisible?(s.openBlock(),s.createElementBlock("div",s.mergeProps({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onClick:t[3]||(t[3]=function(){return a.onMaskClick&&a.onMaskClick.apply(a,arguments)})},e.ptm("mask")),[s.createVNode(s.Transition,s.mergeProps({name:"p-dialog",onBeforeEnter:a.onBeforeEnter,onEnter:a.onEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:s.withCtx((function(){return[e.visible?s.withDirectives((s.openBlock(),s.createElementBlock("div",s.mergeProps({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},x(x({},e.$attrs),e.ptm("root"))),[e.$slots.container?s.renderSlot(e.$slots,"container",{key:0,onClose:a.close,onMaximize:function(e){return a.maximize(e)},closeCallback:a.close,maximizeCallback:function(e){return a.maximize(e)}}):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[e.showHeader?(s.openBlock(),s.createElementBlock("div",s.mergeProps({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[2]||(t[2]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[s.renderSlot(e.$slots,"header",{class:s.normalizeClass(e.cx("title"))},(function(){return[e.header?(s.openBlock(),s.createElementBlock("span",s.mergeProps({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),s.toDisplayString(e.header),17,w)):s.createCommentVNode("",!0)]})),s.createElementVNode("div",s.mergeProps({class:e.cx("icons")},e.ptm("icons")),[e.maximizable?s.withDirectives((s.openBlock(),s.createElementBlock("button",s.mergeProps({key:0,ref:a.maximizableRef,autofocus:i.focusableMax,class:e.cx("maximizableButton"),onClick:t[0]||(t[0]=function(){return a.maximize&&a.maximize.apply(a,arguments)}),type:"button",tabindex:e.maximizable?"0":"-1"},e.ptm("maximizableButton"),{"data-pc-group-section":"headericon"}),[s.renderSlot(e.$slots,"maximizeicon",{maximized:i.maximized,class:s.normalizeClass(e.cx("maximizableIcon"))},(function(){return[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(a.maximizeIconComponent),s.mergeProps({class:[e.cx("maximizableIcon"),i.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("maximizableIcon")),null,16,["class"]))]}))],16,L)),[[r]]):s.createCommentVNode("",!0),e.closable?s.withDirectives((s.openBlock(),s.createElementBlock("button",s.mergeProps({key:1,ref:a.closeButtonRef,autofocus:i.focusableClose,class:e.cx("closeButton"),onClick:t[1]||(t[1]=function(){return a.close&&a.close.apply(a,arguments)}),"aria-label":a.closeAriaLabel,type:"button"},x(x({},e.closeButtonProps),e.ptm("closeButton")),{"data-pc-group-section":"headericon"}),[s.renderSlot(e.$slots,"closeicon",{class:s.normalizeClass(e.cx("closeButtonIcon"))},(function(){return[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.closeIcon?"span":"TimesIcon"),s.mergeProps({class:[e.cx("closeButtonIcon"),e.closeIcon]},e.ptm("closeButtonIcon")),null,16,["class"]))]}))],16,z)),[[r]]):s.createCommentVNode("",!0)],16)],16)):s.createCommentVNode("",!0),s.createElementVNode("div",s.mergeProps({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},x(x({},e.contentProps),e.ptm("content"))),[s.renderSlot(e.$slots,"default")],16),e.footer||e.$slots.footer?(s.openBlock(),s.createElementBlock("div",s.mergeProps({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[s.renderSlot(e.$slots,"footer",{},(function(){return[s.createTextVNode(s.toDisplayString(e.footer),1)]}))],16)):s.createCommentVNode("",!0)],64))],16,B)),[[c,{disabled:!e.modal}]]):s.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):s.createCommentVNode("",!0)]})),_:3},8,["appendTo"])},y}(primevue.focustrap,primevue.icons.times,primevue.icons.windowmaximize,primevue.icons.windowminimize,primevue.portal,primevue.ripple,primevue.utils,Vue,primevue.basecomponent,primevue.dialog.style);
|
|
@@ -6,8 +6,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
6
6
|
|
|
7
7
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
8
8
|
|
|
9
|
-
var css = "\n@layer primevue {\n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n\n .p-dialog {\n max-height: 90%;\n transform: scale(1);\n }\n\n .p-dialog-content {\n overflow-y: auto;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n }\n\n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n }\n\n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n\n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n\n /* Animation */\n /* Center */\n .p-dialog-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-dialog-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-dialog-enter-from,\n .p-dialog-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n\n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-topleft .p-dialog,\n .p-dialog-topright .p-dialog,\n .p-dialog-bottomleft .p-dialog,\n .p-dialog-bottomright .p-dialog {\n margin: 0.75rem;\n transform: translate3d(0px, 0px, 0px);\n }\n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-top .p-dialog-leave-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-leave-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-left .p-dialog-leave-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-right .p-dialog-leave-active,\n .p-dialog-topleft .p-dialog-enter-active,\n .p-dialog-topleft .p-dialog-leave-active,\n .p-dialog-topright .p-dialog-enter-active,\n .p-dialog-topright .p-dialog-leave-active,\n .p-dialog-bottomleft .p-dialog-enter-active,\n .p-dialog-bottomleft .p-dialog-leave-active,\n .p-dialog-bottomright .p-dialog-enter-active,\n .p-dialog-bottomright .p-dialog-leave-active {\n transition: all 0.3s ease-out;\n }\n .p-dialog-top .p-dialog-enter-from,\n .p-dialog-top .p-dialog-leave-to {\n transform: translate3d(0px, -100%, 0px);\n }\n .p-dialog-bottom .p-dialog-enter-from,\n .p-dialog-bottom .p-dialog-leave-to {\n transform: translate3d(0px, 100%, 0px);\n }\n .p-dialog-left .p-dialog-enter-from,\n .p-dialog-left .p-dialog-leave-to,\n .p-dialog-topleft .p-dialog-enter-from,\n .p-dialog-topleft .p-dialog-leave-to,\n .p-dialog-bottomleft .p-dialog-enter-from,\n .p-dialog-bottomleft .p-dialog-leave-to {\n transform: translate3d(-100%, 0px, 0px);\n }\n .p-dialog-right .p-dialog-enter-from,\n .p-dialog-right .p-dialog-leave-to,\n .p-dialog-topright .p-dialog-enter-from,\n .p-dialog-topright .p-dialog-leave-to,\n .p-dialog-bottomright .p-dialog-enter-from,\n .p-dialog-bottomright .p-dialog-leave-to {\n transform: translate3d(100%, 0px, 0px);\n }\n\n /* Maximize */\n .p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n }\n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n\n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n}\n";
|
|
10
|
-
|
|
11
9
|
/* Position */
|
|
12
10
|
var inlineStyles = {
|
|
13
11
|
mask: function mask(_ref) {
|
|
@@ -48,7 +46,6 @@ var classes = {
|
|
|
48
46
|
return ['p-dialog p-component', {
|
|
49
47
|
'p-dialog-rtl': props.rtl,
|
|
50
48
|
'p-dialog-maximized': props.maximizable && instance.maximized,
|
|
51
|
-
'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
|
|
52
49
|
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
|
53
50
|
}];
|
|
54
51
|
},
|
|
@@ -64,7 +61,6 @@ var classes = {
|
|
|
64
61
|
};
|
|
65
62
|
var DialogStyle = BaseStyle__default["default"].extend({
|
|
66
63
|
name: 'dialog',
|
|
67
|
-
css: css,
|
|
68
64
|
classes: classes,
|
|
69
65
|
inlineStyles: inlineStyles
|
|
70
66
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=t(require("primevue/base/style")).default.extend({name:"dialog",classes:{mask:function(t){var e=t.props,o=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find((function(t){return t===e.position}));return["p-dialog-mask",{"p-component-overlay p-component-overlay-enter":e.modal},o?"p-dialog-".concat(o):""]},root:function(t){var e=t.props,o=t.instance;return["p-dialog p-component",{"p-dialog-rtl":e.rtl,"p-dialog-maximized":e.maximizable&&o.maximized,"p-ripple-disabled":!1===o.$primevue.config.ripple}]},header:"p-dialog-header",title:"p-dialog-title",icons:"p-dialog-header-icons",maximizableButton:"p-dialog-header-icon p-dialog-header-maximize p-link",maximizableIcon:"p-dialog-header-maximize-icon",closeButton:"p-dialog-header-icon p-dialog-header-close p-link",closeButtonIcon:"p-dialog-header-close-icon",content:"p-dialog-content",footer:"p-dialog-footer"},inlineStyles:{mask:function(t){var e=t.position;return{position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:"left"===e||"topleft"===e||"bottomleft"===e?"flex-start":"right"===e||"topright"===e||"bottomright"===e?"flex-end":"center",alignItems:"top"===e||"topleft"===e||"topright"===e?"flex-start":"bottom"===e||"bottomleft"===e||"bottomright"===e?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}},root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}}});module.exports=e;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import BaseStyle from 'primevue/base/style';
|
|
2
2
|
|
|
3
|
-
var css = "\n@layer primevue {\n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n\n .p-dialog {\n max-height: 90%;\n transform: scale(1);\n }\n\n .p-dialog-content {\n overflow-y: auto;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n }\n\n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n }\n\n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n\n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n\n /* Animation */\n /* Center */\n .p-dialog-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-dialog-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-dialog-enter-from,\n .p-dialog-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n\n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-topleft .p-dialog,\n .p-dialog-topright .p-dialog,\n .p-dialog-bottomleft .p-dialog,\n .p-dialog-bottomright .p-dialog {\n margin: 0.75rem;\n transform: translate3d(0px, 0px, 0px);\n }\n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-top .p-dialog-leave-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-leave-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-left .p-dialog-leave-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-right .p-dialog-leave-active,\n .p-dialog-topleft .p-dialog-enter-active,\n .p-dialog-topleft .p-dialog-leave-active,\n .p-dialog-topright .p-dialog-enter-active,\n .p-dialog-topright .p-dialog-leave-active,\n .p-dialog-bottomleft .p-dialog-enter-active,\n .p-dialog-bottomleft .p-dialog-leave-active,\n .p-dialog-bottomright .p-dialog-enter-active,\n .p-dialog-bottomright .p-dialog-leave-active {\n transition: all 0.3s ease-out;\n }\n .p-dialog-top .p-dialog-enter-from,\n .p-dialog-top .p-dialog-leave-to {\n transform: translate3d(0px, -100%, 0px);\n }\n .p-dialog-bottom .p-dialog-enter-from,\n .p-dialog-bottom .p-dialog-leave-to {\n transform: translate3d(0px, 100%, 0px);\n }\n .p-dialog-left .p-dialog-enter-from,\n .p-dialog-left .p-dialog-leave-to,\n .p-dialog-topleft .p-dialog-enter-from,\n .p-dialog-topleft .p-dialog-leave-to,\n .p-dialog-bottomleft .p-dialog-enter-from,\n .p-dialog-bottomleft .p-dialog-leave-to {\n transform: translate3d(-100%, 0px, 0px);\n }\n .p-dialog-right .p-dialog-enter-from,\n .p-dialog-right .p-dialog-leave-to,\n .p-dialog-topright .p-dialog-enter-from,\n .p-dialog-topright .p-dialog-leave-to,\n .p-dialog-bottomright .p-dialog-enter-from,\n .p-dialog-bottomright .p-dialog-leave-to {\n transform: translate3d(100%, 0px, 0px);\n }\n\n /* Maximize */\n .p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n }\n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n\n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n}\n";
|
|
4
|
-
|
|
5
3
|
/* Position */
|
|
6
4
|
var inlineStyles = {
|
|
7
5
|
mask: function mask(_ref) {
|
|
@@ -42,7 +40,6 @@ var classes = {
|
|
|
42
40
|
return ['p-dialog p-component', {
|
|
43
41
|
'p-dialog-rtl': props.rtl,
|
|
44
42
|
'p-dialog-maximized': props.maximizable && instance.maximized,
|
|
45
|
-
'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
|
|
46
43
|
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
|
47
44
|
}];
|
|
48
45
|
},
|
|
@@ -58,7 +55,6 @@ var classes = {
|
|
|
58
55
|
};
|
|
59
56
|
var DialogStyle = BaseStyle.extend({
|
|
60
57
|
name: 'dialog',
|
|
61
|
-
css: css,
|
|
62
58
|
classes: classes,
|
|
63
59
|
inlineStyles: inlineStyles
|
|
64
60
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"primevue/base/style";var o=t.extend({name:"dialog",classes:{mask:function(t){var o=t.props,e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find((function(t){return t===o.position}));return["p-dialog-mask",{"p-component-overlay p-component-overlay-enter":o.modal},e?"p-dialog-".concat(e):""]},root:function(t){var o=t.props,e=t.instance;return["p-dialog p-component",{"p-dialog-rtl":o.rtl,"p-dialog-maximized":o.maximizable&&e.maximized,"p-ripple-disabled":!1===e.$primevue.config.ripple}]},header:"p-dialog-header",title:"p-dialog-title",icons:"p-dialog-header-icons",maximizableButton:"p-dialog-header-icon p-dialog-header-maximize p-link",maximizableIcon:"p-dialog-header-maximize-icon",closeButton:"p-dialog-header-icon p-dialog-header-close p-link",closeButtonIcon:"p-dialog-header-close-icon",content:"p-dialog-content",footer:"p-dialog-footer"},inlineStyles:{mask:function(t){var o=t.position;return{position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:"left"===o||"topleft"===o||"bottomleft"===o?"flex-start":"right"===o||"topright"===o||"bottomright"===o?"flex-end":"center",alignItems:"top"===o||"topleft"===o||"topright"===o?"flex-start":"bottom"===o||"bottomleft"===o||"bottomright"===o?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}},root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}}});export{o as default};
|
|
@@ -7,8 +7,6 @@ this.primevue.dialog.style = (function (BaseStyle) {
|
|
|
7
7
|
|
|
8
8
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
9
9
|
|
|
10
|
-
var css = "\n@layer primevue {\n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n\n .p-dialog {\n max-height: 90%;\n transform: scale(1);\n }\n\n .p-dialog-content {\n overflow-y: auto;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n }\n\n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n }\n\n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n\n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n\n /* Animation */\n /* Center */\n .p-dialog-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-dialog-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-dialog-enter-from,\n .p-dialog-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n\n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-topleft .p-dialog,\n .p-dialog-topright .p-dialog,\n .p-dialog-bottomleft .p-dialog,\n .p-dialog-bottomright .p-dialog {\n margin: 0.75rem;\n transform: translate3d(0px, 0px, 0px);\n }\n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-top .p-dialog-leave-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-leave-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-left .p-dialog-leave-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-right .p-dialog-leave-active,\n .p-dialog-topleft .p-dialog-enter-active,\n .p-dialog-topleft .p-dialog-leave-active,\n .p-dialog-topright .p-dialog-enter-active,\n .p-dialog-topright .p-dialog-leave-active,\n .p-dialog-bottomleft .p-dialog-enter-active,\n .p-dialog-bottomleft .p-dialog-leave-active,\n .p-dialog-bottomright .p-dialog-enter-active,\n .p-dialog-bottomright .p-dialog-leave-active {\n transition: all 0.3s ease-out;\n }\n .p-dialog-top .p-dialog-enter-from,\n .p-dialog-top .p-dialog-leave-to {\n transform: translate3d(0px, -100%, 0px);\n }\n .p-dialog-bottom .p-dialog-enter-from,\n .p-dialog-bottom .p-dialog-leave-to {\n transform: translate3d(0px, 100%, 0px);\n }\n .p-dialog-left .p-dialog-enter-from,\n .p-dialog-left .p-dialog-leave-to,\n .p-dialog-topleft .p-dialog-enter-from,\n .p-dialog-topleft .p-dialog-leave-to,\n .p-dialog-bottomleft .p-dialog-enter-from,\n .p-dialog-bottomleft .p-dialog-leave-to {\n transform: translate3d(-100%, 0px, 0px);\n }\n .p-dialog-right .p-dialog-enter-from,\n .p-dialog-right .p-dialog-leave-to,\n .p-dialog-topright .p-dialog-enter-from,\n .p-dialog-topright .p-dialog-leave-to,\n .p-dialog-bottomright .p-dialog-enter-from,\n .p-dialog-bottomright .p-dialog-leave-to {\n transform: translate3d(100%, 0px, 0px);\n }\n\n /* Maximize */\n .p-dialog-maximized {\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n }\n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n\n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n}\n";
|
|
11
|
-
|
|
12
10
|
/* Position */
|
|
13
11
|
var inlineStyles = {
|
|
14
12
|
mask: function mask(_ref) {
|
|
@@ -49,7 +47,6 @@ this.primevue.dialog.style = (function (BaseStyle) {
|
|
|
49
47
|
return ['p-dialog p-component', {
|
|
50
48
|
'p-dialog-rtl': props.rtl,
|
|
51
49
|
'p-dialog-maximized': props.maximizable && instance.maximized,
|
|
52
|
-
'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
|
|
53
50
|
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
|
54
51
|
}];
|
|
55
52
|
},
|
|
@@ -65,7 +62,6 @@ this.primevue.dialog.style = (function (BaseStyle) {
|
|
|
65
62
|
};
|
|
66
63
|
var DialogStyle = BaseStyle__default["default"].extend({
|
|
67
64
|
name: 'dialog',
|
|
68
|
-
css: css,
|
|
69
65
|
classes: classes,
|
|
70
66
|
inlineStyles: inlineStyles
|
|
71
67
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.dialog=this.primevue.dialog||{},this.primevue.dialog.style=function(t){"use strict";function
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.dialog=this.primevue.dialog||{},this.primevue.dialog.style=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}return e(primevue.base.style).default.extend({name:"dialog",classes:{mask:function(t){var e=t.props,o=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find((function(t){return t===e.position}));return["p-dialog-mask",{"p-component-overlay p-component-overlay-enter":e.modal},o?"p-dialog-".concat(o):""]},root:function(t){var e=t.props,o=t.instance;return["p-dialog p-component",{"p-dialog-rtl":e.rtl,"p-dialog-maximized":e.maximizable&&o.maximized,"p-ripple-disabled":!1===o.$primevue.config.ripple}]},header:"p-dialog-header",title:"p-dialog-title",icons:"p-dialog-header-icons",maximizableButton:"p-dialog-header-icon p-dialog-header-maximize p-link",maximizableIcon:"p-dialog-header-maximize-icon",closeButton:"p-dialog-header-icon p-dialog-header-close p-link",closeButtonIcon:"p-dialog-header-close-icon",content:"p-dialog-content",footer:"p-dialog-footer"},inlineStyles:{mask:function(t){var e=t.position;return{position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:"left"===e||"topleft"===e||"bottomleft"===e?"flex-start":"right"===e||"topright"===e||"bottomright"===e?"flex-end":"center",alignItems:"top"===e||"topleft"===e||"topright"===e?"flex-start":"bottom"===e||"bottomleft"===e||"bottomright"===e?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}},root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}}})}();
|
package/divider/Divider.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="cx('root')" :style="sx('root')" role="separator" :aria-orientation="layout" v-bind="ptm('root')"
|
|
2
|
+
<div :class="cx('root')" :style="sx('root')" role="separator" :aria-orientation="layout" v-bind="ptm('root')">
|
|
3
3
|
<div v-if="$slots.default" :class="cx('content')" v-bind="ptm('content')">
|
|
4
4
|
<slot></slot>
|
|
5
5
|
</div>
|
package/divider/divider.cjs.js
CHANGED
|
@@ -46,9 +46,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46
46
|
style: _ctx.sx('root'),
|
|
47
47
|
role: "separator",
|
|
48
48
|
"aria-orientation": _ctx.layout
|
|
49
|
-
}, _ctx.ptm('root'), {
|
|
50
|
-
"data-pc-name": "divider"
|
|
51
|
-
}), [_ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
49
|
+
}, _ctx.ptm('root')), [_ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
52
50
|
key: 0,
|
|
53
51
|
"class": _ctx.cx('content')
|
|
54
52
|
}, _ctx.ptm('content')), [vue.renderSlot(_ctx.$slots, "default")], 16)) : vue.createCommentVNode("", true)], 16, _hoisted_1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/divider/style"),r=require("vue");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"Divider",extends:{name:"BaseDivider",extends:o(e).default,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:o(t).default,provide:function(){return{$parentInstance:this}}}},a=["aria-orientation"];n.render=function(e,t,o,n,i,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),style:e.sx("root"),role:"separator","aria-orientation":e.layout},e.ptm("root")
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/divider/style"),r=require("vue");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"Divider",extends:{name:"BaseDivider",extends:o(e).default,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:o(t).default,provide:function(){return{$parentInstance:this}}}},a=["aria-orientation"];n.render=function(e,t,o,n,i,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),style:e.sx("root"),role:"separator","aria-orientation":e.layout},e.ptm("root")),[e.$slots.default?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("content")},e.ptm("content")),[r.renderSlot(e.$slots,"default")],16)):r.createCommentVNode("",!0)],16,a)},module.exports=n;
|
package/divider/divider.esm.js
CHANGED
|
@@ -39,9 +39,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39
39
|
style: _ctx.sx('root'),
|
|
40
40
|
role: "separator",
|
|
41
41
|
"aria-orientation": _ctx.layout
|
|
42
|
-
}, _ctx.ptm('root'), {
|
|
43
|
-
"data-pc-name": "divider"
|
|
44
|
-
}), [_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", mergeProps({
|
|
42
|
+
}, _ctx.ptm('root')), [_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", mergeProps({
|
|
45
43
|
key: 0,
|
|
46
44
|
"class": _ctx.cx('content')
|
|
47
45
|
}, _ctx.ptm('content')), [renderSlot(_ctx.$slots, "default")], 16)) : createCommentVNode("", true)], 16, _hoisted_1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/basecomponent";import e from"primevue/divider/style";import{openBlock as r,createElementBlock as o,mergeProps as
|
|
1
|
+
import t from"primevue/basecomponent";import e from"primevue/divider/style";import{openBlock as r,createElementBlock as o,mergeProps as n,renderSlot as i,createCommentVNode as a}from"vue";var s={name:"Divider",extends:{name:"BaseDivider",extends:t,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:e,provide:function(){return{$parentInstance:this}}}},l=["aria-orientation"];s.render=function(t,e,s,p,d,u){return r(),o("div",n({class:t.cx("root"),style:t.sx("root"),role:"separator","aria-orientation":t.layout},t.ptm("root")),[t.$slots.default?(r(),o("div",n({key:0,class:t.cx("content")},t.ptm("content")),[i(t.$slots,"default")],16)):a("",!0)],16,l)};export{s as default};
|
package/divider/divider.js
CHANGED
|
@@ -44,9 +44,7 @@ this.primevue.divider = (function (BaseComponent, DividerStyle, vue) {
|
|
|
44
44
|
style: _ctx.sx('root'),
|
|
45
45
|
role: "separator",
|
|
46
46
|
"aria-orientation": _ctx.layout
|
|
47
|
-
}, _ctx.ptm('root'), {
|
|
48
|
-
"data-pc-name": "divider"
|
|
49
|
-
}), [_ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
47
|
+
}, _ctx.ptm('root')), [_ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
50
48
|
key: 0,
|
|
51
49
|
"class": _ctx.cx('content')
|
|
52
50
|
}, _ctx.ptm('content')), [vue.renderSlot(_ctx.$slots, "default")], 16)) : vue.createCommentVNode("", true)], 16, _hoisted_1);
|
package/divider/divider.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.divider=function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o={name:"Divider",extends:{name:"BaseDivider",extends:n(e).default,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:n(t).default,provide:function(){return{$parentInstance:this}}}},i=["aria-orientation"];return o.render=function(e,t,n,o,a,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),style:e.sx("root"),role:"separator","aria-orientation":e.layout},e.ptm("root")
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.divider=function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o={name:"Divider",extends:{name:"BaseDivider",extends:n(e).default,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:n(t).default,provide:function(){return{$parentInstance:this}}}},i=["aria-orientation"];return o.render=function(e,t,n,o,a,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),style:e.sx("root"),role:"separator","aria-orientation":e.layout},e.ptm("root")),[e.$slots.default?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("content")},e.ptm("content")),[r.renderSlot(e.$slots,"default")],16)):r.createCommentVNode("",!0)],16,i)},o}(primevue.basecomponent,primevue.divider.style,Vue);
|
|
@@ -6,8 +6,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
6
6
|
|
|
7
7
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
8
8
|
|
|
9
|
-
var css = "\n@layer primevue {\n .p-divider-horizontal {\n display: flex;\n width: 100%;\n position: relative;\n align-items: center;\n }\n\n .p-divider-horizontal:before {\n position: absolute;\n display: block;\n top: 50%;\n left: 0;\n width: 100%;\n content: '';\n }\n\n .p-divider-content {\n z-index: 1;\n }\n\n .p-divider-vertical {\n min-height: 100%;\n margin: 0 1rem;\n display: flex;\n position: relative;\n justify-content: center;\n }\n\n .p-divider-vertical:before {\n position: absolute;\n display: block;\n top: 0;\n left: 50%;\n height: 100%;\n content: '';\n }\n\n .p-divider-solid.p-divider-horizontal:before {\n border-top-style: solid;\n }\n\n .p-divider-solid.p-divider-vertical:before {\n border-left-style: solid;\n }\n\n .p-divider-dashed.p-divider-horizontal:before {\n border-top-style: dashed;\n }\n\n .p-divider-dashed.p-divider-vertical:before {\n border-left-style: dashed;\n }\n\n .p-divider-dotted.p-divider-horizontal:before {\n border-top-style: dotted;\n }\n\n .p-divider-dotted.p-divider-vertical:before {\n border-left-style: dotted;\n }\n}\n";
|
|
10
|
-
|
|
11
9
|
/* Position */
|
|
12
10
|
var inlineStyles = {
|
|
13
11
|
root: function root(_ref) {
|
|
@@ -39,7 +37,6 @@ var classes = {
|
|
|
39
37
|
};
|
|
40
38
|
var DividerStyle = BaseStyle__default["default"].extend({
|
|
41
39
|
name: 'divider',
|
|
42
|
-
css: css,
|
|
43
40
|
classes: classes,
|
|
44
41
|
inlineStyles: inlineStyles
|
|
45
42
|
});
|