primevue 3.13.1 → 3.14.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/.editorconfig +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +98 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +5 -0
- package/CHANGELOG.md +2236 -0
- package/api-generator/build-api.js +164 -0
- package/api-generator/components/accordion.js +76 -0
- package/api-generator/components/accordiontab.js +22 -0
- package/api-generator/components/autocomplete.js +246 -0
- package/api-generator/components/avatar.js +48 -0
- package/api-generator/components/avatargroup.js +7 -0
- package/api-generator/components/badge.js +28 -0
- package/api-generator/components/badgedirective.js +26 -0
- package/api-generator/components/blockui.js +46 -0
- package/api-generator/components/breadcrumb.js +36 -0
- package/api-generator/components/button.js +52 -0
- package/api-generator/components/calendar.js +403 -0
- package/api-generator/components/card.js +30 -0
- package/api-generator/components/carousel.js +98 -0
- package/api-generator/components/cascadeselect.js +174 -0
- package/api-generator/components/chart.js +92 -0
- package/api-generator/components/checkbox.js +68 -0
- package/api-generator/components/chip.js +55 -0
- package/api-generator/components/chips.js +96 -0
- package/api-generator/components/colorpicker.js +104 -0
- package/api-generator/components/column.js +298 -0
- package/api-generator/components/columngroup.js +7 -0
- package/api-generator/components/confirmdialog.js +22 -0
- package/api-generator/components/confirmpopup.js +24 -0
- package/api-generator/components/contextmenu.js +54 -0
- package/api-generator/components/datatable.js +1161 -0
- package/api-generator/components/dataview.js +168 -0
- package/api-generator/components/dataviewlayoutoptions.js +7 -0
- package/api-generator/components/deferredcontent.js +21 -0
- package/api-generator/components/dialog.js +203 -0
- package/api-generator/components/divider.js +28 -0
- package/api-generator/components/dock.js +58 -0
- package/api-generator/components/dropdown.js +301 -0
- package/api-generator/components/dynamicdialog.js +15 -0
- package/api-generator/components/editor.js +94 -0
- package/api-generator/components/fieldset.js +57 -0
- package/api-generator/components/fileupload.js +293 -0
- package/api-generator/components/fullcalendar.js +22 -0
- package/api-generator/components/galleria.js +182 -0
- package/api-generator/components/image.js +40 -0
- package/api-generator/components/inlinemessage.js +17 -0
- package/api-generator/components/inplace.js +66 -0
- package/api-generator/components/inputmask.js +40 -0
- package/api-generator/components/inputnumber.js +219 -0
- package/api-generator/components/inputswitch.js +56 -0
- package/api-generator/components/inputtext.js +16 -0
- package/api-generator/components/knob.js +103 -0
- package/api-generator/components/listbox.js +202 -0
- package/api-generator/components/megamenu.js +44 -0
- package/api-generator/components/menu.js +66 -0
- package/api-generator/components/menubar.js +38 -0
- package/api-generator/components/message.js +55 -0
- package/api-generator/components/multiselect.js +318 -0
- package/api-generator/components/orderlist.js +120 -0
- package/api-generator/components/organizationchart.js +88 -0
- package/api-generator/components/overlaypanel.js +64 -0
- package/api-generator/components/paginator.js +100 -0
- package/api-generator/components/panel.js +60 -0
- package/api-generator/components/panelmenu.js +36 -0
- package/api-generator/components/password.js +128 -0
- package/api-generator/components/picklist.js +208 -0
- package/api-generator/components/portal.js +28 -0
- package/api-generator/components/progressbar.js +28 -0
- package/api-generator/components/progressspinner.js +28 -0
- package/api-generator/components/radiobutton.js +60 -0
- package/api-generator/components/rating.js +60 -0
- package/api-generator/components/ripple.js +7 -0
- package/api-generator/components/row.js +7 -0
- package/api-generator/components/scrollpanel.js +6 -0
- package/api-generator/components/scrolltop.js +34 -0
- package/api-generator/components/selectbutton.js +114 -0
- package/api-generator/components/sidebar.js +78 -0
- package/api-generator/components/skeleton.js +46 -0
- package/api-generator/components/slider.js +89 -0
- package/api-generator/components/speeddial.js +153 -0
- package/api-generator/components/splitbutton.js +73 -0
- package/api-generator/components/splitter.js +54 -0
- package/api-generator/components/splitterpanel.js +23 -0
- package/api-generator/components/steps.js +42 -0
- package/api-generator/components/styleclass.js +7 -0
- package/api-generator/components/tabmenu.js +56 -0
- package/api-generator/components/tabpanel.js +59 -0
- package/api-generator/components/tabview.js +28 -0
- package/api-generator/components/tag.js +34 -0
- package/api-generator/components/terminal.js +22 -0
- package/api-generator/components/textarea.js +22 -0
- package/api-generator/components/tieredmenu.js +54 -0
- package/api-generator/components/timeline.js +54 -0
- package/api-generator/components/toast.js +48 -0
- package/api-generator/components/togglebutton.js +61 -0
- package/api-generator/components/toolbar.js +18 -0
- package/api-generator/components/tooltip.js +34 -0
- package/api-generator/components/tree.js +136 -0
- package/api-generator/components/treeselect.js +193 -0
- package/api-generator/components/treetable.js +473 -0
- package/api-generator/components/tristatecheckbox.js +28 -0
- package/api-generator/components/virtualscroller.js +169 -0
- package/build-meta.js +17 -0
- package/gulpfile.js +37 -0
- package/jest.config.js +35 -0
- package/package-build.json +32 -0
- package/package.json +71 -31
- package/rollup.config.js +200 -0
- package/accordion/Accordion.d.ts +0 -90
- package/accordion/Accordion.vue +0 -169
- package/accordion/accordion.cjs.js +0 -227
- package/accordion/accordion.cjs.min.js +0 -1
- package/accordion/accordion.esm.js +0 -225
- package/accordion/accordion.esm.min.js +0 -1
- package/accordion/accordion.js +0 -228
- package/accordion/accordion.min.js +0 -1
- package/accordion/package.json +0 -9
- package/accordiontab/AccordionTab.d.ts +0 -45
- package/accordiontab/AccordionTab.vue +0 -13
- package/accordiontab/accordiontab.cjs.js +0 -19
- package/accordiontab/accordiontab.cjs.min.js +0 -1
- package/accordiontab/accordiontab.esm.js +0 -17
- package/accordiontab/accordiontab.esm.min.js +0 -1
- package/accordiontab/accordiontab.js +0 -21
- package/accordiontab/accordiontab.min.js +0 -1
- package/accordiontab/package.json +0 -9
- package/api/Api.d.ts +0 -303
- package/api/api.cjs.js +0 -518
- package/api/api.cjs.min.js +0 -1
- package/api/api.esm.js +0 -510
- package/api/api.esm.min.js +0 -1
- package/api/api.js +0 -522
- package/api/api.min.js +0 -1
- package/api/package.json +0 -6
- package/autocomplete/AutoComplete.d.ts +0 -303
- package/autocomplete/AutoComplete.vue +0 -736
- package/autocomplete/autocomplete.cjs.js +0 -837
- package/autocomplete/autocomplete.cjs.min.js +0 -1
- package/autocomplete/autocomplete.esm.js +0 -827
- package/autocomplete/autocomplete.esm.min.js +0 -1
- package/autocomplete/autocomplete.js +0 -833
- package/autocomplete/autocomplete.min.js +0 -1
- package/autocomplete/package.json +0 -9
- package/avatar/Avatar.d.ts +0 -62
- package/avatar/Avatar.vue +0 -82
- package/avatar/avatar.cjs.js +0 -104
- package/avatar/avatar.cjs.min.js +0 -1
- package/avatar/avatar.esm.js +0 -102
- package/avatar/avatar.esm.min.js +0 -1
- package/avatar/avatar.js +0 -106
- package/avatar/avatar.min.js +0 -1
- package/avatar/package.json +0 -9
- package/avatargroup/AvatarGroup.d.ts +0 -33
- package/avatargroup/AvatarGroup.vue +0 -22
- package/avatargroup/avatargroup.cjs.js +0 -49
- package/avatargroup/avatargroup.cjs.min.js +0 -1
- package/avatargroup/avatargroup.esm.js +0 -47
- package/avatargroup/avatargroup.esm.min.js +0 -1
- package/avatargroup/avatargroup.js +0 -51
- package/avatargroup/avatargroup.min.js +0 -1
- package/avatargroup/package.json +0 -9
- package/badge/Badge.d.ts +0 -52
- package/badge/Badge.vue +0 -33
- package/badge/badge.cjs.js +0 -43
- package/badge/badge.cjs.min.js +0 -1
- package/badge/badge.esm.js +0 -41
- package/badge/badge.esm.min.js +0 -1
- package/badge/badge.js +0 -45
- package/badge/badge.min.js +0 -1
- package/badge/package.json +0 -9
- package/badgedirective/BadgeDirective.d.ts +0 -5
- package/badgedirective/badgedirective.cjs.js +0 -58
- package/badgedirective/badgedirective.cjs.min.js +0 -1
- package/badgedirective/badgedirective.esm.js +0 -56
- package/badgedirective/badgedirective.esm.min.js +0 -1
- package/badgedirective/badgedirective.js +0 -60
- package/badgedirective/badgedirective.min.js +0 -1
- package/badgedirective/package.json +0 -6
- package/blockui/BlockUI.d.ts +0 -60
- package/blockui/BlockUI.vue +0 -110
- package/blockui/blockui.cjs.js +0 -126
- package/blockui/blockui.cjs.min.js +0 -1
- package/blockui/blockui.esm.js +0 -124
- package/blockui/blockui.esm.min.js +0 -1
- package/blockui/blockui.js +0 -127
- package/blockui/blockui.min.js +0 -1
- package/blockui/package.json +0 -9
- package/breadcrumb/Breadcrumb.d.ts +0 -58
- package/breadcrumb/Breadcrumb.vue +0 -63
- package/breadcrumb/BreadcrumbItem.vue +0 -65
- package/breadcrumb/breadcrumb.cjs.js +0 -214
- package/breadcrumb/breadcrumb.cjs.min.js +0 -1
- package/breadcrumb/breadcrumb.esm.js +0 -212
- package/breadcrumb/breadcrumb.esm.min.js +0 -1
- package/breadcrumb/breadcrumb.js +0 -216
- package/breadcrumb/breadcrumb.min.js +0 -1
- package/breadcrumb/package.json +0 -10
- package/button/Button.d.ts +0 -74
- package/button/Button.vue +0 -81
- package/button/button.cjs.js +0 -116
- package/button/button.cjs.min.js +0 -1
- package/button/button.esm.js +0 -110
- package/button/button.esm.min.js +0 -1
- package/button/button.js +0 -117
- package/button/button.min.js +0 -1
- package/button/package.json +0 -9
- package/calendar/Calendar.d.ts +0 -361
- package/calendar/Calendar.vue +0 -2670
- package/calendar/calendar.cjs.js +0 -2921
- package/calendar/calendar.cjs.min.js +0 -1
- package/calendar/calendar.esm.js +0 -2912
- package/calendar/calendar.esm.min.js +0 -1
- package/calendar/calendar.js +0 -2918
- package/calendar/calendar.min.js +0 -1
- package/calendar/package.json +0 -9
- package/card/Card.d.ts +0 -50
- package/card/Card.vue +0 -29
- package/card/card.cjs.js +0 -91
- package/card/card.cjs.min.js +0 -1
- package/card/card.esm.js +0 -89
- package/card/card.esm.min.js +0 -1
- package/card/card.js +0 -93
- package/card/card.min.js +0 -1
- package/card/package.json +0 -9
- package/carousel/Carousel.d.ts +0 -130
- package/carousel/Carousel.vue +0 -574
- package/carousel/carousel.cjs.js +0 -630
- package/carousel/carousel.cjs.min.js +0 -1
- package/carousel/carousel.esm.js +0 -624
- package/carousel/carousel.esm.min.js +0 -1
- package/carousel/carousel.js +0 -630
- package/carousel/carousel.min.js +0 -1
- package/carousel/package.json +0 -9
- package/cascadeselect/CascadeSelect.d.ts +0 -184
- package/cascadeselect/CascadeSelect.vue +0 -426
- package/cascadeselect/CascadeSelectSub.vue +0 -182
- package/cascadeselect/cascadeselect.cjs.js +0 -668
- package/cascadeselect/cascadeselect.cjs.min.js +0 -1
- package/cascadeselect/cascadeselect.esm.js +0 -660
- package/cascadeselect/cascadeselect.esm.min.js +0 -1
- package/cascadeselect/cascadeselect.js +0 -666
- package/cascadeselect/cascadeselect.min.js +0 -1
- package/cascadeselect/package.json +0 -9
- package/chart/Chart.d.ts +0 -109
- package/chart/Chart.vue +0 -113
- package/chart/chart.cjs.js +0 -169
- package/chart/chart.cjs.min.js +0 -1
- package/chart/chart.esm.js +0 -149
- package/chart/chart.esm.min.js +0 -1
- package/chart/chart.js +0 -153
- package/chart/chart.min.js +0 -1
- package/chart/package.json +0 -9
- package/checkbox/Checkbox.d.ts +0 -77
- package/checkbox/Checkbox.vue +0 -77
- package/checkbox/checkbox.cjs.js +0 -105
- package/checkbox/checkbox.cjs.min.js +0 -1
- package/checkbox/checkbox.esm.js +0 -103
- package/checkbox/checkbox.esm.min.js +0 -1
- package/checkbox/checkbox.js +0 -106
- package/checkbox/checkbox.min.js +0 -1
- package/checkbox/package.json +0 -9
- package/chip/Chip.d.ts +0 -60
- package/chip/Chip.vue +0 -88
- package/chip/chip.cjs.js +0 -129
- package/chip/chip.cjs.min.js +0 -1
- package/chip/chip.esm.js +0 -127
- package/chip/chip.esm.min.js +0 -1
- package/chip/chip.js +0 -131
- package/chip/chip.min.js +0 -1
- package/chip/package.json +0 -9
- package/chips/Chips.d.ts +0 -100
- package/chips/Chips.vue +0 -204
- package/chips/chips.cjs.js +0 -220
- package/chips/chips.cjs.min.js +0 -1
- package/chips/chips.esm.js +0 -218
- package/chips/chips.esm.min.js +0 -1
- package/chips/chips.js +0 -222
- package/chips/chips.min.js +0 -1
- package/chips/package.json +0 -9
- package/colorpicker/ColorPicker.d.ts +0 -112
- package/colorpicker/ColorPicker.vue +0 -674
- package/colorpicker/colorpicker.cjs.js +0 -676
- package/colorpicker/colorpicker.cjs.min.js +0 -1
- package/colorpicker/colorpicker.esm.js +0 -669
- package/colorpicker/colorpicker.esm.min.js +0 -1
- package/colorpicker/colorpicker.js +0 -675
- package/colorpicker/colorpicker.min.js +0 -1
- package/colorpicker/package.json +0 -9
- package/column/Column.d.ts +0 -484
- package/column/Column.vue +0 -182
- package/column/column.cjs.js +0 -184
- package/column/column.cjs.min.js +0 -1
- package/column/column.esm.js +0 -182
- package/column/column.esm.min.js +0 -1
- package/column/column.js +0 -188
- package/column/column.min.js +0 -1
- package/column/package.json +0 -9
- package/columngroup/ColumnGroup.d.ts +0 -35
- package/columngroup/ColumnGroup.vue +0 -14
- package/columngroup/columngroup.cjs.js +0 -16
- package/columngroup/columngroup.cjs.min.js +0 -1
- package/columngroup/columngroup.esm.js +0 -14
- package/columngroup/columngroup.esm.min.js +0 -1
- package/columngroup/columngroup.js +0 -20
- package/columngroup/columngroup.min.js +0 -1
- package/columngroup/package.json +0 -9
- package/config/PrimeVue.d.ts +0 -72
- package/config/config.cjs.js +0 -109
- package/config/config.cjs.min.js +0 -1
- package/config/config.esm.js +0 -104
- package/config/config.esm.min.js +0 -1
- package/config/config.js +0 -112
- package/config/config.min.js +0 -1
- package/config/package.json +0 -6
- package/confirmationeventbus/confirmationeventbus.cjs.js +0 -7
- package/confirmationeventbus/confirmationeventbus.cjs.min.js +0 -1
- package/confirmationeventbus/confirmationeventbus.esm.js +0 -5
- package/confirmationeventbus/confirmationeventbus.esm.min.js +0 -1
- package/confirmationeventbus/confirmationeventbus.js +0 -9
- package/confirmationeventbus/confirmationeventbus.min.js +0 -1
- package/confirmationeventbus/package.json +0 -5
- package/confirmationoptions/ConfirmationOptions.d.ts +0 -70
- package/confirmationoptions/package.json +0 -3
- package/confirmationservice/ConfirmationService.d.ts +0 -29
- package/confirmationservice/confirmationservice.cjs.js +0 -25
- package/confirmationservice/confirmationservice.cjs.min.js +0 -1
- package/confirmationservice/confirmationservice.esm.js +0 -19
- package/confirmationservice/confirmationservice.esm.min.js +0 -1
- package/confirmationservice/confirmationservice.js +0 -26
- package/confirmationservice/confirmationservice.min.js +0 -1
- package/confirmationservice/package.json +0 -6
- package/confirmdialog/ConfirmDialog.d.ts +0 -62
- package/confirmdialog/ConfirmDialog.vue +0 -120
- package/confirmdialog/confirmdialog.cjs.js +0 -161
- package/confirmdialog/confirmdialog.cjs.min.js +0 -1
- package/confirmdialog/confirmdialog.esm.js +0 -153
- package/confirmdialog/confirmdialog.esm.min.js +0 -1
- package/confirmdialog/confirmdialog.js +0 -160
- package/confirmdialog/confirmdialog.min.js +0 -1
- package/confirmdialog/package.json +0 -9
- package/confirmpopup/ConfirmPopup.d.ts +0 -47
- package/confirmpopup/ConfirmPopup.vue +0 -301
- package/confirmpopup/confirmpopup.cjs.js +0 -317
- package/confirmpopup/confirmpopup.cjs.min.js +0 -1
- package/confirmpopup/confirmpopup.esm.js +0 -308
- package/confirmpopup/confirmpopup.esm.min.js +0 -1
- package/confirmpopup/confirmpopup.js +0 -314
- package/confirmpopup/confirmpopup.min.js +0 -1
- package/confirmpopup/package.json +0 -9
- package/contextmenu/ContextMenu.d.ts +0 -98
- package/contextmenu/ContextMenu.vue +0 -264
- package/contextmenu/ContextMenuSub.vue +0 -165
- package/contextmenu/contextmenu.cjs.js +0 -535
- package/contextmenu/contextmenu.cjs.min.js +0 -1
- package/contextmenu/contextmenu.esm.js +0 -528
- package/contextmenu/contextmenu.esm.min.js +0 -1
- package/contextmenu/contextmenu.js +0 -534
- package/contextmenu/contextmenu.min.js +0 -1
- package/contextmenu/package.json +0 -9
- package/core/core.js +0 -8240
- package/core/core.min.js +0 -48
- package/datatable/BodyCell.vue +0 -408
- package/datatable/ColumnFilter.vue +0 -522
- package/datatable/DataTable.d.ts +0 -1076
- package/datatable/DataTable.vue +0 -2227
- package/datatable/FooterCell.vue +0 -75
- package/datatable/HeaderCell.vue +0 -249
- package/datatable/HeaderCheckbox.vue +0 -41
- package/datatable/RowCheckbox.vue +0 -42
- package/datatable/RowRadioButton.vue +0 -42
- package/datatable/TableBody.vue +0 -526
- package/datatable/TableFooter.vue +0 -93
- package/datatable/TableHeader.vue +0 -177
- package/datatable/TableLoadingBody.vue +0 -25
- package/datatable/datatable.cjs.js +0 -5022
- package/datatable/datatable.cjs.min.js +0 -1
- package/datatable/datatable.esm.js +0 -5010
- package/datatable/datatable.esm.min.js +0 -1
- package/datatable/datatable.js +0 -5015
- package/datatable/datatable.min.js +0 -1
- package/datatable/package.json +0 -9
- package/dataview/DataView.d.ts +0 -212
- package/dataview/DataView.vue +0 -230
- package/dataview/dataview.cjs.js +0 -328
- package/dataview/dataview.cjs.min.js +0 -1
- package/dataview/dataview.esm.js +0 -322
- package/dataview/dataview.esm.min.js +0 -1
- package/dataview/dataview.js +0 -328
- package/dataview/dataview.min.js +0 -1
- package/dataview/package.json +0 -9
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +0 -39
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +0 -39
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +0 -59
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +0 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +0 -57
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +0 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +0 -61
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +0 -1
- package/dataviewlayoutoptions/package.json +0 -9
- package/deferredcontent/DeferredContent.d.ts +0 -38
- package/deferredcontent/DeferredContent.vue +0 -62
- package/deferredcontent/deferredcontent.cjs.js +0 -72
- package/deferredcontent/deferredcontent.cjs.min.js +0 -1
- package/deferredcontent/deferredcontent.esm.js +0 -70
- package/deferredcontent/deferredcontent.esm.min.js +0 -1
- package/deferredcontent/deferredcontent.js +0 -74
- package/deferredcontent/deferredcontent.min.js +0 -1
- package/deferredcontent/package.json +0 -9
- package/dialog/Dialog.d.ts +0 -196
- package/dialog/Dialog.vue +0 -596
- package/dialog/dialog.cjs.js +0 -544
- package/dialog/dialog.cjs.min.js +0 -1
- package/dialog/dialog.esm.js +0 -537
- package/dialog/dialog.esm.min.js +0 -1
- package/dialog/dialog.js +0 -543
- package/dialog/dialog.min.js +0 -1
- package/dialog/package.json +0 -9
- package/divider/Divider.d.ts +0 -61
- package/divider/Divider.vue +0 -126
- package/divider/divider.cjs.js +0 -85
- package/divider/divider.cjs.min.js +0 -1
- package/divider/divider.esm.js +0 -83
- package/divider/divider.esm.min.js +0 -1
- package/divider/divider.js +0 -87
- package/divider/divider.min.js +0 -1
- package/divider/package.json +0 -9
- package/dock/Dock.d.ts +0 -105
- package/dock/Dock.vue +0 -143
- package/dock/DockSub.vue +0 -104
- package/dock/dock.cjs.js +0 -251
- package/dock/dock.cjs.min.js +0 -1
- package/dock/dock.esm.js +0 -244
- package/dock/dock.esm.min.js +0 -1
- package/dock/dock.js +0 -251
- package/dock/dock.min.js +0 -1
- package/dock/package.json +0 -9
- package/dropdown/Dropdown.d.ts +0 -362
- package/dropdown/Dropdown.vue +0 -836
- package/dropdown/dropdown.cjs.js +0 -959
- package/dropdown/dropdown.cjs.min.js +0 -1
- package/dropdown/dropdown.esm.js +0 -950
- package/dropdown/dropdown.esm.min.js +0 -1
- package/dropdown/dropdown.js +0 -955
- package/dropdown/dropdown.min.js +0 -1
- package/dropdown/package.json +0 -9
- package/editor/Editor.d.ts +0 -87
- package/editor/Editor.vue +0 -1065
- package/editor/editor.cjs.js +0 -166
- package/editor/editor.cjs.min.js +0 -1
- package/editor/editor.esm.js +0 -160
- package/editor/editor.esm.min.js +0 -1
- package/editor/editor.js +0 -167
- package/editor/editor.min.js +0 -1
- package/editor/package.json +0 -9
- package/fieldset/Fieldset.d.ts +0 -71
- package/fieldset/Fieldset.vue +0 -94
- package/fieldset/fieldset.cjs.js +0 -150
- package/fieldset/fieldset.cjs.min.js +0 -1
- package/fieldset/fieldset.esm.js +0 -144
- package/fieldset/fieldset.esm.min.js +0 -1
- package/fieldset/fieldset.js +0 -150
- package/fieldset/fieldset.min.js +0 -1
- package/fieldset/package.json +0 -9
- package/fileupload/FileUpload.d.ts +0 -274
- package/fileupload/FileUpload.vue +0 -529
- package/fileupload/fileupload.cjs.js +0 -669
- package/fileupload/fileupload.cjs.min.js +0 -1
- package/fileupload/fileupload.esm.js +0 -660
- package/fileupload/fileupload.esm.min.js +0 -1
- package/fileupload/fileupload.js +0 -666
- package/fileupload/fileupload.min.js +0 -1
- package/fileupload/package.json +0 -9
- package/fullcalendar/FullCalendar.d.ts +0 -36
- package/fullcalendar/FullCalendar.vue +0 -64
- package/fullcalendar/fullcalendar.cjs.js +0 -66
- package/fullcalendar/fullcalendar.cjs.min.js +0 -1
- package/fullcalendar/fullcalendar.esm.js +0 -64
- package/fullcalendar/fullcalendar.esm.min.js +0 -1
- package/fullcalendar/fullcalendar.js +0 -66
- package/fullcalendar/fullcalendar.min.js +0 -1
- package/fullcalendar/package.json +0 -9
- package/galleria/Galleria.d.ts +0 -210
- package/galleria/Galleria.vue +0 -465
- package/galleria/GalleriaContent.vue +0 -117
- package/galleria/GalleriaItem.vue +0 -160
- package/galleria/GalleriaItemSlot.vue +0 -52
- package/galleria/GalleriaThumbnails.vue +0 -413
- package/galleria/galleria.cjs.js +0 -1181
- package/galleria/galleria.cjs.min.js +0 -1
- package/galleria/galleria.esm.js +0 -1174
- package/galleria/galleria.esm.min.js +0 -1
- package/galleria/galleria.js +0 -1180
- package/galleria/galleria.min.js +0 -1
- package/galleria/package.json +0 -9
- package/image/Image.d.ts +0 -59
- package/image/Image.vue +0 -222
- package/image/image.cjs.js +0 -271
- package/image/image.cjs.min.js +0 -1
- package/image/image.esm.js +0 -265
- package/image/image.esm.min.js +0 -1
- package/image/image.js +0 -271
- package/image/image.min.js +0 -1
- package/image/package.json +0 -9
- package/inlinemessage/InlineMessage.d.ts +0 -42
- package/inlinemessage/InlineMessage.vue +0 -62
- package/inlinemessage/inlinemessage.cjs.js +0 -92
- package/inlinemessage/inlinemessage.cjs.min.js +0 -1
- package/inlinemessage/inlinemessage.esm.js +0 -90
- package/inlinemessage/inlinemessage.esm.min.js +0 -1
- package/inlinemessage/inlinemessage.js +0 -94
- package/inlinemessage/inlinemessage.min.js +0 -1
- package/inlinemessage/package.json +0 -9
- package/inplace/Inplace.d.ts +0 -65
- package/inplace/Inplace.vue +0 -91
- package/inplace/inplace.cjs.js +0 -133
- package/inplace/inplace.cjs.min.js +0 -1
- package/inplace/inplace.esm.js +0 -127
- package/inplace/inplace.esm.min.js +0 -1
- package/inplace/inplace.js +0 -134
- package/inplace/inplace.min.js +0 -1
- package/inplace/package.json +0 -9
- package/inputmask/InputMask.d.ts +0 -80
- package/inputmask/InputMask.vue +0 -491
- package/inputmask/inputmask.cjs.js +0 -502
- package/inputmask/inputmask.cjs.min.js +0 -1
- package/inputmask/inputmask.esm.js +0 -500
- package/inputmask/inputmask.esm.min.js +0 -1
- package/inputmask/inputmask.js +0 -503
- package/inputmask/inputmask.min.js +0 -1
- package/inputmask/package.json +0 -9
- package/inputnumber/InputNumber.d.ts +0 -212
- package/inputnumber/InputNumber.vue +0 -1106
- package/inputnumber/inputnumber.cjs.js +0 -1094
- package/inputnumber/inputnumber.cjs.min.js +0 -1
- package/inputnumber/inputnumber.esm.js +0 -1087
- package/inputnumber/inputnumber.esm.min.js +0 -1
- package/inputnumber/inputnumber.js +0 -1094
- package/inputnumber/inputnumber.min.js +0 -1
- package/inputnumber/package.json +0 -9
- package/inputswitch/InputSwitch.d.ts +0 -69
- package/inputswitch/InputSwitch.vue +0 -94
- package/inputswitch/inputswitch.cjs.js +0 -125
- package/inputswitch/inputswitch.cjs.min.js +0 -1
- package/inputswitch/inputswitch.esm.js +0 -123
- package/inputswitch/inputswitch.esm.min.js +0 -1
- package/inputswitch/inputswitch.js +0 -127
- package/inputswitch/inputswitch.min.js +0 -1
- package/inputswitch/package.json +0 -9
- package/inputtext/InputText.d.ts +0 -39
- package/inputtext/InputText.vue +0 -24
- package/inputtext/inputtext.cjs.js +0 -36
- package/inputtext/inputtext.cjs.min.js +0 -1
- package/inputtext/inputtext.esm.js +0 -34
- package/inputtext/inputtext.esm.min.js +0 -1
- package/inputtext/inputtext.js +0 -38
- package/inputtext/inputtext.min.js +0 -1
- package/inputtext/package.json +0 -9
- package/knob/Knob.d.ts +0 -97
- package/knob/Knob.vue +0 -232
- package/knob/knob.cjs.js +0 -281
- package/knob/knob.cjs.min.js +0 -1
- package/knob/knob.esm.js +0 -279
- package/knob/knob.esm.min.js +0 -1
- package/knob/knob.js +0 -283
- package/knob/knob.min.js +0 -1
- package/knob/package.json +0 -9
- package/listbox/Listbox.d.ts +0 -265
- package/listbox/Listbox.vue +0 -372
- package/listbox/listbox.cjs.js +0 -483
- package/listbox/listbox.cjs.min.js +0 -1
- package/listbox/listbox.esm.js +0 -476
- package/listbox/listbox.esm.min.js +0 -1
- package/listbox/listbox.js +0 -481
- package/listbox/listbox.min.js +0 -1
- package/listbox/package.json +0 -9
- package/megamenu/MegaMenu.d.ts +0 -70
- package/megamenu/MegaMenu.vue +0 -431
- package/megamenu/megamenu.cjs.js +0 -543
- package/megamenu/megamenu.cjs.min.js +0 -1
- package/megamenu/megamenu.esm.js +0 -537
- package/megamenu/megamenu.esm.min.js +0 -1
- package/megamenu/megamenu.js +0 -543
- package/megamenu/megamenu.min.js +0 -1
- package/megamenu/package.json +0 -9
- package/menu/Menu.d.ts +0 -94
- package/menu/Menu.vue +0 -255
- package/menu/Menuitem.vue +0 -65
- package/menu/menu.cjs.js +0 -454
- package/menu/menu.cjs.min.js +0 -1
- package/menu/menu.esm.js +0 -446
- package/menu/menu.esm.min.js +0 -1
- package/menu/menu.js +0 -452
- package/menu/menu.min.js +0 -1
- package/menu/package.json +0 -9
- package/menubar/Menubar.d.ts +0 -62
- package/menubar/Menubar.vue +0 -164
- package/menubar/MenubarSub.vue +0 -306
- package/menubar/menubar.cjs.js +0 -544
- package/menubar/menubar.cjs.min.js +0 -1
- package/menubar/menubar.esm.js +0 -538
- package/menubar/menubar.esm.min.js +0 -1
- package/menubar/menubar.js +0 -544
- package/menubar/menubar.min.js +0 -1
- package/menubar/package.json +0 -9
- package/menuitem/MenuItem.d.ts +0 -82
- package/menuitem/package.json +0 -3
- package/message/Message.d.ts +0 -65
- package/message/Message.vue +0 -127
- package/message/message.cjs.js +0 -149
- package/message/message.cjs.min.js +0 -1
- package/message/message.esm.js +0 -143
- package/message/message.esm.min.js +0 -1
- package/message/message.js +0 -150
- package/message/message.min.js +0 -1
- package/message/package.json +0 -9
- package/multiselect/MultiSelect.d.ts +0 -391
- package/multiselect/MultiSelect.vue +0 -859
- package/multiselect/multiselect.cjs.js +0 -996
- package/multiselect/multiselect.cjs.min.js +0 -1
- package/multiselect/multiselect.esm.js +0 -987
- package/multiselect/multiselect.esm.min.js +0 -1
- package/multiselect/multiselect.js +0 -992
- package/multiselect/multiselect.min.js +0 -1
- package/multiselect/package.json +0 -9
- package/orderlist/OrderList.d.ts +0 -139
- package/orderlist/OrderList.vue +0 -415
- package/orderlist/orderlist.cjs.js +0 -463
- package/orderlist/orderlist.cjs.min.js +0 -1
- package/orderlist/orderlist.esm.js +0 -456
- package/orderlist/orderlist.esm.min.js +0 -1
- package/orderlist/orderlist.js +0 -462
- package/orderlist/orderlist.min.js +0 -1
- package/orderlist/package.json +0 -9
- package/organizationchart/OrganizationChart.d.ts +0 -146
- package/organizationchart/OrganizationChart.vue +0 -145
- package/organizationchart/OrganizationChartNode.vue +0 -123
- package/organizationchart/organizationchart.cjs.js +0 -318
- package/organizationchart/organizationchart.cjs.min.js +0 -1
- package/organizationchart/organizationchart.esm.js +0 -316
- package/organizationchart/organizationchart.esm.min.js +0 -1
- package/organizationchart/organizationchart.js +0 -319
- package/organizationchart/organizationchart.min.js +0 -1
- package/organizationchart/package.json +0 -9
- package/overlayeventbus/overlayeventbus.cjs.js +0 -7
- package/overlayeventbus/overlayeventbus.cjs.min.js +0 -1
- package/overlayeventbus/overlayeventbus.esm.js +0 -5
- package/overlayeventbus/overlayeventbus.esm.min.js +0 -1
- package/overlayeventbus/overlayeventbus.js +0 -9
- package/overlayeventbus/overlayeventbus.min.js +0 -1
- package/overlayeventbus/package.json +0 -5
- package/overlaypanel/OverlayPanel.d.ts +0 -120
- package/overlaypanel/OverlayPanel.vue +0 -349
- package/overlaypanel/overlaypanel.cjs.js +0 -357
- package/overlaypanel/overlaypanel.cjs.min.js +0 -1
- package/overlaypanel/overlaypanel.esm.js +0 -349
- package/overlaypanel/overlaypanel.esm.min.js +0 -1
- package/overlaypanel/overlaypanel.js +0 -355
- package/overlaypanel/overlaypanel.min.js +0 -1
- package/overlaypanel/package.json +0 -9
- package/paginator/CurrentPageReport.vue +0 -52
- package/paginator/FirstPageLink.vue +0 -23
- package/paginator/JumpToPageDropdown.vue +0 -36
- package/paginator/JumpToPageInput.vue +0 -26
- package/paginator/LastPageLink.vue +0 -23
- package/paginator/NextPageLink.vue +0 -23
- package/paginator/PageLinks.vue +0 -30
- package/paginator/Paginator.d.ts +0 -140
- package/paginator/Paginator.vue +0 -252
- package/paginator/PrevPageLink.vue +0 -23
- package/paginator/RowsPerPageDropdown.vue +0 -38
- package/paginator/package.json +0 -9
- package/paginator/paginator.cjs.js +0 -685
- package/paginator/paginator.cjs.min.js +0 -1
- package/paginator/paginator.esm.js +0 -677
- package/paginator/paginator.esm.min.js +0 -1
- package/paginator/paginator.js +0 -684
- package/paginator/paginator.min.js +0 -1
- package/panel/Panel.d.ts +0 -75
- package/panel/Panel.vue +0 -91
- package/panel/package.json +0 -9
- package/panel/panel.cjs.js +0 -148
- package/panel/panel.cjs.min.js +0 -1
- package/panel/panel.esm.js +0 -142
- package/panel/panel.esm.min.js +0 -1
- package/panel/panel.js +0 -148
- package/panel/panel.min.js +0 -1
- package/panelmenu/PanelMenu.d.ts +0 -67
- package/panelmenu/PanelMenu.vue +0 -183
- package/panelmenu/PanelMenuSub.vue +0 -121
- package/panelmenu/package.json +0 -9
- package/panelmenu/panelmenu.cjs.js +0 -470
- package/panelmenu/panelmenu.cjs.min.js +0 -1
- package/panelmenu/panelmenu.esm.js +0 -468
- package/panelmenu/panelmenu.esm.min.js +0 -1
- package/panelmenu/panelmenu.js +0 -471
- package/panelmenu/panelmenu.min.js +0 -1
- package/password/Password.d.ts +0 -124
- package/password/Password.vue +0 -336
- package/password/package.json +0 -9
- package/password/password.cjs.js +0 -392
- package/password/password.cjs.min.js +0 -1
- package/password/password.esm.js +0 -384
- package/password/password.esm.min.js +0 -1
- package/password/password.js +0 -390
- package/password/password.min.js +0 -1
- package/picklist/PickList.d.ts +0 -213
- package/picklist/PickList.vue +0 -617
- package/picklist/package.json +0 -9
- package/picklist/picklist.cjs.js +0 -736
- package/picklist/picklist.cjs.min.js +0 -1
- package/picklist/picklist.esm.js +0 -729
- package/picklist/picklist.esm.min.js +0 -1
- package/picklist/picklist.js +0 -735
- package/picklist/picklist.min.js +0 -1
- package/portal/Portal.d.ts +0 -36
- package/portal/Portal.vue +0 -41
- package/portal/package.json +0 -9
- package/portal/portal.cjs.js +0 -48
- package/portal/portal.cjs.min.js +0 -1
- package/portal/portal.esm.js +0 -46
- package/portal/portal.esm.min.js +0 -1
- package/portal/portal.js +0 -49
- package/portal/portal.min.js +0 -1
- package/progressbar/ProgressBar.d.ts +0 -51
- package/progressbar/ProgressBar.vue +0 -154
- package/progressbar/package.json +0 -9
- package/progressbar/progressbar.cjs.js +0 -121
- package/progressbar/progressbar.cjs.min.js +0 -1
- package/progressbar/progressbar.esm.js +0 -119
- package/progressbar/progressbar.esm.min.js +0 -1
- package/progressbar/progressbar.js +0 -123
- package/progressbar/progressbar.min.js +0 -1
- package/progressspinner/ProgressSpinner.d.ts +0 -44
- package/progressspinner/ProgressSpinner.vue +0 -109
- package/progressspinner/package.json +0 -9
- package/progressspinner/progressspinner.cjs.js +0 -89
- package/progressspinner/progressspinner.cjs.min.js +0 -1
- package/progressspinner/progressspinner.esm.js +0 -87
- package/progressspinner/progressspinner.esm.min.js +0 -1
- package/progressspinner/progressspinner.js +0 -91
- package/progressspinner/progressspinner.min.js +0 -1
- package/radiobutton/RadioButton.d.ts +0 -60
- package/radiobutton/RadioButton.vue +0 -58
- package/radiobutton/package.json +0 -9
- package/radiobutton/radiobutton.cjs.js +0 -86
- package/radiobutton/radiobutton.cjs.min.js +0 -1
- package/radiobutton/radiobutton.esm.js +0 -84
- package/radiobutton/radiobutton.esm.min.js +0 -1
- package/radiobutton/radiobutton.js +0 -87
- package/radiobutton/radiobutton.min.js +0 -1
- package/rating/Rating.d.ts +0 -72
- package/rating/Rating.vue +0 -79
- package/rating/package.json +0 -9
- package/rating/rating.cjs.js +0 -124
- package/rating/rating.cjs.min.js +0 -1
- package/rating/rating.esm.js +0 -122
- package/rating/rating.esm.min.js +0 -1
- package/rating/rating.js +0 -126
- package/rating/rating.min.js +0 -1
- package/resources/images/color.png +0 -0
- package/resources/images/hue.png +0 -0
- package/resources/primevue.css +0 -493
- package/resources/primevue.min.css +0 -1
- package/resources/themes/arya-blue/theme.css +0 -5683
- package/resources/themes/arya-green/theme.css +0 -5683
- package/resources/themes/arya-orange/theme.css +0 -5683
- package/resources/themes/arya-purple/theme.css +0 -5683
- package/resources/themes/bootstrap4-dark-blue/theme.css +0 -5690
- package/resources/themes/bootstrap4-dark-purple/theme.css +0 -5690
- package/resources/themes/bootstrap4-light-blue/theme.css +0 -5690
- package/resources/themes/bootstrap4-light-purple/theme.css +0 -5690
- package/resources/themes/fluent-light/theme.css +0 -5817
- package/resources/themes/lara-dark-blue/theme.css +0 -5664
- package/resources/themes/lara-dark-indigo/theme.css +0 -5664
- package/resources/themes/lara-dark-purple/theme.css +0 -5664
- package/resources/themes/lara-dark-teal/theme.css +0 -5664
- package/resources/themes/lara-light-blue/theme.css +0 -5664
- package/resources/themes/lara-light-indigo/theme.css +0 -5664
- package/resources/themes/lara-light-purple/theme.css +0 -5664
- package/resources/themes/lara-light-teal/theme.css +0 -5664
- package/resources/themes/luna-amber/theme.css +0 -5629
- package/resources/themes/luna-blue/theme.css +0 -5629
- package/resources/themes/luna-green/theme.css +0 -5629
- package/resources/themes/luna-pink/theme.css +0 -5629
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-dark-deeppurple/theme.css +0 -7211
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-dark-indigo/theme.css +0 -7211
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-light-deeppurple/theme.css +0 -7211
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/md-light-indigo/theme.css +0 -7211
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-dark-deeppurple/theme.css +0 -7211
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-dark-indigo/theme.css +0 -7211
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-light-deeppurple/theme.css +0 -7211
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/mdc-light-indigo/theme.css +0 -7211
- package/resources/themes/nova/theme.css +0 -5643
- package/resources/themes/nova-accent/theme.css +0 -5653
- package/resources/themes/nova-alt/theme.css +0 -5655
- package/resources/themes/nova-vue/theme.css +0 -5643
- package/resources/themes/rhea/theme.css +0 -5631
- package/resources/themes/saga-blue/theme.css +0 -5680
- package/resources/themes/saga-green/theme.css +0 -5680
- package/resources/themes/saga-orange/theme.css +0 -5680
- package/resources/themes/saga-purple/theme.css +0 -5680
- 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 +0 -5783
- package/resources/themes/vela-blue/theme.css +0 -5683
- package/resources/themes/vela-green/theme.css +0 -5683
- package/resources/themes/vela-orange/theme.css +0 -5683
- package/resources/themes/vela-purple/theme.css +0 -5683
- package/ripple/Ripple.d.ts +0 -5
- package/ripple/package.json +0 -6
- package/ripple/ripple.cjs.js +0 -78
- package/ripple/ripple.cjs.min.js +0 -1
- package/ripple/ripple.esm.js +0 -76
- package/ripple/ripple.esm.min.js +0 -1
- package/ripple/ripple.js +0 -80
- package/ripple/ripple.min.js +0 -1
- package/row/Row.d.ts +0 -29
- package/row/Row.vue +0 -8
- package/row/package.json +0 -9
- package/row/row.cjs.js +0 -10
- package/row/row.cjs.min.js +0 -1
- package/row/row.esm.js +0 -8
- package/row/row.esm.min.js +0 -1
- package/row/row.js +0 -14
- package/row/row.min.js +0 -1
- package/scrollpanel/ScrollPanel.d.ts +0 -34
- package/scrollpanel/ScrollPanel.vue +0 -264
- package/scrollpanel/package.json +0 -9
- package/scrollpanel/scrollpanel.cjs.js +0 -262
- package/scrollpanel/scrollpanel.cjs.min.js +0 -1
- package/scrollpanel/scrollpanel.esm.js +0 -260
- package/scrollpanel/scrollpanel.esm.min.js +0 -1
- package/scrollpanel/scrollpanel.js +0 -263
- package/scrollpanel/scrollpanel.min.js +0 -1
- package/scrolltop/ScrollTop.d.ts +0 -52
- package/scrolltop/ScrollTop.vue +0 -150
- package/scrolltop/package.json +0 -9
- package/scrolltop/scrolltop.cjs.js +0 -168
- package/scrolltop/scrolltop.cjs.min.js +0 -1
- package/scrolltop/scrolltop.esm.js +0 -166
- package/scrolltop/scrolltop.esm.min.js +0 -1
- package/scrolltop/scrolltop.js +0 -169
- package/scrolltop/scrolltop.min.js +0 -1
- package/selectbutton/SelectButton.d.ts +0 -117
- package/selectbutton/SelectButton.vue +0 -114
- package/selectbutton/package.json +0 -9
- package/selectbutton/selectbutton.cjs.js +0 -150
- package/selectbutton/selectbutton.cjs.min.js +0 -1
- package/selectbutton/selectbutton.esm.js +0 -144
- package/selectbutton/selectbutton.esm.min.js +0 -1
- package/selectbutton/selectbutton.js +0 -150
- package/selectbutton/selectbutton.min.js +0 -1
- package/sidebar/Sidebar.d.ts +0 -93
- package/sidebar/Sidebar.vue +0 -307
- package/sidebar/package.json +0 -9
- package/sidebar/sidebar.cjs.js +0 -259
- package/sidebar/sidebar.cjs.min.js +0 -1
- package/sidebar/sidebar.esm.js +0 -252
- package/sidebar/sidebar.esm.min.js +0 -1
- package/sidebar/sidebar.js +0 -258
- package/sidebar/sidebar.min.js +0 -1
- package/skeleton/Skeleton.d.ts +0 -63
- package/skeleton/Skeleton.vue +0 -85
- package/skeleton/package.json +0 -9
- package/skeleton/skeleton.cjs.js +0 -88
- package/skeleton/skeleton.cjs.min.js +0 -1
- package/skeleton/skeleton.esm.js +0 -86
- package/skeleton/skeleton.esm.min.js +0 -1
- package/skeleton/skeleton.js +0 -90
- package/skeleton/skeleton.min.js +0 -1
- package/slider/Slider.d.ts +0 -95
- package/slider/Slider.vue +0 -376
- package/slider/package.json +0 -9
- package/slider/slider.cjs.js +0 -425
- package/slider/slider.cjs.min.js +0 -1
- package/slider/slider.esm.js +0 -423
- package/slider/slider.esm.min.js +0 -1
- package/slider/slider.js +0 -426
- package/slider/slider.min.js +0 -1
- package/speeddial/SpeedDial.d.ts +0 -176
- package/speeddial/SpeedDial.vue +0 -382
- package/speeddial/package.json +0 -9
- package/speeddial/speeddial.cjs.js +0 -360
- package/speeddial/speeddial.cjs.min.js +0 -1
- package/speeddial/speeddial.esm.js +0 -352
- package/speeddial/speeddial.esm.min.js +0 -1
- package/speeddial/speeddial.js +0 -358
- package/speeddial/speeddial.min.js +0 -1
- package/splitbutton/SplitButton.d.ts +0 -82
- package/splitbutton/SplitButton.vue +0 -104
- package/splitbutton/package.json +0 -9
- package/splitbutton/splitbutton.cjs.js +0 -138
- package/splitbutton/splitbutton.cjs.min.js +0 -1
- package/splitbutton/splitbutton.esm.js +0 -131
- package/splitbutton/splitbutton.esm.min.js +0 -1
- package/splitbutton/splitbutton.js +0 -137
- package/splitbutton/splitbutton.min.js +0 -1
- package/splitter/Splitter.d.ts +0 -79
- package/splitter/Splitter.vue +0 -315
- package/splitter/package.json +0 -9
- package/splitter/splitter.cjs.js +0 -303
- package/splitter/splitter.cjs.min.js +0 -1
- package/splitter/splitter.esm.js +0 -301
- package/splitter/splitter.esm.min.js +0 -1
- package/splitter/splitter.js +0 -304
- package/splitter/splitter.min.js +0 -1
- package/splitterpanel/SplitterPanel.d.ts +0 -42
- package/splitterpanel/SplitterPanel.vue +0 -31
- package/splitterpanel/package.json +0 -9
- package/splitterpanel/splitterpanel.cjs.js +0 -40
- package/splitterpanel/splitterpanel.cjs.min.js +0 -1
- package/splitterpanel/splitterpanel.esm.js +0 -38
- package/splitterpanel/splitterpanel.esm.min.js +0 -1
- package/splitterpanel/splitterpanel.js +0 -42
- package/splitterpanel/splitterpanel.min.js +0 -1
- package/steps/Steps.d.ts +0 -59
- package/steps/Steps.vue +0 -150
- package/steps/package.json +0 -9
- package/steps/steps.cjs.js +0 -183
- package/steps/steps.cjs.min.js +0 -1
- package/steps/steps.esm.js +0 -181
- package/steps/steps.esm.min.js +0 -1
- package/steps/steps.js +0 -184
- package/steps/steps.min.js +0 -1
- package/styleclass/StyleClass.d.ts +0 -5
- package/styleclass/package.json +0 -6
- package/styleclass/styleclass.cjs.js +0 -179
- package/styleclass/styleclass.cjs.min.js +0 -1
- package/styleclass/styleclass.esm.js +0 -177
- package/styleclass/styleclass.esm.min.js +0 -1
- package/styleclass/styleclass.js +0 -181
- package/styleclass/styleclass.min.js +0 -1
- package/tabmenu/TabMenu.d.ts +0 -71
- package/tabmenu/TabMenu.vue +0 -191
- package/tabmenu/package.json +0 -9
- package/tabmenu/tabmenu.cjs.js +0 -263
- package/tabmenu/tabmenu.cjs.min.js +0 -1
- package/tabmenu/tabmenu.esm.js +0 -257
- package/tabmenu/tabmenu.esm.min.js +0 -1
- package/tabmenu/tabmenu.js +0 -263
- package/tabmenu/tabmenu.min.js +0 -1
- package/tabpanel/TabPanel.d.ts +0 -46
- package/tabpanel/TabPanel.vue +0 -13
- package/tabpanel/package.json +0 -9
- package/tabpanel/tabpanel.cjs.js +0 -19
- package/tabpanel/tabpanel.cjs.min.js +0 -1
- package/tabpanel/tabpanel.esm.js +0 -17
- package/tabpanel/tabpanel.esm.min.js +0 -1
- package/tabpanel/tabpanel.js +0 -21
- package/tabpanel/tabpanel.min.js +0 -1
- package/tabview/TabView.d.ts +0 -81
- package/tabview/TabView.vue +0 -252
- package/tabview/package.json +0 -9
- package/tabview/tabview.cjs.js +0 -300
- package/tabview/tabview.cjs.min.js +0 -1
- package/tabview/tabview.esm.js +0 -294
- package/tabview/tabview.esm.min.js +0 -1
- package/tabview/tabview.js +0 -300
- package/tabview/tabview.min.js +0 -1
- package/tag/Tag.d.ts +0 -53
- package/tag/Tag.vue +0 -52
- package/tag/package.json +0 -9
- package/tag/tag.cjs.js +0 -77
- package/tag/tag.cjs.min.js +0 -1
- package/tag/tag.esm.js +0 -75
- package/tag/tag.esm.min.js +0 -1
- package/tag/tag.js +0 -79
- package/tag/tag.min.js +0 -1
- package/terminal/Terminal.d.ts +0 -41
- package/terminal/Terminal.vue +0 -90
- package/terminal/package.json +0 -9
- package/terminal/terminal.cjs.js +0 -130
- package/terminal/terminal.cjs.min.js +0 -1
- package/terminal/terminal.esm.js +0 -124
- package/terminal/terminal.esm.min.js +0 -1
- package/terminal/terminal.js +0 -131
- package/terminal/terminal.min.js +0 -1
- package/terminalservice/TerminalService.d.ts +0 -11
- package/terminalservice/package.json +0 -6
- package/terminalservice/terminalservice.cjs.js +0 -7
- package/terminalservice/terminalservice.cjs.min.js +0 -1
- package/terminalservice/terminalservice.esm.js +0 -5
- package/terminalservice/terminalservice.esm.min.js +0 -1
- package/terminalservice/terminalservice.js +0 -9
- package/terminalservice/terminalservice.min.js +0 -1
- package/textarea/Textarea.d.ts +0 -43
- package/textarea/Textarea.vue +0 -63
- package/textarea/package.json +0 -9
- package/textarea/textarea.cjs.js +0 -95
- package/textarea/textarea.cjs.min.js +0 -1
- package/textarea/textarea.esm.js +0 -93
- package/textarea/textarea.esm.min.js +0 -1
- package/textarea/textarea.js +0 -97
- package/textarea/textarea.min.js +0 -1
- package/tieredmenu/TieredMenu.d.ts +0 -97
- package/tieredmenu/TieredMenu.vue +0 -244
- package/tieredmenu/TieredMenuSub.vue +0 -251
- package/tieredmenu/package.json +0 -9
- package/tieredmenu/tieredmenu.cjs.js +0 -599
- package/tieredmenu/tieredmenu.cjs.min.js +0 -1
- package/tieredmenu/tieredmenu.esm.js +0 -591
- package/tieredmenu/tieredmenu.esm.min.js +0 -1
- package/tieredmenu/tieredmenu.js +0 -597
- package/tieredmenu/tieredmenu.min.js +0 -1
- package/timeline/Timeline.d.ts +0 -104
- package/timeline/Timeline.vue +0 -167
- package/timeline/package.json +0 -9
- package/timeline/timeline.cjs.js +0 -113
- package/timeline/timeline.cjs.min.js +0 -1
- package/timeline/timeline.esm.js +0 -111
- package/timeline/timeline.esm.min.js +0 -1
- package/timeline/timeline.js +0 -114
- package/timeline/timeline.min.js +0 -1
- package/toast/Toast.d.ts +0 -126
- package/toast/Toast.vue +0 -257
- package/toast/ToastMessage.vue +0 -77
- package/toast/package.json +0 -9
- package/toast/toast.cjs.js +0 -332
- package/toast/toast.cjs.min.js +0 -1
- package/toast/toast.esm.js +0 -324
- package/toast/toast.esm.min.js +0 -1
- package/toast/toast.js +0 -330
- package/toast/toast.min.js +0 -1
- package/toasteventbus/package.json +0 -5
- package/toasteventbus/toasteventbus.cjs.js +0 -7
- package/toasteventbus/toasteventbus.cjs.min.js +0 -1
- package/toasteventbus/toasteventbus.esm.js +0 -5
- package/toasteventbus/toasteventbus.esm.min.js +0 -1
- package/toasteventbus/toasteventbus.js +0 -9
- package/toasteventbus/toasteventbus.min.js +0 -1
- package/toastservice/ToastService.d.ts +0 -34
- package/toastservice/package.json +0 -6
- package/toastservice/toastservice.cjs.js +0 -28
- package/toastservice/toastservice.cjs.min.js +0 -1
- package/toastservice/toastservice.esm.js +0 -22
- package/toastservice/toastservice.esm.min.js +0 -1
- package/toastservice/toastservice.js +0 -29
- package/toastservice/toastservice.min.js +0 -1
- package/togglebutton/ToggleButton.d.ts +0 -69
- package/togglebutton/ToggleButton.vue +0 -66
- package/togglebutton/package.json +0 -9
- package/togglebutton/togglebutton.cjs.js +0 -93
- package/togglebutton/togglebutton.cjs.min.js +0 -1
- package/togglebutton/togglebutton.esm.js +0 -87
- package/togglebutton/togglebutton.esm.min.js +0 -1
- package/togglebutton/togglebutton.js +0 -94
- package/togglebutton/togglebutton.min.js +0 -1
- package/toolbar/Toolbar.d.ts +0 -38
- package/toolbar/Toolbar.vue +0 -31
- package/toolbar/package.json +0 -9
- package/toolbar/toolbar.cjs.js +0 -59
- package/toolbar/toolbar.cjs.min.js +0 -1
- package/toolbar/toolbar.esm.js +0 -57
- package/toolbar/toolbar.esm.min.js +0 -1
- package/toolbar/toolbar.js +0 -61
- package/toolbar/toolbar.min.js +0 -1
- package/tooltip/Tooltip.d.ts +0 -5
- package/tooltip/package.json +0 -6
- package/tooltip/tooltip.cjs.js +0 -347
- package/tooltip/tooltip.cjs.min.js +0 -1
- package/tooltip/tooltip.esm.js +0 -345
- package/tooltip/tooltip.esm.min.js +0 -1
- package/tooltip/tooltip.js +0 -349
- package/tooltip/tooltip.min.js +0 -1
- package/tree/Tree.d.ts +0 -199
- package/tree/Tree.vue +0 -372
- package/tree/TreeNode.vue +0 -298
- package/tree/package.json +0 -9
- package/tree/tree.cjs.js +0 -725
- package/tree/tree.cjs.min.js +0 -1
- package/tree/tree.esm.js +0 -719
- package/tree/tree.esm.min.js +0 -1
- package/tree/tree.js +0 -725
- package/tree/tree.min.js +0 -1
- package/treeselect/TreeSelect.d.ts +0 -215
- package/treeselect/TreeSelect.vue +0 -488
- package/treeselect/package.json +0 -9
- package/treeselect/treeselect.cjs.js +0 -555
- package/treeselect/treeselect.cjs.min.js +0 -1
- package/treeselect/treeselect.esm.js +0 -546
- package/treeselect/treeselect.esm.min.js +0 -1
- package/treeselect/treeselect.js +0 -552
- package/treeselect/treeselect.min.js +0 -1
- package/treetable/BodyCell.vue +0 -156
- package/treetable/FooterCell.vue +0 -74
- package/treetable/HeaderCell.vue +0 -177
- package/treetable/TreeTable.d.ts +0 -467
- package/treetable/TreeTable.vue +0 -1079
- package/treetable/TreeTableRow.vue +0 -256
- package/treetable/package.json +0 -9
- package/treetable/treetable.cjs.js +0 -1879
- package/treetable/treetable.cjs.min.js +0 -1
- package/treetable/treetable.esm.js +0 -1872
- package/treetable/treetable.esm.min.js +0 -1
- package/treetable/treetable.js +0 -1877
- package/treetable/treetable.min.js +0 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +0 -46
- package/tristatecheckbox/TriStateCheckbox.vue +0 -83
- package/tristatecheckbox/package.json +0 -9
- package/tristatecheckbox/tristatecheckbox.cjs.js +0 -111
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +0 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +0 -109
- package/tristatecheckbox/tristatecheckbox.esm.min.js +0 -1
- package/tristatecheckbox/tristatecheckbox.js +0 -113
- package/tristatecheckbox/tristatecheckbox.min.js +0 -1
- package/ts-helpers.d.ts +0 -28
- package/useconfirm/UseConfirm.d.ts +0 -6
- package/useconfirm/package.json +0 -6
- package/useconfirm/useconfirm.cjs.js +0 -19
- package/useconfirm/useconfirm.cjs.min.js +0 -1
- package/useconfirm/useconfirm.esm.js +0 -14
- package/useconfirm/useconfirm.esm.min.js +0 -1
- package/useconfirm/useconfirm.js +0 -23
- package/useconfirm/useconfirm.min.js +0 -1
- package/usetoast/UseToast.d.ts +0 -3
- package/usetoast/package.json +0 -6
- package/usetoast/usetoast.cjs.js +0 -19
- package/usetoast/usetoast.cjs.min.js +0 -1
- package/usetoast/usetoast.esm.js +0 -14
- package/usetoast/usetoast.esm.min.js +0 -1
- package/usetoast/usetoast.js +0 -23
- package/usetoast/usetoast.min.js +0 -1
- package/utils/Utils.d.ts +0 -84
- package/utils/package.json +0 -6
- package/utils/utils.cjs.js +0 -880
- package/utils/utils.cjs.min.js +0 -1
- package/utils/utils.esm.js +0 -871
- package/utils/utils.esm.min.js +0 -1
- package/utils/utils.js +0 -886
- package/utils/utils.min.js +0 -1
- package/vetur-attributes.json +0 -3162
- package/vetur-tags.json +0 -1207
- package/virtualscroller/VirtualScroller.d.ts +0 -315
- package/virtualscroller/VirtualScroller.vue +0 -616
- package/virtualscroller/package.json +0 -9
- package/virtualscroller/virtualscroller.cjs.js +0 -656
- package/virtualscroller/virtualscroller.cjs.min.js +0 -1
- package/virtualscroller/virtualscroller.esm.js +0 -654
- package/virtualscroller/virtualscroller.esm.min.js +0 -1
- package/virtualscroller/virtualscroller.js +0 -658
- package/virtualscroller/virtualscroller.min.js +0 -1
- package/web-types.json +0 -12982
package/fileupload/fileupload.js
DELETED
|
@@ -1,666 +0,0 @@
|
|
|
1
|
-
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.fileupload = (function (Button, ProgressBar, Message, utils, Ripple, vue) {
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
-
|
|
7
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
8
|
-
var ProgressBar__default = /*#__PURE__*/_interopDefaultLegacy(ProgressBar);
|
|
9
|
-
var Message__default = /*#__PURE__*/_interopDefaultLegacy(Message);
|
|
10
|
-
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
11
|
-
|
|
12
|
-
var script = {
|
|
13
|
-
name: 'FileUpload',
|
|
14
|
-
emits: ['select', 'uploader', 'before-upload', 'progress', 'upload', 'error', 'before-send', 'clear', 'remove'],
|
|
15
|
-
props: {
|
|
16
|
-
name: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: null
|
|
19
|
-
},
|
|
20
|
-
url: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: null
|
|
23
|
-
},
|
|
24
|
-
mode: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: 'advanced'
|
|
27
|
-
},
|
|
28
|
-
multiple: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: false
|
|
31
|
-
},
|
|
32
|
-
accept: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: null
|
|
35
|
-
},
|
|
36
|
-
disabled: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: false
|
|
39
|
-
},
|
|
40
|
-
auto: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: false
|
|
43
|
-
},
|
|
44
|
-
maxFileSize: {
|
|
45
|
-
type: Number,
|
|
46
|
-
default: null
|
|
47
|
-
},
|
|
48
|
-
invalidFileSizeMessage: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: '{0}: Invalid file size, file size should be smaller than {1}.'
|
|
51
|
-
},
|
|
52
|
-
invalidFileTypeMessage: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: '{0}: Invalid file type, allowed file types: {1}.'
|
|
55
|
-
},
|
|
56
|
-
fileLimit: {
|
|
57
|
-
type: Number,
|
|
58
|
-
default: null
|
|
59
|
-
},
|
|
60
|
-
invalidFileLimitMessage: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: 'Maximum number of files exceeded, limit is {0} at most.'
|
|
63
|
-
},
|
|
64
|
-
withCredentials: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: false
|
|
67
|
-
},
|
|
68
|
-
previewWidth: {
|
|
69
|
-
type: Number,
|
|
70
|
-
default: 50
|
|
71
|
-
},
|
|
72
|
-
chooseLabel: {
|
|
73
|
-
type: String,
|
|
74
|
-
default: null
|
|
75
|
-
},
|
|
76
|
-
uploadLabel: {
|
|
77
|
-
type: String,
|
|
78
|
-
default: null
|
|
79
|
-
},
|
|
80
|
-
cancelLabel: {
|
|
81
|
-
type: String,
|
|
82
|
-
default: null
|
|
83
|
-
},
|
|
84
|
-
customUpload: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: false
|
|
87
|
-
},
|
|
88
|
-
showUploadButton: {
|
|
89
|
-
type: Boolean,
|
|
90
|
-
default: true
|
|
91
|
-
},
|
|
92
|
-
showCancelButton: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: true
|
|
95
|
-
},
|
|
96
|
-
chooseIcon: {
|
|
97
|
-
type: String,
|
|
98
|
-
default: 'pi pi-plus'
|
|
99
|
-
},
|
|
100
|
-
uploadIcon: {
|
|
101
|
-
type: String,
|
|
102
|
-
default: 'pi pi-upload'
|
|
103
|
-
},
|
|
104
|
-
cancelIcon: {
|
|
105
|
-
type: String,
|
|
106
|
-
default: 'pi pi-times'
|
|
107
|
-
},
|
|
108
|
-
style: null,
|
|
109
|
-
class: null
|
|
110
|
-
},
|
|
111
|
-
duplicateIEEvent: false,
|
|
112
|
-
data() {
|
|
113
|
-
return {
|
|
114
|
-
uploadedFileCount: 0,
|
|
115
|
-
files: [],
|
|
116
|
-
messages: [],
|
|
117
|
-
focused: false,
|
|
118
|
-
progress: null
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
methods: {
|
|
122
|
-
onFileSelect(event) {
|
|
123
|
-
if (event.type !== 'drop' && this.isIE11() && this.duplicateIEEvent) {
|
|
124
|
-
this.duplicateIEEvent = false;
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
this.messages = [];
|
|
129
|
-
this.files = this.files || [];
|
|
130
|
-
let files = event.dataTransfer ? event.dataTransfer.files : event.target.files;
|
|
131
|
-
for (let file of files) {
|
|
132
|
-
if (!this.isFileSelected(file)) {
|
|
133
|
-
if (this.validate(file)) {
|
|
134
|
-
if (this.isImage(file)) {
|
|
135
|
-
file.objectURL = window.URL.createObjectURL(file);
|
|
136
|
-
}
|
|
137
|
-
this.files.push(file);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
this.$emit('select', {originalEvent: event, files: this.files});
|
|
143
|
-
|
|
144
|
-
if (this.fileLimit) {
|
|
145
|
-
this.checkFileLimit();
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
if (this.auto && this.hasFiles && !this.isFileLimitExceeded()) {
|
|
149
|
-
this.upload();
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
if (event.type !== 'drop' && this.isIE11()) {
|
|
153
|
-
this.clearIEInput();
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
this.clearInputElement();
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
choose() {
|
|
160
|
-
this.$refs.fileInput.click();
|
|
161
|
-
},
|
|
162
|
-
upload() {
|
|
163
|
-
if (this.customUpload) {
|
|
164
|
-
if (this.fileLimit) {
|
|
165
|
-
this.uploadedFileCount += this.files.length;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
this.$emit('uploader', {files: this.files});
|
|
169
|
-
this.clear();
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
let xhr = new XMLHttpRequest();
|
|
173
|
-
let formData = new FormData();
|
|
174
|
-
|
|
175
|
-
this.$emit('before-upload', {
|
|
176
|
-
'xhr': xhr,
|
|
177
|
-
'formData': formData
|
|
178
|
-
});
|
|
179
|
-
|
|
180
|
-
for (let file of this.files) {
|
|
181
|
-
formData.append(this.name, file, file.name);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
xhr.upload.addEventListener('progress', (event) => {
|
|
185
|
-
if (event.lengthComputable) {
|
|
186
|
-
this.progress = Math.round((event.loaded * 100) / event.total);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
this.$emit('progress', {
|
|
190
|
-
originalEvent: event,
|
|
191
|
-
progress: this.progress
|
|
192
|
-
});
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
xhr.onreadystatechange = () => {
|
|
196
|
-
if (xhr.readyState === 4) {
|
|
197
|
-
this.progress = 0;
|
|
198
|
-
|
|
199
|
-
if (xhr.status >= 200 && xhr.status < 300) {
|
|
200
|
-
if (this.fileLimit) {
|
|
201
|
-
this.uploadedFileCount += this.files.length;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
this.$emit('upload', {
|
|
205
|
-
xhr: xhr,
|
|
206
|
-
files: this.files
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
this.$emit('error', {
|
|
211
|
-
xhr: xhr,
|
|
212
|
-
files: this.files
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
this.clear();
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
xhr.open('POST', this.url, true);
|
|
221
|
-
|
|
222
|
-
this.$emit('before-send', {
|
|
223
|
-
'xhr': xhr,
|
|
224
|
-
'formData': formData
|
|
225
|
-
});
|
|
226
|
-
|
|
227
|
-
xhr.withCredentials = this.withCredentials;
|
|
228
|
-
|
|
229
|
-
xhr.send(formData);
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
clear() {
|
|
233
|
-
this.files = [];
|
|
234
|
-
this.messages = null;
|
|
235
|
-
this.$emit('clear');
|
|
236
|
-
|
|
237
|
-
if (this.isAdvanced) {
|
|
238
|
-
this.clearInputElement();
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
onFocus() {
|
|
242
|
-
this.focused = true;
|
|
243
|
-
},
|
|
244
|
-
onBlur() {
|
|
245
|
-
this.focused = false;
|
|
246
|
-
},
|
|
247
|
-
isFileSelected(file) {
|
|
248
|
-
if (this.files && this.files.length) {
|
|
249
|
-
for (let sFile of this.files) {
|
|
250
|
-
if ((sFile.name + sFile.type + sFile.size) === (file.name + file.type + file.size))
|
|
251
|
-
return true;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
return false;
|
|
256
|
-
},
|
|
257
|
-
isIE11() {
|
|
258
|
-
return !!window['MSInputMethodContext'] && !!document['documentMode'];
|
|
259
|
-
},
|
|
260
|
-
validate(file) {
|
|
261
|
-
if (this.accept && !this.isFileTypeValid(file)) {
|
|
262
|
-
this.messages.push(this.invalidFileTypeMessage.replace('{0}', file.name).replace('{1}', this.accept));
|
|
263
|
-
return false;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
if (this.maxFileSize && file.size > this.maxFileSize) {
|
|
267
|
-
this.messages.push(this.invalidFileSizeMessage.replace('{0}', file.name).replace('{1}', this.formatSize(this.maxFileSize)));
|
|
268
|
-
return false;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
return true;
|
|
272
|
-
},
|
|
273
|
-
isFileTypeValid(file) {
|
|
274
|
-
let acceptableTypes = this.accept.split(',').map(type => type.trim());
|
|
275
|
-
for(let type of acceptableTypes) {
|
|
276
|
-
let acceptable = this.isWildcard(type) ? this.getTypeClass(file.type) === this.getTypeClass(type)
|
|
277
|
-
: file.type == type || this.getFileExtension(file).toLowerCase() === type.toLowerCase();
|
|
278
|
-
|
|
279
|
-
if (acceptable) {
|
|
280
|
-
return true;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
return false;
|
|
285
|
-
},
|
|
286
|
-
getTypeClass(fileType) {
|
|
287
|
-
return fileType.substring(0, fileType.indexOf('/'));
|
|
288
|
-
},
|
|
289
|
-
isWildcard(fileType){
|
|
290
|
-
return fileType.indexOf('*') !== -1;
|
|
291
|
-
},
|
|
292
|
-
getFileExtension(file) {
|
|
293
|
-
return '.' + file.name.split('.').pop();
|
|
294
|
-
},
|
|
295
|
-
isImage(file) {
|
|
296
|
-
return /^image\//.test(file.type);
|
|
297
|
-
},
|
|
298
|
-
onDragEnter(event) {
|
|
299
|
-
if (!this.disabled) {
|
|
300
|
-
event.stopPropagation();
|
|
301
|
-
event.preventDefault();
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
onDragOver(event) {
|
|
305
|
-
if (!this.disabled) {
|
|
306
|
-
utils.DomHandler.addClass(this.$refs.content, 'p-fileupload-highlight');
|
|
307
|
-
event.stopPropagation();
|
|
308
|
-
event.preventDefault();
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
onDragLeave() {
|
|
312
|
-
if (!this.disabled) {
|
|
313
|
-
utils.DomHandler.removeClass(this.$refs.content, 'p-fileupload-highlight');
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
onDrop(event) {
|
|
317
|
-
if (!this.disabled) {
|
|
318
|
-
utils.DomHandler.removeClass(this.$refs.content, 'p-fileupload-highlight');
|
|
319
|
-
event.stopPropagation();
|
|
320
|
-
event.preventDefault();
|
|
321
|
-
|
|
322
|
-
const files = event.dataTransfer ? event.dataTransfer.files : event.target.files;
|
|
323
|
-
const allowDrop = this.multiple || (files && files.length === 1);
|
|
324
|
-
|
|
325
|
-
if (allowDrop) {
|
|
326
|
-
this.onFileSelect(event);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
onBasicUploaderClick() {
|
|
331
|
-
if (this.hasFiles)
|
|
332
|
-
this.upload();
|
|
333
|
-
else
|
|
334
|
-
this.$refs.fileInput.click();
|
|
335
|
-
},
|
|
336
|
-
remove(index) {
|
|
337
|
-
this.clearInputElement();
|
|
338
|
-
let removedFile = this.files.splice(index, 1)[0];
|
|
339
|
-
this.files = [...this.files];
|
|
340
|
-
this.$emit('remove', {
|
|
341
|
-
file: removedFile,
|
|
342
|
-
files: this.files
|
|
343
|
-
});
|
|
344
|
-
},
|
|
345
|
-
clearInputElement() {
|
|
346
|
-
this.$refs.fileInput.value = '';
|
|
347
|
-
},
|
|
348
|
-
clearIEInput() {
|
|
349
|
-
if (this.$refs.fileInput) {
|
|
350
|
-
this.duplicateIEEvent = true; //IE11 fix to prevent onFileChange trigger again
|
|
351
|
-
this.$refs.fileInput.value = '';
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
formatSize(bytes) {
|
|
355
|
-
if (bytes === 0) {
|
|
356
|
-
return '0 B';
|
|
357
|
-
}
|
|
358
|
-
let k = 1000,
|
|
359
|
-
dm = 3,
|
|
360
|
-
sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
|
|
361
|
-
i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
362
|
-
|
|
363
|
-
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];
|
|
364
|
-
},
|
|
365
|
-
isFileLimitExceeded() {
|
|
366
|
-
if (this.fileLimit && this.fileLimit <= this.files.length + this.uploadedFileCount && this.focused) {
|
|
367
|
-
this.focused = false;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
return this.fileLimit && this.fileLimit < this.files.length + this.uploadedFileCount;
|
|
371
|
-
},
|
|
372
|
-
checkFileLimit() {
|
|
373
|
-
if (this.isFileLimitExceeded()) {
|
|
374
|
-
this.messages.push(this.invalidFileLimitMessage.replace('{0}', this.fileLimit.toString()));
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
onMessageClose() {
|
|
378
|
-
this.messages = null;
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
computed: {
|
|
382
|
-
isAdvanced() {
|
|
383
|
-
return this.mode === 'advanced';
|
|
384
|
-
},
|
|
385
|
-
isBasic() {
|
|
386
|
-
return this.mode === 'basic';
|
|
387
|
-
},
|
|
388
|
-
advancedChooseButtonClass() {
|
|
389
|
-
return ['p-button p-component p-fileupload-choose', this.class, {
|
|
390
|
-
'p-disabled': this.disabled,
|
|
391
|
-
'p-focus': this.focused
|
|
392
|
-
}
|
|
393
|
-
];
|
|
394
|
-
},
|
|
395
|
-
basicChooseButtonClass() {
|
|
396
|
-
return ['p-button p-component p-fileupload-choose', this.class, {
|
|
397
|
-
'p-fileupload-choose-selected': this.hasFiles,
|
|
398
|
-
'p-disabled': this.disabled,
|
|
399
|
-
'p-focus': this.focused
|
|
400
|
-
}];
|
|
401
|
-
},
|
|
402
|
-
advancedChooseIconClass() {
|
|
403
|
-
return ['p-button-icon p-button-icon-left pi-fw', this.chooseIcon];
|
|
404
|
-
},
|
|
405
|
-
basicChooseButtonIconClass() {
|
|
406
|
-
return ['p-button-icon p-button-icon-left',
|
|
407
|
-
!this.hasFiles || this.auto ? this.uploadIcon : this.chooseIcon
|
|
408
|
-
];
|
|
409
|
-
},
|
|
410
|
-
basicChooseButtonLabel() {
|
|
411
|
-
return this.auto ? this.chooseButtonLabel : (this.hasFiles ? this.files.map(f => f.name).join(', ') : this.chooseButtonLabel);
|
|
412
|
-
},
|
|
413
|
-
hasFiles() {
|
|
414
|
-
return this.files && this.files.length > 0;
|
|
415
|
-
},
|
|
416
|
-
chooseDisabled() {
|
|
417
|
-
return this.disabled || (this.fileLimit && this.fileLimit <= this.files.length + this.uploadedFileCount);
|
|
418
|
-
},
|
|
419
|
-
uploadDisabled() {
|
|
420
|
-
return this.disabled || !this.hasFiles || (this.fileLimit && this.fileLimit < this.files.length);
|
|
421
|
-
},
|
|
422
|
-
cancelDisabled() {
|
|
423
|
-
return this.disabled || !this.hasFiles;
|
|
424
|
-
},
|
|
425
|
-
chooseButtonLabel() {
|
|
426
|
-
return this.chooseLabel || this.$primevue.config.locale.choose;
|
|
427
|
-
},
|
|
428
|
-
uploadButtonLabel() {
|
|
429
|
-
return this.uploadLabel || this.$primevue.config.locale.upload;
|
|
430
|
-
},
|
|
431
|
-
cancelButtonLabel() {
|
|
432
|
-
return this.cancelLabel || this.$primevue.config.locale.cancel;
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
components: {
|
|
436
|
-
'FileUploadButton': Button__default["default"],
|
|
437
|
-
'FileUploadProgressBar': ProgressBar__default["default"],
|
|
438
|
-
'FileUploadMessage': Message__default["default"]
|
|
439
|
-
},
|
|
440
|
-
directives: {
|
|
441
|
-
'ripple': Ripple__default["default"]
|
|
442
|
-
}
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
const _hoisted_1 = {
|
|
446
|
-
key: 0,
|
|
447
|
-
class: "p-fileupload p-fileupload-advanced p-component"
|
|
448
|
-
};
|
|
449
|
-
const _hoisted_2 = { class: "p-fileupload-buttonbar" };
|
|
450
|
-
const _hoisted_3 = ["multiple", "accept", "disabled"];
|
|
451
|
-
const _hoisted_4 = { class: "p-button-label" };
|
|
452
|
-
const _hoisted_5 = {
|
|
453
|
-
key: 1,
|
|
454
|
-
class: "p-fileupload-files"
|
|
455
|
-
};
|
|
456
|
-
const _hoisted_6 = ["alt", "src", "width"];
|
|
457
|
-
const _hoisted_7 = { class: "p-fileupload-filename" };
|
|
458
|
-
const _hoisted_8 = {
|
|
459
|
-
key: 2,
|
|
460
|
-
class: "p-fileupload-empty"
|
|
461
|
-
};
|
|
462
|
-
const _hoisted_9 = {
|
|
463
|
-
key: 1,
|
|
464
|
-
class: "p-fileupload p-fileupload-basic p-component"
|
|
465
|
-
};
|
|
466
|
-
const _hoisted_10 = { class: "p-button-label" };
|
|
467
|
-
const _hoisted_11 = ["accept", "disabled", "multiple"];
|
|
468
|
-
|
|
469
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
470
|
-
const _component_FileUploadButton = vue.resolveComponent("FileUploadButton");
|
|
471
|
-
const _component_FileUploadProgressBar = vue.resolveComponent("FileUploadProgressBar");
|
|
472
|
-
const _component_FileUploadMessage = vue.resolveComponent("FileUploadMessage");
|
|
473
|
-
const _directive_ripple = vue.resolveDirective("ripple");
|
|
474
|
-
|
|
475
|
-
return ($options.isAdvanced)
|
|
476
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
477
|
-
vue.createElementVNode("div", _hoisted_2, [
|
|
478
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
479
|
-
class: vue.normalizeClass($options.advancedChooseButtonClass),
|
|
480
|
-
style: vue.normalizeStyle($props.style),
|
|
481
|
-
onClick: _cache[1] || (_cache[1] = (...args) => ($options.choose && $options.choose(...args))),
|
|
482
|
-
onKeydown: _cache[2] || (_cache[2] = vue.withKeys((...args) => ($options.choose && $options.choose(...args)), ["enter"])),
|
|
483
|
-
onFocus: _cache[3] || (_cache[3] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
484
|
-
onBlur: _cache[4] || (_cache[4] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
485
|
-
tabindex: "0"
|
|
486
|
-
}, [
|
|
487
|
-
vue.createElementVNode("input", {
|
|
488
|
-
ref: "fileInput",
|
|
489
|
-
type: "file",
|
|
490
|
-
onChange: _cache[0] || (_cache[0] = (...args) => ($options.onFileSelect && $options.onFileSelect(...args))),
|
|
491
|
-
multiple: $props.multiple,
|
|
492
|
-
accept: $props.accept,
|
|
493
|
-
disabled: $options.chooseDisabled
|
|
494
|
-
}, null, 40, _hoisted_3),
|
|
495
|
-
vue.createElementVNode("span", {
|
|
496
|
-
class: vue.normalizeClass($options.advancedChooseIconClass)
|
|
497
|
-
}, null, 2),
|
|
498
|
-
vue.createElementVNode("span", _hoisted_4, vue.toDisplayString($options.chooseButtonLabel), 1)
|
|
499
|
-
], 38)), [
|
|
500
|
-
[_directive_ripple]
|
|
501
|
-
]),
|
|
502
|
-
($props.showUploadButton)
|
|
503
|
-
? (vue.openBlock(), vue.createBlock(_component_FileUploadButton, {
|
|
504
|
-
key: 0,
|
|
505
|
-
label: $options.uploadButtonLabel,
|
|
506
|
-
icon: $props.uploadIcon,
|
|
507
|
-
onClick: $options.upload,
|
|
508
|
-
disabled: $options.uploadDisabled
|
|
509
|
-
}, null, 8, ["label", "icon", "onClick", "disabled"]))
|
|
510
|
-
: vue.createCommentVNode("", true),
|
|
511
|
-
($props.showCancelButton)
|
|
512
|
-
? (vue.openBlock(), vue.createBlock(_component_FileUploadButton, {
|
|
513
|
-
key: 1,
|
|
514
|
-
label: $options.cancelButtonLabel,
|
|
515
|
-
icon: $props.cancelIcon,
|
|
516
|
-
onClick: $options.clear,
|
|
517
|
-
disabled: $options.cancelDisabled
|
|
518
|
-
}, null, 8, ["label", "icon", "onClick", "disabled"]))
|
|
519
|
-
: vue.createCommentVNode("", true)
|
|
520
|
-
]),
|
|
521
|
-
vue.createElementVNode("div", {
|
|
522
|
-
ref: "content",
|
|
523
|
-
class: "p-fileupload-content",
|
|
524
|
-
onDragenter: _cache[5] || (_cache[5] = (...args) => ($options.onDragEnter && $options.onDragEnter(...args))),
|
|
525
|
-
onDragover: _cache[6] || (_cache[6] = (...args) => ($options.onDragOver && $options.onDragOver(...args))),
|
|
526
|
-
onDragleave: _cache[7] || (_cache[7] = (...args) => ($options.onDragLeave && $options.onDragLeave(...args))),
|
|
527
|
-
onDrop: _cache[8] || (_cache[8] = (...args) => ($options.onDrop && $options.onDrop(...args)))
|
|
528
|
-
}, [
|
|
529
|
-
($options.hasFiles)
|
|
530
|
-
? (vue.openBlock(), vue.createBlock(_component_FileUploadProgressBar, {
|
|
531
|
-
key: 0,
|
|
532
|
-
value: $data.progress
|
|
533
|
-
}, null, 8, ["value"]))
|
|
534
|
-
: vue.createCommentVNode("", true),
|
|
535
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($data.messages, (msg) => {
|
|
536
|
-
return (vue.openBlock(), vue.createBlock(_component_FileUploadMessage, {
|
|
537
|
-
severity: "error",
|
|
538
|
-
key: msg,
|
|
539
|
-
onClose: $options.onMessageClose
|
|
540
|
-
}, {
|
|
541
|
-
default: vue.withCtx(() => [
|
|
542
|
-
vue.createTextVNode(vue.toDisplayString(msg), 1)
|
|
543
|
-
]),
|
|
544
|
-
_: 2
|
|
545
|
-
}, 1032, ["onClose"]))
|
|
546
|
-
}), 128)),
|
|
547
|
-
($options.hasFiles)
|
|
548
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
549
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($data.files, (file, index) => {
|
|
550
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
551
|
-
class: "p-fileupload-row",
|
|
552
|
-
key: file.name + file.type + file.size
|
|
553
|
-
}, [
|
|
554
|
-
vue.createElementVNode("div", null, [
|
|
555
|
-
($options.isImage(file))
|
|
556
|
-
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
557
|
-
key: 0,
|
|
558
|
-
role: "presentation",
|
|
559
|
-
alt: file.name,
|
|
560
|
-
src: file.objectURL,
|
|
561
|
-
width: $props.previewWidth
|
|
562
|
-
}, null, 8, _hoisted_6))
|
|
563
|
-
: vue.createCommentVNode("", true)
|
|
564
|
-
]),
|
|
565
|
-
vue.createElementVNode("div", _hoisted_7, vue.toDisplayString(file.name), 1),
|
|
566
|
-
vue.createElementVNode("div", null, vue.toDisplayString($options.formatSize(file.size)), 1),
|
|
567
|
-
vue.createElementVNode("div", null, [
|
|
568
|
-
vue.createVNode(_component_FileUploadButton, {
|
|
569
|
-
type: "button",
|
|
570
|
-
icon: "pi pi-times",
|
|
571
|
-
onClick: $event => ($options.remove(index))
|
|
572
|
-
}, null, 8, ["onClick"])
|
|
573
|
-
])
|
|
574
|
-
]))
|
|
575
|
-
}), 128))
|
|
576
|
-
]))
|
|
577
|
-
: vue.createCommentVNode("", true),
|
|
578
|
-
(_ctx.$slots.empty && !$options.hasFiles)
|
|
579
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
580
|
-
vue.renderSlot(_ctx.$slots, "empty")
|
|
581
|
-
]))
|
|
582
|
-
: vue.createCommentVNode("", true)
|
|
583
|
-
], 544)
|
|
584
|
-
]))
|
|
585
|
-
: ($options.isBasic)
|
|
586
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
587
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($data.messages, (msg) => {
|
|
588
|
-
return (vue.openBlock(), vue.createBlock(_component_FileUploadMessage, {
|
|
589
|
-
severity: "error",
|
|
590
|
-
key: msg,
|
|
591
|
-
onClose: $options.onMessageClose
|
|
592
|
-
}, {
|
|
593
|
-
default: vue.withCtx(() => [
|
|
594
|
-
vue.createTextVNode(vue.toDisplayString(msg), 1)
|
|
595
|
-
]),
|
|
596
|
-
_: 2
|
|
597
|
-
}, 1032, ["onClose"]))
|
|
598
|
-
}), 128)),
|
|
599
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
600
|
-
class: vue.normalizeClass($options.basicChooseButtonClass),
|
|
601
|
-
style: vue.normalizeStyle($props.style),
|
|
602
|
-
onMouseup: _cache[12] || (_cache[12] = (...args) => ($options.onBasicUploaderClick && $options.onBasicUploaderClick(...args))),
|
|
603
|
-
onKeydown: _cache[13] || (_cache[13] = vue.withKeys((...args) => ($options.choose && $options.choose(...args)), ["enter"])),
|
|
604
|
-
onFocus: _cache[14] || (_cache[14] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
605
|
-
onBlur: _cache[15] || (_cache[15] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
606
|
-
tabindex: "0"
|
|
607
|
-
}, [
|
|
608
|
-
vue.createElementVNode("span", {
|
|
609
|
-
class: vue.normalizeClass($options.basicChooseButtonIconClass)
|
|
610
|
-
}, null, 2),
|
|
611
|
-
vue.createElementVNode("span", _hoisted_10, vue.toDisplayString($options.basicChooseButtonLabel), 1),
|
|
612
|
-
(!$options.hasFiles)
|
|
613
|
-
? (vue.openBlock(), vue.createElementBlock("input", {
|
|
614
|
-
key: 0,
|
|
615
|
-
ref: "fileInput",
|
|
616
|
-
type: "file",
|
|
617
|
-
accept: $props.accept,
|
|
618
|
-
disabled: $props.disabled,
|
|
619
|
-
multiple: $props.multiple,
|
|
620
|
-
onChange: _cache[9] || (_cache[9] = (...args) => ($options.onFileSelect && $options.onFileSelect(...args))),
|
|
621
|
-
onFocus: _cache[10] || (_cache[10] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
622
|
-
onBlur: _cache[11] || (_cache[11] = (...args) => ($options.onBlur && $options.onBlur(...args)))
|
|
623
|
-
}, null, 40, _hoisted_11))
|
|
624
|
-
: vue.createCommentVNode("", true)
|
|
625
|
-
], 38)), [
|
|
626
|
-
[_directive_ripple]
|
|
627
|
-
])
|
|
628
|
-
]))
|
|
629
|
-
: vue.createCommentVNode("", true)
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
function styleInject(css, ref) {
|
|
633
|
-
if ( ref === void 0 ) ref = {};
|
|
634
|
-
var insertAt = ref.insertAt;
|
|
635
|
-
|
|
636
|
-
if (!css || typeof document === 'undefined') { return; }
|
|
637
|
-
|
|
638
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
639
|
-
var style = document.createElement('style');
|
|
640
|
-
style.type = 'text/css';
|
|
641
|
-
|
|
642
|
-
if (insertAt === 'top') {
|
|
643
|
-
if (head.firstChild) {
|
|
644
|
-
head.insertBefore(style, head.firstChild);
|
|
645
|
-
} else {
|
|
646
|
-
head.appendChild(style);
|
|
647
|
-
}
|
|
648
|
-
} else {
|
|
649
|
-
head.appendChild(style);
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
if (style.styleSheet) {
|
|
653
|
-
style.styleSheet.cssText = css;
|
|
654
|
-
} else {
|
|
655
|
-
style.appendChild(document.createTextNode(css));
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
var css_248z = "\n.p-fileupload-content {\n position: relative;\n}\n.p-fileupload-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-fileupload-row > div {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 25%;\n}\n.p-fileupload-row > div:last-child {\n text-align: right;\n}\n.p-fileupload-content .p-progressbar {\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-button.p-fileupload-choose {\n position: relative;\n overflow: hidden;\n}\n.p-button.p-fileupload-choose input[type=file] {\n display: none;\n}\n.p-fileupload-choose.p-fileupload-choose-selected input[type=file] {\n display: none;\n}\n.p-fileupload-filename {\n word-break: break-all;\n}\n.p-fluid .p-fileupload .p-button {\n width: auto;\n}\n";
|
|
660
|
-
styleInject(css_248z);
|
|
661
|
-
|
|
662
|
-
script.render = render;
|
|
663
|
-
|
|
664
|
-
return script;
|
|
665
|
-
|
|
666
|
-
})(primevue.button, primevue.progressbar, primevue.message, primevue.utils, primevue.ripple, Vue);
|