primevue 2.5.0 → 2.8.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.common.js +1 -1
- package/accordion/accordion.umd.js +1 -1
- package/accordiontab/accordiontab.common.js +28 -1
- package/accordiontab/accordiontab.umd.js +28 -1
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +296 -0
- package/api/Api.js +47 -0
- package/api/FilterMatchMode.js +26 -0
- package/api/FilterOperator.js +12 -0
- package/api/FilterService.js +260 -0
- package/api/PrimeIcons.js +246 -0
- package/api/ToastSeverity.js +14 -0
- package/api/api.common.js +4889 -0
- package/api/api.umd.js +4899 -0
- package/api/api.umd.min.js +1 -0
- package/api/demo.html +8 -0
- package/api/filtermatchmode.common.js +186 -0
- package/api/filtermatchmode.umd.js +196 -0
- package/api/filtermatchmode.umd.min.js +1 -0
- package/api/filteroperator.common.js +172 -0
- package/api/filteroperator.umd.js +182 -0
- package/api/filteroperator.umd.min.js +1 -0
- package/{utils/filterutils.common.js → api/filterservice.common.js} +207 -110
- package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -112
- package/api/filterservice.umd.min.js +1 -0
- package/api/index.d.ts +1 -0
- package/api/index.js +2 -0
- package/api/primeicons.common.js +406 -0
- package/api/primeicons.umd.js +416 -0
- package/api/primeicons.umd.min.js +1 -0
- package/{confirmationservice/confirmationeventbus.common.js → api/toastseverity.common.js} +9 -9
- package/{confirmationservice/confirmationeventbus.umd.js → api/toastseverity.umd.js} +11 -11
- package/api/toastseverity.umd.min.js +1 -0
- package/autocomplete/AutoComplete.d.ts +1 -0
- package/autocomplete/AutoComplete.vue +8 -0
- package/autocomplete/autocomplete.common.js +61 -24
- package/autocomplete/autocomplete.umd.js +61 -24
- 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 +27 -0
- package/badgedirective/badgedirective.umd.js +27 -0
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/BlockUI.vue +6 -16
- package/blockui/blockui.common.js +38 -16
- package/blockui/blockui.umd.js +38 -16
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -0
- package/breadcrumb/Breadcrumb.vue +6 -2
- package/breadcrumb/BreadcrumbItem.vue +30 -11
- package/breadcrumb/breadcrumb.common.js +44 -16
- package/breadcrumb/breadcrumb.umd.js +44 -16
- 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 +28 -1
- package/button/button.umd.js +28 -1
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.d.ts +5 -0
- package/calendar/Calendar.vue +339 -70
- package/calendar/calendar.common.js +400 -73
- package/calendar/calendar.umd.js +400 -73
- 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 +30 -3
- package/carousel/carousel.umd.js +30 -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 +53 -21
- package/cascadeselect/cascadeselect.umd.js +53 -21
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +48 -18
- package/cascadeselect/cascadeselectsub.umd.js +48 -18
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/chart/Chart.vue +27 -11
- package/chart/chart.common.js +30 -12
- package/chart/chart.umd.js +30 -12
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/Checkbox.css +1 -0
- package/checkbox/Checkbox.d.ts +2 -0
- package/checkbox/Checkbox.vue +11 -3
- package/checkbox/checkbox.common.js +38 -22
- package/checkbox/checkbox.umd.js +38 -22
- 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 +28 -1
- package/colorpicker/colorpicker.umd.js +28 -1
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/Column.vue +72 -12
- package/column/column.common.js +71 -11
- package/column/column.umd.js +71 -11
- package/column/column.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.d.ts +24 -2
- package/config/PrimeVue.js +34 -4
- package/config/primevue.common.js +3584 -133
- package/config/primevue.umd.js +3584 -133
- package/config/primevue.umd.min.js +1 -1
- package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
- package/confirmationeventbus/confirmationeventbus.common.js +1773 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +1783 -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 +1605 -6
- package/confirmationservice/confirmationservice.umd.js +1605 -6
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +9 -3
- package/confirmdialog/confirmdialog.common.js +456 -44
- package/confirmdialog/confirmdialog.umd.js +456 -44
- 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 +531 -13
- package/confirmpopup/confirmpopup.umd.js +531 -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 +68 -14
- package/contextmenu/contextmenu.umd.js +68 -14
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +58 -8
- package/contextmenu/contextmenusub.umd.js +58 -8
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/BodyCell.vue +118 -34
- package/datatable/ColumnFilter.vue +558 -0
- package/datatable/ColumnSlot.vue +21 -1
- package/datatable/DataTable.d.ts +41 -15
- package/datatable/DataTable.vue +582 -391
- package/datatable/FooterCell.vue +82 -0
- package/datatable/HeaderCell.vue +246 -0
- package/datatable/TableBody.vue +92 -23
- package/datatable/TableFooter.vue +34 -18
- package/datatable/TableHeader.vue +79 -134
- package/datatable/bodycell.common.js +578 -56
- package/datatable/bodycell.umd.js +578 -56
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +7610 -0
- package/datatable/columnfilter.umd.js +7620 -0
- package/datatable/columnfilter.umd.min.js +1 -0
- package/datatable/columnslot.common.js +21 -1
- package/datatable/columnslot.umd.js +21 -1
- package/datatable/columnslot.umd.min.js +1 -1
- package/datatable/datatable.common.js +4340 -1384
- package/datatable/datatable.umd.js +4340 -1384
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -4
- package/datatable/footercell.common.js +5453 -0
- package/datatable/footercell.umd.js +5463 -0
- package/datatable/footercell.umd.min.js +1 -0
- package/datatable/headercell.common.js +8058 -0
- package/datatable/headercell.umd.js +8068 -0
- package/datatable/headercell.umd.min.js +1 -0
- 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/tablebody.common.js +1066 -473
- package/datatable/tablebody.umd.js +1066 -473
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +3785 -105
- package/datatable/tablefooter.umd.js +3785 -105
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +6633 -2138
- package/datatable/tableheader.umd.js +6633 -2138
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +22 -2
- package/datatable/tableloadingbody.umd.js +22 -2
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/DataView.d.ts +2 -2
- package/dataview/DataView.vue +10 -10
- package/dataview/dataview.common.js +1971 -80
- package/dataview/dataview.umd.js +1971 -80
- 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.common.js +1 -1
- package/deferredcontent/deferredcontent.umd.js +1 -1
- package/dialog/Dialog.vue +35 -21
- package/dialog/dialog.common.js +62 -24
- package/dialog/dialog.umd.js +62 -24
- 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 +2 -0
- package/dock/Dock.vue +12 -2
- package/dock/DockSub.vue +45 -21
- package/dock/dock.common.js +44 -15
- package/dock/dock.umd.js +44 -15
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +31 -7
- package/dock/docksub.umd.js +31 -7
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/Dropdown.d.ts +5 -3
- package/dropdown/Dropdown.vue +33 -5
- package/dropdown/dropdown.common.js +83 -24
- package/dropdown/dropdown.umd.js +83 -24
- 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 +28 -1
- package/fieldset/fieldset.umd.js +28 -1
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.vue +5 -2
- package/fileupload/fileupload.common.js +55 -19
- package/fileupload/fileupload.umd.js +55 -19
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +342 -136
- package/fullcalendar/fullcalendar.umd.js +342 -136
- package/fullcalendar/fullcalendar.umd.min.js +4 -4
- package/galleria/Galleria.vue +3 -8
- package/galleria/GalleriaContent.vue +9 -0
- package/galleria/galleria.common.js +49 -17
- package/galleria/galleria.umd.js +49 -17
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +40 -4
- package/galleria/galleriacontent.umd.js +40 -4
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +28 -1
- package/galleria/galleriaitem.umd.js +28 -1
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriathumbnails.common.js +28 -1
- package/galleria/galleriathumbnails.umd.js +28 -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/{datatable/scrollableview.common.js → imagepreview/imagepreview.common.js} +570 -463
- package/{datatable/scrollableview.umd.js → imagepreview/imagepreview.umd.js} +572 -465
- 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 +29 -2
- package/inplace/inplace.umd.js +29 -2
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/InputMask.vue +7 -5
- package/inputmask/inputmask.common.js +39 -12
- package/inputmask/inputmask.umd.js +39 -12
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +183 -62
- package/inputnumber/inputnumber.common.js +249 -113
- package/inputnumber/inputnumber.umd.js +249 -113
- 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 +3 -7
- package/inputtext/inputtext.umd.js +3 -7
- 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 +48 -18
- package/listbox/listbox.umd.js +48 -18
- 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 +74 -10
- package/megamenu/megamenu.umd.js +74 -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 +68 -17
- package/menu/menu.umd.js +68 -17
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +55 -11
- package/menu/menuitem.umd.js +55 -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 +68 -14
- package/menubar/menubar.umd.js +68 -14
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +58 -8
- package/menubar/menubarsub.umd.js +58 -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 +34 -3
- package/message/message.umd.js +34 -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 +58 -22
- package/multiselect/multiselect.umd.js +58 -22
- 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 +53 -21
- package/orderlist/orderlist.umd.js +53 -21
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +31 -8
- package/organizationchart/organizationchart.umd.js +31 -8
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +28 -1
- package/organizationchart/organizationchartnode.umd.js +28 -1
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +14 -0
- package/overlayeventbus/demo.html +8 -0
- package/overlayeventbus/index.d.ts +1 -0
- package/overlayeventbus/index.js +2 -0
- package/overlayeventbus/overlayeventbus.common.js +1773 -0
- package/overlayeventbus/overlayeventbus.umd.js +1783 -0
- package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
- package/overlaypanel/overlaypanel.common.js +28 -1
- package/overlaypanel/overlaypanel.umd.js +28 -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 +28 -1
- package/paginator/firstpagelink.umd.js +28 -1
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +6501 -0
- package/paginator/jumptopagedropdown.umd.js +6511 -0
- package/paginator/jumptopagedropdown.umd.min.js +1 -0
- package/paginator/jumptopageinput.common.js +7438 -0
- package/paginator/jumptopageinput.umd.js +7448 -0
- package/paginator/jumptopageinput.umd.min.js +1 -0
- package/paginator/lastpagelink.common.js +28 -1
- package/paginator/lastpagelink.umd.js +28 -1
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +28 -1
- package/paginator/nextpagelink.umd.js +28 -1
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +28 -1
- package/paginator/pagelinks.umd.js +28 -1
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +2277 -119
- package/paginator/paginator.umd.js +2277 -119
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +28 -1
- package/paginator/prevpagelink.umd.js +28 -1
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +91 -31
- package/paginator/rowsperpagedropdown.umd.js +91 -31
- 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 +29 -2
- package/panel/panel.umd.js +29 -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 +31 -8
- package/password/password.umd.js +31 -8
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +8 -0
- package/picklist/PickList.vue +10 -4
- package/picklist/picklist.common.js +57 -21
- package/picklist/picklist.umd.js +57 -21
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/ProgressBar.vue +18 -14
- package/progressbar/progressbar.common.js +7 -5
- package/progressbar/progressbar.umd.js +7 -5
- 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 +26 -18
- package/radiobutton/radiobutton.umd.js +26 -18
- 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 +178 -42
- package/resources/themes/arya-green/theme.css +178 -42
- package/resources/themes/arya-orange/theme.css +178 -42
- package/resources/themes/arya-purple/theme.css +178 -42
- package/resources/themes/bootstrap4-dark-blue/theme.css +175 -46
- package/resources/themes/bootstrap4-dark-purple/theme.css +175 -46
- package/resources/themes/bootstrap4-light-blue/theme.css +175 -46
- package/resources/themes/bootstrap4-light-purple/theme.css +175 -46
- package/resources/themes/fluent-light/theme.css +182 -46
- 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 +175 -46
- package/resources/themes/luna-blue/theme.css +175 -46
- package/resources/themes/luna-green/theme.css +175 -46
- package/resources/themes/luna-pink/theme.css +175 -46
- package/resources/themes/md-dark-deeppurple/theme.css +379 -87
- package/resources/themes/md-dark-indigo/theme.css +379 -87
- package/resources/themes/md-light-deeppurple/theme.css +379 -87
- package/resources/themes/md-light-indigo/theme.css +379 -87
- package/resources/themes/mdc-dark-deeppurple/theme.css +379 -87
- package/resources/themes/mdc-dark-indigo/theme.css +379 -87
- package/resources/themes/mdc-light-deeppurple/theme.css +379 -87
- package/resources/themes/mdc-light-indigo/theme.css +379 -87
- package/resources/themes/nova/theme.css +175 -46
- package/resources/themes/nova-accent/theme.css +175 -46
- package/resources/themes/nova-alt/theme.css +175 -46
- package/resources/themes/nova-vue/theme.css +175 -46
- package/resources/themes/rhea/theme.css +175 -46
- package/resources/themes/saga-blue/theme.css +178 -42
- package/resources/themes/saga-green/theme.css +178 -42
- package/resources/themes/saga-orange/theme.css +178 -42
- package/resources/themes/saga-purple/theme.css +178 -42
- 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 +178 -42
- package/resources/themes/vela-green/theme.css +178 -42
- package/resources/themes/vela-orange/theme.css +178 -42
- package/resources/themes/vela-purple/theme.css +178 -42
- package/ripple/ripple.common.js +27 -0
- package/ripple/ripple.umd.js +27 -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 +28 -1
- package/scrollpanel/scrollpanel.umd.js +28 -1
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +28 -1
- package/scrolltop/scrolltop.umd.js +28 -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 +55 -20
- package/selectbutton/selectbutton.umd.js +55 -20
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +3 -16
- package/sidebar/sidebar.common.js +37 -15
- package/sidebar/sidebar.umd.js +37 -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.vue +20 -12
- package/slider/slider.common.js +41 -9
- package/slider/slider.umd.js +41 -9
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +1 -0
- package/speeddial/SpeedDial.vue +10 -9
- package/speeddial/speeddial.common.js +40 -16
- package/speeddial/speeddial.umd.js +40 -16
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +73 -22
- package/splitbutton/splitbutton.umd.js +73 -22
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +27 -0
- package/splitter/splitter.umd.js +27 -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.js +4 -1
- package/styleclass/styleclass.common.js +31 -1
- package/styleclass/styleclass.umd.js +31 -1
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +1 -0
- package/tabmenu/TabMenu.vue +39 -10
- package/tabmenu/tabmenu.common.js +192 -8
- package/tabmenu/tabmenu.umd.js +192 -8
- 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 +124 -22
- package/tabview/tabview.umd.js +124 -22
- 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 +3 -7
- package/textarea/textarea.umd.js +3 -7
- 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 +3 -4
- package/tieredmenu/tieredmenu.common.js +63 -13
- package/tieredmenu/tieredmenu.umd.js +63 -13
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +53 -7
- package/tieredmenu/tieredmenusub.umd.js +53 -7
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +26 -18
- package/timeline/timeline.umd.js +26 -18
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/Toast.d.ts +4 -1
- package/toast/Toast.vue +1 -1
- package/toast/toast.common.js +30 -5
- package/toast/toast.umd.js +30 -5
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +28 -1
- package/toast/toastmessage.umd.js +28 -1
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +28 -1
- package/togglebutton/togglebutton.umd.js +28 -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 +37 -2
- package/tooltip/tooltip.common.js +1711 -24
- package/tooltip/tooltip.umd.js +1711 -24
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/TreeNode.vue +5 -1
- package/tree/tree.common.js +63 -31
- package/tree/tree.umd.js +63 -31
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +36 -9
- package/tree/treenode.umd.js +36 -9
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/BodyCell.vue +162 -0
- package/treetable/FooterCell.vue +81 -0
- package/treetable/HeaderCell.vue +183 -0
- package/treetable/TreeTable.d.ts +2 -2
- package/treetable/TreeTable.vue +93 -116
- package/treetable/bodycell.common.js +5596 -0
- package/treetable/bodycell.umd.js +5606 -0
- package/treetable/bodycell.umd.min.js +1 -0
- package/treetable/demo.html +3 -3
- package/treetable/footercell.common.js +5300 -0
- package/treetable/footercell.umd.js +5310 -0
- package/treetable/footercell.umd.min.js +1 -0
- package/treetable/headercell.common.js +5529 -0
- package/treetable/headercell.umd.js +5539 -0
- package/treetable/headercell.umd.min.js +1 -0
- package/treetable/treetable.common.js +3801 -1562
- package/treetable/treetable.umd.js +3801 -1562
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +50 -21
- package/treetable/treetablerow.umd.js +50 -21
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +52 -24
- package/treetable/treetablerowloader.umd.js +52 -24
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +1 -1
- package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +1 -1
- package/utils/DomHandler.js +23 -1
- package/utils/EventBus.js +33 -0
- package/utils/ObjectUtils.js +15 -2
- package/utils/Utils.d.ts +73 -0
- package/utils/Utils.js +47 -0
- package/utils/connectedoverlayscrollhandler.common.js +27 -0
- package/utils/connectedoverlayscrollhandler.umd.js +27 -0
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/demo.html +3 -3
- package/utils/domhandler.common.js +27 -0
- package/utils/domhandler.umd.js +27 -0
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +1770 -0
- package/utils/eventbus.umd.js +1780 -0
- package/utils/eventbus.umd.min.js +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -0
- package/utils/objectutils.common.js +25 -17
- package/utils/objectutils.umd.js +25 -17
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +5481 -0
- package/utils/utils.umd.js +5491 -0
- package/utils/utils.umd.min.js +1 -0
- package/vetur-attributes.json +148 -20
- package/vetur-tags.json +57 -20
- package/web-types.json +477 -33
- package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
- package/datatable/ScrollableView.vue +0 -223
- package/datatable/scrollableview.umd.min.js +0 -1
- package/utils/FilterUtils.js +0 -176
- package/utils/filterutils.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,9 +5303,6 @@ 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
|
-
|
|
5309
5306
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js
|
|
5310
5307
|
var es6_string_iterator = __webpack_require__("5df3");
|
|
5311
5308
|
|
|
@@ -5377,7 +5374,7 @@ function _toConsumableArray(arr) {
|
|
|
5377
5374
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
5378
5375
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
5379
5376
|
|
|
5380
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5377
|
+
// 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&
|
|
5381
5378
|
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))}
|
|
5382
5379
|
var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
5383
5380
|
|
|
@@ -5391,10 +5388,9 @@ var InputTextvue_type_template_id_62d12252_staticRenderFns = []
|
|
|
5391
5388
|
|
|
5392
5389
|
|
|
5393
5390
|
|
|
5391
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5394
5392
|
|
|
5395
|
-
function
|
|
5396
|
-
|
|
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; }
|
|
5393
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5398
5394
|
|
|
5399
5395
|
//
|
|
5400
5396
|
//
|
|
@@ -5541,7 +5537,7 @@ var component = normalizeComponent(
|
|
|
5541
5537
|
)
|
|
5542
5538
|
|
|
5543
5539
|
/* harmony default export */ var InputText = (component.exports);
|
|
5544
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5540
|
+
// 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&
|
|
5545
5541
|
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)}
|
|
5546
5542
|
var Buttonvue_type_template_id_3d0cb6ac_staticRenderFns = []
|
|
5547
5543
|
|
|
@@ -5586,6 +5582,11 @@ function _defineProperties(target, props) {
|
|
|
5586
5582
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5587
5583
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5588
5584
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5585
|
+
|
|
5586
|
+
define_property_default()(Constructor, "prototype", {
|
|
5587
|
+
writable: false
|
|
5588
|
+
});
|
|
5589
|
+
|
|
5589
5590
|
return Constructor;
|
|
5590
5591
|
}
|
|
5591
5592
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -6118,6 +6119,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
6118
6119
|
|
|
6119
6120
|
return visibleFocusableElements;
|
|
6120
6121
|
}
|
|
6122
|
+
}, {
|
|
6123
|
+
key: "getFirstFocusableElement",
|
|
6124
|
+
value: function getFirstFocusableElement(element) {
|
|
6125
|
+
var focusableElements = this.getFocusableElements(element);
|
|
6126
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
6127
|
+
}
|
|
6121
6128
|
}, {
|
|
6122
6129
|
key: "isClickable",
|
|
6123
6130
|
value: function isClickable(element) {
|
|
@@ -6125,6 +6132,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
6125
6132
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
6126
6133
|
return targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' || parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' || this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') || this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton');
|
|
6127
6134
|
}
|
|
6135
|
+
}, {
|
|
6136
|
+
key: "applyStyle",
|
|
6137
|
+
value: function applyStyle(element, style) {
|
|
6138
|
+
if (typeof style === 'string') {
|
|
6139
|
+
element.style.cssText = this.style;
|
|
6140
|
+
} else {
|
|
6141
|
+
for (var prop in this.style) {
|
|
6142
|
+
element.style[prop] = style[prop];
|
|
6143
|
+
}
|
|
6144
|
+
}
|
|
6145
|
+
}
|
|
6128
6146
|
}, {
|
|
6129
6147
|
key: "isIOS",
|
|
6130
6148
|
value: function isIOS() {
|
|
@@ -6135,6 +6153,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
6135
6153
|
value: function isAndroid() {
|
|
6136
6154
|
return /(android)/i.test(navigator.userAgent);
|
|
6137
6155
|
}
|
|
6156
|
+
}, {
|
|
6157
|
+
key: "isTouchDevice",
|
|
6158
|
+
value: function isTouchDevice() {
|
|
6159
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
6160
|
+
}
|
|
6138
6161
|
}]);
|
|
6139
6162
|
|
|
6140
6163
|
return DomHandler;
|
|
@@ -6316,10 +6339,9 @@ var Button_component = normalizeComponent(
|
|
|
6316
6339
|
|
|
6317
6340
|
|
|
6318
6341
|
|
|
6342
|
+
function InputNumbervue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6319
6343
|
|
|
6320
|
-
function
|
|
6321
|
-
|
|
6322
|
-
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; }
|
|
6344
|
+
function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? InputNumbervue_type_script_lang_js_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : InputNumbervue_type_script_lang_js_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6323
6345
|
|
|
6324
6346
|
//
|
|
6325
6347
|
//
|
|
@@ -6333,6 +6355,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6333
6355
|
//
|
|
6334
6356
|
//
|
|
6335
6357
|
//
|
|
6358
|
+
//
|
|
6336
6359
|
|
|
6337
6360
|
|
|
6338
6361
|
/* harmony default export */ var InputNumbervue_type_script_lang_js_ = ({
|
|
@@ -6422,6 +6445,12 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6422
6445
|
type: Number,
|
|
6423
6446
|
default: 1
|
|
6424
6447
|
},
|
|
6448
|
+
allowEmpty: {
|
|
6449
|
+
type: Boolean,
|
|
6450
|
+
default: true
|
|
6451
|
+
},
|
|
6452
|
+
styles: null,
|
|
6453
|
+
className: null,
|
|
6425
6454
|
inputStyle: null,
|
|
6426
6455
|
inputClass: null
|
|
6427
6456
|
},
|
|
@@ -6441,10 +6470,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6441
6470
|
timer: null,
|
|
6442
6471
|
data: function data() {
|
|
6443
6472
|
return {
|
|
6473
|
+
d_value: null,
|
|
6444
6474
|
focused: false
|
|
6445
6475
|
};
|
|
6446
6476
|
},
|
|
6447
6477
|
watch: {
|
|
6478
|
+
value: function value(newValue) {
|
|
6479
|
+
this.d_value = newValue;
|
|
6480
|
+
},
|
|
6448
6481
|
locale: function locale(newValue, oldValue) {
|
|
6449
6482
|
this.updateConstructParser(newValue, oldValue);
|
|
6450
6483
|
},
|
|
@@ -6502,10 +6535,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6502
6535
|
return [d, i];
|
|
6503
6536
|
}));
|
|
6504
6537
|
this._numeral = new RegExp("[".concat(numerals.join(''), "]"), 'g');
|
|
6505
|
-
this._decimal = this.getDecimalExpression();
|
|
6506
6538
|
this._group = this.getGroupingExpression();
|
|
6507
6539
|
this._minusSign = this.getMinusSignExpression();
|
|
6508
6540
|
this._currency = this.getCurrencyExpression();
|
|
6541
|
+
this._decimal = this.getDecimalExpression();
|
|
6509
6542
|
this._suffix = this.getSuffixExpression();
|
|
6510
6543
|
this._prefix = this.getPrefixExpression();
|
|
6511
6544
|
|
|
@@ -6522,10 +6555,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6522
6555
|
return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
|
6523
6556
|
},
|
|
6524
6557
|
getDecimalExpression: function getDecimalExpression() {
|
|
6525
|
-
var formatter = new Intl.NumberFormat(this.locale, {
|
|
6558
|
+
var formatter = new Intl.NumberFormat(this.locale, InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.getOptions()), {}, {
|
|
6526
6559
|
useGrouping: false
|
|
6527
|
-
});
|
|
6528
|
-
return new RegExp("[".concat(formatter.format(1.1).trim().replace(this._numeral, ''), "]"), 'g');
|
|
6560
|
+
}));
|
|
6561
|
+
return new RegExp("[".concat(formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, ''), "]"), 'g');
|
|
6529
6562
|
},
|
|
6530
6563
|
getGroupingExpression: function getGroupingExpression() {
|
|
6531
6564
|
var formatter = new Intl.NumberFormat(this.locale, {
|
|
@@ -6545,9 +6578,11 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6545
6578
|
var formatter = new Intl.NumberFormat(this.locale, {
|
|
6546
6579
|
style: 'currency',
|
|
6547
6580
|
currency: this.currency,
|
|
6548
|
-
currencyDisplay: this.currencyDisplay
|
|
6581
|
+
currencyDisplay: this.currencyDisplay,
|
|
6582
|
+
minimumFractionDigits: 0,
|
|
6583
|
+
maximumFractionDigits: 0
|
|
6549
6584
|
});
|
|
6550
|
-
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this.
|
|
6585
|
+
return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, ''), "]"), 'g');
|
|
6551
6586
|
}
|
|
6552
6587
|
|
|
6553
6588
|
return new RegExp("[]", 'g');
|
|
@@ -6638,6 +6673,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6638
6673
|
var newValue = this.validateValue(currentValue + step);
|
|
6639
6674
|
this.updateInput(newValue, null, 'spin');
|
|
6640
6675
|
this.updateModel(event, newValue);
|
|
6676
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
6641
6677
|
}
|
|
6642
6678
|
},
|
|
6643
6679
|
onUpButtonMouseDown: function onUpButtonMouseDown(event) {
|
|
@@ -6694,7 +6730,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6694
6730
|
this.repeat(event, null, -1);
|
|
6695
6731
|
}
|
|
6696
6732
|
},
|
|
6697
|
-
|
|
6733
|
+
onUserInput: function onUserInput() {
|
|
6698
6734
|
if (this.isSpecialChar) {
|
|
6699
6735
|
this.$refs.input.$el.value = this.lastValue;
|
|
6700
6736
|
}
|
|
@@ -6762,19 +6798,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6762
6798
|
|
|
6763
6799
|
if (selectionStart === selectionEnd) {
|
|
6764
6800
|
var deleteChar = inputValue.charAt(selectionStart - 1);
|
|
6765
|
-
|
|
6766
|
-
|
|
6801
|
+
|
|
6802
|
+
var _this$getDecimalCharI = this.getDecimalCharIndexes(inputValue),
|
|
6803
|
+
decimalCharIndex = _this$getDecimalCharI.decimalCharIndex,
|
|
6804
|
+
decimalCharIndexWithoutPrefix = _this$getDecimalCharI.decimalCharIndexWithoutPrefix;
|
|
6767
6805
|
|
|
6768
6806
|
if (this.isNumeralChar(deleteChar)) {
|
|
6807
|
+
var decimalLength = this.getDecimalLength(inputValue);
|
|
6808
|
+
|
|
6769
6809
|
if (this._group.test(deleteChar)) {
|
|
6770
6810
|
this._group.lastIndex = 0;
|
|
6771
6811
|
newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
|
|
6772
6812
|
} else if (this._decimal.test(deleteChar)) {
|
|
6773
6813
|
this._decimal.lastIndex = 0;
|
|
6774
|
-
|
|
6814
|
+
|
|
6815
|
+
if (decimalLength) {
|
|
6816
|
+
this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
|
|
6817
|
+
} else {
|
|
6818
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
|
|
6819
|
+
}
|
|
6775
6820
|
} else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
6776
|
-
|
|
6777
|
-
|
|
6821
|
+
var insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
|
|
6822
|
+
newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
|
|
6823
|
+
} else if (decimalCharIndexWithoutPrefix === 1) {
|
|
6778
6824
|
newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
|
|
6779
6825
|
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
6780
6826
|
} else {
|
|
@@ -6798,20 +6844,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6798
6844
|
if (selectionStart === selectionEnd) {
|
|
6799
6845
|
var _deleteChar = inputValue.charAt(selectionStart);
|
|
6800
6846
|
|
|
6801
|
-
var
|
|
6802
|
-
|
|
6803
|
-
|
|
6847
|
+
var _this$getDecimalCharI2 = this.getDecimalCharIndexes(inputValue),
|
|
6848
|
+
_decimalCharIndex = _this$getDecimalCharI2.decimalCharIndex,
|
|
6849
|
+
_decimalCharIndexWithoutPrefix = _this$getDecimalCharI2.decimalCharIndexWithoutPrefix;
|
|
6804
6850
|
|
|
6805
6851
|
if (this.isNumeralChar(_deleteChar)) {
|
|
6852
|
+
var _decimalLength = this.getDecimalLength(inputValue);
|
|
6853
|
+
|
|
6806
6854
|
if (this._group.test(_deleteChar)) {
|
|
6807
6855
|
this._group.lastIndex = 0;
|
|
6808
6856
|
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
|
|
6809
6857
|
} else if (this._decimal.test(_deleteChar)) {
|
|
6810
6858
|
this._decimal.lastIndex = 0;
|
|
6811
|
-
|
|
6859
|
+
|
|
6860
|
+
if (_decimalLength) {
|
|
6861
|
+
this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
|
|
6862
|
+
} else {
|
|
6863
|
+
newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
|
|
6864
|
+
}
|
|
6812
6865
|
} else if (_decimalCharIndex > 0 && selectionStart > _decimalCharIndex) {
|
|
6813
|
-
|
|
6814
|
-
|
|
6866
|
+
var _insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < _decimalLength ? '' : '0';
|
|
6867
|
+
|
|
6868
|
+
newValueStr = inputValue.slice(0, selectionStart) + _insertedText + inputValue.slice(selectionStart + 1);
|
|
6869
|
+
} else if (_decimalCharIndexWithoutPrefix === 1) {
|
|
6815
6870
|
newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
|
|
6816
6871
|
newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
|
|
6817
6872
|
} else {
|
|
@@ -6861,7 +6916,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6861
6916
|
return this.min === null || this.min < 0;
|
|
6862
6917
|
},
|
|
6863
6918
|
isMinusSign: function isMinusSign(char) {
|
|
6864
|
-
if (this._minusSign.test(char)) {
|
|
6919
|
+
if (this._minusSign.test(char) || char === '-') {
|
|
6865
6920
|
this._minusSign.lastIndex = 0;
|
|
6866
6921
|
return true;
|
|
6867
6922
|
}
|
|
@@ -6876,6 +6931,36 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6876
6931
|
|
|
6877
6932
|
return false;
|
|
6878
6933
|
},
|
|
6934
|
+
isDecimalMode: function isDecimalMode() {
|
|
6935
|
+
return this.mode === 'decimal';
|
|
6936
|
+
},
|
|
6937
|
+
getDecimalCharIndexes: function getDecimalCharIndexes(val) {
|
|
6938
|
+
var decimalCharIndex = val.search(this._decimal);
|
|
6939
|
+
this._decimal.lastIndex = 0;
|
|
6940
|
+
var filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
|
|
6941
|
+
var decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
|
|
6942
|
+
this._decimal.lastIndex = 0;
|
|
6943
|
+
return {
|
|
6944
|
+
decimalCharIndex: decimalCharIndex,
|
|
6945
|
+
decimalCharIndexWithoutPrefix: decimalCharIndexWithoutPrefix
|
|
6946
|
+
};
|
|
6947
|
+
},
|
|
6948
|
+
getCharIndexes: function getCharIndexes(val) {
|
|
6949
|
+
var decimalCharIndex = val.search(this._decimal);
|
|
6950
|
+
this._decimal.lastIndex = 0;
|
|
6951
|
+
var minusCharIndex = val.search(this._minusSign);
|
|
6952
|
+
this._minusSign.lastIndex = 0;
|
|
6953
|
+
var suffixCharIndex = val.search(this._suffix);
|
|
6954
|
+
this._suffix.lastIndex = 0;
|
|
6955
|
+
var currencyCharIndex = val.search(this._currency);
|
|
6956
|
+
this._currency.lastIndex = 0;
|
|
6957
|
+
return {
|
|
6958
|
+
decimalCharIndex: decimalCharIndex,
|
|
6959
|
+
minusCharIndex: minusCharIndex,
|
|
6960
|
+
suffixCharIndex: suffixCharIndex,
|
|
6961
|
+
currencyCharIndex: currencyCharIndex
|
|
6962
|
+
};
|
|
6963
|
+
},
|
|
6879
6964
|
insert: function insert(event, text) {
|
|
6880
6965
|
var sign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
6881
6966
|
isDecimalSign: false,
|
|
@@ -6891,10 +6976,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6891
6976
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
6892
6977
|
var selectionEnd = this.$refs.input.$el.selectionEnd;
|
|
6893
6978
|
var inputValue = this.$refs.input.$el.value.trim();
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6979
|
+
|
|
6980
|
+
var _this$getCharIndexes = this.getCharIndexes(inputValue),
|
|
6981
|
+
decimalCharIndex = _this$getCharIndexes.decimalCharIndex,
|
|
6982
|
+
minusCharIndex = _this$getCharIndexes.minusCharIndex,
|
|
6983
|
+
suffixCharIndex = _this$getCharIndexes.suffixCharIndex,
|
|
6984
|
+
currencyCharIndex = _this$getCharIndexes.currencyCharIndex;
|
|
6985
|
+
|
|
6898
6986
|
var newValueStr;
|
|
6899
6987
|
|
|
6900
6988
|
if (sign.isMinusSign) {
|
|
@@ -6913,6 +7001,9 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6913
7001
|
} else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
|
|
6914
7002
|
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
6915
7003
|
this.updateValue(event, newValueStr, text, 'insert');
|
|
7004
|
+
} else if (decimalCharIndex === -1 && this.maxFractionDigits) {
|
|
7005
|
+
newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
|
|
7006
|
+
this.updateValue(event, newValueStr, text, 'insert');
|
|
6916
7007
|
}
|
|
6917
7008
|
} else {
|
|
6918
7009
|
var maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
|
|
@@ -6920,7 +7011,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6920
7011
|
|
|
6921
7012
|
if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
|
|
6922
7013
|
if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
|
|
6923
|
-
|
|
7014
|
+
var charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
|
|
7015
|
+
newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
|
|
6924
7016
|
this.updateValue(event, newValueStr, text, operation);
|
|
6925
7017
|
}
|
|
6926
7018
|
} else {
|
|
@@ -6930,7 +7022,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6930
7022
|
}
|
|
6931
7023
|
},
|
|
6932
7024
|
insertText: function insertText(value, text, start, end) {
|
|
6933
|
-
var textSplit = text.split('.');
|
|
7025
|
+
var textSplit = text === '.' ? text : text.split('.');
|
|
6934
7026
|
|
|
6935
7027
|
if (textSplit.length === 2) {
|
|
6936
7028
|
var decimalCharIndex = value.slice(start, end).search(this._decimal);
|
|
@@ -6955,11 +7047,15 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6955
7047
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
6956
7048
|
var inputValue = this.$refs.input.$el.value;
|
|
6957
7049
|
var valueLength = inputValue.length;
|
|
6958
|
-
var index = null;
|
|
7050
|
+
var index = null; // remove prefix
|
|
7051
|
+
|
|
7052
|
+
var prefixLength = (this.prefixChar || '').length;
|
|
7053
|
+
inputValue = inputValue.replace(this._prefix, '');
|
|
7054
|
+
selectionStart = selectionStart - prefixLength;
|
|
6959
7055
|
var char = inputValue.charAt(selectionStart);
|
|
6960
7056
|
|
|
6961
7057
|
if (this.isNumeralChar(char)) {
|
|
6962
|
-
return;
|
|
7058
|
+
return selectionStart + prefixLength;
|
|
6963
7059
|
} //left
|
|
6964
7060
|
|
|
6965
7061
|
|
|
@@ -6969,7 +7065,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6969
7065
|
char = inputValue.charAt(i);
|
|
6970
7066
|
|
|
6971
7067
|
if (this.isNumeralChar(char)) {
|
|
6972
|
-
index = i;
|
|
7068
|
+
index = i + prefixLength;
|
|
6973
7069
|
break;
|
|
6974
7070
|
} else {
|
|
6975
7071
|
i--;
|
|
@@ -6979,13 +7075,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6979
7075
|
if (index !== null) {
|
|
6980
7076
|
this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
|
|
6981
7077
|
} else {
|
|
6982
|
-
i = selectionStart
|
|
7078
|
+
i = selectionStart;
|
|
6983
7079
|
|
|
6984
7080
|
while (i < valueLength) {
|
|
6985
7081
|
char = inputValue.charAt(i);
|
|
6986
7082
|
|
|
6987
7083
|
if (this.isNumeralChar(char)) {
|
|
6988
|
-
index = i;
|
|
7084
|
+
index = i + prefixLength;
|
|
6989
7085
|
break;
|
|
6990
7086
|
} else {
|
|
6991
7087
|
i++;
|
|
@@ -6996,6 +7092,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
6996
7092
|
this.$refs.input.$el.setSelectionRange(index, index);
|
|
6997
7093
|
}
|
|
6998
7094
|
}
|
|
7095
|
+
|
|
7096
|
+
return index || 0;
|
|
6999
7097
|
},
|
|
7000
7098
|
onInputClick: function onInputClick() {
|
|
7001
7099
|
this.initCursor();
|
|
@@ -7015,12 +7113,38 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7015
7113
|
this._minusSign.lastIndex = 0;
|
|
7016
7114
|
},
|
|
7017
7115
|
updateValue: function updateValue(event, valueStr, insertedValueStr, operation) {
|
|
7116
|
+
var currentValue = this.$refs.input.$el.value;
|
|
7117
|
+
var newValue = null;
|
|
7118
|
+
|
|
7018
7119
|
if (valueStr != null) {
|
|
7019
|
-
|
|
7020
|
-
this.
|
|
7120
|
+
newValue = this.parseValue(valueStr);
|
|
7121
|
+
newValue = !newValue && !this.allowEmpty ? 0 : newValue;
|
|
7122
|
+
this.updateInput(newValue, insertedValueStr, operation, valueStr);
|
|
7123
|
+
this.handleOnInput(event, currentValue, newValue);
|
|
7124
|
+
}
|
|
7125
|
+
},
|
|
7126
|
+
handleOnInput: function handleOnInput(event, currentValue, newValue) {
|
|
7127
|
+
if (this.isValueChanged(currentValue, newValue)) {
|
|
7128
|
+
this.$emit('input', newValue);
|
|
7021
7129
|
}
|
|
7022
7130
|
},
|
|
7131
|
+
isValueChanged: function isValueChanged(currentValue, newValue) {
|
|
7132
|
+
if (newValue === null && currentValue !== null) {
|
|
7133
|
+
return true;
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
if (newValue != null) {
|
|
7137
|
+
var parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
|
|
7138
|
+
return newValue !== parsedCurrentValue;
|
|
7139
|
+
}
|
|
7140
|
+
|
|
7141
|
+
return false;
|
|
7142
|
+
},
|
|
7023
7143
|
validateValue: function validateValue(value) {
|
|
7144
|
+
if (value === '-' || value == null) {
|
|
7145
|
+
return null;
|
|
7146
|
+
}
|
|
7147
|
+
|
|
7024
7148
|
if (this.min != null && value < this.min) {
|
|
7025
7149
|
return this.min;
|
|
7026
7150
|
}
|
|
@@ -7029,25 +7153,23 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7029
7153
|
return this.max;
|
|
7030
7154
|
}
|
|
7031
7155
|
|
|
7032
|
-
if (value === '-') {
|
|
7033
|
-
// Minus sign
|
|
7034
|
-
return null;
|
|
7035
|
-
}
|
|
7036
|
-
|
|
7037
7156
|
return value;
|
|
7038
7157
|
},
|
|
7039
|
-
updateInput: function updateInput(value, insertedValueStr, operation) {
|
|
7158
|
+
updateInput: function updateInput(value, insertedValueStr, operation, valueStr) {
|
|
7040
7159
|
insertedValueStr = insertedValueStr || '';
|
|
7041
7160
|
var inputValue = this.$refs.input.$el.value;
|
|
7042
7161
|
var newValue = this.formatValue(value);
|
|
7043
7162
|
var currentLength = inputValue.length;
|
|
7044
7163
|
|
|
7164
|
+
if (newValue !== valueStr) {
|
|
7165
|
+
newValue = this.concatValues(newValue, valueStr);
|
|
7166
|
+
}
|
|
7167
|
+
|
|
7045
7168
|
if (currentLength === 0) {
|
|
7046
7169
|
this.$refs.input.$el.value = newValue;
|
|
7047
7170
|
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
7048
|
-
this.initCursor();
|
|
7049
|
-
var
|
|
7050
|
-
var selectionEnd = prefixLength + insertedValueStr.length;
|
|
7171
|
+
var index = this.initCursor();
|
|
7172
|
+
var selectionEnd = index + insertedValueStr.length;
|
|
7051
7173
|
this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
|
|
7052
7174
|
} else {
|
|
7053
7175
|
var selectionStart = this.$refs.input.$el.selectionStart;
|
|
@@ -7083,6 +7205,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7083
7205
|
|
|
7084
7206
|
this._group.lastIndex = 0;
|
|
7085
7207
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
7208
|
+
} else if (inputValue === '-' && operation === 'insert') {
|
|
7209
|
+
this.$refs.input.$el.setSelectionRange(0, 0);
|
|
7210
|
+
|
|
7211
|
+
var _index = this.initCursor();
|
|
7212
|
+
|
|
7213
|
+
var _selectionEnd2 = _index + insertedValueStr.length + 1;
|
|
7214
|
+
|
|
7215
|
+
this.$refs.input.$el.setSelectionRange(_selectionEnd2, _selectionEnd2);
|
|
7086
7216
|
} else {
|
|
7087
7217
|
_selectionEnd = _selectionEnd + (newLength - currentLength);
|
|
7088
7218
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
@@ -7091,12 +7221,32 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7091
7221
|
|
|
7092
7222
|
this.$refs.input.$el.setAttribute('aria-valuenow', value);
|
|
7093
7223
|
},
|
|
7224
|
+
concatValues: function concatValues(val1, val2) {
|
|
7225
|
+
if (val1 && val2) {
|
|
7226
|
+
var decimalCharIndex = val2.search(this._decimal);
|
|
7227
|
+
this._decimal.lastIndex = 0;
|
|
7228
|
+
return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
return val1;
|
|
7232
|
+
},
|
|
7233
|
+
getDecimalLength: function getDecimalLength(value) {
|
|
7234
|
+
if (value) {
|
|
7235
|
+
var valueSplit = value.split(this._decimal);
|
|
7236
|
+
|
|
7237
|
+
if (valueSplit.length === 2) {
|
|
7238
|
+
return valueSplit[1].replace(this._suffix, '').trim().replace(/\s/g, '').replace(this._currency, '').length;
|
|
7239
|
+
}
|
|
7240
|
+
}
|
|
7241
|
+
|
|
7242
|
+
return 0;
|
|
7243
|
+
},
|
|
7094
7244
|
updateModel: function updateModel(event, value) {
|
|
7245
|
+
this.d_value = value;
|
|
7095
7246
|
this.$emit('input', value);
|
|
7096
7247
|
},
|
|
7097
|
-
onInputFocus: function onInputFocus(
|
|
7248
|
+
onInputFocus: function onInputFocus() {
|
|
7098
7249
|
this.focused = true;
|
|
7099
|
-
this.$emit('focus', event);
|
|
7100
7250
|
},
|
|
7101
7251
|
onInputBlur: function onInputBlur(event) {
|
|
7102
7252
|
this.focused = false;
|
|
@@ -7105,17 +7255,22 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7105
7255
|
input.value = this.formatValue(newValue);
|
|
7106
7256
|
input.setAttribute('aria-valuenow', newValue);
|
|
7107
7257
|
this.updateModel(event, newValue);
|
|
7108
|
-
this.$emit('blur', event);
|
|
7109
7258
|
},
|
|
7110
7259
|
clearTimer: function clearTimer() {
|
|
7111
7260
|
if (this.timer) {
|
|
7112
7261
|
clearInterval(this.timer);
|
|
7113
7262
|
}
|
|
7263
|
+
},
|
|
7264
|
+
maxBoundry: function maxBoundry() {
|
|
7265
|
+
return this.d_value >= this.max;
|
|
7266
|
+
},
|
|
7267
|
+
minBoundry: function minBoundry() {
|
|
7268
|
+
return this.d_value <= this.min;
|
|
7114
7269
|
}
|
|
7115
7270
|
},
|
|
7116
7271
|
computed: {
|
|
7117
7272
|
containerClass: function containerClass() {
|
|
7118
|
-
return ['p-inputnumber p-component', {
|
|
7273
|
+
return ['p-inputnumber p-component p-inputwrapper', this.className, {
|
|
7119
7274
|
'p-inputwrapper-filled': this.filled,
|
|
7120
7275
|
'p-inputwrapper-focus': this.focused,
|
|
7121
7276
|
'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
|
|
@@ -7124,85 +7279,66 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
|
|
|
7124
7279
|
}];
|
|
7125
7280
|
},
|
|
7126
7281
|
upButtonClass: function upButtonClass() {
|
|
7127
|
-
return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass
|
|
7282
|
+
return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
|
|
7283
|
+
'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
|
|
7284
|
+
}];
|
|
7128
7285
|
},
|
|
7129
7286
|
downButtonClass: function downButtonClass() {
|
|
7130
|
-
return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass
|
|
7287
|
+
return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
|
|
7288
|
+
'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
|
|
7289
|
+
}];
|
|
7131
7290
|
},
|
|
7132
7291
|
filled: function filled() {
|
|
7133
7292
|
return this.value != null && this.value.toString().length > 0;
|
|
7134
7293
|
},
|
|
7135
|
-
listeners: function listeners() {
|
|
7136
|
-
var _this2 = this;
|
|
7137
|
-
|
|
7138
|
-
return InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.$listeners), {}, {
|
|
7139
|
-
input: function input(val) {
|
|
7140
|
-
return _this2.onInput(val);
|
|
7141
|
-
},
|
|
7142
|
-
keydown: function keydown(event) {
|
|
7143
|
-
return _this2.onInputKeyDown(event);
|
|
7144
|
-
},
|
|
7145
|
-
keypress: function keypress(event) {
|
|
7146
|
-
return _this2.onInputKeyPress(event);
|
|
7147
|
-
},
|
|
7148
|
-
paste: function paste(event) {
|
|
7149
|
-
return _this2.onPaste(event);
|
|
7150
|
-
},
|
|
7151
|
-
click: function click(event) {
|
|
7152
|
-
return _this2.onInputClick(event);
|
|
7153
|
-
},
|
|
7154
|
-
focus: function focus(event) {
|
|
7155
|
-
return _this2.onInputFocus(event);
|
|
7156
|
-
},
|
|
7157
|
-
blur: function blur(event) {
|
|
7158
|
-
return _this2.onInputBlur(event);
|
|
7159
|
-
}
|
|
7160
|
-
});
|
|
7161
|
-
},
|
|
7162
7294
|
upButtonListeners: function upButtonListeners() {
|
|
7163
|
-
var
|
|
7295
|
+
var _this2 = this;
|
|
7164
7296
|
|
|
7165
7297
|
return {
|
|
7166
7298
|
mousedown: function mousedown(event) {
|
|
7167
|
-
return
|
|
7299
|
+
return _this2.onUpButtonMouseDown(event);
|
|
7168
7300
|
},
|
|
7169
7301
|
mouseup: function mouseup(event) {
|
|
7170
|
-
return
|
|
7302
|
+
return _this2.onUpButtonMouseUp(event);
|
|
7171
7303
|
},
|
|
7172
7304
|
mouseleave: function mouseleave(event) {
|
|
7173
|
-
return
|
|
7305
|
+
return _this2.onUpButtonMouseLeave(event);
|
|
7174
7306
|
},
|
|
7175
7307
|
keydown: function keydown(event) {
|
|
7176
|
-
return
|
|
7308
|
+
return _this2.onUpButtonKeyDown(event);
|
|
7177
7309
|
},
|
|
7178
7310
|
keyup: function keyup(event) {
|
|
7179
|
-
return
|
|
7311
|
+
return _this2.onUpButtonKeyUp(event);
|
|
7180
7312
|
}
|
|
7181
7313
|
};
|
|
7182
7314
|
},
|
|
7183
7315
|
downButtonListeners: function downButtonListeners() {
|
|
7184
|
-
var
|
|
7316
|
+
var _this3 = this;
|
|
7185
7317
|
|
|
7186
7318
|
return {
|
|
7187
7319
|
mousedown: function mousedown(event) {
|
|
7188
|
-
return
|
|
7320
|
+
return _this3.onDownButtonMouseDown(event);
|
|
7189
7321
|
},
|
|
7190
7322
|
mouseup: function mouseup(event) {
|
|
7191
|
-
return
|
|
7323
|
+
return _this3.onDownButtonMouseUp(event);
|
|
7192
7324
|
},
|
|
7193
7325
|
mouseleave: function mouseleave(event) {
|
|
7194
|
-
return
|
|
7326
|
+
return _this3.onDownButtonMouseLeave(event);
|
|
7195
7327
|
},
|
|
7196
7328
|
keydown: function keydown(event) {
|
|
7197
|
-
return
|
|
7329
|
+
return _this3.onDownButtonKeyDown(event);
|
|
7198
7330
|
},
|
|
7199
7331
|
keyup: function keyup(event) {
|
|
7200
|
-
return
|
|
7332
|
+
return _this3.onDownButtonKeyUp(event);
|
|
7201
7333
|
}
|
|
7202
7334
|
};
|
|
7203
7335
|
},
|
|
7204
7336
|
formattedValue: function formattedValue() {
|
|
7205
|
-
|
|
7337
|
+
var val = !this.value && !this.allowEmpty ? 0 : this.value;
|
|
7338
|
+
return this.formatValue(val);
|
|
7339
|
+
},
|
|
7340
|
+
getFormatter: function getFormatter() {
|
|
7341
|
+
return this.numberFormat;
|
|
7206
7342
|
}
|
|
7207
7343
|
},
|
|
7208
7344
|
components: {
|