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
|
@@ -5249,12 +5249,12 @@ if (typeof window !== 'undefined') {
|
|
|
5249
5249
|
// Indicate to webpack that this file can be concatenated
|
|
5250
5250
|
/* harmony default export */ var setPublicPath = (null);
|
|
5251
5251
|
|
|
5252
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5253
|
-
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.
|
|
5252
|
+
// 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&
|
|
5253
|
+
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)}
|
|
5254
5254
|
var staticRenderFns = []
|
|
5255
5255
|
|
|
5256
5256
|
|
|
5257
|
-
// CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=
|
|
5257
|
+
// CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=4093e713&
|
|
5258
5258
|
|
|
5259
5259
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
5260
5260
|
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
@@ -5262,6 +5262,18 @@ var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
|
5262
5262
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
5263
5263
|
var es6_object_keys = __webpack_require__("456d");
|
|
5264
5264
|
|
|
5265
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
|
|
5266
|
+
var es6_regexp_search = __webpack_require__("386d");
|
|
5267
|
+
|
|
5268
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
|
|
5269
|
+
var es6_string_repeat = __webpack_require__("14b9");
|
|
5270
|
+
|
|
5271
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
|
|
5272
|
+
var es6_regexp_to_string = __webpack_require__("6b54");
|
|
5273
|
+
|
|
5274
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
|
|
5275
|
+
var es6_regexp_split = __webpack_require__("28a5");
|
|
5276
|
+
|
|
5265
5277
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
|
|
5266
5278
|
var define_property = __webpack_require__("85f2");
|
|
5267
5279
|
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
@@ -5282,18 +5294,6 @@ function _defineProperty(obj, key, value) {
|
|
|
5282
5294
|
|
|
5283
5295
|
return obj;
|
|
5284
5296
|
}
|
|
5285
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
|
|
5286
|
-
var es6_regexp_search = __webpack_require__("386d");
|
|
5287
|
-
|
|
5288
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
|
|
5289
|
-
var es6_string_repeat = __webpack_require__("14b9");
|
|
5290
|
-
|
|
5291
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
|
|
5292
|
-
var es6_regexp_to_string = __webpack_require__("6b54");
|
|
5293
|
-
|
|
5294
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
|
|
5295
|
-
var es6_regexp_split = __webpack_require__("28a5");
|
|
5296
|
-
|
|
5297
5297
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
|
|
5298
5298
|
var es6_regexp_replace = __webpack_require__("a481");
|
|
5299
5299
|
|
|
@@ -5303,6 +5303,9 @@ var es6_regexp_constructor = __webpack_require__("3b2b");
|
|
|
5303
5303
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5304
5304
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5305
5305
|
|
|
5306
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
5307
|
+
var es6_array_iterator = __webpack_require__("cadf");
|
|
5308
|
+
|
|
5306
5309
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js
|
|
5307
5310
|
var es6_string_iterator = __webpack_require__("5df3");
|
|
5308
5311
|
|
|
@@ -5374,7 +5377,7 @@ function _toConsumableArray(arr) {
|
|
|
5374
5377
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
5375
5378
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
5376
5379
|
|
|
5377
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5380
|
+
// 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&
|
|
5378
5381
|
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))}
|
|
5379
5382
|
var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
5380
5383
|
|
|
@@ -5388,6 +5391,7 @@ var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
|
5388
5391
|
|
|
5389
5392
|
|
|
5390
5393
|
|
|
5394
|
+
|
|
5391
5395
|
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; }
|
|
5392
5396
|
|
|
5393
5397
|
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; }
|
|
@@ -5537,7 +5541,7 @@ var component = normalizeComponent(
|
|
|
5537
5541
|
)
|
|
5538
5542
|
|
|
5539
5543
|
/* harmony default export */ var InputText = (component.exports);
|
|
5540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5544
|
+
// 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&
|
|
5541
5545
|
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)}
|
|
5542
5546
|
var Buttonvue_type_template_id_3d0cb6ac_staticRenderFns = []
|
|
5543
5547
|
|
|
@@ -6131,6 +6135,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
6131
6135
|
value: function isAndroid() {
|
|
6132
6136
|
return /(android)/i.test(navigator.userAgent);
|
|
6133
6137
|
}
|
|
6138
|
+
}, {
|
|
6139
|
+
key: "isTouchDevice",
|
|
6140
|
+
value: function isTouchDevice() {
|
|
6141
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
6142
|
+
}
|
|
6134
6143
|
}]);
|
|
6135
6144
|
|
|
6136
6145
|
return DomHandler;
|
|
@@ -6312,6 +6321,7 @@ var Button_component = normalizeComponent(
|
|
|
6312
6321
|
|
|
6313
6322
|
|
|
6314
6323
|
|
|
6324
|
+
|
|
6315
6325
|
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; }
|
|
6316
6326
|
|
|
6317
6327
|
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; }
|
|
@@ -6328,6 +6338,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6328
6338
|
//
|
|
6329
6339
|
//
|
|
6330
6340
|
//
|
|
6341
|
+
//
|
|
6331
6342
|
|
|
6332
6343
|
|
|
6333
6344
|
/* harmony default export */ var InputNumbervue_type_script_lang_js_ = ({
|
|
@@ -6417,6 +6428,12 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6417
6428
|
type: Number,
|
|
6418
6429
|
default: 1
|
|
6419
6430
|
},
|
|
6431
|
+
allowEmpty: {
|
|
6432
|
+
type: Boolean,
|
|
6433
|
+
default: true
|
|
6434
|
+
},
|
|
6435
|
+
styles: null,
|
|
6436
|
+
className: null,
|
|
6420
6437
|
inputStyle: null,
|
|
6421
6438
|
inputClass: null
|
|
6422
6439
|
},
|
|
@@ -6436,10 +6453,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6436
6453
|
timer: null,
|
|
6437
6454
|
data: function data() {
|
|
6438
6455
|
return {
|
|
6456
|
+
d_value: null,
|
|
6439
6457
|
focused: false
|
|
6440
6458
|
};
|
|
6441
6459
|
},
|
|
6442
6460
|
watch: {
|
|
6461
|
+
value: function value(newValue) {
|
|
6462
|
+
this.d_value = newValue;
|
|
6463
|
+
},
|
|
6443
6464
|
locale: function locale(newValue, oldValue) {
|
|
6444
6465
|
this.updateConstructParser(newValue, oldValue);
|
|
6445
6466
|
},
|
|
@@ -6497,10 +6518,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6497
6518
|
return [d, i];
|
|
6498
6519
|
}));
|
|
6499
6520
|
this._numeral = new RegExp("[".concat(numerals.join(''), "]"), 'g');
|
|
6500
|
-
this._decimal = this.getDecimalExpression();
|
|
6501
6521
|
this._group = this.getGroupingExpression();
|
|
6502
6522
|
this._minusSign = this.getMinusSignExpression();
|
|
6503
6523
|
this._currency = this.getCurrencyExpression();
|
|
6524
|
+
this._decimal = this.getDecimalExpression();
|
|
6504
6525
|
this._suffix = this.getSuffixExpression();
|
|
6505
6526
|
this._prefix = this.getPrefixExpression();
|
|
6506
6527
|
|
|
@@ -6517,10 +6538,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6517
6538
|
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
|
6518
6539
|
},
|
|
6519
6540
|
getDecimalExpression: function getDecimalExpression() {
|
|
6520
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
6541
|
+
var formatter = new Intl.NumberFormat(this.locale, InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.getOptions()), {}, {
|
|
6521
6542
|
useGrouping: false
|
|
6522
|
-
});
|
|
6523
|
-
return new RegExp("[".concat(formatter.format(1.1).trim().replace(this._numeral, ''), "]"), 'g');
|
|
6543
|
+
}));
|
|
6544
|
+
return new RegExp("[".concat(formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, ''), "]"), 'g');
|
|
6524
6545
|
},
|
|
6525
6546
|
getGroupingExpression: function getGroupingExpression() {
|
|
6526
6547
|
var formatter = new Intl.NumberFormat(this.locale, {
|
|
@@ -6540,9 +6561,11 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6540
6561
|
var formatter = new Intl.NumberFormat(this.locale, {
|
|
6541
6562
|
style: 'currency',
|
|
6542
6563
|
currency: this.currency,
|
|
6543
|
-
currencyDisplay: this.currencyDisplay
|
|
6564
|
+
currencyDisplay: this.currencyDisplay,
|
|
6565
|
+
minimumFractionDigits: 0,
|
|
6566
|
+
maximumFractionDigits: 0
|
|
6544
6567
|
});
|
|
6545
|
-
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this.
|
|
6568
|
+
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, ''), "]"), 'g');
|
|
6546
6569
|
}
|
|
6547
6570
|
|
|
6548
6571
|
return new RegExp("[]", 'g');
|
|
@@ -6633,6 +6656,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6633
6656
|
var newValue = this.validateValue(currentValue + step);
|
|
6634
6657
|
this.updateInput(newValue, null, 'spin');
|
|
6635
6658
|
this.updateModel(event, newValue);
|
|
6659
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
6636
6660
|
}
|
|
6637
6661
|
},
|
|
6638
6662
|
onUpButtonMouseDown: function onUpButtonMouseDown(event) {
|
|
@@ -6689,7 +6713,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6689
6713
|
this.repeat(event, null, -1);
|
|
6690
6714
|
}
|
|
6691
6715
|
},
|
|
6692
|
-
|
|
6716
|
+
onUserInput: function onUserInput() {
|
|
6693
6717
|
if (this.isSpecialChar) {
|
|
6694
6718
|
this.$refs.input.$el.value = this.lastValue;
|
|
6695
6719
|
}
|
|
@@ -6757,19 +6781,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6757
6781
|
|
|
6758
6782
|
if (selectionStart === selectionEnd) {
|
|
6759
6783
|
var deleteChar = inputValue.charAt(selectionStart - 1);
|
|
6760
|
-
|
|
6761
|
-
|
|
6784
|
+
|
|
6785
|
+
var _this$getDecimalCharI = this.getDecimalCharIndexes(inputValue),
|
|
6786
|
+
decimalCharIndex = _this$getDecimalCharI.decimalCharIndex,
|
|
6787
|
+
decimalCharIndexWithoutPrefix = _this$getDecimalCharI.decimalCharIndexWithoutPrefix;
|
|
6762
6788
|
|
|
6763
6789
|
if (this.isNumeralChar(deleteChar)) {
|
|
6790
|
+
var decimalLength = this.getDecimalLength(inputValue);
|
|
6791
|
+
|
|
6764
6792
|
if (this._group.test(deleteChar)) {
|
|
6765
6793
|
this._group.lastIndex = 0;
|
|
6766
6794
|
newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
|
|
6767
6795
|
} else if (this._decimal.test(deleteChar)) {
|
|
6768
6796
|
this._decimal.lastIndex = 0;
|
|
6769
|
-
|
|
6797
|
+
|
|
6798
|
+
if (decimalLength) {
|
|
6799
|
+
this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
6800
|
+
} else {
|
|
6801
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
6802
|
+
}
|
|
6770
6803
|
} else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
6771
|
-
|
|
6772
|
-
|
|
6804
|
+
var insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
|
|
6805
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
|
|
6806
|
+
} else if (decimalCharIndexWithoutPrefix === 1) {
|
|
6773
6807
|
newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
|
|
6774
6808
|
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
6775
6809
|
} else {
|
|
@@ -6793,20 +6827,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6793
6827
|
if (selectionStart === selectionEnd) {
|
|
6794
6828
|
var _deleteChar = inputValue.charAt(selectionStart);
|
|
6795
6829
|
|
|
6796
|
-
var
|
|
6797
|
-
|
|
6798
|
-
|
|
6830
|
+
var _this$getDecimalCharI2 = this.getDecimalCharIndexes(inputValue),
|
|
6831
|
+
_decimalCharIndex = _this$getDecimalCharI2.decimalCharIndex,
|
|
6832
|
+
_decimalCharIndexWithoutPrefix = _this$getDecimalCharI2.decimalCharIndexWithoutPrefix;
|
|
6799
6833
|
|
|
6800
6834
|
if (this.isNumeralChar(_deleteChar)) {
|
|
6835
|
+
var _decimalLength = this.getDecimalLength(inputValue);
|
|
6836
|
+
|
|
6801
6837
|
if (this._group.test(_deleteChar)) {
|
|
6802
6838
|
this._group.lastIndex = 0;
|
|
6803
6839
|
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
|
|
6804
6840
|
} else if (this._decimal.test(_deleteChar)) {
|
|
6805
6841
|
this._decimal.lastIndex = 0;
|
|
6806
|
-
|
|
6842
|
+
|
|
6843
|
+
if (_decimalLength) {
|
|
6844
|
+
this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
|
|
6845
|
+
} else {
|
|
6846
|
+
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
6847
|
+
}
|
|
6807
6848
|
} else if (_decimalCharIndex > 0 && selectionStart > _decimalCharIndex) {
|
|
6808
|
-
|
|
6809
|
-
|
|
6849
|
+
var _insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < _decimalLength ? '' : '0';
|
|
6850
|
+
|
|
6851
|
+
newValueStr = inputValue.slice(0, selectionStart) + _insertedText + inputValue.slice(selectionStart + 1);
|
|
6852
|
+
} else if (_decimalCharIndexWithoutPrefix === 1) {
|
|
6810
6853
|
newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
|
|
6811
6854
|
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
6812
6855
|
} else {
|
|
@@ -6856,7 +6899,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6856
6899
|
return this.min === null || this.min < 0;
|
|
6857
6900
|
},
|
|
6858
6901
|
isMinusSign: function isMinusSign(char) {
|
|
6859
|
-
if (this._minusSign.test(char)) {
|
|
6902
|
+
if (this._minusSign.test(char) || char === '-') {
|
|
6860
6903
|
this._minusSign.lastIndex = 0;
|
|
6861
6904
|
return true;
|
|
6862
6905
|
}
|
|
@@ -6871,6 +6914,36 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6871
6914
|
|
|
6872
6915
|
return false;
|
|
6873
6916
|
},
|
|
6917
|
+
isDecimalMode: function isDecimalMode() {
|
|
6918
|
+
return this.mode === 'decimal';
|
|
6919
|
+
},
|
|
6920
|
+
getDecimalCharIndexes: function getDecimalCharIndexes(val) {
|
|
6921
|
+
var decimalCharIndex = val.search(this._decimal);
|
|
6922
|
+
this._decimal.lastIndex = 0;
|
|
6923
|
+
var filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
|
|
6924
|
+
var decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
|
|
6925
|
+
this._decimal.lastIndex = 0;
|
|
6926
|
+
return {
|
|
6927
|
+
decimalCharIndex: decimalCharIndex,
|
|
6928
|
+
decimalCharIndexWithoutPrefix: decimalCharIndexWithoutPrefix
|
|
6929
|
+
};
|
|
6930
|
+
},
|
|
6931
|
+
getCharIndexes: function getCharIndexes(val) {
|
|
6932
|
+
var decimalCharIndex = val.search(this._decimal);
|
|
6933
|
+
this._decimal.lastIndex = 0;
|
|
6934
|
+
var minusCharIndex = val.search(this._minusSign);
|
|
6935
|
+
this._minusSign.lastIndex = 0;
|
|
6936
|
+
var suffixCharIndex = val.search(this._suffix);
|
|
6937
|
+
this._suffix.lastIndex = 0;
|
|
6938
|
+
var currencyCharIndex = val.search(this._currency);
|
|
6939
|
+
this._currency.lastIndex = 0;
|
|
6940
|
+
return {
|
|
6941
|
+
decimalCharIndex: decimalCharIndex,
|
|
6942
|
+
minusCharIndex: minusCharIndex,
|
|
6943
|
+
suffixCharIndex: suffixCharIndex,
|
|
6944
|
+
currencyCharIndex: currencyCharIndex
|
|
6945
|
+
};
|
|
6946
|
+
},
|
|
6874
6947
|
insert: function insert(event, text) {
|
|
6875
6948
|
var sign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
6876
6949
|
isDecimalSign: false,
|
|
@@ -6886,10 +6959,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6886
6959
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
6887
6960
|
var selectionEnd = this.$refs.input.$el.selectionEnd;
|
|
6888
6961
|
var inputValue = this.$refs.input.$el.value.trim();
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6962
|
+
|
|
6963
|
+
var _this$getCharIndexes = this.getCharIndexes(inputValue),
|
|
6964
|
+
decimalCharIndex = _this$getCharIndexes.decimalCharIndex,
|
|
6965
|
+
minusCharIndex = _this$getCharIndexes.minusCharIndex,
|
|
6966
|
+
suffixCharIndex = _this$getCharIndexes.suffixCharIndex,
|
|
6967
|
+
currencyCharIndex = _this$getCharIndexes.currencyCharIndex;
|
|
6968
|
+
|
|
6893
6969
|
var newValueStr;
|
|
6894
6970
|
|
|
6895
6971
|
if (sign.isMinusSign) {
|
|
@@ -6908,6 +6984,9 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6908
6984
|
} else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
|
|
6909
6985
|
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
6910
6986
|
this.updateValue(event, newValueStr, text, 'insert');
|
|
6987
|
+
} else if (decimalCharIndex === -1 && this.maxFractionDigits) {
|
|
6988
|
+
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
6989
|
+
this.updateValue(event, newValueStr, text, 'insert');
|
|
6911
6990
|
}
|
|
6912
6991
|
} else {
|
|
6913
6992
|
var maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
|
|
@@ -6915,7 +6994,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6915
6994
|
|
|
6916
6995
|
if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
6917
6996
|
if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
|
|
6918
|
-
|
|
6997
|
+
var charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
|
|
6998
|
+
newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
|
|
6919
6999
|
this.updateValue(event, newValueStr, text, operation);
|
|
6920
7000
|
}
|
|
6921
7001
|
} else {
|
|
@@ -6925,7 +7005,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6925
7005
|
}
|
|
6926
7006
|
},
|
|
6927
7007
|
insertText: function insertText(value, text, start, end) {
|
|
6928
|
-
var textSplit = text.split('.');
|
|
7008
|
+
var textSplit = text === '.' ? text : text.split('.');
|
|
6929
7009
|
|
|
6930
7010
|
if (textSplit.length === 2) {
|
|
6931
7011
|
var decimalCharIndex = value.slice(start, end).search(this._decimal);
|
|
@@ -6950,11 +7030,15 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6950
7030
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
6951
7031
|
var inputValue = this.$refs.input.$el.value;
|
|
6952
7032
|
var valueLength = inputValue.length;
|
|
6953
|
-
var index = null;
|
|
7033
|
+
var index = null; // remove prefix
|
|
7034
|
+
|
|
7035
|
+
var prefixLength = (this.prefixChar || '').length;
|
|
7036
|
+
inputValue = inputValue.replace(this._prefix, '');
|
|
7037
|
+
selectionStart = selectionStart - prefixLength;
|
|
6954
7038
|
var char = inputValue.charAt(selectionStart);
|
|
6955
7039
|
|
|
6956
7040
|
if (this.isNumeralChar(char)) {
|
|
6957
|
-
return;
|
|
7041
|
+
return selectionStart + prefixLength;
|
|
6958
7042
|
} //left
|
|
6959
7043
|
|
|
6960
7044
|
|
|
@@ -6964,7 +7048,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6964
7048
|
char = inputValue.charAt(i);
|
|
6965
7049
|
|
|
6966
7050
|
if (this.isNumeralChar(char)) {
|
|
6967
|
-
index = i;
|
|
7051
|
+
index = i + prefixLength;
|
|
6968
7052
|
break;
|
|
6969
7053
|
} else {
|
|
6970
7054
|
i--;
|
|
@@ -6974,13 +7058,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6974
7058
|
if (index !== null) {
|
|
6975
7059
|
this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
|
|
6976
7060
|
} else {
|
|
6977
|
-
i = selectionStart
|
|
7061
|
+
i = selectionStart;
|
|
6978
7062
|
|
|
6979
7063
|
while (i < valueLength) {
|
|
6980
7064
|
char = inputValue.charAt(i);
|
|
6981
7065
|
|
|
6982
7066
|
if (this.isNumeralChar(char)) {
|
|
6983
|
-
index = i;
|
|
7067
|
+
index = i + prefixLength;
|
|
6984
7068
|
break;
|
|
6985
7069
|
} else {
|
|
6986
7070
|
i++;
|
|
@@ -6991,6 +7075,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6991
7075
|
this.$refs.input.$el.setSelectionRange(index, index);
|
|
6992
7076
|
}
|
|
6993
7077
|
}
|
|
7078
|
+
|
|
7079
|
+
return index || 0;
|
|
6994
7080
|
},
|
|
6995
7081
|
onInputClick: function onInputClick() {
|
|
6996
7082
|
this.initCursor();
|
|
@@ -7010,12 +7096,38 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7010
7096
|
this._minusSign.lastIndex = 0;
|
|
7011
7097
|
},
|
|
7012
7098
|
updateValue: function updateValue(event, valueStr, insertedValueStr, operation) {
|
|
7099
|
+
var currentValue = this.$refs.input.$el.value;
|
|
7100
|
+
var newValue = null;
|
|
7101
|
+
|
|
7013
7102
|
if (valueStr != null) {
|
|
7014
|
-
|
|
7015
|
-
this.
|
|
7103
|
+
newValue = this.parseValue(valueStr);
|
|
7104
|
+
newValue = !newValue && !this.allowEmpty ? 0 : newValue;
|
|
7105
|
+
this.updateInput(newValue, insertedValueStr, operation, valueStr);
|
|
7106
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
7107
|
+
}
|
|
7108
|
+
},
|
|
7109
|
+
handleOnInput: function handleOnInput(event, currentValue, newValue) {
|
|
7110
|
+
if (this.isValueChanged(currentValue, newValue)) {
|
|
7111
|
+
this.$emit('input', newValue);
|
|
7112
|
+
}
|
|
7113
|
+
},
|
|
7114
|
+
isValueChanged: function isValueChanged(currentValue, newValue) {
|
|
7115
|
+
if (newValue === null && currentValue !== null) {
|
|
7116
|
+
return true;
|
|
7117
|
+
}
|
|
7118
|
+
|
|
7119
|
+
if (newValue != null) {
|
|
7120
|
+
var parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
|
|
7121
|
+
return newValue !== parsedCurrentValue;
|
|
7016
7122
|
}
|
|
7123
|
+
|
|
7124
|
+
return false;
|
|
7017
7125
|
},
|
|
7018
7126
|
validateValue: function validateValue(value) {
|
|
7127
|
+
if (value === '-' || value == null) {
|
|
7128
|
+
return null;
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7019
7131
|
if (this.min != null && value < this.min) {
|
|
7020
7132
|
return this.min;
|
|
7021
7133
|
}
|
|
@@ -7024,25 +7136,23 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7024
7136
|
return this.max;
|
|
7025
7137
|
}
|
|
7026
7138
|
|
|
7027
|
-
if (value === '-') {
|
|
7028
|
-
// Minus sign
|
|
7029
|
-
return null;
|
|
7030
|
-
}
|
|
7031
|
-
|
|
7032
7139
|
return value;
|
|
7033
7140
|
},
|
|
7034
|
-
updateInput: function updateInput(value, insertedValueStr, operation) {
|
|
7141
|
+
updateInput: function updateInput(value, insertedValueStr, operation, valueStr) {
|
|
7035
7142
|
insertedValueStr = insertedValueStr || '';
|
|
7036
7143
|
var inputValue = this.$refs.input.$el.value;
|
|
7037
7144
|
var newValue = this.formatValue(value);
|
|
7038
7145
|
var currentLength = inputValue.length;
|
|
7039
7146
|
|
|
7147
|
+
if (newValue !== valueStr) {
|
|
7148
|
+
newValue = this.concatValues(newValue, valueStr);
|
|
7149
|
+
}
|
|
7150
|
+
|
|
7040
7151
|
if (currentLength === 0) {
|
|
7041
7152
|
this.$refs.input.$el.value = newValue;
|
|
7042
7153
|
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
7043
|
-
this.initCursor();
|
|
7044
|
-
var
|
|
7045
|
-
var selectionEnd = prefixLength + insertedValueStr.length;
|
|
7154
|
+
var index = this.initCursor();
|
|
7155
|
+
var selectionEnd = index + insertedValueStr.length;
|
|
7046
7156
|
this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
|
|
7047
7157
|
} else {
|
|
7048
7158
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
@@ -7078,6 +7188,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7078
7188
|
|
|
7079
7189
|
this._group.lastIndex = 0;
|
|
7080
7190
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
7191
|
+
} else if (inputValue === '-' && operation === 'insert') {
|
|
7192
|
+
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
7193
|
+
|
|
7194
|
+
var _index = this.initCursor();
|
|
7195
|
+
|
|
7196
|
+
var _selectionEnd2 = _index + insertedValueStr.length + 1;
|
|
7197
|
+
|
|
7198
|
+
this.$refs.input.$el.setSelectionRange(_selectionEnd2, _selectionEnd2);
|
|
7081
7199
|
} else {
|
|
7082
7200
|
_selectionEnd = _selectionEnd + (newLength - currentLength);
|
|
7083
7201
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
@@ -7086,12 +7204,32 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7086
7204
|
|
|
7087
7205
|
this.$refs.input.$el.setAttribute('aria-valuenow', value);
|
|
7088
7206
|
},
|
|
7207
|
+
concatValues: function concatValues(val1, val2) {
|
|
7208
|
+
if (val1 && val2) {
|
|
7209
|
+
var decimalCharIndex = val2.search(this._decimal);
|
|
7210
|
+
this._decimal.lastIndex = 0;
|
|
7211
|
+
return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
|
|
7212
|
+
}
|
|
7213
|
+
|
|
7214
|
+
return val1;
|
|
7215
|
+
},
|
|
7216
|
+
getDecimalLength: function getDecimalLength(value) {
|
|
7217
|
+
if (value) {
|
|
7218
|
+
var valueSplit = value.split(this._decimal);
|
|
7219
|
+
|
|
7220
|
+
if (valueSplit.length === 2) {
|
|
7221
|
+
return valueSplit[1].replace(this._suffix, '').trim().replace(/\s/g, '').replace(this._currency, '').length;
|
|
7222
|
+
}
|
|
7223
|
+
}
|
|
7224
|
+
|
|
7225
|
+
return 0;
|
|
7226
|
+
},
|
|
7089
7227
|
updateModel: function updateModel(event, value) {
|
|
7228
|
+
this.d_value = value;
|
|
7090
7229
|
this.$emit('input', value);
|
|
7091
7230
|
},
|
|
7092
|
-
onInputFocus: function onInputFocus(
|
|
7231
|
+
onInputFocus: function onInputFocus() {
|
|
7093
7232
|
this.focused = true;
|
|
7094
|
-
this.$emit('focus', event);
|
|
7095
7233
|
},
|
|
7096
7234
|
onInputBlur: function onInputBlur(event) {
|
|
7097
7235
|
this.focused = false;
|
|
@@ -7100,17 +7238,22 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7100
7238
|
input.value = this.formatValue(newValue);
|
|
7101
7239
|
input.setAttribute('aria-valuenow', newValue);
|
|
7102
7240
|
this.updateModel(event, newValue);
|
|
7103
|
-
this.$emit('blur', event);
|
|
7104
7241
|
},
|
|
7105
7242
|
clearTimer: function clearTimer() {
|
|
7106
7243
|
if (this.timer) {
|
|
7107
7244
|
clearInterval(this.timer);
|
|
7108
7245
|
}
|
|
7246
|
+
},
|
|
7247
|
+
maxBoundry: function maxBoundry() {
|
|
7248
|
+
return this.d_value >= this.max;
|
|
7249
|
+
},
|
|
7250
|
+
minBoundry: function minBoundry() {
|
|
7251
|
+
return this.d_value <= this.min;
|
|
7109
7252
|
}
|
|
7110
7253
|
},
|
|
7111
7254
|
computed: {
|
|
7112
7255
|
containerClass: function containerClass() {
|
|
7113
|
-
return ['p-inputnumber p-component', {
|
|
7256
|
+
return ['p-inputnumber p-component p-inputwrapper', this.className, {
|
|
7114
7257
|
'p-inputwrapper-filled': this.filled,
|
|
7115
7258
|
'p-inputwrapper-focus': this.focused,
|
|
7116
7259
|
'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
|
|
@@ -7119,85 +7262,66 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7119
7262
|
}];
|
|
7120
7263
|
},
|
|
7121
7264
|
upButtonClass: function upButtonClass() {
|
|
7122
|
-
return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass
|
|
7265
|
+
return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
|
|
7266
|
+
'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
|
|
7267
|
+
}];
|
|
7123
7268
|
},
|
|
7124
7269
|
downButtonClass: function downButtonClass() {
|
|
7125
|
-
return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass
|
|
7270
|
+
return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
|
|
7271
|
+
'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
|
|
7272
|
+
}];
|
|
7126
7273
|
},
|
|
7127
7274
|
filled: function filled() {
|
|
7128
7275
|
return this.value != null && this.value.toString().length > 0;
|
|
7129
7276
|
},
|
|
7130
|
-
listeners: function listeners() {
|
|
7131
|
-
var _this2 = this;
|
|
7132
|
-
|
|
7133
|
-
return InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.$listeners), {}, {
|
|
7134
|
-
input: function input(val) {
|
|
7135
|
-
return _this2.onInput(val);
|
|
7136
|
-
},
|
|
7137
|
-
keydown: function keydown(event) {
|
|
7138
|
-
return _this2.onInputKeyDown(event);
|
|
7139
|
-
},
|
|
7140
|
-
keypress: function keypress(event) {
|
|
7141
|
-
return _this2.onInputKeyPress(event);
|
|
7142
|
-
},
|
|
7143
|
-
paste: function paste(event) {
|
|
7144
|
-
return _this2.onPaste(event);
|
|
7145
|
-
},
|
|
7146
|
-
click: function click(event) {
|
|
7147
|
-
return _this2.onInputClick(event);
|
|
7148
|
-
},
|
|
7149
|
-
focus: function focus(event) {
|
|
7150
|
-
return _this2.onInputFocus(event);
|
|
7151
|
-
},
|
|
7152
|
-
blur: function blur(event) {
|
|
7153
|
-
return _this2.onInputBlur(event);
|
|
7154
|
-
}
|
|
7155
|
-
});
|
|
7156
|
-
},
|
|
7157
7277
|
upButtonListeners: function upButtonListeners() {
|
|
7158
|
-
var
|
|
7278
|
+
var _this2 = this;
|
|
7159
7279
|
|
|
7160
7280
|
return {
|
|
7161
7281
|
mousedown: function mousedown(event) {
|
|
7162
|
-
return
|
|
7282
|
+
return _this2.onUpButtonMouseDown(event);
|
|
7163
7283
|
},
|
|
7164
7284
|
mouseup: function mouseup(event) {
|
|
7165
|
-
return
|
|
7285
|
+
return _this2.onUpButtonMouseUp(event);
|
|
7166
7286
|
},
|
|
7167
7287
|
mouseleave: function mouseleave(event) {
|
|
7168
|
-
return
|
|
7288
|
+
return _this2.onUpButtonMouseLeave(event);
|
|
7169
7289
|
},
|
|
7170
7290
|
keydown: function keydown(event) {
|
|
7171
|
-
return
|
|
7291
|
+
return _this2.onUpButtonKeyDown(event);
|
|
7172
7292
|
},
|
|
7173
7293
|
keyup: function keyup(event) {
|
|
7174
|
-
return
|
|
7294
|
+
return _this2.onUpButtonKeyUp(event);
|
|
7175
7295
|
}
|
|
7176
7296
|
};
|
|
7177
7297
|
},
|
|
7178
7298
|
downButtonListeners: function downButtonListeners() {
|
|
7179
|
-
var
|
|
7299
|
+
var _this3 = this;
|
|
7180
7300
|
|
|
7181
7301
|
return {
|
|
7182
7302
|
mousedown: function mousedown(event) {
|
|
7183
|
-
return
|
|
7303
|
+
return _this3.onDownButtonMouseDown(event);
|
|
7184
7304
|
},
|
|
7185
7305
|
mouseup: function mouseup(event) {
|
|
7186
|
-
return
|
|
7306
|
+
return _this3.onDownButtonMouseUp(event);
|
|
7187
7307
|
},
|
|
7188
7308
|
mouseleave: function mouseleave(event) {
|
|
7189
|
-
return
|
|
7309
|
+
return _this3.onDownButtonMouseLeave(event);
|
|
7190
7310
|
},
|
|
7191
7311
|
keydown: function keydown(event) {
|
|
7192
|
-
return
|
|
7312
|
+
return _this3.onDownButtonKeyDown(event);
|
|
7193
7313
|
},
|
|
7194
7314
|
keyup: function keyup(event) {
|
|
7195
|
-
return
|
|
7315
|
+
return _this3.onDownButtonKeyUp(event);
|
|
7196
7316
|
}
|
|
7197
7317
|
};
|
|
7198
7318
|
},
|
|
7199
7319
|
formattedValue: function formattedValue() {
|
|
7200
|
-
|
|
7320
|
+
var val = !this.value && !this.allowEmpty ? 0 : this.value;
|
|
7321
|
+
return this.formatValue(val);
|
|
7322
|
+
},
|
|
7323
|
+
getFormatter: function getFormatter() {
|
|
7324
|
+
return this.numberFormat;
|
|
7201
7325
|
}
|
|
7202
7326
|
},
|
|
7203
7327
|
components: {
|