primevue 2.4.2 → 2.7.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/accordion/Accordion.vue +8 -1
- package/accordion/accordion.common.js +9 -3
- package/accordion/accordion.umd.js +9 -3
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/AccordionTab.vue +2 -2
- package/accordiontab/accordiontab.common.js +9 -4
- package/accordiontab/accordiontab.umd.js +9 -4
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +1 -0
- package/autocomplete/AutoComplete.vue +8 -0
- package/autocomplete/autocomplete.common.js +21 -3
- package/autocomplete/autocomplete.umd.js +21 -3
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +1 -1
- package/avatar/avatar.umd.js +1 -1
- package/avatargroup/avatargroup.common.js +1 -1
- package/avatargroup/avatargroup.umd.js +1 -1
- package/badge/badge.common.js +1 -1
- package/badge/badge.umd.js +1 -1
- package/badgedirective/badgedirective.common.js +5 -0
- package/badgedirective/badgedirective.umd.js +5 -0
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/BlockUI.vue +6 -16
- package/blockui/blockui.common.js +16 -16
- package/blockui/blockui.umd.js +16 -16
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -0
- package/breadcrumb/Breadcrumb.vue +11 -3
- package/breadcrumb/BreadcrumbItem.vue +30 -11
- package/breadcrumb/breadcrumb.common.js +45 -17
- package/breadcrumb/breadcrumb.umd.js +45 -17
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/button.common.js +6 -1
- package/button/button.umd.js +6 -1
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.d.ts +5 -0
- package/calendar/Calendar.vue +321 -69
- package/calendar/calendar.common.js +340 -42
- package/calendar/calendar.umd.js +340 -42
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +1 -1
- package/card/card.umd.js +1 -1
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.common.js +8 -3
- package/carousel/carousel.umd.js +8 -3
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +6 -4
- package/cascadeselect/CascadeSelect.vue +3 -1
- package/cascadeselect/cascadeselect.common.js +15 -4
- package/cascadeselect/cascadeselect.umd.js +15 -4
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +10 -1
- package/cascadeselect/cascadeselectsub.umd.js +10 -1
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +3 -4
- package/chart/Chart.vue +22 -13
- package/chart/chart.common.1.js +12825 -0
- package/chart/chart.common.js +1040 -37026
- package/chart/chart.umd.1.js +12825 -0
- package/chart/chart.umd.js +1040 -37026
- package/chart/chart.umd.min.1.js +7 -0
- package/chart/chart.umd.min.js +1 -278
- package/checkbox/Checkbox.css +1 -0
- package/checkbox/Checkbox.d.ts +2 -0
- package/checkbox/Checkbox.vue +11 -3
- package/checkbox/checkbox.common.js +17 -5
- package/checkbox/checkbox.umd.js +17 -5
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +1 -1
- package/chip/chip.umd.js +1 -1
- package/chips/chips.common.js +1 -1
- package/chips/chips.umd.js +1 -1
- package/colorpicker/colorpicker.common.js +6 -1
- package/colorpicker/colorpicker.umd.js +6 -1
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +1 -1
- package/columngroup/columngroup.umd.js +1 -1
- package/common/Common.css +13 -4
- package/config/primevue.common.js +4 -0
- package/config/primevue.umd.js +4 -0
- package/config/primevue.umd.min.js +1 -1
- package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
- package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
- package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
- package/confirmationeventbus/demo.html +8 -0
- package/confirmationeventbus/index.d.ts +1 -0
- package/confirmationeventbus/index.js +2 -0
- package/confirmationservice/ConfirmationService.js +1 -1
- package/confirmationservice/confirmationservice.common.js +1609 -6
- package/confirmationservice/confirmationservice.umd.js +1609 -6
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +9 -3
- package/confirmdialog/confirmdialog.common.js +437 -38
- package/confirmdialog/confirmdialog.umd.js +437 -38
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +4 -1
- package/confirmpopup/ConfirmPopup.vue +9 -6
- package/confirmpopup/confirmpopup.common.js +513 -13
- package/confirmpopup/confirmpopup.umd.js +513 -13
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +1 -0
- package/contextmenu/ContextMenu.vue +5 -1
- package/contextmenu/ContextMenuSub.vue +33 -13
- package/contextmenu/contextmenu.common.js +46 -14
- package/contextmenu/contextmenu.umd.js +46 -14
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +36 -8
- package/contextmenu/contextmenusub.umd.js +36 -8
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/contextmenu/demo.html +4 -3
- package/datatable/BodyCell.vue +9 -5
- package/datatable/DataTable.d.ts +10 -9
- package/datatable/DataTable.vue +27 -19
- package/datatable/TableBody.vue +18 -5
- package/datatable/bodycell.common.js +21 -9
- package/datatable/bodycell.umd.js +21 -9
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/datatable.common.js +1993 -89
- package/datatable/datatable.umd.js +1993 -89
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +1 -1
- package/datatable/headercheckbox.umd.js +1 -1
- package/datatable/rowcheckbox.common.js +1 -1
- package/datatable/rowcheckbox.umd.js +1 -1
- package/datatable/rowradiobutton.common.js +1 -1
- package/datatable/rowradiobutton.umd.js +1 -1
- package/datatable/scrollableview.common.js +7 -2
- package/datatable/scrollableview.umd.js +7 -2
- package/datatable/scrollableview.umd.min.js +1 -1
- package/datatable/tablebody.common.js +44 -15
- package/datatable/tablebody.umd.js +44 -15
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +1 -1
- package/datatable/tablefooter.umd.js +1 -1
- package/datatable/tableheader.common.js +7 -2
- package/datatable/tableheader.umd.js +7 -2
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +1 -1
- package/datatable/tableloadingbody.umd.js +1 -1
- package/dataview/DataView.d.ts +2 -2
- package/dataview/DataView.vue +10 -10
- package/dataview/dataview.common.js +1937 -65
- package/dataview/dataview.umd.js +1937 -65
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
- package/deferredcontent/DeferredContent.vue +1 -7
- package/deferredcontent/deferredcontent.common.js +2 -2
- package/deferredcontent/deferredcontent.umd.js +2 -2
- package/dialog/Dialog.vue +35 -21
- package/dialog/dialog.common.js +42 -18
- package/dialog/dialog.umd.js +42 -18
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +1 -1
- package/divider/divider.umd.js +1 -1
- package/dock/Dock.d.ts +15 -0
- package/dock/Dock.vue +173 -0
- package/dock/DockSub.vue +132 -0
- package/dock/demo.html +17 -0
- package/dock/dock.common.js +917 -0
- package/dock/dock.umd.js +927 -0
- package/dock/dock.umd.min.js +1 -0
- package/dock/docksub.common.js +428 -0
- package/dock/docksub.umd.js +438 -0
- package/dock/docksub.umd.min.js +1 -0
- package/dock/index.d.ts +1 -0
- package/dock/index.js +2 -0
- package/dock/plugin.js +4 -0
- package/dropdown/Dropdown.d.ts +5 -3
- package/dropdown/Dropdown.vue +31 -5
- package/dropdown/dropdown.common.js +44 -6
- package/dropdown/dropdown.umd.js +44 -6
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +1 -1
- package/editor/editor.umd.js +1 -1
- package/fieldset/fieldset.common.js +6 -1
- package/fieldset/fieldset.umd.js +6 -1
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.d.ts +2 -0
- package/fileupload/FileUpload.vue +12 -7
- package/fileupload/fileupload.common.js +42 -23
- package/fileupload/fileupload.umd.js +42 -23
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +1573 -777
- package/fullcalendar/fullcalendar.umd.js +1573 -777
- package/fullcalendar/fullcalendar.umd.min.js +5 -5
- package/galleria/Galleria.vue +3 -8
- package/galleria/GalleriaContent.vue +9 -0
- package/galleria/galleria.common.js +31 -13
- package/galleria/galleria.umd.js +31 -13
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +18 -4
- package/galleria/galleriacontent.umd.js +18 -4
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +6 -1
- package/galleria/galleriaitem.umd.js +6 -1
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriathumbnails.common.js +6 -1
- package/galleria/galleriathumbnails.umd.js +6 -1
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/ImagePreview.d.ts +10 -0
- package/imagepreview/ImagePreview.vue +205 -0
- package/imagepreview/demo.html +17 -0
- package/imagepreview/imagepreview.common.js +4083 -0
- package/imagepreview/imagepreview.umd.js +4093 -0
- package/imagepreview/imagepreview.umd.min.js +1 -0
- package/imagepreview/index.d.ts +1 -0
- package/imagepreview/index.js +2 -0
- package/imagepreview/plugin.js +4 -0
- package/inlinemessage/inlinemessage.common.js +1 -1
- package/inlinemessage/inlinemessage.umd.js +1 -1
- package/inplace/inplace.common.js +7 -2
- package/inplace/inplace.umd.js +7 -2
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/InputMask.vue +7 -5
- package/inputmask/inputmask.common.js +19 -6
- package/inputmask/inputmask.umd.js +19 -6
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +183 -62
- package/inputnumber/inputnumber.common.js +228 -104
- package/inputnumber/inputnumber.umd.js +228 -104
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +2 -0
- package/inputswitch/InputSwitch.vue +15 -3
- package/inputswitch/inputswitch.common.js +17 -5
- package/inputswitch/inputswitch.umd.js +17 -5
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +5 -1
- package/inputtext/inputtext.umd.js +5 -1
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +1 -1
- package/knob/knob.umd.js +1 -1
- package/listbox/Listbox.d.ts +3 -3
- package/listbox/listbox.common.js +10 -1
- package/listbox/listbox.umd.js +10 -1
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +6 -1
- package/megamenu/MegaMenu.vue +51 -22
- package/megamenu/megamenu.common.js +52 -10
- package/megamenu/megamenu.umd.js +52 -10
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/Menu.d.ts +1 -0
- package/menu/Menu.vue +11 -4
- package/menu/Menuitem.vue +25 -11
- package/menu/menu.common.js +46 -17
- package/menu/menu.umd.js +46 -17
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +33 -11
- package/menu/menuitem.umd.js +33 -11
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/Menubar.d.ts +1 -0
- package/menubar/Menubar.vue +5 -1
- package/menubar/MenubarSub.vue +34 -14
- package/menubar/menubar.common.js +46 -14
- package/menubar/menubar.umd.js +46 -14
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +36 -8
- package/menubar/menubarsub.umd.js +36 -8
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/Message.d.ts +1 -0
- package/message/Message.vue +5 -1
- package/message/message.common.js +12 -3
- package/message/message.umd.js +12 -3
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +4 -3
- package/multiselect/MultiSelect.vue +8 -1
- package/multiselect/multiselect.common.js +20 -5
- package/multiselect/multiselect.umd.js +20 -5
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/OrderList.d.ts +2 -0
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.common.js +15 -4
- package/orderlist/orderlist.umd.js +15 -4
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +11 -2
- package/organizationchart/organizationchart.umd.js +11 -2
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +6 -1
- package/organizationchart/organizationchartnode.umd.js +6 -1
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +6 -1
- package/overlaypanel/overlaypanel.umd.js +6 -1
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +5 -1
- package/paginator/CurrentPageReport.vue +6 -2
- package/paginator/JumpToPageDropdown.vue +33 -0
- package/paginator/JumpToPageInput.vue +25 -0
- package/paginator/Paginator.d.ts +2 -2
- package/paginator/Paginator.vue +24 -11
- package/paginator/RowsPerPageDropdown.vue +3 -2
- package/paginator/currentpagereport.common.js +7 -3
- package/paginator/currentpagereport.umd.js +7 -3
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/demo.html +3 -3
- package/paginator/firstpagelink.common.js +6 -1
- package/paginator/firstpagelink.umd.js +6 -1
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +6476 -0
- package/paginator/jumptopagedropdown.umd.js +6486 -0
- package/paginator/jumptopagedropdown.umd.min.js +1 -0
- package/paginator/jumptopageinput.common.js +7421 -0
- package/paginator/jumptopageinput.umd.js +7431 -0
- package/paginator/jumptopageinput.umd.min.js +1 -0
- package/paginator/lastpagelink.common.js +6 -1
- package/paginator/lastpagelink.umd.js +6 -1
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +6 -1
- package/paginator/nextpagelink.umd.js +6 -1
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +6 -1
- package/paginator/pagelinks.umd.js +6 -1
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +2264 -125
- package/paginator/paginator.umd.js +2264 -125
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +6 -1
- package/paginator/prevpagelink.umd.js +6 -1
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +52 -13
- package/paginator/rowsperpagedropdown.umd.js +52 -13
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/Panel.d.ts +1 -0
- package/panel/Panel.vue +1 -1
- package/panel/panel.common.js +7 -2
- package/panel/panel.umd.js +7 -2
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +1 -0
- package/panelmenu/PanelMenu.vue +32 -6
- package/panelmenu/PanelMenuSub.vue +32 -13
- package/panelmenu/panelmenu.common.js +69 -16
- package/panelmenu/panelmenu.umd.js +69 -16
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +29 -7
- package/panelmenu/panelmenusub.umd.js +29 -7
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/password.common.js +11 -2
- package/password/password.umd.js +11 -2
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +8 -0
- package/picklist/PickList.vue +13 -4
- package/picklist/picklist.common.js +22 -4
- package/picklist/picklist.umd.js +22 -4
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/ProgressBar.vue +20 -13
- package/progressbar/progressbar.common.js +11 -6
- package/progressbar/progressbar.umd.js +11 -6
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +1 -1
- package/progressspinner/progressspinner.umd.js +1 -1
- package/radiobutton/radiobutton.common.js +5 -1
- package/radiobutton/radiobutton.umd.js +5 -1
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.common.js +3 -3
- package/rating/rating.umd.js +3 -3
- package/rating/rating.umd.min.js +1 -1
- package/resources/primevue.css +15 -4
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +503 -83
- package/resources/themes/arya-green/theme.css +503 -83
- package/resources/themes/arya-orange/theme.css +503 -83
- package/resources/themes/arya-purple/theme.css +503 -83
- package/resources/themes/bootstrap4-dark-blue/theme.css +500 -87
- package/resources/themes/bootstrap4-dark-purple/theme.css +500 -87
- package/resources/themes/bootstrap4-light-blue/theme.css +490 -77
- package/resources/themes/bootstrap4-light-purple/theme.css +490 -77
- package/resources/themes/fluent-light/theme.css +497 -77
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5418 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5418 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5418 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5418 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5418 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5418 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5418 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5418 -0
- package/resources/themes/luna-amber/theme.css +500 -87
- package/resources/themes/luna-blue/theme.css +500 -87
- package/resources/themes/luna-green/theme.css +500 -87
- package/resources/themes/luna-pink/theme.css +500 -87
- package/resources/themes/md-dark-deeppurple/theme.css +801 -128
- package/resources/themes/md-dark-indigo/theme.css +801 -128
- package/resources/themes/md-light-deeppurple/theme.css +791 -118
- package/resources/themes/md-light-indigo/theme.css +791 -118
- package/resources/themes/mdc-dark-deeppurple/theme.css +1087 -414
- package/resources/themes/mdc-dark-indigo/theme.css +1035 -362
- package/resources/themes/mdc-light-deeppurple/theme.css +791 -118
- package/resources/themes/mdc-light-indigo/theme.css +791 -118
- package/resources/themes/nova/theme.css +490 -77
- package/resources/themes/nova-accent/theme.css +490 -77
- package/resources/themes/nova-alt/theme.css +490 -77
- package/resources/themes/nova-vue/theme.css +490 -77
- package/resources/themes/rhea/theme.css +490 -77
- package/resources/themes/saga-blue/theme.css +493 -73
- package/resources/themes/saga-green/theme.css +493 -73
- package/resources/themes/saga-orange/theme.css +493 -73
- package/resources/themes/saga-purple/theme.css +493 -73
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/tailwind-light/theme.css +5493 -0
- package/resources/themes/vela-blue/theme.css +503 -83
- package/resources/themes/vela-green/theme.css +503 -83
- package/resources/themes/vela-orange/theme.css +503 -83
- package/resources/themes/vela-purple/theme.css +503 -83
- package/ripple/ripple.common.js +5 -0
- package/ripple/ripple.umd.js +5 -0
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +1 -1
- package/row/row.umd.js +1 -1
- package/scrollpanel/scrollpanel.common.js +6 -1
- package/scrollpanel/scrollpanel.umd.js +6 -1
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +6 -1
- package/scrolltop/scrolltop.umd.js +6 -1
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +3 -3
- package/selectbutton/SelectButton.vue +6 -1
- package/selectbutton/selectbutton.common.js +17 -3
- package/selectbutton/selectbutton.umd.js +17 -3
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +3 -16
- package/sidebar/sidebar.common.js +15 -15
- package/sidebar/sidebar.umd.js +15 -15
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +1 -1
- package/skeleton/skeleton.umd.js +1 -1
- package/slider/slider.common.js +6 -1
- package/slider/slider.umd.js +6 -1
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +31 -0
- package/speeddial/SpeedDial.vue +341 -0
- package/speeddial/demo.html +17 -0
- package/speeddial/index.d.ts +1 -0
- package/speeddial/index.js +2 -0
- package/speeddial/plugin.js +4 -0
- package/speeddial/speeddial.common.js +4741 -0
- package/speeddial/speeddial.umd.js +4751 -0
- package/speeddial/speeddial.umd.min.js +1 -0
- package/splitbutton/splitbutton.common.js +51 -22
- package/splitbutton/splitbutton.umd.js +51 -22
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +5 -0
- package/splitter/splitter.umd.js +5 -0
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/Steps.d.ts +1 -0
- package/steps/Steps.vue +30 -8
- package/steps/steps.common.js +33 -6
- package/steps/steps.umd.js +33 -6
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.d.ts +5 -0
- package/styleclass/StyleClass.js +179 -0
- package/styleclass/demo.html +8 -0
- package/styleclass/index.d.ts +1 -0
- package/styleclass/index.js +2 -0
- package/styleclass/plugin.js +4 -0
- package/styleclass/styleclass.common.js +3576 -0
- package/styleclass/styleclass.umd.js +3586 -0
- package/styleclass/styleclass.umd.min.js +1 -0
- package/tabmenu/TabMenu.d.ts +1 -0
- package/tabmenu/TabMenu.vue +44 -11
- package/tabmenu/tabmenu.common.js +171 -9
- package/tabmenu/tabmenu.umd.js +171 -9
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +1 -1
- package/tabpanel/tabpanel.umd.js +1 -1
- package/tabview/TabView.d.ts +1 -0
- package/tabview/TabView.vue +111 -11
- package/tabview/tabview.common.js +86 -5
- package/tabview/tabview.umd.js +86 -5
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +1 -1
- package/tag/tag.umd.js +1 -1
- package/terminal/terminal.common.js +1 -1
- package/terminal/terminal.umd.js +1 -1
- package/textarea/textarea.common.js +5 -1
- package/textarea/textarea.umd.js +5 -1
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +1 -0
- package/tieredmenu/TieredMenu.vue +5 -1
- package/tieredmenu/TieredMenuSub.vue +30 -14
- package/tieredmenu/demo.html +4 -3
- package/tieredmenu/tieredmenu.common.js +41 -13
- package/tieredmenu/tieredmenu.umd.js +41 -13
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +31 -7
- package/tieredmenu/tieredmenusub.umd.js +31 -7
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +5 -1
- package/timeline/timeline.umd.js +5 -1
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/Toast.d.ts +7 -1
- package/toast/Toast.vue +51 -4
- package/toast/ToastMessage.vue +44 -10
- package/toast/toast.common.js +103 -14
- package/toast/toast.umd.js +103 -14
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +44 -7
- package/toast/toastmessage.umd.js +44 -7
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +6 -1
- package/togglebutton/togglebutton.umd.js +6 -1
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/Toolbar.d.ts +1 -1
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.common.js +3 -3
- package/toolbar/toolbar.umd.js +3 -3
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.css +1 -0
- package/tooltip/Tooltip.js +59 -6
- package/tooltip/tooltip.common.js +1763 -70
- package/tooltip/tooltip.umd.js +1763 -70
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/TreeNode.vue +5 -1
- package/tree/tree.common.js +23 -8
- package/tree/tree.umd.js +23 -8
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +16 -3
- package/tree/treenode.umd.js +16 -3
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/TreeTable.d.ts +2 -2
- package/treetable/TreeTable.vue +8 -8
- package/treetable/treetable.common.js +1900 -90
- package/treetable/treetable.umd.js +1900 -90
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +11 -1
- package/treetable/treetablerow.umd.js +11 -1
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +12 -1
- package/treetable/treetablerowloader.umd.js +12 -1
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +1 -1
- package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
- package/utils/DomHandler.js +5 -0
- package/utils/EventBus.js +33 -0
- package/utils/connectedoverlayscrollhandler.common.js +5 -0
- package/utils/connectedoverlayscrollhandler.umd.js +5 -0
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/domhandler.common.js +5 -0
- package/utils/domhandler.umd.js +5 -0
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +1774 -0
- package/utils/eventbus.umd.js +1784 -0
- package/utils/eventbus.umd.min.js +1 -0
- package/utils/filterutils.common.js +4 -0
- package/utils/filterutils.umd.js +4 -0
- package/utils/filterutils.umd.min.js +1 -1
- package/utils/objectutils.common.js +4 -0
- package/utils/objectutils.umd.js +4 -0
- package/utils/objectutils.umd.min.js +1 -1
- package/vetur-attributes.json +236 -16
- package/vetur-tags.json +88 -18
- package/web-types.json +2042 -1266
- package/confirmationservice/confirmationeventbus.common.js +0 -174
- package/confirmationservice/confirmationeventbus.umd.js +0 -184
- package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
|
@@ -5240,12 +5240,12 @@ if (typeof window !== 'undefined') {
|
|
|
5240
5240
|
// Indicate to webpack that this file can be concatenated
|
|
5241
5241
|
/* harmony default export */ var setPublicPath = (null);
|
|
5242
5242
|
|
|
5243
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5244
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.containerClass},[_c('INInputText',_vm.
|
|
5243
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/inputnumber/InputNumber.vue?vue&type=template&id=4093e713&
|
|
5244
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.containerClass,style:(_vm.styles)},[_c('INInputText',_vm._b({ref:"input",class:['p-inputnumber-input', _vm.inputClass],style:(_vm.inputStyle),attrs:{"value":_vm.formattedValue,"aria-valumin":_vm.min,"aria-valuemax":_vm.max},on:{"input":_vm.onUserInput,"keydown":_vm.onInputKeyDown,"keypress":_vm.onInputKeyPress,"paste":_vm.onPaste,"click":_vm.onInputClick,"focus":_vm.onInputFocus,"blur":_vm.onInputBlur}},'INInputText',_vm.$attrs,false)),(_vm.showButtons && _vm.buttonLayout === 'stacked')?_c('span',{staticClass:"p-inputnumber-button-group"},[_c('INButton',_vm._g({class:_vm.upButtonClass,attrs:{"icon":_vm.incrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.upButtonListeners)),_c('INButton',_vm._g({class:_vm.downButtonClass,attrs:{"icon":_vm.decrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.downButtonListeners))],1):_vm._e(),(_vm.showButtons && _vm.buttonLayout !== 'stacked')?_c('INButton',_vm._g({class:_vm.upButtonClass,attrs:{"icon":_vm.incrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.upButtonListeners)):_vm._e(),(_vm.showButtons && _vm.buttonLayout !== 'stacked')?_c('INButton',_vm._g({class:_vm.downButtonClass,attrs:{"icon":_vm.decrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.downButtonListeners)):_vm._e()],1)}
|
|
5245
5245
|
var staticRenderFns = []
|
|
5246
5246
|
|
|
5247
5247
|
|
|
5248
|
-
// CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=
|
|
5248
|
+
// CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=4093e713&
|
|
5249
5249
|
|
|
5250
5250
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
5251
5251
|
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
@@ -5253,6 +5253,18 @@ var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
|
5253
5253
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
5254
5254
|
var es6_object_keys = __webpack_require__("456d");
|
|
5255
5255
|
|
|
5256
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
|
|
5257
|
+
var es6_regexp_search = __webpack_require__("386d");
|
|
5258
|
+
|
|
5259
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
|
|
5260
|
+
var es6_string_repeat = __webpack_require__("14b9");
|
|
5261
|
+
|
|
5262
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
|
|
5263
|
+
var es6_regexp_to_string = __webpack_require__("6b54");
|
|
5264
|
+
|
|
5265
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
|
|
5266
|
+
var es6_regexp_split = __webpack_require__("28a5");
|
|
5267
|
+
|
|
5256
5268
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
|
|
5257
5269
|
var define_property = __webpack_require__("85f2");
|
|
5258
5270
|
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
@@ -5273,18 +5285,6 @@ function _defineProperty(obj, key, value) {
|
|
|
5273
5285
|
|
|
5274
5286
|
return obj;
|
|
5275
5287
|
}
|
|
5276
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
|
|
5277
|
-
var es6_regexp_search = __webpack_require__("386d");
|
|
5278
|
-
|
|
5279
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
|
|
5280
|
-
var es6_string_repeat = __webpack_require__("14b9");
|
|
5281
|
-
|
|
5282
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
|
|
5283
|
-
var es6_regexp_to_string = __webpack_require__("6b54");
|
|
5284
|
-
|
|
5285
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
|
|
5286
|
-
var es6_regexp_split = __webpack_require__("28a5");
|
|
5287
|
-
|
|
5288
5288
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
|
|
5289
5289
|
var es6_regexp_replace = __webpack_require__("a481");
|
|
5290
5290
|
|
|
@@ -5294,6 +5294,9 @@ var es6_regexp_constructor = __webpack_require__("3b2b");
|
|
|
5294
5294
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5295
5295
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5296
5296
|
|
|
5297
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
5298
|
+
var es6_array_iterator = __webpack_require__("cadf");
|
|
5299
|
+
|
|
5297
5300
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js
|
|
5298
5301
|
var es6_string_iterator = __webpack_require__("5df3");
|
|
5299
5302
|
|
|
@@ -5365,7 +5368,7 @@ function _toConsumableArray(arr) {
|
|
|
5365
5368
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
5366
5369
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
5367
5370
|
|
|
5368
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5371
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/inputtext/InputText.vue?vue&type=template&id=62d12252&
|
|
5369
5372
|
var InputTextvue_type_template_id_62d12252_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',_vm._g({class:['p-inputtext p-component', {'p-filled': _vm.filled}],domProps:{"value":_vm.value}},_vm.listeners))}
|
|
5370
5373
|
var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
5371
5374
|
|
|
@@ -5379,6 +5382,7 @@ var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
|
5379
5382
|
|
|
5380
5383
|
|
|
5381
5384
|
|
|
5385
|
+
|
|
5382
5386
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
5383
5387
|
|
|
5384
5388
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -5528,7 +5532,7 @@ var component = normalizeComponent(
|
|
|
5528
5532
|
)
|
|
5529
5533
|
|
|
5530
5534
|
/* harmony default export */ var InputText = (component.exports);
|
|
5531
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5535
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/button/Button.vue?vue&type=template&id=3d0cb6ac&
|
|
5532
5536
|
var Buttonvue_type_template_id_3d0cb6ac_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.buttonClass,attrs:{"type":"button"}},_vm.$listeners),[_vm._t("default",function(){return [(_vm.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),_c('span',{staticClass:"p-button-label"},[_vm._v(_vm._s(_vm.label||' '))]),(_vm.badge)?_c('span',{staticClass:"p-badge",class:_vm.badgeStyleClass},[_vm._v(_vm._s(_vm.badge))]):_vm._e()]})],2)}
|
|
5533
5537
|
var Buttonvue_type_template_id_3d0cb6ac_staticRenderFns = []
|
|
5534
5538
|
|
|
@@ -6122,6 +6126,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
6122
6126
|
value: function isAndroid() {
|
|
6123
6127
|
return /(android)/i.test(navigator.userAgent);
|
|
6124
6128
|
}
|
|
6129
|
+
}, {
|
|
6130
|
+
key: "isTouchDevice",
|
|
6131
|
+
value: function isTouchDevice() {
|
|
6132
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
6133
|
+
}
|
|
6125
6134
|
}]);
|
|
6126
6135
|
|
|
6127
6136
|
return DomHandler;
|
|
@@ -6303,6 +6312,7 @@ var Button_component = normalizeComponent(
|
|
|
6303
6312
|
|
|
6304
6313
|
|
|
6305
6314
|
|
|
6315
|
+
|
|
6306
6316
|
function InputNumbervue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
6307
6317
|
|
|
6308
6318
|
function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { InputNumbervue_type_script_lang_js_ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { InputNumbervue_type_script_lang_js_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -6319,6 +6329,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6319
6329
|
//
|
|
6320
6330
|
//
|
|
6321
6331
|
//
|
|
6332
|
+
//
|
|
6322
6333
|
|
|
6323
6334
|
|
|
6324
6335
|
/* harmony default export */ var InputNumbervue_type_script_lang_js_ = ({
|
|
@@ -6408,6 +6419,12 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6408
6419
|
type: Number,
|
|
6409
6420
|
default: 1
|
|
6410
6421
|
},
|
|
6422
|
+
allowEmpty: {
|
|
6423
|
+
type: Boolean,
|
|
6424
|
+
default: true
|
|
6425
|
+
},
|
|
6426
|
+
styles: null,
|
|
6427
|
+
className: null,
|
|
6411
6428
|
inputStyle: null,
|
|
6412
6429
|
inputClass: null
|
|
6413
6430
|
},
|
|
@@ -6427,10 +6444,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6427
6444
|
timer: null,
|
|
6428
6445
|
data: function data() {
|
|
6429
6446
|
return {
|
|
6447
|
+
d_value: null,
|
|
6430
6448
|
focused: false
|
|
6431
6449
|
};
|
|
6432
6450
|
},
|
|
6433
6451
|
watch: {
|
|
6452
|
+
value: function value(newValue) {
|
|
6453
|
+
this.d_value = newValue;
|
|
6454
|
+
},
|
|
6434
6455
|
locale: function locale(newValue, oldValue) {
|
|
6435
6456
|
this.updateConstructParser(newValue, oldValue);
|
|
6436
6457
|
},
|
|
@@ -6488,10 +6509,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6488
6509
|
return [d, i];
|
|
6489
6510
|
}));
|
|
6490
6511
|
this._numeral = new RegExp("[".concat(numerals.join(''), "]"), 'g');
|
|
6491
|
-
this._decimal = this.getDecimalExpression();
|
|
6492
6512
|
this._group = this.getGroupingExpression();
|
|
6493
6513
|
this._minusSign = this.getMinusSignExpression();
|
|
6494
6514
|
this._currency = this.getCurrencyExpression();
|
|
6515
|
+
this._decimal = this.getDecimalExpression();
|
|
6495
6516
|
this._suffix = this.getSuffixExpression();
|
|
6496
6517
|
this._prefix = this.getPrefixExpression();
|
|
6497
6518
|
|
|
@@ -6508,10 +6529,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6508
6529
|
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
|
6509
6530
|
},
|
|
6510
6531
|
getDecimalExpression: function getDecimalExpression() {
|
|
6511
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
6532
|
+
var formatter = new Intl.NumberFormat(this.locale, InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.getOptions()), {}, {
|
|
6512
6533
|
useGrouping: false
|
|
6513
|
-
});
|
|
6514
|
-
return new RegExp("[".concat(formatter.format(1.1).trim().replace(this._numeral, ''), "]"), 'g');
|
|
6534
|
+
}));
|
|
6535
|
+
return new RegExp("[".concat(formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, ''), "]"), 'g');
|
|
6515
6536
|
},
|
|
6516
6537
|
getGroupingExpression: function getGroupingExpression() {
|
|
6517
6538
|
var formatter = new Intl.NumberFormat(this.locale, {
|
|
@@ -6531,9 +6552,11 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6531
6552
|
var formatter = new Intl.NumberFormat(this.locale, {
|
|
6532
6553
|
style: 'currency',
|
|
6533
6554
|
currency: this.currency,
|
|
6534
|
-
currencyDisplay: this.currencyDisplay
|
|
6555
|
+
currencyDisplay: this.currencyDisplay,
|
|
6556
|
+
minimumFractionDigits: 0,
|
|
6557
|
+
maximumFractionDigits: 0
|
|
6535
6558
|
});
|
|
6536
|
-
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this.
|
|
6559
|
+
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, ''), "]"), 'g');
|
|
6537
6560
|
}
|
|
6538
6561
|
|
|
6539
6562
|
return new RegExp("[]", 'g');
|
|
@@ -6624,6 +6647,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6624
6647
|
var newValue = this.validateValue(currentValue + step);
|
|
6625
6648
|
this.updateInput(newValue, null, 'spin');
|
|
6626
6649
|
this.updateModel(event, newValue);
|
|
6650
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
6627
6651
|
}
|
|
6628
6652
|
},
|
|
6629
6653
|
onUpButtonMouseDown: function onUpButtonMouseDown(event) {
|
|
@@ -6680,7 +6704,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6680
6704
|
this.repeat(event, null, -1);
|
|
6681
6705
|
}
|
|
6682
6706
|
},
|
|
6683
|
-
|
|
6707
|
+
onUserInput: function onUserInput() {
|
|
6684
6708
|
if (this.isSpecialChar) {
|
|
6685
6709
|
this.$refs.input.$el.value = this.lastValue;
|
|
6686
6710
|
}
|
|
@@ -6748,19 +6772,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6748
6772
|
|
|
6749
6773
|
if (selectionStart === selectionEnd) {
|
|
6750
6774
|
var deleteChar = inputValue.charAt(selectionStart - 1);
|
|
6751
|
-
|
|
6752
|
-
|
|
6775
|
+
|
|
6776
|
+
var _this$getDecimalCharI = this.getDecimalCharIndexes(inputValue),
|
|
6777
|
+
decimalCharIndex = _this$getDecimalCharI.decimalCharIndex,
|
|
6778
|
+
decimalCharIndexWithoutPrefix = _this$getDecimalCharI.decimalCharIndexWithoutPrefix;
|
|
6753
6779
|
|
|
6754
6780
|
if (this.isNumeralChar(deleteChar)) {
|
|
6781
|
+
var decimalLength = this.getDecimalLength(inputValue);
|
|
6782
|
+
|
|
6755
6783
|
if (this._group.test(deleteChar)) {
|
|
6756
6784
|
this._group.lastIndex = 0;
|
|
6757
6785
|
newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
|
|
6758
6786
|
} else if (this._decimal.test(deleteChar)) {
|
|
6759
6787
|
this._decimal.lastIndex = 0;
|
|
6760
|
-
|
|
6788
|
+
|
|
6789
|
+
if (decimalLength) {
|
|
6790
|
+
this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
6791
|
+
} else {
|
|
6792
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
6793
|
+
}
|
|
6761
6794
|
} else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
6762
|
-
|
|
6763
|
-
|
|
6795
|
+
var insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
|
|
6796
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
|
|
6797
|
+
} else if (decimalCharIndexWithoutPrefix === 1) {
|
|
6764
6798
|
newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
|
|
6765
6799
|
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
6766
6800
|
} else {
|
|
@@ -6784,20 +6818,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6784
6818
|
if (selectionStart === selectionEnd) {
|
|
6785
6819
|
var _deleteChar = inputValue.charAt(selectionStart);
|
|
6786
6820
|
|
|
6787
|
-
var
|
|
6788
|
-
|
|
6789
|
-
|
|
6821
|
+
var _this$getDecimalCharI2 = this.getDecimalCharIndexes(inputValue),
|
|
6822
|
+
_decimalCharIndex = _this$getDecimalCharI2.decimalCharIndex,
|
|
6823
|
+
_decimalCharIndexWithoutPrefix = _this$getDecimalCharI2.decimalCharIndexWithoutPrefix;
|
|
6790
6824
|
|
|
6791
6825
|
if (this.isNumeralChar(_deleteChar)) {
|
|
6826
|
+
var _decimalLength = this.getDecimalLength(inputValue);
|
|
6827
|
+
|
|
6792
6828
|
if (this._group.test(_deleteChar)) {
|
|
6793
6829
|
this._group.lastIndex = 0;
|
|
6794
6830
|
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
|
|
6795
6831
|
} else if (this._decimal.test(_deleteChar)) {
|
|
6796
6832
|
this._decimal.lastIndex = 0;
|
|
6797
|
-
|
|
6833
|
+
|
|
6834
|
+
if (_decimalLength) {
|
|
6835
|
+
this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
|
|
6836
|
+
} else {
|
|
6837
|
+
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
6838
|
+
}
|
|
6798
6839
|
} else if (_decimalCharIndex > 0 && selectionStart > _decimalCharIndex) {
|
|
6799
|
-
|
|
6800
|
-
|
|
6840
|
+
var _insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < _decimalLength ? '' : '0';
|
|
6841
|
+
|
|
6842
|
+
newValueStr = inputValue.slice(0, selectionStart) + _insertedText + inputValue.slice(selectionStart + 1);
|
|
6843
|
+
} else if (_decimalCharIndexWithoutPrefix === 1) {
|
|
6801
6844
|
newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
|
|
6802
6845
|
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
6803
6846
|
} else {
|
|
@@ -6847,7 +6890,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6847
6890
|
return this.min === null || this.min < 0;
|
|
6848
6891
|
},
|
|
6849
6892
|
isMinusSign: function isMinusSign(char) {
|
|
6850
|
-
if (this._minusSign.test(char)) {
|
|
6893
|
+
if (this._minusSign.test(char) || char === '-') {
|
|
6851
6894
|
this._minusSign.lastIndex = 0;
|
|
6852
6895
|
return true;
|
|
6853
6896
|
}
|
|
@@ -6862,6 +6905,36 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6862
6905
|
|
|
6863
6906
|
return false;
|
|
6864
6907
|
},
|
|
6908
|
+
isDecimalMode: function isDecimalMode() {
|
|
6909
|
+
return this.mode === 'decimal';
|
|
6910
|
+
},
|
|
6911
|
+
getDecimalCharIndexes: function getDecimalCharIndexes(val) {
|
|
6912
|
+
var decimalCharIndex = val.search(this._decimal);
|
|
6913
|
+
this._decimal.lastIndex = 0;
|
|
6914
|
+
var filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
|
|
6915
|
+
var decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
|
|
6916
|
+
this._decimal.lastIndex = 0;
|
|
6917
|
+
return {
|
|
6918
|
+
decimalCharIndex: decimalCharIndex,
|
|
6919
|
+
decimalCharIndexWithoutPrefix: decimalCharIndexWithoutPrefix
|
|
6920
|
+
};
|
|
6921
|
+
},
|
|
6922
|
+
getCharIndexes: function getCharIndexes(val) {
|
|
6923
|
+
var decimalCharIndex = val.search(this._decimal);
|
|
6924
|
+
this._decimal.lastIndex = 0;
|
|
6925
|
+
var minusCharIndex = val.search(this._minusSign);
|
|
6926
|
+
this._minusSign.lastIndex = 0;
|
|
6927
|
+
var suffixCharIndex = val.search(this._suffix);
|
|
6928
|
+
this._suffix.lastIndex = 0;
|
|
6929
|
+
var currencyCharIndex = val.search(this._currency);
|
|
6930
|
+
this._currency.lastIndex = 0;
|
|
6931
|
+
return {
|
|
6932
|
+
decimalCharIndex: decimalCharIndex,
|
|
6933
|
+
minusCharIndex: minusCharIndex,
|
|
6934
|
+
suffixCharIndex: suffixCharIndex,
|
|
6935
|
+
currencyCharIndex: currencyCharIndex
|
|
6936
|
+
};
|
|
6937
|
+
},
|
|
6865
6938
|
insert: function insert(event, text) {
|
|
6866
6939
|
var sign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
6867
6940
|
isDecimalSign: false,
|
|
@@ -6877,10 +6950,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6877
6950
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
6878
6951
|
var selectionEnd = this.$refs.input.$el.selectionEnd;
|
|
6879
6952
|
var inputValue = this.$refs.input.$el.value.trim();
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6953
|
+
|
|
6954
|
+
var _this$getCharIndexes = this.getCharIndexes(inputValue),
|
|
6955
|
+
decimalCharIndex = _this$getCharIndexes.decimalCharIndex,
|
|
6956
|
+
minusCharIndex = _this$getCharIndexes.minusCharIndex,
|
|
6957
|
+
suffixCharIndex = _this$getCharIndexes.suffixCharIndex,
|
|
6958
|
+
currencyCharIndex = _this$getCharIndexes.currencyCharIndex;
|
|
6959
|
+
|
|
6884
6960
|
var newValueStr;
|
|
6885
6961
|
|
|
6886
6962
|
if (sign.isMinusSign) {
|
|
@@ -6899,6 +6975,9 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6899
6975
|
} else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
|
|
6900
6976
|
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
6901
6977
|
this.updateValue(event, newValueStr, text, 'insert');
|
|
6978
|
+
} else if (decimalCharIndex === -1 && this.maxFractionDigits) {
|
|
6979
|
+
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
6980
|
+
this.updateValue(event, newValueStr, text, 'insert');
|
|
6902
6981
|
}
|
|
6903
6982
|
} else {
|
|
6904
6983
|
var maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
|
|
@@ -6906,7 +6985,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6906
6985
|
|
|
6907
6986
|
if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
6908
6987
|
if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
|
|
6909
|
-
|
|
6988
|
+
var charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
|
|
6989
|
+
newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
|
|
6910
6990
|
this.updateValue(event, newValueStr, text, operation);
|
|
6911
6991
|
}
|
|
6912
6992
|
} else {
|
|
@@ -6916,7 +6996,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6916
6996
|
}
|
|
6917
6997
|
},
|
|
6918
6998
|
insertText: function insertText(value, text, start, end) {
|
|
6919
|
-
var textSplit = text.split('.');
|
|
6999
|
+
var textSplit = text === '.' ? text : text.split('.');
|
|
6920
7000
|
|
|
6921
7001
|
if (textSplit.length === 2) {
|
|
6922
7002
|
var decimalCharIndex = value.slice(start, end).search(this._decimal);
|
|
@@ -6941,11 +7021,15 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6941
7021
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
6942
7022
|
var inputValue = this.$refs.input.$el.value;
|
|
6943
7023
|
var valueLength = inputValue.length;
|
|
6944
|
-
var index = null;
|
|
7024
|
+
var index = null; // remove prefix
|
|
7025
|
+
|
|
7026
|
+
var prefixLength = (this.prefixChar || '').length;
|
|
7027
|
+
inputValue = inputValue.replace(this._prefix, '');
|
|
7028
|
+
selectionStart = selectionStart - prefixLength;
|
|
6945
7029
|
var char = inputValue.charAt(selectionStart);
|
|
6946
7030
|
|
|
6947
7031
|
if (this.isNumeralChar(char)) {
|
|
6948
|
-
return;
|
|
7032
|
+
return selectionStart + prefixLength;
|
|
6949
7033
|
} //left
|
|
6950
7034
|
|
|
6951
7035
|
|
|
@@ -6955,7 +7039,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6955
7039
|
char = inputValue.charAt(i);
|
|
6956
7040
|
|
|
6957
7041
|
if (this.isNumeralChar(char)) {
|
|
6958
|
-
index = i;
|
|
7042
|
+
index = i + prefixLength;
|
|
6959
7043
|
break;
|
|
6960
7044
|
} else {
|
|
6961
7045
|
i--;
|
|
@@ -6965,13 +7049,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6965
7049
|
if (index !== null) {
|
|
6966
7050
|
this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
|
|
6967
7051
|
} else {
|
|
6968
|
-
i = selectionStart
|
|
7052
|
+
i = selectionStart;
|
|
6969
7053
|
|
|
6970
7054
|
while (i < valueLength) {
|
|
6971
7055
|
char = inputValue.charAt(i);
|
|
6972
7056
|
|
|
6973
7057
|
if (this.isNumeralChar(char)) {
|
|
6974
|
-
index = i;
|
|
7058
|
+
index = i + prefixLength;
|
|
6975
7059
|
break;
|
|
6976
7060
|
} else {
|
|
6977
7061
|
i++;
|
|
@@ -6982,6 +7066,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6982
7066
|
this.$refs.input.$el.setSelectionRange(index, index);
|
|
6983
7067
|
}
|
|
6984
7068
|
}
|
|
7069
|
+
|
|
7070
|
+
return index || 0;
|
|
6985
7071
|
},
|
|
6986
7072
|
onInputClick: function onInputClick() {
|
|
6987
7073
|
this.initCursor();
|
|
@@ -7001,12 +7087,38 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7001
7087
|
this._minusSign.lastIndex = 0;
|
|
7002
7088
|
},
|
|
7003
7089
|
updateValue: function updateValue(event, valueStr, insertedValueStr, operation) {
|
|
7090
|
+
var currentValue = this.$refs.input.$el.value;
|
|
7091
|
+
var newValue = null;
|
|
7092
|
+
|
|
7004
7093
|
if (valueStr != null) {
|
|
7005
|
-
|
|
7006
|
-
this.
|
|
7094
|
+
newValue = this.parseValue(valueStr);
|
|
7095
|
+
newValue = !newValue && !this.allowEmpty ? 0 : newValue;
|
|
7096
|
+
this.updateInput(newValue, insertedValueStr, operation, valueStr);
|
|
7097
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
7098
|
+
}
|
|
7099
|
+
},
|
|
7100
|
+
handleOnInput: function handleOnInput(event, currentValue, newValue) {
|
|
7101
|
+
if (this.isValueChanged(currentValue, newValue)) {
|
|
7102
|
+
this.$emit('input', newValue);
|
|
7103
|
+
}
|
|
7104
|
+
},
|
|
7105
|
+
isValueChanged: function isValueChanged(currentValue, newValue) {
|
|
7106
|
+
if (newValue === null && currentValue !== null) {
|
|
7107
|
+
return true;
|
|
7108
|
+
}
|
|
7109
|
+
|
|
7110
|
+
if (newValue != null) {
|
|
7111
|
+
var parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
|
|
7112
|
+
return newValue !== parsedCurrentValue;
|
|
7007
7113
|
}
|
|
7114
|
+
|
|
7115
|
+
return false;
|
|
7008
7116
|
},
|
|
7009
7117
|
validateValue: function validateValue(value) {
|
|
7118
|
+
if (value === '-' || value == null) {
|
|
7119
|
+
return null;
|
|
7120
|
+
}
|
|
7121
|
+
|
|
7010
7122
|
if (this.min != null && value < this.min) {
|
|
7011
7123
|
return this.min;
|
|
7012
7124
|
}
|
|
@@ -7015,25 +7127,23 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7015
7127
|
return this.max;
|
|
7016
7128
|
}
|
|
7017
7129
|
|
|
7018
|
-
if (value === '-') {
|
|
7019
|
-
// Minus sign
|
|
7020
|
-
return null;
|
|
7021
|
-
}
|
|
7022
|
-
|
|
7023
7130
|
return value;
|
|
7024
7131
|
},
|
|
7025
|
-
updateInput: function updateInput(value, insertedValueStr, operation) {
|
|
7132
|
+
updateInput: function updateInput(value, insertedValueStr, operation, valueStr) {
|
|
7026
7133
|
insertedValueStr = insertedValueStr || '';
|
|
7027
7134
|
var inputValue = this.$refs.input.$el.value;
|
|
7028
7135
|
var newValue = this.formatValue(value);
|
|
7029
7136
|
var currentLength = inputValue.length;
|
|
7030
7137
|
|
|
7138
|
+
if (newValue !== valueStr) {
|
|
7139
|
+
newValue = this.concatValues(newValue, valueStr);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7031
7142
|
if (currentLength === 0) {
|
|
7032
7143
|
this.$refs.input.$el.value = newValue;
|
|
7033
7144
|
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
7034
|
-
this.initCursor();
|
|
7035
|
-
var
|
|
7036
|
-
var selectionEnd = prefixLength + insertedValueStr.length;
|
|
7145
|
+
var index = this.initCursor();
|
|
7146
|
+
var selectionEnd = index + insertedValueStr.length;
|
|
7037
7147
|
this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
|
|
7038
7148
|
} else {
|
|
7039
7149
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
@@ -7069,6 +7179,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7069
7179
|
|
|
7070
7180
|
this._group.lastIndex = 0;
|
|
7071
7181
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
7182
|
+
} else if (inputValue === '-' && operation === 'insert') {
|
|
7183
|
+
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
7184
|
+
|
|
7185
|
+
var _index = this.initCursor();
|
|
7186
|
+
|
|
7187
|
+
var _selectionEnd2 = _index + insertedValueStr.length + 1;
|
|
7188
|
+
|
|
7189
|
+
this.$refs.input.$el.setSelectionRange(_selectionEnd2, _selectionEnd2);
|
|
7072
7190
|
} else {
|
|
7073
7191
|
_selectionEnd = _selectionEnd + (newLength - currentLength);
|
|
7074
7192
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
@@ -7077,12 +7195,32 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7077
7195
|
|
|
7078
7196
|
this.$refs.input.$el.setAttribute('aria-valuenow', value);
|
|
7079
7197
|
},
|
|
7198
|
+
concatValues: function concatValues(val1, val2) {
|
|
7199
|
+
if (val1 && val2) {
|
|
7200
|
+
var decimalCharIndex = val2.search(this._decimal);
|
|
7201
|
+
this._decimal.lastIndex = 0;
|
|
7202
|
+
return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
|
|
7203
|
+
}
|
|
7204
|
+
|
|
7205
|
+
return val1;
|
|
7206
|
+
},
|
|
7207
|
+
getDecimalLength: function getDecimalLength(value) {
|
|
7208
|
+
if (value) {
|
|
7209
|
+
var valueSplit = value.split(this._decimal);
|
|
7210
|
+
|
|
7211
|
+
if (valueSplit.length === 2) {
|
|
7212
|
+
return valueSplit[1].replace(this._suffix, '').trim().replace(/\s/g, '').replace(this._currency, '').length;
|
|
7213
|
+
}
|
|
7214
|
+
}
|
|
7215
|
+
|
|
7216
|
+
return 0;
|
|
7217
|
+
},
|
|
7080
7218
|
updateModel: function updateModel(event, value) {
|
|
7219
|
+
this.d_value = value;
|
|
7081
7220
|
this.$emit('input', value);
|
|
7082
7221
|
},
|
|
7083
|
-
onInputFocus: function onInputFocus(
|
|
7222
|
+
onInputFocus: function onInputFocus() {
|
|
7084
7223
|
this.focused = true;
|
|
7085
|
-
this.$emit('focus', event);
|
|
7086
7224
|
},
|
|
7087
7225
|
onInputBlur: function onInputBlur(event) {
|
|
7088
7226
|
this.focused = false;
|
|
@@ -7091,17 +7229,22 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7091
7229
|
input.value = this.formatValue(newValue);
|
|
7092
7230
|
input.setAttribute('aria-valuenow', newValue);
|
|
7093
7231
|
this.updateModel(event, newValue);
|
|
7094
|
-
this.$emit('blur', event);
|
|
7095
7232
|
},
|
|
7096
7233
|
clearTimer: function clearTimer() {
|
|
7097
7234
|
if (this.timer) {
|
|
7098
7235
|
clearInterval(this.timer);
|
|
7099
7236
|
}
|
|
7237
|
+
},
|
|
7238
|
+
maxBoundry: function maxBoundry() {
|
|
7239
|
+
return this.d_value >= this.max;
|
|
7240
|
+
},
|
|
7241
|
+
minBoundry: function minBoundry() {
|
|
7242
|
+
return this.d_value <= this.min;
|
|
7100
7243
|
}
|
|
7101
7244
|
},
|
|
7102
7245
|
computed: {
|
|
7103
7246
|
containerClass: function containerClass() {
|
|
7104
|
-
return ['p-inputnumber p-component', {
|
|
7247
|
+
return ['p-inputnumber p-component p-inputwrapper', this.className, {
|
|
7105
7248
|
'p-inputwrapper-filled': this.filled,
|
|
7106
7249
|
'p-inputwrapper-focus': this.focused,
|
|
7107
7250
|
'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
|
|
@@ -7110,85 +7253,66 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7110
7253
|
}];
|
|
7111
7254
|
},
|
|
7112
7255
|
upButtonClass: function upButtonClass() {
|
|
7113
|
-
return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass
|
|
7256
|
+
return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
|
|
7257
|
+
'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
|
|
7258
|
+
}];
|
|
7114
7259
|
},
|
|
7115
7260
|
downButtonClass: function downButtonClass() {
|
|
7116
|
-
return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass
|
|
7261
|
+
return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
|
|
7262
|
+
'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
|
|
7263
|
+
}];
|
|
7117
7264
|
},
|
|
7118
7265
|
filled: function filled() {
|
|
7119
7266
|
return this.value != null && this.value.toString().length > 0;
|
|
7120
7267
|
},
|
|
7121
|
-
listeners: function listeners() {
|
|
7122
|
-
var _this2 = this;
|
|
7123
|
-
|
|
7124
|
-
return InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.$listeners), {}, {
|
|
7125
|
-
input: function input(val) {
|
|
7126
|
-
return _this2.onInput(val);
|
|
7127
|
-
},
|
|
7128
|
-
keydown: function keydown(event) {
|
|
7129
|
-
return _this2.onInputKeyDown(event);
|
|
7130
|
-
},
|
|
7131
|
-
keypress: function keypress(event) {
|
|
7132
|
-
return _this2.onInputKeyPress(event);
|
|
7133
|
-
},
|
|
7134
|
-
paste: function paste(event) {
|
|
7135
|
-
return _this2.onPaste(event);
|
|
7136
|
-
},
|
|
7137
|
-
click: function click(event) {
|
|
7138
|
-
return _this2.onInputClick(event);
|
|
7139
|
-
},
|
|
7140
|
-
focus: function focus(event) {
|
|
7141
|
-
return _this2.onInputFocus(event);
|
|
7142
|
-
},
|
|
7143
|
-
blur: function blur(event) {
|
|
7144
|
-
return _this2.onInputBlur(event);
|
|
7145
|
-
}
|
|
7146
|
-
});
|
|
7147
|
-
},
|
|
7148
7268
|
upButtonListeners: function upButtonListeners() {
|
|
7149
|
-
var
|
|
7269
|
+
var _this2 = this;
|
|
7150
7270
|
|
|
7151
7271
|
return {
|
|
7152
7272
|
mousedown: function mousedown(event) {
|
|
7153
|
-
return
|
|
7273
|
+
return _this2.onUpButtonMouseDown(event);
|
|
7154
7274
|
},
|
|
7155
7275
|
mouseup: function mouseup(event) {
|
|
7156
|
-
return
|
|
7276
|
+
return _this2.onUpButtonMouseUp(event);
|
|
7157
7277
|
},
|
|
7158
7278
|
mouseleave: function mouseleave(event) {
|
|
7159
|
-
return
|
|
7279
|
+
return _this2.onUpButtonMouseLeave(event);
|
|
7160
7280
|
},
|
|
7161
7281
|
keydown: function keydown(event) {
|
|
7162
|
-
return
|
|
7282
|
+
return _this2.onUpButtonKeyDown(event);
|
|
7163
7283
|
},
|
|
7164
7284
|
keyup: function keyup(event) {
|
|
7165
|
-
return
|
|
7285
|
+
return _this2.onUpButtonKeyUp(event);
|
|
7166
7286
|
}
|
|
7167
7287
|
};
|
|
7168
7288
|
},
|
|
7169
7289
|
downButtonListeners: function downButtonListeners() {
|
|
7170
|
-
var
|
|
7290
|
+
var _this3 = this;
|
|
7171
7291
|
|
|
7172
7292
|
return {
|
|
7173
7293
|
mousedown: function mousedown(event) {
|
|
7174
|
-
return
|
|
7294
|
+
return _this3.onDownButtonMouseDown(event);
|
|
7175
7295
|
},
|
|
7176
7296
|
mouseup: function mouseup(event) {
|
|
7177
|
-
return
|
|
7297
|
+
return _this3.onDownButtonMouseUp(event);
|
|
7178
7298
|
},
|
|
7179
7299
|
mouseleave: function mouseleave(event) {
|
|
7180
|
-
return
|
|
7300
|
+
return _this3.onDownButtonMouseLeave(event);
|
|
7181
7301
|
},
|
|
7182
7302
|
keydown: function keydown(event) {
|
|
7183
|
-
return
|
|
7303
|
+
return _this3.onDownButtonKeyDown(event);
|
|
7184
7304
|
},
|
|
7185
7305
|
keyup: function keyup(event) {
|
|
7186
|
-
return
|
|
7306
|
+
return _this3.onDownButtonKeyUp(event);
|
|
7187
7307
|
}
|
|
7188
7308
|
};
|
|
7189
7309
|
},
|
|
7190
7310
|
formattedValue: function formattedValue() {
|
|
7191
|
-
|
|
7311
|
+
var val = !this.value && !this.allowEmpty ? 0 : this.value;
|
|
7312
|
+
return this.formatValue(val);
|
|
7313
|
+
},
|
|
7314
|
+
getFormatter: function getFormatter() {
|
|
7315
|
+
return this.numberFormat;
|
|
7192
7316
|
}
|
|
7193
7317
|
},
|
|
7194
7318
|
components: {
|