primevue 3.14.0 → 3.16.1
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.d.ts +90 -0
- package/accordion/Accordion.vue +169 -0
- package/accordion/accordion.cjs.js +227 -0
- package/accordion/accordion.cjs.min.js +1 -0
- package/accordion/accordion.esm.js +225 -0
- package/accordion/accordion.esm.min.js +1 -0
- package/accordion/accordion.js +228 -0
- package/accordion/accordion.min.js +1 -0
- package/accordion/package.json +9 -0
- package/accordiontab/AccordionTab.d.ts +45 -0
- package/accordiontab/AccordionTab.vue +13 -0
- package/accordiontab/accordiontab.cjs.js +19 -0
- package/accordiontab/accordiontab.cjs.min.js +1 -0
- package/accordiontab/accordiontab.esm.js +17 -0
- package/accordiontab/accordiontab.esm.min.js +1 -0
- package/accordiontab/accordiontab.js +21 -0
- package/accordiontab/accordiontab.min.js +1 -0
- package/accordiontab/package.json +9 -0
- package/api/Api.d.ts +303 -0
- package/api/api.cjs.js +518 -0
- package/api/api.cjs.min.js +1 -0
- package/api/api.esm.js +510 -0
- package/api/api.esm.min.js +1 -0
- package/api/api.js +522 -0
- package/api/api.min.js +1 -0
- package/api/package.json +6 -0
- package/autocomplete/AutoComplete.d.ts +447 -0
- package/autocomplete/AutoComplete.vue +1030 -0
- package/autocomplete/autocomplete.cjs.js +1166 -0
- package/autocomplete/autocomplete.cjs.min.js +1 -0
- package/autocomplete/autocomplete.esm.js +1156 -0
- package/autocomplete/autocomplete.esm.min.js +1 -0
- package/autocomplete/autocomplete.js +1162 -0
- package/autocomplete/autocomplete.min.js +1 -0
- package/autocomplete/package.json +9 -0
- package/avatar/Avatar.d.ts +66 -0
- package/avatar/Avatar.vue +87 -0
- package/avatar/avatar.cjs.js +110 -0
- package/avatar/avatar.cjs.min.js +1 -0
- package/avatar/avatar.esm.js +108 -0
- package/avatar/avatar.esm.min.js +1 -0
- package/avatar/avatar.js +112 -0
- package/avatar/avatar.min.js +1 -0
- package/avatar/package.json +9 -0
- package/avatargroup/AvatarGroup.d.ts +33 -0
- package/avatargroup/AvatarGroup.vue +22 -0
- package/avatargroup/avatargroup.cjs.js +49 -0
- package/avatargroup/avatargroup.cjs.min.js +1 -0
- package/avatargroup/avatargroup.esm.js +47 -0
- package/avatargroup/avatargroup.esm.min.js +1 -0
- package/avatargroup/avatargroup.js +51 -0
- package/avatargroup/avatargroup.min.js +1 -0
- package/avatargroup/package.json +9 -0
- package/badge/Badge.d.ts +52 -0
- package/badge/Badge.vue +33 -0
- package/badge/badge.cjs.js +43 -0
- package/badge/badge.cjs.min.js +1 -0
- package/badge/badge.esm.js +41 -0
- package/badge/badge.esm.min.js +1 -0
- package/badge/badge.js +45 -0
- package/badge/badge.min.js +1 -0
- package/badge/package.json +9 -0
- package/badgedirective/BadgeDirective.d.ts +5 -0
- package/badgedirective/badgedirective.cjs.js +58 -0
- package/badgedirective/badgedirective.cjs.min.js +1 -0
- package/badgedirective/badgedirective.esm.js +56 -0
- package/badgedirective/badgedirective.esm.min.js +1 -0
- package/badgedirective/badgedirective.js +60 -0
- package/badgedirective/badgedirective.min.js +1 -0
- package/badgedirective/package.json +6 -0
- package/blockui/BlockUI.d.ts +60 -0
- package/blockui/BlockUI.vue +110 -0
- package/blockui/blockui.cjs.js +126 -0
- package/blockui/blockui.cjs.min.js +1 -0
- package/blockui/blockui.esm.js +124 -0
- package/blockui/blockui.esm.min.js +1 -0
- package/blockui/blockui.js +127 -0
- package/blockui/blockui.min.js +1 -0
- package/blockui/package.json +9 -0
- package/breadcrumb/Breadcrumb.d.ts +58 -0
- package/breadcrumb/Breadcrumb.vue +63 -0
- package/breadcrumb/BreadcrumbItem.vue +65 -0
- package/breadcrumb/breadcrumb.cjs.js +214 -0
- package/breadcrumb/breadcrumb.cjs.min.js +1 -0
- package/breadcrumb/breadcrumb.esm.js +212 -0
- package/breadcrumb/breadcrumb.esm.min.js +1 -0
- package/breadcrumb/breadcrumb.js +216 -0
- package/breadcrumb/breadcrumb.min.js +1 -0
- package/breadcrumb/package.json +10 -0
- package/button/Button.d.ts +74 -0
- package/button/Button.vue +84 -0
- package/button/button.cjs.js +120 -0
- package/button/button.cjs.min.js +1 -0
- package/button/button.esm.js +114 -0
- package/button/button.esm.min.js +1 -0
- package/button/button.js +121 -0
- package/button/button.min.js +1 -0
- package/button/package.json +9 -0
- package/calendar/Calendar.d.ts +400 -0
- package/calendar/Calendar.vue +2815 -0
- package/calendar/calendar.cjs.js +3115 -0
- package/calendar/calendar.cjs.min.js +1 -0
- package/calendar/calendar.esm.js +3106 -0
- package/calendar/calendar.esm.min.js +1 -0
- package/calendar/calendar.js +3112 -0
- package/calendar/calendar.min.js +1 -0
- package/calendar/package.json +9 -0
- package/card/Card.d.ts +50 -0
- package/card/Card.vue +29 -0
- package/card/card.cjs.js +91 -0
- package/card/card.cjs.min.js +1 -0
- package/card/card.esm.js +89 -0
- package/card/card.esm.min.js +1 -0
- package/card/card.js +93 -0
- package/card/card.min.js +1 -0
- package/card/package.json +9 -0
- package/carousel/Carousel.d.ts +130 -0
- package/carousel/Carousel.vue +599 -0
- package/carousel/carousel.cjs.js +655 -0
- package/carousel/carousel.cjs.min.js +1 -0
- package/carousel/carousel.esm.js +649 -0
- package/carousel/carousel.esm.min.js +1 -0
- package/carousel/carousel.js +655 -0
- package/carousel/carousel.min.js +1 -0
- package/carousel/package.json +9 -0
- package/cascadeselect/CascadeSelect.d.ts +264 -0
- package/cascadeselect/CascadeSelect.vue +851 -0
- package/cascadeselect/CascadeSelectSub.vue +101 -0
- package/cascadeselect/cascadeselect.cjs.js +1032 -0
- package/cascadeselect/cascadeselect.cjs.min.js +1 -0
- package/cascadeselect/cascadeselect.esm.js +1024 -0
- package/cascadeselect/cascadeselect.esm.min.js +1 -0
- package/cascadeselect/cascadeselect.js +1030 -0
- package/cascadeselect/cascadeselect.min.js +1 -0
- package/cascadeselect/package.json +9 -0
- package/chart/Chart.d.ts +109 -0
- package/chart/Chart.vue +113 -0
- package/chart/chart.cjs.js +169 -0
- package/chart/chart.cjs.min.js +1 -0
- package/chart/chart.esm.js +149 -0
- package/chart/chart.esm.min.js +1 -0
- package/chart/chart.js +153 -0
- package/chart/chart.min.js +1 -0
- package/chart/package.json +9 -0
- package/checkbox/Checkbox.d.ts +113 -0
- package/checkbox/Checkbox.vue +114 -0
- package/checkbox/checkbox.cjs.js +146 -0
- package/checkbox/checkbox.cjs.min.js +1 -0
- package/checkbox/checkbox.esm.js +144 -0
- package/checkbox/checkbox.esm.min.js +1 -0
- package/checkbox/checkbox.js +147 -0
- package/checkbox/checkbox.min.js +1 -0
- package/checkbox/package.json +9 -0
- package/chip/Chip.d.ts +60 -0
- package/chip/Chip.vue +88 -0
- package/chip/chip.cjs.js +129 -0
- package/chip/chip.cjs.min.js +1 -0
- package/chip/chip.esm.js +127 -0
- package/chip/chip.esm.min.js +1 -0
- package/chip/chip.js +131 -0
- package/chip/chip.min.js +1 -0
- package/chip/package.json +9 -0
- package/chips/Chips.d.ts +124 -0
- package/chips/Chips.vue +298 -0
- package/chips/chips.cjs.js +332 -0
- package/chips/chips.cjs.min.js +1 -0
- package/chips/chips.esm.js +330 -0
- package/chips/chips.esm.min.js +1 -0
- package/chips/chips.js +333 -0
- package/chips/chips.min.js +1 -0
- package/chips/package.json +9 -0
- package/colorpicker/ColorPicker.d.ts +109 -0
- package/colorpicker/ColorPicker.vue +670 -0
- package/colorpicker/colorpicker.cjs.js +674 -0
- package/colorpicker/colorpicker.cjs.min.js +1 -0
- package/colorpicker/colorpicker.esm.js +667 -0
- package/colorpicker/colorpicker.esm.min.js +1 -0
- package/colorpicker/colorpicker.js +673 -0
- package/colorpicker/colorpicker.min.js +1 -0
- package/colorpicker/package.json +9 -0
- package/column/Column.d.ts +488 -0
- package/column/Column.vue +186 -0
- package/column/column.cjs.js +188 -0
- package/column/column.cjs.min.js +1 -0
- package/column/column.esm.js +186 -0
- package/column/column.esm.min.js +1 -0
- package/column/column.js +192 -0
- package/column/column.min.js +1 -0
- package/column/package.json +9 -0
- package/columngroup/ColumnGroup.d.ts +35 -0
- package/columngroup/ColumnGroup.vue +14 -0
- package/columngroup/columngroup.cjs.js +16 -0
- package/columngroup/columngroup.cjs.min.js +1 -0
- package/columngroup/columngroup.esm.js +14 -0
- package/columngroup/columngroup.esm.min.js +1 -0
- package/columngroup/columngroup.js +20 -0
- package/columngroup/columngroup.min.js +1 -0
- package/columngroup/package.json +9 -0
- package/config/PrimeVue.d.ts +114 -0
- package/config/config.cjs.js +140 -0
- package/config/config.cjs.min.js +1 -0
- package/config/config.esm.js +135 -0
- package/config/config.esm.min.js +1 -0
- package/config/config.js +143 -0
- package/config/config.min.js +1 -0
- package/config/package.json +6 -0
- package/confirmationeventbus/confirmationeventbus.cjs.js +7 -0
- package/confirmationeventbus/confirmationeventbus.cjs.min.js +1 -0
- package/confirmationeventbus/confirmationeventbus.esm.js +5 -0
- package/confirmationeventbus/confirmationeventbus.esm.min.js +1 -0
- package/confirmationeventbus/confirmationeventbus.js +9 -0
- package/confirmationeventbus/confirmationeventbus.min.js +1 -0
- package/confirmationeventbus/package.json +5 -0
- package/confirmationoptions/ConfirmationOptions.d.ts +70 -0
- package/confirmationoptions/package.json +3 -0
- package/confirmationservice/ConfirmationService.d.ts +29 -0
- package/confirmationservice/confirmationservice.cjs.js +25 -0
- package/confirmationservice/confirmationservice.cjs.min.js +1 -0
- package/confirmationservice/confirmationservice.esm.js +19 -0
- package/confirmationservice/confirmationservice.esm.min.js +1 -0
- package/confirmationservice/confirmationservice.js +26 -0
- package/confirmationservice/confirmationservice.min.js +1 -0
- package/confirmationservice/package.json +6 -0
- package/confirmdialog/ConfirmDialog.d.ts +62 -0
- package/confirmdialog/ConfirmDialog.vue +123 -0
- package/confirmdialog/confirmdialog.cjs.js +165 -0
- package/confirmdialog/confirmdialog.cjs.min.js +1 -0
- package/confirmdialog/confirmdialog.esm.js +157 -0
- package/confirmdialog/confirmdialog.esm.min.js +1 -0
- package/confirmdialog/confirmdialog.js +164 -0
- package/confirmdialog/confirmdialog.min.js +1 -0
- package/confirmdialog/package.json +9 -0
- package/confirmpopup/ConfirmPopup.d.ts +47 -0
- package/confirmpopup/ConfirmPopup.vue +301 -0
- package/confirmpopup/confirmpopup.cjs.js +317 -0
- package/confirmpopup/confirmpopup.cjs.min.js +1 -0
- package/confirmpopup/confirmpopup.esm.js +308 -0
- package/confirmpopup/confirmpopup.esm.min.js +1 -0
- package/confirmpopup/confirmpopup.js +314 -0
- package/confirmpopup/confirmpopup.min.js +1 -0
- package/confirmpopup/package.json +9 -0
- package/contextmenu/ContextMenu.d.ts +98 -0
- package/contextmenu/ContextMenu.vue +264 -0
- package/contextmenu/ContextMenuSub.vue +165 -0
- package/contextmenu/contextmenu.cjs.js +541 -0
- package/contextmenu/contextmenu.cjs.min.js +1 -0
- package/contextmenu/contextmenu.esm.js +534 -0
- package/contextmenu/contextmenu.esm.min.js +1 -0
- package/contextmenu/contextmenu.js +540 -0
- package/contextmenu/contextmenu.min.js +1 -0
- package/contextmenu/package.json +9 -0
- package/core/core.js +8615 -0
- package/core/core.min.js +52 -0
- package/datatable/BodyCell.vue +417 -0
- package/datatable/ColumnFilter.vue +522 -0
- package/datatable/DataTable.d.ts +1076 -0
- package/datatable/DataTable.vue +2259 -0
- package/datatable/FooterCell.vue +75 -0
- package/datatable/HeaderCell.vue +249 -0
- package/datatable/HeaderCheckbox.vue +41 -0
- package/datatable/RowCheckbox.vue +42 -0
- package/datatable/RowRadioButton.vue +42 -0
- package/datatable/TableBody.vue +526 -0
- package/datatable/TableFooter.vue +93 -0
- package/datatable/TableHeader.vue +177 -0
- package/datatable/TableLoadingBody.vue +25 -0
- package/datatable/datatable.cjs.js +5065 -0
- package/datatable/datatable.cjs.min.js +1 -0
- package/datatable/datatable.esm.js +5053 -0
- package/datatable/datatable.esm.min.js +1 -0
- package/datatable/datatable.js +5058 -0
- package/datatable/datatable.min.js +1 -0
- package/datatable/package.json +9 -0
- package/dataview/DataView.d.ts +212 -0
- package/dataview/DataView.vue +230 -0
- package/dataview/dataview.cjs.js +328 -0
- package/dataview/dataview.cjs.min.js +1 -0
- package/dataview/dataview.esm.js +322 -0
- package/dataview/dataview.esm.min.js +1 -0
- package/dataview/dataview.js +328 -0
- package/dataview/dataview.min.js +1 -0
- package/dataview/package.json +9 -0
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +39 -0
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +39 -0
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +59 -0
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -0
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +57 -0
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -0
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +61 -0
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -0
- package/dataviewlayoutoptions/package.json +9 -0
- package/deferredcontent/DeferredContent.d.ts +38 -0
- package/deferredcontent/DeferredContent.vue +62 -0
- package/deferredcontent/deferredcontent.cjs.js +72 -0
- package/deferredcontent/deferredcontent.cjs.min.js +1 -0
- package/deferredcontent/deferredcontent.esm.js +70 -0
- package/deferredcontent/deferredcontent.esm.min.js +1 -0
- package/deferredcontent/deferredcontent.js +74 -0
- package/deferredcontent/deferredcontent.min.js +1 -0
- package/deferredcontent/package.json +9 -0
- package/dialog/Dialog.d.ts +204 -0
- package/dialog/Dialog.vue +600 -0
- package/dialog/dialog.cjs.js +547 -0
- package/dialog/dialog.cjs.min.js +1 -0
- package/dialog/dialog.esm.js +540 -0
- package/dialog/dialog.esm.min.js +1 -0
- package/dialog/dialog.js +546 -0
- package/dialog/dialog.min.js +1 -0
- package/dialog/package.json +9 -0
- package/dialogservice/DialogService.d.ts +27 -0
- package/dialogservice/dialogservice.cjs.js +36 -0
- package/dialogservice/dialogservice.cjs.min.js +1 -0
- package/dialogservice/dialogservice.esm.js +30 -0
- package/dialogservice/dialogservice.esm.min.js +1 -0
- package/dialogservice/dialogservice.js +36 -0
- package/dialogservice/dialogservice.min.js +1 -0
- package/dialogservice/package.json +6 -0
- package/divider/Divider.d.ts +61 -0
- package/divider/Divider.vue +126 -0
- package/divider/divider.cjs.js +85 -0
- package/divider/divider.cjs.min.js +1 -0
- package/divider/divider.esm.js +83 -0
- package/divider/divider.esm.min.js +1 -0
- package/divider/divider.js +87 -0
- package/divider/divider.min.js +1 -0
- package/divider/package.json +9 -0
- package/dock/Dock.d.ts +105 -0
- package/dock/Dock.vue +143 -0
- package/dock/DockSub.vue +104 -0
- package/dock/dock.cjs.js +251 -0
- package/dock/dock.cjs.min.js +1 -0
- package/dock/dock.esm.js +244 -0
- package/dock/dock.esm.min.js +1 -0
- package/dock/dock.js +251 -0
- package/dock/dock.min.js +1 -0
- package/dock/package.json +9 -0
- package/dropdown/Dropdown.d.ts +416 -0
- package/dropdown/Dropdown.vue +975 -0
- package/dropdown/dropdown.cjs.js +1130 -0
- package/dropdown/dropdown.cjs.min.js +1 -0
- package/dropdown/dropdown.esm.js +1121 -0
- package/dropdown/dropdown.esm.min.js +1 -0
- package/dropdown/dropdown.js +1126 -0
- package/dropdown/dropdown.min.js +1 -0
- package/dropdown/package.json +9 -0
- package/dynamicdialog/DynamicDialog.d.ts +26 -0
- package/dynamicdialog/DynamicDialog.vue +75 -0
- package/dynamicdialog/dynamicdialog.cjs.js +117 -0
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -0
- package/dynamicdialog/dynamicdialog.esm.js +110 -0
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -0
- package/dynamicdialog/dynamicdialog.js +116 -0
- package/dynamicdialog/dynamicdialog.min.js +1 -0
- package/dynamicdialog/package.json +9 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.cjs.js +7 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.cjs.min.js +1 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.esm.js +5 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.esm.min.js +1 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.js +9 -0
- package/dynamicdialogeventbus/dynamicdialogeventbus.min.js +1 -0
- package/dynamicdialogeventbus/package.json +5 -0
- package/dynamicdialogoptions/DynamicDialogOptions.d.ts +73 -0
- package/dynamicdialogoptions/package.json +3 -0
- package/editor/Editor.d.ts +119 -0
- package/editor/Editor.vue +1079 -0
- package/editor/editor.cjs.js +180 -0
- package/editor/editor.cjs.min.js +1 -0
- package/editor/editor.esm.js +174 -0
- package/editor/editor.esm.min.js +1 -0
- package/editor/editor.js +181 -0
- package/editor/editor.min.js +1 -0
- package/editor/package.json +9 -0
- package/fieldset/Fieldset.d.ts +71 -0
- package/fieldset/Fieldset.vue +94 -0
- package/fieldset/fieldset.cjs.js +150 -0
- package/fieldset/fieldset.cjs.min.js +1 -0
- package/fieldset/fieldset.esm.js +144 -0
- package/fieldset/fieldset.esm.min.js +1 -0
- package/fieldset/fieldset.js +150 -0
- package/fieldset/fieldset.min.js +1 -0
- package/fieldset/package.json +9 -0
- package/fileupload/FileUpload.d.ts +274 -0
- package/fileupload/FileUpload.vue +529 -0
- package/fileupload/fileupload.cjs.js +669 -0
- package/fileupload/fileupload.cjs.min.js +1 -0
- package/fileupload/fileupload.esm.js +660 -0
- package/fileupload/fileupload.esm.min.js +1 -0
- package/fileupload/fileupload.js +666 -0
- package/fileupload/fileupload.min.js +1 -0
- package/fileupload/package.json +9 -0
- package/fullcalendar/FullCalendar.d.ts +36 -0
- package/fullcalendar/FullCalendar.vue +64 -0
- package/fullcalendar/fullcalendar.cjs.js +66 -0
- package/fullcalendar/fullcalendar.cjs.min.js +1 -0
- package/fullcalendar/fullcalendar.esm.js +64 -0
- package/fullcalendar/fullcalendar.esm.min.js +1 -0
- package/fullcalendar/fullcalendar.js +66 -0
- package/fullcalendar/fullcalendar.min.js +1 -0
- package/fullcalendar/package.json +9 -0
- package/galleria/Galleria.d.ts +210 -0
- package/galleria/Galleria.vue +465 -0
- package/galleria/GalleriaContent.vue +117 -0
- package/galleria/GalleriaItem.vue +160 -0
- package/galleria/GalleriaItemSlot.vue +52 -0
- package/galleria/GalleriaThumbnails.vue +413 -0
- package/galleria/galleria.cjs.js +1181 -0
- package/galleria/galleria.cjs.min.js +1 -0
- package/galleria/galleria.esm.js +1174 -0
- package/galleria/galleria.esm.min.js +1 -0
- package/galleria/galleria.js +1180 -0
- package/galleria/galleria.min.js +1 -0
- package/galleria/package.json +9 -0
- package/image/Image.d.ts +65 -0
- package/image/Image.vue +226 -0
- package/image/image.cjs.js +276 -0
- package/image/image.cjs.min.js +1 -0
- package/image/image.esm.js +270 -0
- package/image/image.esm.min.js +1 -0
- package/image/image.js +276 -0
- package/image/image.min.js +1 -0
- package/image/package.json +9 -0
- package/inlinemessage/InlineMessage.d.ts +42 -0
- package/inlinemessage/InlineMessage.vue +62 -0
- package/inlinemessage/inlinemessage.cjs.js +92 -0
- package/inlinemessage/inlinemessage.cjs.min.js +1 -0
- package/inlinemessage/inlinemessage.esm.js +90 -0
- package/inlinemessage/inlinemessage.esm.min.js +1 -0
- package/inlinemessage/inlinemessage.js +94 -0
- package/inlinemessage/inlinemessage.min.js +1 -0
- package/inlinemessage/package.json +9 -0
- package/inplace/Inplace.d.ts +65 -0
- package/inplace/Inplace.vue +91 -0
- package/inplace/inplace.cjs.js +133 -0
- package/inplace/inplace.cjs.min.js +1 -0
- package/inplace/inplace.esm.js +127 -0
- package/inplace/inplace.esm.min.js +1 -0
- package/inplace/inplace.js +134 -0
- package/inplace/inplace.min.js +1 -0
- package/inplace/package.json +9 -0
- package/inputmask/InputMask.d.ts +80 -0
- package/inputmask/InputMask.vue +494 -0
- package/inputmask/inputmask.cjs.js +510 -0
- package/inputmask/inputmask.cjs.min.js +1 -0
- package/inputmask/inputmask.esm.js +508 -0
- package/inputmask/inputmask.esm.min.js +1 -0
- package/inputmask/inputmask.js +511 -0
- package/inputmask/inputmask.min.js +1 -0
- package/inputmask/package.json +9 -0
- package/inputnumber/InputNumber.d.ts +236 -0
- package/inputnumber/InputNumber.vue +1139 -0
- package/inputnumber/inputnumber.cjs.js +1139 -0
- package/inputnumber/inputnumber.cjs.min.js +1 -0
- package/inputnumber/inputnumber.esm.js +1132 -0
- package/inputnumber/inputnumber.esm.min.js +1 -0
- package/inputnumber/inputnumber.js +1139 -0
- package/inputnumber/inputnumber.min.js +1 -0
- package/inputnumber/package.json +9 -0
- package/inputswitch/InputSwitch.d.ts +85 -0
- package/inputswitch/InputSwitch.vue +109 -0
- package/inputswitch/inputswitch.cjs.js +143 -0
- package/inputswitch/inputswitch.cjs.min.js +1 -0
- package/inputswitch/inputswitch.esm.js +141 -0
- package/inputswitch/inputswitch.esm.min.js +1 -0
- package/inputswitch/inputswitch.js +145 -0
- package/inputswitch/inputswitch.min.js +1 -0
- package/inputswitch/package.json +9 -0
- package/inputtext/InputText.d.ts +39 -0
- package/inputtext/InputText.vue +23 -0
- package/inputtext/inputtext.cjs.js +35 -0
- package/inputtext/inputtext.cjs.min.js +1 -0
- package/inputtext/inputtext.esm.js +33 -0
- package/inputtext/inputtext.esm.min.js +1 -0
- package/inputtext/inputtext.js +37 -0
- package/inputtext/inputtext.min.js +1 -0
- package/inputtext/package.json +9 -0
- package/knob/Knob.d.ts +109 -0
- package/knob/Knob.vue +292 -0
- package/knob/knob.cjs.js +349 -0
- package/knob/knob.cjs.min.js +1 -0
- package/knob/knob.esm.js +347 -0
- package/knob/knob.esm.min.js +1 -0
- package/knob/knob.js +351 -0
- package/knob/knob.min.js +1 -0
- package/knob/package.json +9 -0
- package/listbox/Listbox.d.ts +311 -0
- package/listbox/Listbox.vue +737 -0
- package/listbox/listbox.cjs.js +887 -0
- package/listbox/listbox.cjs.min.js +1 -0
- package/listbox/listbox.esm.js +880 -0
- package/listbox/listbox.esm.min.js +1 -0
- package/listbox/listbox.js +885 -0
- package/listbox/listbox.min.js +1 -0
- package/listbox/package.json +9 -0
- package/megamenu/MegaMenu.d.ts +70 -0
- package/megamenu/MegaMenu.vue +431 -0
- package/megamenu/megamenu.cjs.js +543 -0
- package/megamenu/megamenu.cjs.min.js +1 -0
- package/megamenu/megamenu.esm.js +537 -0
- package/megamenu/megamenu.esm.min.js +1 -0
- package/megamenu/megamenu.js +543 -0
- package/megamenu/megamenu.min.js +1 -0
- package/megamenu/package.json +9 -0
- package/menu/Menu.d.ts +94 -0
- package/menu/Menu.vue +255 -0
- package/menu/Menuitem.vue +65 -0
- package/menu/menu.cjs.js +460 -0
- package/menu/menu.cjs.min.js +1 -0
- package/menu/menu.esm.js +452 -0
- package/menu/menu.esm.min.js +1 -0
- package/menu/menu.js +458 -0
- package/menu/menu.min.js +1 -0
- package/menu/package.json +9 -0
- package/menubar/Menubar.d.ts +62 -0
- package/menubar/Menubar.vue +164 -0
- package/menubar/MenubarSub.vue +306 -0
- package/menubar/menubar.cjs.js +550 -0
- package/menubar/menubar.cjs.min.js +1 -0
- package/menubar/menubar.esm.js +544 -0
- package/menubar/menubar.esm.min.js +1 -0
- package/menubar/menubar.js +550 -0
- package/menubar/menubar.min.js +1 -0
- package/menubar/package.json +9 -0
- package/menuitem/MenuItem.d.ts +82 -0
- package/menuitem/package.json +3 -0
- package/message/Message.d.ts +65 -0
- package/message/Message.vue +127 -0
- package/message/message.cjs.js +149 -0
- package/message/message.cjs.min.js +1 -0
- package/message/message.esm.js +143 -0
- package/message/message.esm.min.js +1 -0
- package/message/message.js +150 -0
- package/message/message.min.js +1 -0
- package/message/package.json +9 -0
- package/multiselect/MultiSelect.d.ts +455 -0
- package/multiselect/MultiSelect.vue +1160 -0
- package/multiselect/multiselect.cjs.js +1326 -0
- package/multiselect/multiselect.cjs.min.js +1 -0
- package/multiselect/multiselect.esm.js +1317 -0
- package/multiselect/multiselect.esm.min.js +1 -0
- package/multiselect/multiselect.js +1322 -0
- package/multiselect/multiselect.min.js +1 -0
- package/multiselect/package.json +9 -0
- package/orderlist/OrderList.d.ts +139 -0
- package/orderlist/OrderList.vue +415 -0
- package/orderlist/orderlist.cjs.js +463 -0
- package/orderlist/orderlist.cjs.min.js +1 -0
- package/orderlist/orderlist.esm.js +456 -0
- package/orderlist/orderlist.esm.min.js +1 -0
- package/orderlist/orderlist.js +462 -0
- package/orderlist/orderlist.min.js +1 -0
- package/orderlist/package.json +9 -0
- package/organizationchart/OrganizationChart.d.ts +146 -0
- package/organizationchart/OrganizationChart.vue +145 -0
- package/organizationchart/OrganizationChartNode.vue +123 -0
- package/organizationchart/organizationchart.cjs.js +318 -0
- package/organizationchart/organizationchart.cjs.min.js +1 -0
- package/organizationchart/organizationchart.esm.js +316 -0
- package/organizationchart/organizationchart.esm.min.js +1 -0
- package/organizationchart/organizationchart.js +319 -0
- package/organizationchart/organizationchart.min.js +1 -0
- package/organizationchart/package.json +9 -0
- package/overlayeventbus/overlayeventbus.cjs.js +7 -0
- package/overlayeventbus/overlayeventbus.cjs.min.js +1 -0
- package/overlayeventbus/overlayeventbus.esm.js +5 -0
- package/overlayeventbus/overlayeventbus.esm.min.js +1 -0
- package/overlayeventbus/overlayeventbus.js +9 -0
- package/overlayeventbus/overlayeventbus.min.js +1 -0
- package/overlayeventbus/package.json +5 -0
- package/overlaypanel/OverlayPanel.d.ts +120 -0
- package/overlaypanel/OverlayPanel.vue +361 -0
- package/overlaypanel/overlaypanel.cjs.js +369 -0
- package/overlaypanel/overlaypanel.cjs.min.js +1 -0
- package/overlaypanel/overlaypanel.esm.js +361 -0
- package/overlaypanel/overlaypanel.esm.min.js +1 -0
- package/overlaypanel/overlaypanel.js +367 -0
- package/overlaypanel/overlaypanel.min.js +1 -0
- package/overlaypanel/package.json +9 -0
- package/package.json +30 -70
- package/paginator/CurrentPageReport.vue +52 -0
- package/paginator/FirstPageLink.vue +23 -0
- package/paginator/JumpToPageDropdown.vue +36 -0
- package/paginator/JumpToPageInput.vue +26 -0
- package/paginator/LastPageLink.vue +23 -0
- package/paginator/NextPageLink.vue +23 -0
- package/paginator/PageLinks.vue +30 -0
- package/paginator/Paginator.d.ts +140 -0
- package/paginator/Paginator.vue +252 -0
- package/paginator/PrevPageLink.vue +23 -0
- package/paginator/RowsPerPageDropdown.vue +38 -0
- package/paginator/package.json +9 -0
- package/paginator/paginator.cjs.js +685 -0
- package/paginator/paginator.cjs.min.js +1 -0
- package/paginator/paginator.esm.js +677 -0
- package/paginator/paginator.esm.min.js +1 -0
- package/paginator/paginator.js +684 -0
- package/paginator/paginator.min.js +1 -0
- package/panel/Panel.d.ts +75 -0
- package/panel/Panel.vue +91 -0
- package/panel/package.json +9 -0
- package/panel/panel.cjs.js +148 -0
- package/panel/panel.cjs.min.js +1 -0
- package/panel/panel.esm.js +142 -0
- package/panel/panel.esm.min.js +1 -0
- package/panel/panel.js +148 -0
- package/panel/panel.min.js +1 -0
- package/panelmenu/PanelMenu.d.ts +67 -0
- package/panelmenu/PanelMenu.vue +183 -0
- package/panelmenu/PanelMenuSub.vue +121 -0
- package/panelmenu/package.json +9 -0
- package/panelmenu/panelmenu.cjs.js +470 -0
- package/panelmenu/panelmenu.cjs.min.js +1 -0
- package/panelmenu/panelmenu.esm.js +468 -0
- package/panelmenu/panelmenu.esm.min.js +1 -0
- package/panelmenu/panelmenu.js +471 -0
- package/panelmenu/panelmenu.min.js +1 -0
- package/password/Password.d.ts +152 -0
- package/password/Password.vue +372 -0
- package/password/package.json +9 -0
- package/password/password.cjs.js +437 -0
- package/password/password.cjs.min.js +1 -0
- package/password/password.esm.js +429 -0
- package/password/password.esm.min.js +1 -0
- package/password/password.js +435 -0
- package/password/password.min.js +1 -0
- package/picklist/PickList.d.ts +221 -0
- package/picklist/PickList.vue +625 -0
- package/picklist/package.json +9 -0
- package/picklist/picklist.cjs.js +754 -0
- package/picklist/picklist.cjs.min.js +1 -0
- package/picklist/picklist.esm.js +747 -0
- package/picklist/picklist.esm.min.js +1 -0
- package/picklist/picklist.js +753 -0
- package/picklist/picklist.min.js +1 -0
- package/portal/Portal.d.ts +36 -0
- package/portal/Portal.vue +41 -0
- package/portal/package.json +9 -0
- package/portal/portal.cjs.js +48 -0
- package/portal/portal.cjs.min.js +1 -0
- package/portal/portal.esm.js +46 -0
- package/portal/portal.esm.min.js +1 -0
- package/portal/portal.js +49 -0
- package/portal/portal.min.js +1 -0
- package/progressbar/ProgressBar.d.ts +51 -0
- package/progressbar/ProgressBar.vue +154 -0
- package/progressbar/package.json +9 -0
- package/progressbar/progressbar.cjs.js +121 -0
- package/progressbar/progressbar.cjs.min.js +1 -0
- package/progressbar/progressbar.esm.js +119 -0
- package/progressbar/progressbar.esm.min.js +1 -0
- package/progressbar/progressbar.js +123 -0
- package/progressbar/progressbar.min.js +1 -0
- package/progressspinner/ProgressSpinner.d.ts +44 -0
- package/progressspinner/ProgressSpinner.vue +109 -0
- package/progressspinner/package.json +9 -0
- package/progressspinner/progressspinner.cjs.js +89 -0
- package/progressspinner/progressspinner.cjs.min.js +1 -0
- package/progressspinner/progressspinner.esm.js +87 -0
- package/progressspinner/progressspinner.esm.min.js +1 -0
- package/progressspinner/progressspinner.js +91 -0
- package/progressspinner/progressspinner.min.js +1 -0
- package/radiobutton/RadioButton.d.ts +84 -0
- package/radiobutton/RadioButton.vue +83 -0
- package/radiobutton/package.json +9 -0
- package/radiobutton/radiobutton.cjs.js +112 -0
- package/radiobutton/radiobutton.cjs.min.js +1 -0
- package/radiobutton/radiobutton.esm.js +110 -0
- package/radiobutton/radiobutton.esm.min.js +1 -0
- package/radiobutton/radiobutton.js +113 -0
- package/radiobutton/radiobutton.min.js +1 -0
- package/rating/Rating.d.ts +76 -0
- package/rating/Rating.vue +133 -0
- package/rating/package.json +9 -0
- package/rating/rating.cjs.js +198 -0
- package/rating/rating.cjs.min.js +1 -0
- package/rating/rating.esm.js +196 -0
- package/rating/rating.esm.min.js +1 -0
- package/rating/rating.js +200 -0
- package/rating/rating.min.js +1 -0
- package/resources/images/color.png +0 -0
- package/resources/images/hue.png +0 -0
- package/resources/primevue.css +501 -0
- package/resources/primevue.min.css +1 -0
- package/resources/themes/arya-blue/theme.css +5729 -0
- package/resources/themes/arya-green/theme.css +5729 -0
- package/resources/themes/arya-orange/theme.css +5729 -0
- package/resources/themes/arya-purple/theme.css +5729 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +5736 -0
- package/resources/themes/bootstrap4-dark-purple/theme.css +5736 -0
- package/resources/themes/bootstrap4-light-blue/theme.css +5736 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +5736 -0
- package/resources/themes/fluent-light/theme.css +5863 -0
- package/resources/themes/lara-dark-blue/theme.css +5710 -0
- package/resources/themes/lara-dark-indigo/theme.css +5710 -0
- package/resources/themes/lara-dark-purple/theme.css +5710 -0
- package/resources/themes/lara-dark-teal/theme.css +5710 -0
- package/resources/themes/lara-light-blue/theme.css +5710 -0
- package/resources/themes/lara-light-indigo/theme.css +5710 -0
- package/resources/themes/lara-light-purple/theme.css +5710 -0
- package/resources/themes/lara-light-teal/theme.css +5710 -0
- package/resources/themes/luna-amber/theme.css +5675 -0
- package/resources/themes/luna-blue/theme.css +5675 -0
- package/resources/themes/luna-green/theme.css +5675 -0
- package/resources/themes/luna-pink/theme.css +5675 -0
- 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 +7257 -0
- 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 +7257 -0
- 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 +7257 -0
- 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 +7257 -0
- 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 +7257 -0
- 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 +7257 -0
- 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 +7257 -0
- 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 +7257 -0
- package/resources/themes/nova/theme.css +5689 -0
- package/resources/themes/nova-accent/theme.css +5699 -0
- package/resources/themes/nova-alt/theme.css +5701 -0
- package/resources/themes/nova-vue/theme.css +5689 -0
- package/resources/themes/rhea/theme.css +5677 -0
- package/resources/themes/saga-blue/theme.css +5726 -0
- package/resources/themes/saga-green/theme.css +5726 -0
- package/resources/themes/saga-orange/theme.css +5726 -0
- package/resources/themes/saga-purple/theme.css +5726 -0
- 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 +5829 -0
- package/resources/themes/vela-blue/theme.css +5729 -0
- package/resources/themes/vela-green/theme.css +5729 -0
- package/resources/themes/vela-orange/theme.css +5729 -0
- package/resources/themes/vela-purple/theme.css +5729 -0
- package/ripple/Ripple.d.ts +5 -0
- package/ripple/package.json +6 -0
- package/ripple/ripple.cjs.js +79 -0
- package/ripple/ripple.cjs.min.js +1 -0
- package/ripple/ripple.esm.js +77 -0
- package/ripple/ripple.esm.min.js +1 -0
- package/ripple/ripple.js +81 -0
- package/ripple/ripple.min.js +1 -0
- package/row/Row.d.ts +29 -0
- package/row/Row.vue +8 -0
- package/row/package.json +9 -0
- package/row/row.cjs.js +10 -0
- package/row/row.cjs.min.js +1 -0
- package/row/row.esm.js +8 -0
- package/row/row.esm.min.js +1 -0
- package/row/row.js +14 -0
- package/row/row.min.js +1 -0
- package/scrollpanel/ScrollPanel.d.ts +34 -0
- package/scrollpanel/ScrollPanel.vue +264 -0
- package/scrollpanel/package.json +9 -0
- package/scrollpanel/scrollpanel.cjs.js +262 -0
- package/scrollpanel/scrollpanel.cjs.min.js +1 -0
- package/scrollpanel/scrollpanel.esm.js +260 -0
- package/scrollpanel/scrollpanel.esm.min.js +1 -0
- package/scrollpanel/scrollpanel.js +263 -0
- package/scrollpanel/scrollpanel.min.js +1 -0
- package/scrolltop/ScrollTop.d.ts +52 -0
- package/scrolltop/ScrollTop.vue +150 -0
- package/scrolltop/package.json +9 -0
- package/scrolltop/scrolltop.cjs.js +168 -0
- package/scrolltop/scrolltop.cjs.min.js +1 -0
- package/scrolltop/scrolltop.esm.js +166 -0
- package/scrolltop/scrolltop.esm.min.js +1 -0
- package/scrolltop/scrolltop.js +169 -0
- package/scrolltop/scrolltop.min.js +1 -0
- package/selectbutton/SelectButton.d.ts +121 -0
- package/selectbutton/SelectButton.vue +191 -0
- package/selectbutton/package.json +9 -0
- package/selectbutton/selectbutton.cjs.js +225 -0
- package/selectbutton/selectbutton.cjs.min.js +1 -0
- package/selectbutton/selectbutton.esm.js +219 -0
- package/selectbutton/selectbutton.esm.min.js +1 -0
- package/selectbutton/selectbutton.js +225 -0
- package/selectbutton/selectbutton.min.js +1 -0
- package/sidebar/Sidebar.d.ts +93 -0
- package/sidebar/Sidebar.vue +307 -0
- package/sidebar/package.json +9 -0
- package/sidebar/sidebar.cjs.js +259 -0
- package/sidebar/sidebar.cjs.min.js +1 -0
- package/sidebar/sidebar.esm.js +252 -0
- package/sidebar/sidebar.esm.min.js +1 -0
- package/sidebar/sidebar.js +258 -0
- package/sidebar/sidebar.min.js +1 -0
- package/skeleton/Skeleton.d.ts +63 -0
- package/skeleton/Skeleton.vue +85 -0
- package/skeleton/package.json +9 -0
- package/skeleton/skeleton.cjs.js +88 -0
- package/skeleton/skeleton.cjs.min.js +1 -0
- package/skeleton/skeleton.esm.js +86 -0
- package/skeleton/skeleton.esm.min.js +1 -0
- package/skeleton/skeleton.js +90 -0
- package/skeleton/skeleton.min.js +1 -0
- package/slider/Slider.d.ts +103 -0
- package/slider/Slider.vue +392 -0
- package/slider/package.json +9 -0
- package/slider/slider.cjs.js +446 -0
- package/slider/slider.cjs.min.js +1 -0
- package/slider/slider.esm.js +444 -0
- package/slider/slider.esm.min.js +1 -0
- package/slider/slider.js +447 -0
- package/slider/slider.min.js +1 -0
- package/speeddial/SpeedDial.d.ts +176 -0
- package/speeddial/SpeedDial.vue +382 -0
- package/speeddial/package.json +9 -0
- package/speeddial/speeddial.cjs.js +360 -0
- package/speeddial/speeddial.cjs.min.js +1 -0
- package/speeddial/speeddial.esm.js +352 -0
- package/speeddial/speeddial.esm.min.js +1 -0
- package/speeddial/speeddial.js +358 -0
- package/speeddial/speeddial.min.js +1 -0
- package/splitbutton/SplitButton.d.ts +82 -0
- package/splitbutton/SplitButton.vue +104 -0
- package/splitbutton/package.json +9 -0
- package/splitbutton/splitbutton.cjs.js +138 -0
- package/splitbutton/splitbutton.cjs.min.js +1 -0
- package/splitbutton/splitbutton.esm.js +131 -0
- package/splitbutton/splitbutton.esm.min.js +1 -0
- package/splitbutton/splitbutton.js +137 -0
- package/splitbutton/splitbutton.min.js +1 -0
- package/splitter/Splitter.d.ts +79 -0
- package/splitter/Splitter.vue +344 -0
- package/splitter/package.json +9 -0
- package/splitter/splitter.cjs.js +332 -0
- package/splitter/splitter.cjs.min.js +1 -0
- package/splitter/splitter.esm.js +330 -0
- package/splitter/splitter.esm.min.js +1 -0
- package/splitter/splitter.js +333 -0
- package/splitter/splitter.min.js +1 -0
- package/splitterpanel/SplitterPanel.d.ts +42 -0
- package/splitterpanel/SplitterPanel.vue +31 -0
- package/splitterpanel/package.json +9 -0
- package/splitterpanel/splitterpanel.cjs.js +40 -0
- package/splitterpanel/splitterpanel.cjs.min.js +1 -0
- package/splitterpanel/splitterpanel.esm.js +38 -0
- package/splitterpanel/splitterpanel.esm.min.js +1 -0
- package/splitterpanel/splitterpanel.js +42 -0
- package/splitterpanel/splitterpanel.min.js +1 -0
- package/steps/Steps.d.ts +59 -0
- package/steps/Steps.vue +150 -0
- package/steps/package.json +9 -0
- package/steps/steps.cjs.js +183 -0
- package/steps/steps.cjs.min.js +1 -0
- package/steps/steps.esm.js +181 -0
- package/steps/steps.esm.min.js +1 -0
- package/steps/steps.js +184 -0
- package/steps/steps.min.js +1 -0
- package/styleclass/StyleClass.d.ts +5 -0
- package/styleclass/package.json +6 -0
- package/styleclass/styleclass.cjs.js +179 -0
- package/styleclass/styleclass.cjs.min.js +1 -0
- package/styleclass/styleclass.esm.js +177 -0
- package/styleclass/styleclass.esm.min.js +1 -0
- package/styleclass/styleclass.js +181 -0
- package/styleclass/styleclass.min.js +1 -0
- package/tabmenu/TabMenu.d.ts +71 -0
- package/tabmenu/TabMenu.vue +191 -0
- package/tabmenu/package.json +9 -0
- package/tabmenu/tabmenu.cjs.js +263 -0
- package/tabmenu/tabmenu.cjs.min.js +1 -0
- package/tabmenu/tabmenu.esm.js +257 -0
- package/tabmenu/tabmenu.esm.min.js +1 -0
- package/tabmenu/tabmenu.js +263 -0
- package/tabmenu/tabmenu.min.js +1 -0
- package/tabpanel/TabPanel.d.ts +46 -0
- package/tabpanel/TabPanel.vue +13 -0
- package/tabpanel/package.json +9 -0
- package/tabpanel/tabpanel.cjs.js +19 -0
- package/tabpanel/tabpanel.cjs.min.js +1 -0
- package/tabpanel/tabpanel.esm.js +17 -0
- package/tabpanel/tabpanel.esm.min.js +1 -0
- package/tabpanel/tabpanel.js +21 -0
- package/tabpanel/tabpanel.min.js +1 -0
- package/tabview/TabView.d.ts +81 -0
- package/tabview/TabView.vue +252 -0
- package/tabview/package.json +9 -0
- package/tabview/tabview.cjs.js +300 -0
- package/tabview/tabview.cjs.min.js +1 -0
- package/tabview/tabview.esm.js +294 -0
- package/tabview/tabview.esm.min.js +1 -0
- package/tabview/tabview.js +300 -0
- package/tabview/tabview.min.js +1 -0
- package/tag/Tag.d.ts +53 -0
- package/tag/Tag.vue +52 -0
- package/tag/package.json +9 -0
- package/tag/tag.cjs.js +77 -0
- package/tag/tag.cjs.min.js +1 -0
- package/tag/tag.esm.js +75 -0
- package/tag/tag.esm.min.js +1 -0
- package/tag/tag.js +79 -0
- package/tag/tag.min.js +1 -0
- package/terminal/Terminal.d.ts +41 -0
- package/terminal/Terminal.vue +90 -0
- package/terminal/package.json +9 -0
- package/terminal/terminal.cjs.js +130 -0
- package/terminal/terminal.cjs.min.js +1 -0
- package/terminal/terminal.esm.js +124 -0
- package/terminal/terminal.esm.min.js +1 -0
- package/terminal/terminal.js +131 -0
- package/terminal/terminal.min.js +1 -0
- package/terminalservice/TerminalService.d.ts +11 -0
- package/terminalservice/package.json +6 -0
- package/terminalservice/terminalservice.cjs.js +7 -0
- package/terminalservice/terminalservice.cjs.min.js +1 -0
- package/terminalservice/terminalservice.esm.js +5 -0
- package/terminalservice/terminalservice.esm.min.js +1 -0
- package/terminalservice/terminalservice.js +9 -0
- package/terminalservice/terminalservice.min.js +1 -0
- package/textarea/Textarea.d.ts +43 -0
- package/textarea/Textarea.vue +62 -0
- package/textarea/package.json +9 -0
- package/textarea/textarea.cjs.js +93 -0
- package/textarea/textarea.cjs.min.js +1 -0
- package/textarea/textarea.esm.js +91 -0
- package/textarea/textarea.esm.min.js +1 -0
- package/textarea/textarea.js +95 -0
- package/textarea/textarea.min.js +1 -0
- package/tieredmenu/TieredMenu.d.ts +97 -0
- package/tieredmenu/TieredMenu.vue +244 -0
- package/tieredmenu/TieredMenuSub.vue +251 -0
- package/tieredmenu/package.json +9 -0
- package/tieredmenu/tieredmenu.cjs.js +605 -0
- package/tieredmenu/tieredmenu.cjs.min.js +1 -0
- package/tieredmenu/tieredmenu.esm.js +597 -0
- package/tieredmenu/tieredmenu.esm.min.js +1 -0
- package/tieredmenu/tieredmenu.js +603 -0
- package/tieredmenu/tieredmenu.min.js +1 -0
- package/timeline/Timeline.d.ts +113 -0
- package/timeline/Timeline.vue +167 -0
- package/timeline/package.json +9 -0
- package/timeline/timeline.cjs.js +117 -0
- package/timeline/timeline.cjs.min.js +1 -0
- package/timeline/timeline.esm.js +115 -0
- package/timeline/timeline.esm.min.js +1 -0
- package/timeline/timeline.js +118 -0
- package/timeline/timeline.min.js +1 -0
- package/toast/Toast.d.ts +126 -0
- package/toast/Toast.vue +257 -0
- package/toast/ToastMessage.vue +77 -0
- package/toast/package.json +9 -0
- package/toast/toast.cjs.js +332 -0
- package/toast/toast.cjs.min.js +1 -0
- package/toast/toast.esm.js +324 -0
- package/toast/toast.esm.min.js +1 -0
- package/toast/toast.js +330 -0
- package/toast/toast.min.js +1 -0
- package/toasteventbus/package.json +5 -0
- package/toasteventbus/toasteventbus.cjs.js +7 -0
- package/toasteventbus/toasteventbus.cjs.min.js +1 -0
- package/toasteventbus/toasteventbus.esm.js +5 -0
- package/toasteventbus/toasteventbus.esm.min.js +1 -0
- package/toasteventbus/toasteventbus.js +9 -0
- package/toasteventbus/toasteventbus.min.js +1 -0
- package/toastservice/ToastService.d.ts +34 -0
- package/toastservice/package.json +6 -0
- package/toastservice/toastservice.cjs.js +28 -0
- package/toastservice/toastservice.cjs.min.js +1 -0
- package/toastservice/toastservice.esm.js +22 -0
- package/toastservice/toastservice.esm.min.js +1 -0
- package/toastservice/toastservice.js +29 -0
- package/toastservice/toastservice.min.js +1 -0
- package/togglebutton/ToggleButton.d.ts +111 -0
- package/togglebutton/ToggleButton.vue +103 -0
- package/togglebutton/package.json +9 -0
- package/togglebutton/togglebutton.cjs.js +139 -0
- package/togglebutton/togglebutton.cjs.min.js +1 -0
- package/togglebutton/togglebutton.esm.js +133 -0
- package/togglebutton/togglebutton.esm.min.js +1 -0
- package/togglebutton/togglebutton.js +140 -0
- package/togglebutton/togglebutton.min.js +1 -0
- package/toolbar/Toolbar.d.ts +38 -0
- package/toolbar/Toolbar.vue +31 -0
- package/toolbar/package.json +9 -0
- package/toolbar/toolbar.cjs.js +59 -0
- package/toolbar/toolbar.cjs.min.js +1 -0
- package/toolbar/toolbar.esm.js +57 -0
- package/toolbar/toolbar.esm.min.js +1 -0
- package/toolbar/toolbar.js +61 -0
- package/toolbar/toolbar.min.js +1 -0
- package/tooltip/Tooltip.d.ts +5 -0
- package/tooltip/package.json +6 -0
- package/tooltip/tooltip.cjs.js +354 -0
- package/tooltip/tooltip.cjs.min.js +1 -0
- package/tooltip/tooltip.esm.js +352 -0
- package/tooltip/tooltip.esm.min.js +1 -0
- package/tooltip/tooltip.js +356 -0
- package/tooltip/tooltip.min.js +1 -0
- package/tree/Tree.d.ts +199 -0
- package/tree/Tree.vue +376 -0
- package/tree/TreeNode.vue +299 -0
- package/tree/package.json +9 -0
- package/tree/tree.cjs.js +740 -0
- package/tree/tree.cjs.min.js +1 -0
- package/tree/tree.esm.js +734 -0
- package/tree/tree.esm.min.js +1 -0
- package/tree/tree.js +740 -0
- package/tree/tree.min.js +1 -0
- package/treeselect/TreeSelect.d.ts +231 -0
- package/treeselect/TreeSelect.vue +511 -0
- package/treeselect/package.json +9 -0
- package/treeselect/treeselect.cjs.js +588 -0
- package/treeselect/treeselect.cjs.min.js +1 -0
- package/treeselect/treeselect.esm.js +579 -0
- package/treeselect/treeselect.esm.min.js +1 -0
- package/treeselect/treeselect.js +585 -0
- package/treeselect/treeselect.min.js +1 -0
- package/treetable/BodyCell.vue +156 -0
- package/treetable/FooterCell.vue +74 -0
- package/treetable/HeaderCell.vue +177 -0
- package/treetable/TreeTable.d.ts +467 -0
- package/treetable/TreeTable.vue +1079 -0
- package/treetable/TreeTableRow.vue +256 -0
- package/treetable/package.json +9 -0
- package/treetable/treetable.cjs.js +1879 -0
- package/treetable/treetable.cjs.min.js +1 -0
- package/treetable/treetable.esm.js +1872 -0
- package/treetable/treetable.esm.min.js +1 -0
- package/treetable/treetable.js +1877 -0
- package/treetable/treetable.min.js +1 -0
- package/tristatecheckbox/TriStateCheckbox.d.ts +62 -0
- package/tristatecheckbox/TriStateCheckbox.vue +120 -0
- package/tristatecheckbox/package.json +9 -0
- package/tristatecheckbox/tristatecheckbox.cjs.js +152 -0
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -0
- package/tristatecheckbox/tristatecheckbox.esm.js +150 -0
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -0
- package/tristatecheckbox/tristatecheckbox.js +154 -0
- package/tristatecheckbox/tristatecheckbox.min.js +1 -0
- package/ts-helpers.d.ts +28 -0
- package/useconfirm/UseConfirm.d.ts +6 -0
- package/useconfirm/package.json +6 -0
- package/useconfirm/useconfirm.cjs.js +19 -0
- package/useconfirm/useconfirm.cjs.min.js +1 -0
- package/useconfirm/useconfirm.esm.js +14 -0
- package/useconfirm/useconfirm.esm.min.js +1 -0
- package/useconfirm/useconfirm.js +23 -0
- package/useconfirm/useconfirm.min.js +1 -0
- package/usedialog/UseDialog.d.ts +5 -0
- package/usedialog/package.json +6 -0
- package/usedialog/usedialog.cjs.js +19 -0
- package/usedialog/usedialog.cjs.min.js +1 -0
- package/usedialog/usedialog.esm.js +14 -0
- package/usedialog/usedialog.esm.min.js +1 -0
- package/usedialog/usedialog.js +23 -0
- package/usedialog/usedialog.min.js +1 -0
- package/usetoast/UseToast.d.ts +3 -0
- package/usetoast/package.json +6 -0
- package/usetoast/usetoast.cjs.js +19 -0
- package/usetoast/usetoast.cjs.min.js +1 -0
- package/usetoast/usetoast.esm.js +14 -0
- package/usetoast/usetoast.esm.min.js +1 -0
- package/usetoast/usetoast.js +23 -0
- package/usetoast/usetoast.min.js +1 -0
- package/utils/Utils.d.ts +85 -0
- package/utils/package.json +6 -0
- package/utils/utils.cjs.js +931 -0
- package/utils/utils.cjs.min.js +1 -0
- package/utils/utils.esm.js +922 -0
- package/utils/utils.esm.min.js +1 -0
- package/utils/utils.js +937 -0
- package/utils/utils.min.js +1 -0
- package/vetur-attributes.json +3642 -0
- package/vetur-tags.json +1329 -0
- package/virtualscroller/VirtualScroller.d.ts +325 -0
- package/virtualscroller/VirtualScroller.vue +617 -0
- package/virtualscroller/package.json +9 -0
- package/virtualscroller/virtualscroller.cjs.js +658 -0
- package/virtualscroller/virtualscroller.cjs.min.js +1 -0
- package/virtualscroller/virtualscroller.esm.js +656 -0
- package/virtualscroller/virtualscroller.esm.min.js +1 -0
- package/virtualscroller/virtualscroller.js +660 -0
- package/virtualscroller/virtualscroller.min.js +1 -0
- package/web-types.json +14428 -0
- package/.editorconfig +0 -13
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -98
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -39
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -5
- package/CHANGELOG.md +0 -2236
- package/api-generator/build-api.js +0 -164
- package/api-generator/components/accordion.js +0 -76
- package/api-generator/components/accordiontab.js +0 -22
- package/api-generator/components/autocomplete.js +0 -246
- package/api-generator/components/avatar.js +0 -48
- package/api-generator/components/avatargroup.js +0 -7
- package/api-generator/components/badge.js +0 -28
- package/api-generator/components/badgedirective.js +0 -26
- package/api-generator/components/blockui.js +0 -46
- package/api-generator/components/breadcrumb.js +0 -36
- package/api-generator/components/button.js +0 -52
- package/api-generator/components/calendar.js +0 -403
- package/api-generator/components/card.js +0 -30
- package/api-generator/components/carousel.js +0 -98
- package/api-generator/components/cascadeselect.js +0 -174
- package/api-generator/components/chart.js +0 -92
- package/api-generator/components/checkbox.js +0 -68
- package/api-generator/components/chip.js +0 -55
- package/api-generator/components/chips.js +0 -96
- package/api-generator/components/colorpicker.js +0 -104
- package/api-generator/components/column.js +0 -298
- package/api-generator/components/columngroup.js +0 -7
- package/api-generator/components/confirmdialog.js +0 -22
- package/api-generator/components/confirmpopup.js +0 -24
- package/api-generator/components/contextmenu.js +0 -54
- package/api-generator/components/datatable.js +0 -1161
- package/api-generator/components/dataview.js +0 -168
- package/api-generator/components/dataviewlayoutoptions.js +0 -7
- package/api-generator/components/deferredcontent.js +0 -21
- package/api-generator/components/dialog.js +0 -203
- package/api-generator/components/divider.js +0 -28
- package/api-generator/components/dock.js +0 -58
- package/api-generator/components/dropdown.js +0 -301
- package/api-generator/components/dynamicdialog.js +0 -15
- package/api-generator/components/editor.js +0 -94
- package/api-generator/components/fieldset.js +0 -57
- package/api-generator/components/fileupload.js +0 -293
- package/api-generator/components/fullcalendar.js +0 -22
- package/api-generator/components/galleria.js +0 -182
- package/api-generator/components/image.js +0 -40
- package/api-generator/components/inlinemessage.js +0 -17
- package/api-generator/components/inplace.js +0 -66
- package/api-generator/components/inputmask.js +0 -40
- package/api-generator/components/inputnumber.js +0 -219
- package/api-generator/components/inputswitch.js +0 -56
- package/api-generator/components/inputtext.js +0 -16
- package/api-generator/components/knob.js +0 -103
- package/api-generator/components/listbox.js +0 -202
- package/api-generator/components/megamenu.js +0 -44
- package/api-generator/components/menu.js +0 -66
- package/api-generator/components/menubar.js +0 -38
- package/api-generator/components/message.js +0 -55
- package/api-generator/components/multiselect.js +0 -318
- package/api-generator/components/orderlist.js +0 -120
- package/api-generator/components/organizationchart.js +0 -88
- package/api-generator/components/overlaypanel.js +0 -64
- package/api-generator/components/paginator.js +0 -100
- package/api-generator/components/panel.js +0 -60
- package/api-generator/components/panelmenu.js +0 -36
- package/api-generator/components/password.js +0 -128
- package/api-generator/components/picklist.js +0 -208
- package/api-generator/components/portal.js +0 -28
- package/api-generator/components/progressbar.js +0 -28
- package/api-generator/components/progressspinner.js +0 -28
- package/api-generator/components/radiobutton.js +0 -60
- package/api-generator/components/rating.js +0 -60
- package/api-generator/components/ripple.js +0 -7
- package/api-generator/components/row.js +0 -7
- package/api-generator/components/scrollpanel.js +0 -6
- package/api-generator/components/scrolltop.js +0 -34
- package/api-generator/components/selectbutton.js +0 -114
- package/api-generator/components/sidebar.js +0 -78
- package/api-generator/components/skeleton.js +0 -46
- package/api-generator/components/slider.js +0 -89
- package/api-generator/components/speeddial.js +0 -153
- package/api-generator/components/splitbutton.js +0 -73
- package/api-generator/components/splitter.js +0 -54
- package/api-generator/components/splitterpanel.js +0 -23
- package/api-generator/components/steps.js +0 -42
- package/api-generator/components/styleclass.js +0 -7
- package/api-generator/components/tabmenu.js +0 -56
- package/api-generator/components/tabpanel.js +0 -59
- package/api-generator/components/tabview.js +0 -28
- package/api-generator/components/tag.js +0 -34
- package/api-generator/components/terminal.js +0 -22
- package/api-generator/components/textarea.js +0 -22
- package/api-generator/components/tieredmenu.js +0 -54
- package/api-generator/components/timeline.js +0 -54
- package/api-generator/components/toast.js +0 -48
- package/api-generator/components/togglebutton.js +0 -61
- package/api-generator/components/toolbar.js +0 -18
- package/api-generator/components/tooltip.js +0 -34
- package/api-generator/components/tree.js +0 -136
- package/api-generator/components/treeselect.js +0 -193
- package/api-generator/components/treetable.js +0 -473
- package/api-generator/components/tristatecheckbox.js +0 -28
- package/api-generator/components/virtualscroller.js +0 -169
- package/build-meta.js +0 -17
- package/gulpfile.js +0 -37
- package/jest.config.js +0 -35
- package/package-build.json +0 -32
- package/rollup.config.js +0 -200
|
@@ -0,0 +1,1030 @@
|
|
|
1
|
+
this.primevue = this.primevue || {};
|
|
2
|
+
this.primevue.cascadeselect = (function (utils, OverlayEventBus, Ripple, vue, Portal) {
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
+
|
|
7
|
+
var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
|
|
8
|
+
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
9
|
+
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
10
|
+
|
|
11
|
+
var script$1 = {
|
|
12
|
+
name: 'CascadeSelectSub',
|
|
13
|
+
emits: ['option-change'],
|
|
14
|
+
props: {
|
|
15
|
+
selectId: String,
|
|
16
|
+
focusedOptionId: String,
|
|
17
|
+
options: Array,
|
|
18
|
+
optionLabel: String,
|
|
19
|
+
optionValue: String,
|
|
20
|
+
optionDisabled: null,
|
|
21
|
+
optionGroupLabel: String,
|
|
22
|
+
optionGroupChildren: Array,
|
|
23
|
+
activeOptionPath: Array,
|
|
24
|
+
level: Number,
|
|
25
|
+
templates: null
|
|
26
|
+
},
|
|
27
|
+
mounted() {
|
|
28
|
+
if (utils.ObjectUtils.isNotEmpty(this.parentKey)) {
|
|
29
|
+
this.position();
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
methods: {
|
|
33
|
+
getOptionId(processedOption) {
|
|
34
|
+
return `${this.selectId}_${processedOption.key}`;
|
|
35
|
+
},
|
|
36
|
+
getOptionLabel(processedOption) {
|
|
37
|
+
return this.optionLabel ? utils.ObjectUtils.resolveFieldData(processedOption.option, this.optionLabel) : processedOption.option;
|
|
38
|
+
},
|
|
39
|
+
getOptionValue(processedOption) {
|
|
40
|
+
return this.optionValue ? utils.ObjectUtils.resolveFieldData(processedOption.option, this.optionValue) : processedOption.option;
|
|
41
|
+
},
|
|
42
|
+
isOptionDisabled(processedOption) {
|
|
43
|
+
return this.optionDisabled ? utils.ObjectUtils.resolveFieldData(processedOption.option, this.optionDisabled) : false;
|
|
44
|
+
},
|
|
45
|
+
getOptionGroupLabel(processedOption) {
|
|
46
|
+
return this.optionGroupLabel ? utils.ObjectUtils.resolveFieldData(processedOption.option, this.optionGroupLabel) : null;
|
|
47
|
+
},
|
|
48
|
+
getOptionGroupChildren(processedOption) {
|
|
49
|
+
return processedOption.children;
|
|
50
|
+
},
|
|
51
|
+
isOptionGroup(processedOption) {
|
|
52
|
+
return utils.ObjectUtils.isNotEmpty(processedOption.children);
|
|
53
|
+
},
|
|
54
|
+
isOptionSelected(processedOption) {
|
|
55
|
+
return !this.isOptionGroup(processedOption) && this.isOptionActive(processedOption);
|
|
56
|
+
},
|
|
57
|
+
isOptionActive(processedOption) {
|
|
58
|
+
return this.activeOptionPath.some(path => path.key === processedOption.key);
|
|
59
|
+
},
|
|
60
|
+
isOptionFocused(processedOption) {
|
|
61
|
+
return this.focusedOptionId === this.getOptionId(processedOption);
|
|
62
|
+
},
|
|
63
|
+
getOptionLabelToRender(processedOption) {
|
|
64
|
+
return this.isOptionGroup(processedOption) ? this.getOptionGroupLabel(processedOption) : this.getOptionLabel(processedOption);
|
|
65
|
+
},
|
|
66
|
+
onOptionClick(event, processedOption) {
|
|
67
|
+
this.$emit('option-change', { originalEvent: event, processedOption, isFocus: true });
|
|
68
|
+
},
|
|
69
|
+
onOptionChange(event) {
|
|
70
|
+
this.$emit('option-change', event);
|
|
71
|
+
},
|
|
72
|
+
position() {
|
|
73
|
+
const parentItem = this.$el.parentElement;
|
|
74
|
+
const containerOffset = utils.DomHandler.getOffset(parentItem);
|
|
75
|
+
const viewport = utils.DomHandler.getViewport();
|
|
76
|
+
const sublistWidth = this.$el.offsetParent ? this.$el.offsetWidth : utils.DomHandler.getHiddenElementOuterWidth(this.$el);
|
|
77
|
+
const itemOuterWidth = utils.DomHandler.getOuterWidth(parentItem.children[0]);
|
|
78
|
+
|
|
79
|
+
if ((parseInt(containerOffset.left, 10) + itemOuterWidth + sublistWidth) > (viewport.width - utils.DomHandler.calculateScrollbarWidth())) {
|
|
80
|
+
this.$el.style.left = '-100%';
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
directives: {
|
|
85
|
+
'ripple': Ripple__default["default"]
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const _hoisted_1$1 = { class: "p-cascadeselect-panel p-cascadeselect-items" };
|
|
90
|
+
const _hoisted_2$1 = ["id", "aria-label", "aria-selected", "aria-expanded", "aria-setsize", "aria-posinset", "aria-level"];
|
|
91
|
+
const _hoisted_3$1 = ["onClick"];
|
|
92
|
+
const _hoisted_4$1 = {
|
|
93
|
+
key: 1,
|
|
94
|
+
class: "p-cascadeselect-item-text"
|
|
95
|
+
};
|
|
96
|
+
const _hoisted_5$1 = {
|
|
97
|
+
key: 2,
|
|
98
|
+
class: "p-cascadeselect-group-icon pi pi-angle-right",
|
|
99
|
+
"aria-hidden": "true"
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
103
|
+
const _component_CascadeSelectSub = vue.resolveComponent("CascadeSelectSub", true);
|
|
104
|
+
const _directive_ripple = vue.resolveDirective("ripple");
|
|
105
|
+
|
|
106
|
+
return (vue.openBlock(), vue.createElementBlock("ul", _hoisted_1$1, [
|
|
107
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.options, (processedOption, index) => {
|
|
108
|
+
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
109
|
+
key: $options.getOptionLabelToRender(processedOption),
|
|
110
|
+
id: $options.getOptionId(processedOption),
|
|
111
|
+
class: vue.normalizeClass(['p-cascadeselect-item', {'p-cascadeselect-item-group': $options.isOptionGroup(processedOption), 'p-cascadeselect-item-active p-highlight': $options.isOptionActive(processedOption), 'p-focus': $options.isOptionFocused(processedOption), 'p-disabled': $options.isOptionDisabled(processedOption)}]),
|
|
112
|
+
role: "treeitem",
|
|
113
|
+
"aria-label": $options.getOptionLabelToRender(processedOption),
|
|
114
|
+
"aria-selected": $options.isOptionGroup(processedOption) ? undefined : $options.isOptionSelected(processedOption),
|
|
115
|
+
"aria-expanded": $options.isOptionGroup(processedOption) ? $options.isOptionActive(processedOption) : undefined,
|
|
116
|
+
"aria-setsize": processedOption.length,
|
|
117
|
+
"aria-posinset": index + 1,
|
|
118
|
+
"aria-level": $props.level + 1
|
|
119
|
+
}, [
|
|
120
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
121
|
+
class: "p-cascadeselect-item-content",
|
|
122
|
+
onClick: $event => ($options.onOptionClick($event, processedOption))
|
|
123
|
+
}, [
|
|
124
|
+
($props.templates['option'])
|
|
125
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['option']), {
|
|
126
|
+
key: 0,
|
|
127
|
+
option: processedOption.option
|
|
128
|
+
}, null, 8, ["option"]))
|
|
129
|
+
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, vue.toDisplayString($options.getOptionLabelToRender(processedOption)), 1)),
|
|
130
|
+
($options.isOptionGroup(processedOption))
|
|
131
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$1))
|
|
132
|
+
: vue.createCommentVNode("", true)
|
|
133
|
+
], 8, _hoisted_3$1)), [
|
|
134
|
+
[_directive_ripple]
|
|
135
|
+
]),
|
|
136
|
+
($options.isOptionGroup(processedOption) && $options.isOptionActive(processedOption))
|
|
137
|
+
? (vue.openBlock(), vue.createBlock(_component_CascadeSelectSub, {
|
|
138
|
+
key: 0,
|
|
139
|
+
role: "group",
|
|
140
|
+
class: "p-cascadeselect-sublist",
|
|
141
|
+
selectId: $props.selectId,
|
|
142
|
+
focusedOptionId: $props.focusedOptionId,
|
|
143
|
+
options: $options.getOptionGroupChildren(processedOption),
|
|
144
|
+
activeOptionPath: $props.activeOptionPath,
|
|
145
|
+
level: $props.level + 1,
|
|
146
|
+
templates: $props.templates,
|
|
147
|
+
optionLabel: $props.optionLabel,
|
|
148
|
+
optionValue: $props.optionValue,
|
|
149
|
+
optionDisabled: $props.optionDisabled,
|
|
150
|
+
optionGroupLabel: $props.optionGroupLabel,
|
|
151
|
+
optionGroupChildren: $props.optionGroupChildren,
|
|
152
|
+
onOptionChange: $options.onOptionChange
|
|
153
|
+
}, null, 8, ["selectId", "focusedOptionId", "options", "activeOptionPath", "level", "templates", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "onOptionChange"]))
|
|
154
|
+
: vue.createCommentVNode("", true)
|
|
155
|
+
], 10, _hoisted_2$1))
|
|
156
|
+
}), 128))
|
|
157
|
+
]))
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
script$1.render = render$1;
|
|
161
|
+
|
|
162
|
+
var script = {
|
|
163
|
+
name: 'CascadeSelect',
|
|
164
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur', 'click', 'group-change', 'before-show', 'before-hide', 'hide', 'show'],
|
|
165
|
+
props: {
|
|
166
|
+
modelValue: null,
|
|
167
|
+
options: Array,
|
|
168
|
+
optionLabel: null,
|
|
169
|
+
optionValue: null,
|
|
170
|
+
optionDisabled: null,
|
|
171
|
+
optionGroupLabel: null,
|
|
172
|
+
optionGroupChildren: null,
|
|
173
|
+
placeholder: String,
|
|
174
|
+
disabled: Boolean,
|
|
175
|
+
dataKey: null,
|
|
176
|
+
inputId: null,
|
|
177
|
+
inputStyle: null,
|
|
178
|
+
inputClass: null,
|
|
179
|
+
inputProps: null,
|
|
180
|
+
panelStyle: null,
|
|
181
|
+
panelClass: null,
|
|
182
|
+
panelProps: null,
|
|
183
|
+
appendTo: {
|
|
184
|
+
type: String,
|
|
185
|
+
default: 'body'
|
|
186
|
+
},
|
|
187
|
+
loading: {
|
|
188
|
+
type: Boolean,
|
|
189
|
+
default: false
|
|
190
|
+
},
|
|
191
|
+
loadingIcon: {
|
|
192
|
+
type: String,
|
|
193
|
+
default: 'pi pi-spinner pi-spin'
|
|
194
|
+
},
|
|
195
|
+
autoOptionFocus: {
|
|
196
|
+
type: Boolean,
|
|
197
|
+
default: true
|
|
198
|
+
},
|
|
199
|
+
searchLocale: {
|
|
200
|
+
type: String,
|
|
201
|
+
default: undefined
|
|
202
|
+
},
|
|
203
|
+
searchMessage: {
|
|
204
|
+
type: String,
|
|
205
|
+
default: null
|
|
206
|
+
},
|
|
207
|
+
selectionMessage: {
|
|
208
|
+
type: String,
|
|
209
|
+
default: null
|
|
210
|
+
},
|
|
211
|
+
emptySelectionMessage: {
|
|
212
|
+
type: String,
|
|
213
|
+
default: null
|
|
214
|
+
},
|
|
215
|
+
emptySearchMessage: {
|
|
216
|
+
type: String,
|
|
217
|
+
default: null
|
|
218
|
+
},
|
|
219
|
+
emptyMessage: {
|
|
220
|
+
type: String,
|
|
221
|
+
default: null
|
|
222
|
+
},
|
|
223
|
+
tabindex: {
|
|
224
|
+
type: Number,
|
|
225
|
+
default: 0
|
|
226
|
+
},
|
|
227
|
+
'aria-labelledby': {
|
|
228
|
+
type: String,
|
|
229
|
+
default: null
|
|
230
|
+
},
|
|
231
|
+
'aria-label': {
|
|
232
|
+
type: String,
|
|
233
|
+
default: null
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
outsideClickListener: null,
|
|
237
|
+
scrollHandler: null,
|
|
238
|
+
resizeListener: null,
|
|
239
|
+
overlay: null,
|
|
240
|
+
searchTimeout: null,
|
|
241
|
+
searchValue: null,
|
|
242
|
+
selectOnFocus: false,
|
|
243
|
+
focusOnHover: false,
|
|
244
|
+
data() {
|
|
245
|
+
return {
|
|
246
|
+
id: utils.UniqueComponentId(),
|
|
247
|
+
focused: false,
|
|
248
|
+
focusedOptionInfo: { index: -1, level: 0, parentKey: '' },
|
|
249
|
+
activeOptionPath: [],
|
|
250
|
+
overlayVisible: false,
|
|
251
|
+
dirty: false
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
watch: {
|
|
255
|
+
options() {
|
|
256
|
+
this.autoUpdateModel();
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
mounted() {
|
|
260
|
+
this.id = this.$attrs.id || this.id;
|
|
261
|
+
},
|
|
262
|
+
beforeUnmount() {
|
|
263
|
+
this.unbindOutsideClickListener();
|
|
264
|
+
this.unbindResizeListener();
|
|
265
|
+
|
|
266
|
+
if (this.scrollHandler) {
|
|
267
|
+
this.scrollHandler.destroy();
|
|
268
|
+
this.scrollHandler = null;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
if (this.overlay) {
|
|
272
|
+
utils.ZIndexUtils.clear(this.overlay);
|
|
273
|
+
this.overlay = null;
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
methods: {
|
|
277
|
+
getOptionLabel(option) {
|
|
278
|
+
return this.optionLabel ? utils.ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
|
279
|
+
},
|
|
280
|
+
getOptionValue(option) {
|
|
281
|
+
return this.optionValue ? utils.ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
|
282
|
+
},
|
|
283
|
+
isOptionDisabled(option) {
|
|
284
|
+
return this.optionDisabled ? utils.ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
|
285
|
+
},
|
|
286
|
+
getOptionGroupLabel(optionGroup) {
|
|
287
|
+
return this.optionGroupLabel ? utils.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel) : null;
|
|
288
|
+
},
|
|
289
|
+
getOptionGroupChildren(optionGroup, level) {
|
|
290
|
+
return utils.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren[level]);
|
|
291
|
+
},
|
|
292
|
+
isOptionGroup(option, level) {
|
|
293
|
+
return Object.prototype.hasOwnProperty.call(option, this.optionGroupChildren[level]);
|
|
294
|
+
},
|
|
295
|
+
getProccessedOptionLabel(processedOption) {
|
|
296
|
+
const grouped = this.isProccessedOptionGroup(processedOption);
|
|
297
|
+
return grouped ? this.getOptionGroupLabel(processedOption.option, processedOption.level) : this.getOptionLabel(processedOption.option);
|
|
298
|
+
},
|
|
299
|
+
isProccessedOptionGroup(processedOption) {
|
|
300
|
+
return utils.ObjectUtils.isNotEmpty(processedOption.children);
|
|
301
|
+
},
|
|
302
|
+
show(isFocus) {
|
|
303
|
+
this.$emit('before-show');
|
|
304
|
+
this.overlayVisible = true;
|
|
305
|
+
this.activeOptionPath = this.findOptionPathByValue(this.modelValue);
|
|
306
|
+
|
|
307
|
+
if (this.hasSelectedOption && utils.ObjectUtils.isNotEmpty(this.activeOptionPath)) {
|
|
308
|
+
const processedOption = this.activeOptionPath[this.activeOptionPath.length - 1];
|
|
309
|
+
this.focusedOptionInfo = { index: (this.autoOptionFocus ? processedOption.index : -1), level: processedOption.level, parentKey: processedOption.parentKey };
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
this.focusedOptionInfo = { index: (this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1), level: 0, parentKey: '' };
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
isFocus && this.$refs.focusInput.focus();
|
|
316
|
+
},
|
|
317
|
+
hide(isFocus) {
|
|
318
|
+
const _hide = () => {
|
|
319
|
+
this.$emit('before-hide');
|
|
320
|
+
this.overlayVisible = false;
|
|
321
|
+
this.activeOptionPath = [];
|
|
322
|
+
this.focusedOptionInfo = { index: -1, level: 0, parentKey: '' };
|
|
323
|
+
|
|
324
|
+
isFocus && this.$refs.focusInput.focus();
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
setTimeout(() => { _hide(); }, 0); // For ScreenReaders
|
|
328
|
+
},
|
|
329
|
+
onFocus(event) {
|
|
330
|
+
this.focused = true;
|
|
331
|
+
this.$emit('focus', event);
|
|
332
|
+
},
|
|
333
|
+
onBlur(event) {
|
|
334
|
+
this.focused = false;
|
|
335
|
+
this.focusedOptionInfo = { index: -1, level: 0, parentKey: '' };
|
|
336
|
+
this.searchValue = '';
|
|
337
|
+
this.$emit('blur', event);
|
|
338
|
+
},
|
|
339
|
+
onKeyDown(event) {
|
|
340
|
+
if (this.disabled || this.loading) {
|
|
341
|
+
event.preventDefault();
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
switch (event.code) {
|
|
346
|
+
case 'ArrowDown':
|
|
347
|
+
this.onArrowDownKey(event);
|
|
348
|
+
break;
|
|
349
|
+
|
|
350
|
+
case 'ArrowUp':
|
|
351
|
+
this.onArrowUpKey(event);
|
|
352
|
+
break;
|
|
353
|
+
|
|
354
|
+
case 'ArrowLeft':
|
|
355
|
+
this.onArrowLeftKey(event);
|
|
356
|
+
break;
|
|
357
|
+
|
|
358
|
+
case 'ArrowRight':
|
|
359
|
+
this.onArrowRightKey(event);
|
|
360
|
+
break;
|
|
361
|
+
|
|
362
|
+
case 'Home':
|
|
363
|
+
this.onHomeKey(event);
|
|
364
|
+
break;
|
|
365
|
+
|
|
366
|
+
case 'End':
|
|
367
|
+
this.onEndKey(event);
|
|
368
|
+
break;
|
|
369
|
+
|
|
370
|
+
case 'Space':
|
|
371
|
+
this.onSpaceKey(event);
|
|
372
|
+
break;
|
|
373
|
+
|
|
374
|
+
case 'Enter':
|
|
375
|
+
this.onEnterKey(event);
|
|
376
|
+
break;
|
|
377
|
+
|
|
378
|
+
case 'Escape':
|
|
379
|
+
this.onEscapeKey(event);
|
|
380
|
+
break;
|
|
381
|
+
|
|
382
|
+
case 'Tab':
|
|
383
|
+
this.onTabKey(event);
|
|
384
|
+
break;
|
|
385
|
+
|
|
386
|
+
case 'PageDown':
|
|
387
|
+
case 'PageUp':
|
|
388
|
+
case 'Backspace':
|
|
389
|
+
case 'ShiftLeft':
|
|
390
|
+
case 'ShiftRight':
|
|
391
|
+
//NOOP
|
|
392
|
+
break;
|
|
393
|
+
|
|
394
|
+
default:
|
|
395
|
+
if (utils.ObjectUtils.isPrintableCharacter(event.key)) {
|
|
396
|
+
!this.overlayVisible && this.show();
|
|
397
|
+
this.searchOptions(event, event.key);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
onOptionChange(event) {
|
|
404
|
+
const { originalEvent, processedOption, isFocus } = event;
|
|
405
|
+
const { index, level, parentKey, children } = processedOption;
|
|
406
|
+
const grouped = utils.ObjectUtils.isNotEmpty(children);
|
|
407
|
+
|
|
408
|
+
const activeOptionPath = this.activeOptionPath.filter(p => p.parentKey !== parentKey);
|
|
409
|
+
activeOptionPath.push(processedOption);
|
|
410
|
+
|
|
411
|
+
this.focusedOptionInfo = { index, level, parentKey };
|
|
412
|
+
this.activeOptionPath = activeOptionPath;
|
|
413
|
+
|
|
414
|
+
grouped ? this.onOptionGroupSelect(originalEvent, processedOption) : this.onOptionSelect(originalEvent, processedOption);
|
|
415
|
+
isFocus && this.$refs.focusInput.focus();
|
|
416
|
+
},
|
|
417
|
+
onOptionSelect(event, processedOption) {
|
|
418
|
+
const value = this.getOptionValue(processedOption.option);
|
|
419
|
+
|
|
420
|
+
this.activeOptionPath.forEach(p => p.selected = true);
|
|
421
|
+
this.updateModel(event, value);
|
|
422
|
+
this.hide(true);
|
|
423
|
+
},
|
|
424
|
+
onOptionGroupSelect(event, processedOption) {
|
|
425
|
+
this.dirty = true;
|
|
426
|
+
this.$emit('group-change', { originalEvent: event, value: processedOption.option });
|
|
427
|
+
},
|
|
428
|
+
onContainerClick(event) {
|
|
429
|
+
if (this.disabled || this.loading) {
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
if (!this.overlay || !this.overlay.contains(event.target)) {
|
|
434
|
+
this.overlayVisible ? this.hide() : this.show();
|
|
435
|
+
this.$refs.focusInput.focus();
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
this.$emit('click', event);
|
|
439
|
+
},
|
|
440
|
+
onOverlayClick(event) {
|
|
441
|
+
OverlayEventBus__default["default"].emit('overlay-click', {
|
|
442
|
+
originalEvent: event,
|
|
443
|
+
target: this.$el
|
|
444
|
+
});
|
|
445
|
+
},
|
|
446
|
+
onOverlayKeyDown(event) {
|
|
447
|
+
switch (event.code) {
|
|
448
|
+
case 'Escape':
|
|
449
|
+
this.onEscapeKey(event);
|
|
450
|
+
break;
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
onArrowDownKey(event) {
|
|
454
|
+
const optionIndex = this.focusedOptionInfo.index !== -1 ? this.findNextOptionIndex(this.focusedOptionInfo.index) : this.findFirstFocusedOptionIndex();
|
|
455
|
+
|
|
456
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
457
|
+
|
|
458
|
+
!this.overlayVisible && this.show();
|
|
459
|
+
event.preventDefault();
|
|
460
|
+
},
|
|
461
|
+
onArrowUpKey(event) {
|
|
462
|
+
if (event.altKey) {
|
|
463
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
464
|
+
const processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
465
|
+
const grouped = this.isProccessedOptionGroup(processedOption);
|
|
466
|
+
!grouped && this.onOptionChange({ originalEvent: event, processedOption });
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
this.overlayVisible && this.hide();
|
|
470
|
+
event.preventDefault();
|
|
471
|
+
}
|
|
472
|
+
else {
|
|
473
|
+
const optionIndex = this.focusedOptionInfo.index !== -1 ? this.findPrevOptionIndex(this.focusedOptionInfo.index) : this.findLastFocusedOptionIndex();
|
|
474
|
+
|
|
475
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
476
|
+
|
|
477
|
+
!this.overlayVisible && this.show();
|
|
478
|
+
event.preventDefault();
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
onArrowLeftKey(event) {
|
|
482
|
+
if (this.overlayVisible) {
|
|
483
|
+
const processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
484
|
+
const parentOption = this.activeOptionPath.find(p => p.key === processedOption.parentKey);
|
|
485
|
+
const matched = this.focusedOptionInfo.parentKey === '' || (parentOption && parentOption.key === this.focusedOptionInfo.parentKey);
|
|
486
|
+
const root = utils.ObjectUtils.isEmpty(processedOption.parent);
|
|
487
|
+
|
|
488
|
+
if (matched) {
|
|
489
|
+
this.activeOptionPath = this.activeOptionPath.filter(p => p.parentKey !== this.focusedOptionInfo.parentKey);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
if (!root) {
|
|
493
|
+
this.focusedOptionInfo = { index: -1, parentKey: parentOption ? parentOption.parentKey : '' };
|
|
494
|
+
this.searchValue = '';
|
|
495
|
+
this.onArrowDownKey(event);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
event.preventDefault();
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
onArrowRightKey(event) {
|
|
502
|
+
if (this.overlayVisible) {
|
|
503
|
+
const processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
504
|
+
const grouped = this.isProccessedOptionGroup(processedOption);
|
|
505
|
+
|
|
506
|
+
if (grouped) {
|
|
507
|
+
const matched = this.activeOptionPath.some(p => processedOption.key === p.key);
|
|
508
|
+
|
|
509
|
+
if (matched) {
|
|
510
|
+
this.focusedOptionInfo = { index: -1, parentKey: processedOption.key };
|
|
511
|
+
this.searchValue = '';
|
|
512
|
+
this.onArrowDownKey(event);
|
|
513
|
+
}
|
|
514
|
+
else {
|
|
515
|
+
this.onOptionChange({ originalEvent: event, processedOption });
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
event.preventDefault();
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
onHomeKey(event) {
|
|
523
|
+
this.changeFocusedOptionIndex(event, this.findFirstOptionIndex());
|
|
524
|
+
|
|
525
|
+
!this.overlayVisible && this.show();
|
|
526
|
+
event.preventDefault();
|
|
527
|
+
},
|
|
528
|
+
onEndKey(event) {
|
|
529
|
+
this.changeFocusedOptionIndex(event, this.findLastOptionIndex());
|
|
530
|
+
|
|
531
|
+
!this.overlayVisible && this.show();
|
|
532
|
+
event.preventDefault();
|
|
533
|
+
},
|
|
534
|
+
onEnterKey(event) {
|
|
535
|
+
if (!this.overlayVisible) {
|
|
536
|
+
this.onArrowDownKey(event);
|
|
537
|
+
}
|
|
538
|
+
else {
|
|
539
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
540
|
+
const processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
541
|
+
const grouped = this.isProccessedOptionGroup(processedOption);
|
|
542
|
+
|
|
543
|
+
this.onOptionChange({ originalEvent: event, processedOption });
|
|
544
|
+
!grouped && this.hide();
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
event.preventDefault();
|
|
549
|
+
},
|
|
550
|
+
onSpaceKey(event) {
|
|
551
|
+
this.onEnterKey(event);
|
|
552
|
+
},
|
|
553
|
+
onEscapeKey(event) {
|
|
554
|
+
this.overlayVisible && this.hide(true);
|
|
555
|
+
event.preventDefault();
|
|
556
|
+
},
|
|
557
|
+
onTabKey(event) {
|
|
558
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
559
|
+
const processedOption = this.visibleOptions[this.focusedOptionInfo.index];
|
|
560
|
+
const grouped = this.isProccessedOptionGroup(processedOption);
|
|
561
|
+
|
|
562
|
+
!grouped && this.onOptionChange({ originalEvent: event, processedOption });
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
this.overlayVisible && this.hide();
|
|
566
|
+
},
|
|
567
|
+
onOverlayEnter(el) {
|
|
568
|
+
utils.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
|
|
569
|
+
this.alignOverlay();
|
|
570
|
+
this.scrollInView();
|
|
571
|
+
},
|
|
572
|
+
onOverlayAfterEnter() {
|
|
573
|
+
this.bindOutsideClickListener();
|
|
574
|
+
this.bindScrollListener();
|
|
575
|
+
this.bindResizeListener();
|
|
576
|
+
|
|
577
|
+
this.$emit('show');
|
|
578
|
+
},
|
|
579
|
+
onOverlayLeave() {
|
|
580
|
+
this.unbindOutsideClickListener();
|
|
581
|
+
this.unbindScrollListener();
|
|
582
|
+
this.unbindResizeListener();
|
|
583
|
+
|
|
584
|
+
this.$emit('hide');
|
|
585
|
+
this.overlay = null;
|
|
586
|
+
this.dirty = false;
|
|
587
|
+
},
|
|
588
|
+
onOverlayAfterLeave(el) {
|
|
589
|
+
utils.ZIndexUtils.clear(el);
|
|
590
|
+
},
|
|
591
|
+
alignOverlay() {
|
|
592
|
+
if (this.appendTo === 'self') {
|
|
593
|
+
utils.DomHandler.relativePosition(this.overlay, this.$el);
|
|
594
|
+
}
|
|
595
|
+
else {
|
|
596
|
+
this.overlay.style.minWidth = utils.DomHandler.getOuterWidth(this.$el) + 'px';
|
|
597
|
+
utils.DomHandler.absolutePosition(this.overlay, this.$el);
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
bindOutsideClickListener() {
|
|
601
|
+
if (!this.outsideClickListener) {
|
|
602
|
+
this.outsideClickListener = (event) => {
|
|
603
|
+
if (this.overlayVisible && this.overlay && !this.$el.contains(event.target) && !this.overlay.contains(event.target)) {
|
|
604
|
+
this.hide();
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
document.addEventListener('click', this.outsideClickListener);
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
unbindOutsideClickListener() {
|
|
611
|
+
if (this.outsideClickListener) {
|
|
612
|
+
document.removeEventListener('click', this.outsideClickListener);
|
|
613
|
+
this.outsideClickListener = null;
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
bindScrollListener() {
|
|
617
|
+
if (!this.scrollHandler) {
|
|
618
|
+
this.scrollHandler = new utils.ConnectedOverlayScrollHandler(this.$refs.container, () => {
|
|
619
|
+
if (this.overlayVisible) {
|
|
620
|
+
this.hide();
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
this.scrollHandler.bindScrollListener();
|
|
626
|
+
},
|
|
627
|
+
unbindScrollListener() {
|
|
628
|
+
if (this.scrollHandler) {
|
|
629
|
+
this.scrollHandler.unbindScrollListener();
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
bindResizeListener() {
|
|
633
|
+
if (!this.resizeListener) {
|
|
634
|
+
this.resizeListener = () => {
|
|
635
|
+
if (this.overlayVisible && !utils.DomHandler.isTouchDevice()) {
|
|
636
|
+
this.hide();
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
window.addEventListener('resize', this.resizeListener);
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
unbindResizeListener() {
|
|
643
|
+
if (this.resizeListener) {
|
|
644
|
+
window.removeEventListener('resize', this.resizeListener);
|
|
645
|
+
this.resizeListener = null;
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
isOptionMatched(processedOption) {
|
|
649
|
+
return this.isValidOption(processedOption) && this.getProccessedOptionLabel(processedOption).toLocaleLowerCase(this.searchLocale).startsWith(this.searchValue.toLocaleLowerCase(this.searchLocale));
|
|
650
|
+
},
|
|
651
|
+
isValidOption(processedOption) {
|
|
652
|
+
return !!processedOption && !this.isOptionDisabled(processedOption.option);
|
|
653
|
+
},
|
|
654
|
+
isValidSelectedOption(processedOption) {
|
|
655
|
+
return this.isValidOption(processedOption) && this.isSelected(processedOption);
|
|
656
|
+
},
|
|
657
|
+
isSelected(processedOption) {
|
|
658
|
+
return this.activeOptionPath.some(p => p.key === processedOption.key);
|
|
659
|
+
},
|
|
660
|
+
findFirstOptionIndex() {
|
|
661
|
+
return this.visibleOptions.findIndex(processedOption => this.isValidOption(processedOption));
|
|
662
|
+
},
|
|
663
|
+
findLastOptionIndex() {
|
|
664
|
+
return this.visibleOptions.findLastIndex(processedOption => this.isValidOption(processedOption));
|
|
665
|
+
},
|
|
666
|
+
findNextOptionIndex(index) {
|
|
667
|
+
const matchedOptionIndex = index < (this.visibleOptions.length - 1) ? this.visibleOptions.slice(index + 1).findIndex(processedOption => this.isValidOption(processedOption)) : -1;
|
|
668
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
|
|
669
|
+
},
|
|
670
|
+
findPrevOptionIndex(index) {
|
|
671
|
+
const matchedOptionIndex = index > 0 ? this.visibleOptions.slice(0, index).findLastIndex(processedOption => this.isValidOption(processedOption)) : -1;
|
|
672
|
+
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
673
|
+
},
|
|
674
|
+
findSelectedOptionIndex() {
|
|
675
|
+
return this.visibleOptions.findIndex(processedOption => this.isValidSelectedOption(processedOption));
|
|
676
|
+
},
|
|
677
|
+
findFirstFocusedOptionIndex() {
|
|
678
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
679
|
+
return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
|
|
680
|
+
},
|
|
681
|
+
findLastFocusedOptionIndex() {
|
|
682
|
+
const selectedIndex = this.findSelectedOptionIndex();
|
|
683
|
+
return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
|
|
684
|
+
},
|
|
685
|
+
findOptionPathByValue(value, processedOptions, level = 0) {
|
|
686
|
+
processedOptions = processedOptions || (level === 0 && this.processedOptions);
|
|
687
|
+
|
|
688
|
+
if (!processedOptions) return null;
|
|
689
|
+
if (utils.ObjectUtils.isEmpty(value)) return [];
|
|
690
|
+
|
|
691
|
+
for (let i = 0; i < processedOptions.length; i++) {
|
|
692
|
+
const processedOption = processedOptions[i];
|
|
693
|
+
|
|
694
|
+
if (utils.ObjectUtils.equals(value, this.getOptionValue(processedOption.option), this.equalityKey)) {
|
|
695
|
+
return [processedOption];
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
const matchedOptions = this.findOptionPathByValue(value, processedOption.children, level + 1);
|
|
699
|
+
if (matchedOptions) {
|
|
700
|
+
matchedOptions.unshift(processedOption);
|
|
701
|
+
|
|
702
|
+
return matchedOptions;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
searchOptions(event, char) {
|
|
707
|
+
this.searchValue = (this.searchValue || '') + char;
|
|
708
|
+
|
|
709
|
+
let optionIndex = -1;
|
|
710
|
+
let matched = false;
|
|
711
|
+
|
|
712
|
+
if (this.focusedOptionInfo.index !== -1) {
|
|
713
|
+
optionIndex = this.visibleOptions.slice(this.focusedOptionInfo.index).findIndex(processedOption => this.isOptionMatched(processedOption));
|
|
714
|
+
optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionInfo.index).findIndex(processedOption => this.isOptionMatched(processedOption)) : optionIndex + this.focusedOptionInfo.index;
|
|
715
|
+
}
|
|
716
|
+
else {
|
|
717
|
+
optionIndex = this.visibleOptions.findIndex(processedOption => this.isOptionMatched(processedOption));
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
if (optionIndex !== -1) {
|
|
721
|
+
matched = true;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
if (optionIndex === -1 && this.focusedOptionInfo.index === -1) {
|
|
725
|
+
optionIndex = this.findFirstFocusedOptionIndex();
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
if (optionIndex !== -1) {
|
|
729
|
+
this.changeFocusedOptionIndex(event, optionIndex);
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
if (this.searchTimeout) {
|
|
733
|
+
clearTimeout(this.searchTimeout);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
this.searchTimeout = setTimeout(() => {
|
|
737
|
+
this.searchValue = '';
|
|
738
|
+
this.searchTimeout = null;
|
|
739
|
+
}, 500);
|
|
740
|
+
|
|
741
|
+
return matched;
|
|
742
|
+
},
|
|
743
|
+
changeFocusedOptionIndex(event, index) {
|
|
744
|
+
if (this.focusedOptionInfo.index !== index) {
|
|
745
|
+
this.focusedOptionInfo.index = index;
|
|
746
|
+
this.scrollInView();
|
|
747
|
+
|
|
748
|
+
if (this.selectOnFocus) {
|
|
749
|
+
this.updateModel(event, this.getOptionValue(this.visibleOptions[index]));
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
scrollInView(index = -1) {
|
|
754
|
+
const id = index !== -1 ? `${this.id}_${index}` : this.focusedOptionId;
|
|
755
|
+
const element = utils.DomHandler.findSingle(this.list, `li[id="${id}"]`);
|
|
756
|
+
if (element) {
|
|
757
|
+
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start' });
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
autoUpdateModel() {
|
|
761
|
+
if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
|
|
762
|
+
this.focusedOptionInfo.index = this.findFirstFocusedOptionIndex();
|
|
763
|
+
const value = this.getOptionValue(this.visibleOptions[this.focusedOptionInfo.index]);
|
|
764
|
+
this.updateModel(null, value);
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
updateModel(event, value) {
|
|
768
|
+
this.$emit('update:modelValue', value);
|
|
769
|
+
this.$emit('change', { originalEvent: event, value });
|
|
770
|
+
},
|
|
771
|
+
createProcessedOptions(options, level = 0, parent = {}, parentKey = '') {
|
|
772
|
+
const processedOptions = [];
|
|
773
|
+
|
|
774
|
+
options && options.forEach((option, index) => {
|
|
775
|
+
const key = (parentKey !== '' ? parentKey + '_' : '') + index;
|
|
776
|
+
const newOption = {
|
|
777
|
+
option,
|
|
778
|
+
index,
|
|
779
|
+
level,
|
|
780
|
+
key,
|
|
781
|
+
parent,
|
|
782
|
+
parentKey
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
newOption['children'] = this.createProcessedOptions(this.getOptionGroupChildren(option, level), level + 1, newOption, key);
|
|
786
|
+
processedOptions.push(newOption);
|
|
787
|
+
});
|
|
788
|
+
|
|
789
|
+
return processedOptions;
|
|
790
|
+
},
|
|
791
|
+
overlayRef(el) {
|
|
792
|
+
this.overlay = el;
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
computed: {
|
|
796
|
+
containerClass() {
|
|
797
|
+
return ['p-cascadeselect p-component p-inputwrapper', {
|
|
798
|
+
'p-disabled': this.disabled,
|
|
799
|
+
'p-focus': this.focused,
|
|
800
|
+
'p-inputwrapper-filled': this.modelValue,
|
|
801
|
+
'p-inputwrapper-focus': this.focused || this.overlayVisible,
|
|
802
|
+
'p-overlay-open': this.overlayVisible
|
|
803
|
+
}];
|
|
804
|
+
},
|
|
805
|
+
labelClass() {
|
|
806
|
+
return ['p-cascadeselect-label', {
|
|
807
|
+
'p-placeholder': this.label === this.placeholder,
|
|
808
|
+
'p-cascadeselect-label-empty': !this.$slots['value'] && (this.label === 'p-emptylabel' || this.label.length === 0)
|
|
809
|
+
}];
|
|
810
|
+
},
|
|
811
|
+
panelStyleClass() {
|
|
812
|
+
return ['p-cascadeselect-panel p-component', this.panelClass, {
|
|
813
|
+
'p-input-filled': this.$primevue.config.inputStyle === 'filled',
|
|
814
|
+
'p-ripple-disabled': this.$primevue.config.ripple === false
|
|
815
|
+
}];
|
|
816
|
+
},
|
|
817
|
+
dropdownIconClass() {
|
|
818
|
+
return ['p-cascadeselect-trigger-icon', this.loading ? this.loadingIcon : 'pi pi-chevron-down'];
|
|
819
|
+
},
|
|
820
|
+
hasSelectedOption() {
|
|
821
|
+
return utils.ObjectUtils.isNotEmpty(this.modelValue);
|
|
822
|
+
},
|
|
823
|
+
label() {
|
|
824
|
+
const label = this.placeholder || 'p-emptylabel';
|
|
825
|
+
|
|
826
|
+
if (this.hasSelectedOption) {
|
|
827
|
+
const activeOptionPath = this.findOptionPathByValue(this.modelValue);
|
|
828
|
+
const processedOption = activeOptionPath.length ? activeOptionPath[activeOptionPath.length - 1] : null;
|
|
829
|
+
|
|
830
|
+
return processedOption ? this.getOptionLabel(processedOption.option) : label;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
return label;
|
|
834
|
+
},
|
|
835
|
+
processedOptions() {
|
|
836
|
+
return this.createProcessedOptions(this.options || []);
|
|
837
|
+
},
|
|
838
|
+
visibleOptions() {
|
|
839
|
+
const processedOption = this.activeOptionPath.find(p => p.key === this.focusedOptionInfo.parentKey);
|
|
840
|
+
return processedOption ? processedOption.children : this.processedOptions;
|
|
841
|
+
},
|
|
842
|
+
equalityKey() {
|
|
843
|
+
return this.optionValue ? null : this.dataKey;
|
|
844
|
+
},
|
|
845
|
+
searchResultMessageText() {
|
|
846
|
+
return utils.ObjectUtils.isNotEmpty(this.visibleOptions) ? this.searchMessageText.replaceAll('{0}', this.visibleOptions.length) : this.emptySearchMessageText;
|
|
847
|
+
},
|
|
848
|
+
searchMessageText() {
|
|
849
|
+
return this.searchMessage || this.$primevue.config.locale.searchMessage || '';
|
|
850
|
+
},
|
|
851
|
+
emptySearchMessageText() {
|
|
852
|
+
return this.emptySearchMessage || this.$primevue.config.locale.emptySearchMessage || '';
|
|
853
|
+
},
|
|
854
|
+
emptyMessageText() {
|
|
855
|
+
return this.emptyMessage || this.$primevue.config.locale.emptyMessage || '';
|
|
856
|
+
},
|
|
857
|
+
selectionMessageText() {
|
|
858
|
+
return this.selectionMessage || this.$primevue.config.locale.selectionMessage || '';
|
|
859
|
+
},
|
|
860
|
+
emptySelectionMessageText() {
|
|
861
|
+
return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || '';
|
|
862
|
+
},
|
|
863
|
+
selectedMessageText() {
|
|
864
|
+
return this.hasSelectedOption ? this.selectionMessageText.replaceAll('{0}', '1') : this.emptySelectionMessageText;
|
|
865
|
+
},
|
|
866
|
+
focusedOptionId() {
|
|
867
|
+
return this.focusedOptionInfo.index !== -1 ? `${this.id}${utils.ObjectUtils.isNotEmpty(this.focusedOptionInfo.parentKey) ? '_' + this.focusedOptionInfo.parentKey : ''}_${this.focusedOptionInfo.index}` : null;
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
components: {
|
|
871
|
+
'CascadeSelectSub': script$1,
|
|
872
|
+
'Portal': Portal__default["default"]
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
const _hoisted_1 = { class: "p-hidden-accessible" };
|
|
877
|
+
const _hoisted_2 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant"];
|
|
878
|
+
const _hoisted_3 = {
|
|
879
|
+
class: "p-cascadeselect-trigger",
|
|
880
|
+
role: "button",
|
|
881
|
+
tabindex: "-1",
|
|
882
|
+
"aria-hidden": "true"
|
|
883
|
+
};
|
|
884
|
+
const _hoisted_4 = {
|
|
885
|
+
role: "status",
|
|
886
|
+
"aria-live": "polite",
|
|
887
|
+
class: "p-hidden-accessible"
|
|
888
|
+
};
|
|
889
|
+
const _hoisted_5 = { class: "p-cascadeselect-items-wrapper" };
|
|
890
|
+
const _hoisted_6 = {
|
|
891
|
+
role: "status",
|
|
892
|
+
"aria-live": "polite",
|
|
893
|
+
class: "p-hidden-accessible"
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
897
|
+
const _component_CascadeSelectSub = vue.resolveComponent("CascadeSelectSub");
|
|
898
|
+
const _component_Portal = vue.resolveComponent("Portal");
|
|
899
|
+
|
|
900
|
+
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
901
|
+
ref: "container",
|
|
902
|
+
class: vue.normalizeClass($options.containerClass),
|
|
903
|
+
onClick: _cache[5] || (_cache[5] = $event => ($options.onContainerClick($event)))
|
|
904
|
+
}, [
|
|
905
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
906
|
+
vue.createElementVNode("input", vue.mergeProps({
|
|
907
|
+
ref: "focusInput",
|
|
908
|
+
id: $props.inputId,
|
|
909
|
+
type: "text",
|
|
910
|
+
style: $props.inputStyle,
|
|
911
|
+
class: $props.inputClass,
|
|
912
|
+
readonly: "",
|
|
913
|
+
disabled: $props.disabled,
|
|
914
|
+
placeholder: $props.placeholder,
|
|
915
|
+
tabindex: !$props.disabled ? $props.tabindex : -1,
|
|
916
|
+
role: "combobox",
|
|
917
|
+
"aria-label": _ctx.ariaLabel,
|
|
918
|
+
"aria-labelledby": _ctx.ariaLabelledby,
|
|
919
|
+
"aria-haspopup": "tree",
|
|
920
|
+
"aria-expanded": $data.overlayVisible,
|
|
921
|
+
"aria-controls": $data.id + '_tree',
|
|
922
|
+
"aria-activedescendant": $data.focused ? $options.focusedOptionId : undefined,
|
|
923
|
+
onFocus: _cache[0] || (_cache[0] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
924
|
+
onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
925
|
+
onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
|
|
926
|
+
}, $props.inputProps), null, 16, _hoisted_2)
|
|
927
|
+
]),
|
|
928
|
+
vue.createElementVNode("span", {
|
|
929
|
+
class: vue.normalizeClass($options.labelClass)
|
|
930
|
+
}, [
|
|
931
|
+
vue.renderSlot(_ctx.$slots, "value", {
|
|
932
|
+
value: $props.modelValue,
|
|
933
|
+
placeholder: $props.placeholder
|
|
934
|
+
}, () => [
|
|
935
|
+
vue.createTextVNode(vue.toDisplayString($options.label), 1)
|
|
936
|
+
])
|
|
937
|
+
], 2),
|
|
938
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
939
|
+
vue.renderSlot(_ctx.$slots, "indicator", {}, () => [
|
|
940
|
+
vue.createElementVNode("span", {
|
|
941
|
+
class: vue.normalizeClass($options.dropdownIconClass)
|
|
942
|
+
}, null, 2)
|
|
943
|
+
])
|
|
944
|
+
]),
|
|
945
|
+
vue.createElementVNode("span", _hoisted_4, vue.toDisplayString($options.searchResultMessageText), 1),
|
|
946
|
+
vue.createVNode(_component_Portal, { appendTo: $props.appendTo }, {
|
|
947
|
+
default: vue.withCtx(() => [
|
|
948
|
+
vue.createVNode(vue.Transition, {
|
|
949
|
+
name: "p-connected-overlay",
|
|
950
|
+
onEnter: $options.onOverlayEnter,
|
|
951
|
+
onAfterEnter: $options.onOverlayAfterEnter,
|
|
952
|
+
onLeave: $options.onOverlayLeave,
|
|
953
|
+
onAfterLeave: $options.onOverlayAfterLeave
|
|
954
|
+
}, {
|
|
955
|
+
default: vue.withCtx(() => [
|
|
956
|
+
($data.overlayVisible)
|
|
957
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
958
|
+
key: 0,
|
|
959
|
+
ref: $options.overlayRef,
|
|
960
|
+
style: $props.panelStyle,
|
|
961
|
+
class: $options.panelStyleClass,
|
|
962
|
+
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
|
|
963
|
+
onKeydown: _cache[4] || (_cache[4] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args)))
|
|
964
|
+
}, $props.panelProps), [
|
|
965
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
966
|
+
vue.createVNode(_component_CascadeSelectSub, {
|
|
967
|
+
id: $data.id + '_tree',
|
|
968
|
+
role: "tree",
|
|
969
|
+
"aria-orientation": "horizontal",
|
|
970
|
+
selectId: $data.id,
|
|
971
|
+
focusedOptionId: $data.focused ? $options.focusedOptionId : undefined,
|
|
972
|
+
options: $options.processedOptions,
|
|
973
|
+
activeOptionPath: $data.activeOptionPath,
|
|
974
|
+
level: 0,
|
|
975
|
+
templates: _ctx.$slots,
|
|
976
|
+
optionLabel: $props.optionLabel,
|
|
977
|
+
optionValue: $props.optionValue,
|
|
978
|
+
optionDisabled: $props.optionDisabled,
|
|
979
|
+
optionGroupLabel: $props.optionGroupLabel,
|
|
980
|
+
optionGroupChildren: $props.optionGroupChildren,
|
|
981
|
+
onOptionChange: $options.onOptionChange
|
|
982
|
+
}, null, 8, ["id", "selectId", "focusedOptionId", "options", "activeOptionPath", "templates", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "onOptionChange"]),
|
|
983
|
+
vue.createElementVNode("span", _hoisted_6, vue.toDisplayString($options.selectedMessageText), 1)
|
|
984
|
+
])
|
|
985
|
+
], 16))
|
|
986
|
+
: vue.createCommentVNode("", true)
|
|
987
|
+
]),
|
|
988
|
+
_: 1
|
|
989
|
+
}, 8, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])
|
|
990
|
+
]),
|
|
991
|
+
_: 1
|
|
992
|
+
}, 8, ["appendTo"])
|
|
993
|
+
], 2))
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
function styleInject(css, ref) {
|
|
997
|
+
if ( ref === void 0 ) ref = {};
|
|
998
|
+
var insertAt = ref.insertAt;
|
|
999
|
+
|
|
1000
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
1001
|
+
|
|
1002
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
1003
|
+
var style = document.createElement('style');
|
|
1004
|
+
style.type = 'text/css';
|
|
1005
|
+
|
|
1006
|
+
if (insertAt === 'top') {
|
|
1007
|
+
if (head.firstChild) {
|
|
1008
|
+
head.insertBefore(style, head.firstChild);
|
|
1009
|
+
} else {
|
|
1010
|
+
head.appendChild(style);
|
|
1011
|
+
}
|
|
1012
|
+
} else {
|
|
1013
|
+
head.appendChild(style);
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
if (style.styleSheet) {
|
|
1017
|
+
style.styleSheet.cssText = css;
|
|
1018
|
+
} else {
|
|
1019
|
+
style.appendChild(document.createTextNode(css));
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
var css_248z = "\n.p-cascadeselect {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n cursor: pointer;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-cascadeselect-trigger {\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 -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-cascadeselect-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n}\n.p-cascadeselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n}\n.p-cascadeselect .p-cascadeselect-panel {\n min-width: 100%;\n}\n.p-cascadeselect-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-cascadeselect-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n}\n.p-cascadeselect-item-content {\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 overflow: hidden;\n position: relative;\n}\n.p-cascadeselect-group-icon {\n margin-left: auto;\n}\n.p-cascadeselect-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n min-width: 100%;\n}\n.p-fluid .p-cascadeselect {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-cascadeselect .p-cascadeselect-label {\n width: 1%;\n}\n.p-cascadeselect-sublist {\n position: absolute;\n min-width: 100%;\n z-index: 1;\n display: none;\n}\n.p-cascadeselect-item-active {\n overflow: visible !important;\n}\n.p-cascadeselect-item-active > .p-cascadeselect-sublist {\n display: block;\n left: 100%;\n top: 0;\n}\n";
|
|
1024
|
+
styleInject(css_248z);
|
|
1025
|
+
|
|
1026
|
+
script.render = render;
|
|
1027
|
+
|
|
1028
|
+
return script;
|
|
1029
|
+
|
|
1030
|
+
})(primevue.utils, primevue.overlayeventbus, primevue.ripple, Vue, primevue.portal);
|