eco-vue-js 0.3.67
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/README.md +69 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/assets/icons/default/IconAdd.svg.js +30 -0
- package/dist/assets/icons/default/IconArrow.svg.js +23 -0
- package/dist/assets/icons/default/IconAvatar.svg.js +20 -0
- package/dist/assets/icons/default/IconBack.svg.js +44 -0
- package/dist/assets/icons/default/IconCancel.svg.js +24 -0
- package/dist/assets/icons/default/IconCheck.svg.js +23 -0
- package/dist/assets/icons/default/IconDanger.svg.js +35 -0
- package/dist/assets/icons/default/IconDojo.svg.js +32 -0
- package/dist/assets/icons/default/IconEdit.svg.js +33 -0
- package/dist/assets/icons/default/IconFalsePositive.svg.js +31 -0
- package/dist/assets/icons/default/IconFeedback.svg.js +44 -0
- package/dist/assets/icons/default/IconFilter.svg.js +25 -0
- package/dist/assets/icons/default/IconInProgress.svg.js +30 -0
- package/dist/assets/icons/default/IconJira.svg.js +20 -0
- package/dist/assets/icons/default/IconLogout.svg.js +20 -0
- package/dist/assets/icons/default/IconMore.svg.js +39 -0
- package/dist/assets/icons/default/IconNotification.svg.js +25 -0
- package/dist/assets/icons/default/IconProfile.svg.js +37 -0
- package/dist/assets/icons/default/IconSearch.svg.js +23 -0
- package/dist/assets/icons/default/IconSettings.svg.js +34 -0
- package/dist/assets/icons/default/IconSort.svg.js +25 -0
- package/dist/assets/icons/default/IconStar.svg.js +24 -0
- package/dist/assets/icons/default/IconSuccess.svg.js +30 -0
- package/dist/assets/icons/default/IconTask.svg.js +39 -0
- package/dist/assets/icons/default/IconTime.svg.js +42 -0
- package/dist/assets/icons/default/IconWarn.svg.js +48 -0
- package/dist/assets/icons/sax/IconAdd.svg.js +26 -0
- package/dist/assets/icons/sax/IconAddCircle.svg.js +26 -0
- package/dist/assets/icons/sax/IconAddSquare.svg.js +26 -0
- package/dist/assets/icons/sax/IconAlarm.svg.js +26 -0
- package/dist/assets/icons/sax/IconArchiveBook.svg.js +36 -0
- package/dist/assets/icons/sax/IconCandle.svg.js +27 -0
- package/dist/assets/icons/sax/IconCelery.svg.js +46 -0
- package/dist/assets/icons/sax/IconChart.svg.js +26 -0
- package/dist/assets/icons/sax/IconCheckCircle.svg.js +34 -0
- package/dist/assets/icons/sax/IconCloseCircle.svg.js +26 -0
- package/dist/assets/icons/sax/IconCopy.svg.js +34 -0
- package/dist/assets/icons/sax/IconCopySuccess.svg.js +42 -0
- package/dist/assets/icons/sax/IconCopyright.svg.js +34 -0
- package/dist/assets/icons/sax/IconDedupe.svg.js +43 -0
- package/dist/assets/icons/sax/IconDojo.svg.js +32 -0
- package/dist/assets/icons/sax/IconEditCircle.svg.js +43 -0
- package/dist/assets/icons/sax/IconElement.svg.js +26 -0
- package/dist/assets/icons/sax/IconExport.svg.js +26 -0
- package/dist/assets/icons/sax/IconEye.svg.js +34 -0
- package/dist/assets/icons/sax/IconEyeSlash.svg.js +42 -0
- package/dist/assets/icons/sax/IconFilter.svg.js +27 -0
- package/dist/assets/icons/sax/IconFinding.svg.js +26 -0
- package/dist/assets/icons/sax/IconFolder.svg.js +25 -0
- package/dist/assets/icons/sax/IconFolderCross.svg.js +34 -0
- package/dist/assets/icons/sax/IconJira.svg.js +26 -0
- package/dist/assets/icons/sax/IconKey.svg.js +35 -0
- package/dist/assets/icons/sax/IconKeySquare.svg.js +43 -0
- package/dist/assets/icons/sax/IconLayer.svg.js +42 -0
- package/dist/assets/icons/sax/IconLink.svg.js +28 -0
- package/dist/assets/icons/sax/IconLinkBold.svg.js +23 -0
- package/dist/assets/icons/sax/IconLinkOutline.svg.js +28 -0
- package/dist/assets/icons/sax/IconLogout.svg.js +50 -0
- package/dist/assets/icons/sax/IconMenu.svg.js +25 -0
- package/dist/assets/icons/sax/IconMinusCircle.svg.js +26 -0
- package/dist/assets/icons/sax/IconNegate.svg.js +34 -0
- package/dist/assets/icons/sax/IconNegativeInfo.svg.js +34 -0
- package/dist/assets/icons/sax/IconNote.svg.js +34 -0
- package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +34 -0
- package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +26 -0
- package/dist/assets/icons/sax/IconOutlineEdit.svg.js +44 -0
- package/dist/assets/icons/sax/IconOutlineFolderAdd.svg.js +34 -0
- package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +26 -0
- package/dist/assets/icons/sax/IconOutlineStar.svg.js +26 -0
- package/dist/assets/icons/sax/IconPaste.svg.js +44 -0
- package/dist/assets/icons/sax/IconProfile.svg.js +34 -0
- package/dist/assets/icons/sax/IconRadar.svg.js +26 -0
- package/dist/assets/icons/sax/IconRefresh.svg.js +26 -0
- package/dist/assets/icons/sax/IconSearch.svg.js +26 -0
- package/dist/assets/icons/sax/IconSettings.svg.js +36 -0
- package/dist/assets/icons/sax/IconStar.svg.js +26 -0
- package/dist/assets/icons/sax/IconSummary.svg.js +34 -0
- package/dist/assets/icons/sax/IconTag.svg.js +33 -0
- package/dist/assets/icons/sax/IconTask.svg.js +26 -0
- package/dist/assets/icons/sax/IconTime.svg.js +26 -0
- package/dist/assets/icons/sax/IconTrash.svg.js +26 -0
- package/dist/assets/icons/sax/IconUser.svg.js +26 -0
- package/dist/assets/icons/sax/IconVersionControl.svg.js +26 -0
- package/dist/assets/icons/sax/IconWeight.svg.js +34 -0
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +29 -0
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -0
- package/dist/components/BottomSheet/WBottomSheet.vue.js +127 -0
- package/dist/components/BottomSheet/WBottomSheet.vue2.js +5 -0
- package/dist/components/Button/WButton.vue.d.ts +97 -0
- package/dist/components/Button/WButton.vue.d.ts.map +1 -0
- package/dist/components/Button/WButton.vue.js +76 -0
- package/dist/components/Button/WButton.vue2.js +5 -0
- package/dist/components/Button/WButtonAction.vue.d.ts +78 -0
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonAction.vue.js +64 -0
- package/dist/components/Button/WButtonAction.vue2.js +5 -0
- package/dist/components/Button/WButtonCopy.vue.d.ts +13 -0
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonCopy.vue.js +67 -0
- package/dist/components/Button/WButtonCopy.vue2.js +5 -0
- package/dist/components/Button/WButtonGroup.vue.d.ts +78 -0
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonGroup.vue.js +59 -0
- package/dist/components/Button/WButtonGroup.vue2.js +5 -0
- package/dist/components/Button/WButtonMore.vue.d.ts +18 -0
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonMore.vue.js +70 -0
- package/dist/components/Button/WButtonMore.vue2.js +5 -0
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +51 -0
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonMoreItem.vue.js +35 -0
- package/dist/components/Button/WButtonMoreItem.vue2.js +5 -0
- package/dist/components/Button/WButtonSelection.vue.d.ts +28 -0
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonSelection.vue.js +56 -0
- package/dist/components/Button/WButtonSelection.vue2.js +5 -0
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts +37 -0
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonSelectionAction.vue.js +43 -0
- package/dist/components/Button/WButtonSelectionAction.vue2.js +5 -0
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts +5 -0
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts.map +1 -0
- package/dist/components/Button/models/semanticTypeStylesMap.js +24 -0
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +72 -0
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -0
- package/dist/components/Checkbox/WCheckbox.vue.js +113 -0
- package/dist/components/Checkbox/WCheckbox.vue2.js +5 -0
- package/dist/components/Chip/WChip.vue.d.ts +31 -0
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -0
- package/dist/components/Chip/WChip.vue.js +37 -0
- package/dist/components/Chip/WChip.vue2.js +5 -0
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +14 -0
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -0
- package/dist/components/ClickOutside/WClickOutside.vue.js +36 -0
- package/dist/components/ClickOutside/WClickOutside.vue2.js +5 -0
- package/dist/components/Counter/WCounter.vue.d.ts +29 -0
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -0
- package/dist/components/Counter/WCounter.vue.js +38 -0
- package/dist/components/Counter/WCounter.vue2.js +5 -0
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +18 -0
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/WDatePicker.vue.js +131 -0
- package/dist/components/DatePicker/WDatePicker.vue2.js +5 -0
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +23 -0
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +97 -0
- package/dist/components/DatePicker/WDatePickerSingle.vue2.js +5 -0
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +64 -0
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/components/CalendarDay.vue.js +96 -0
- package/dist/components/DatePicker/components/CalendarDay.vue2.js +5 -0
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +47 -0
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/components/CalendarMonth.vue.js +101 -0
- package/dist/components/DatePicker/components/CalendarMonth.vue2.js +5 -0
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +19 -0
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/components/CalendarToggle.vue.js +48 -0
- package/dist/components/DatePicker/components/CalendarToggle.vue2.js +5 -0
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +37 -0
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/components/CalendarValue.vue.js +45 -0
- package/dist/components/DatePicker/components/CalendarValue.vue2.js +5 -0
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +50 -0
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -0
- package/dist/components/DatePicker/components/CalendarWeek.vue.js +79 -0
- package/dist/components/DatePicker/components/CalendarWeek.vue2.js +5 -0
- package/dist/components/DatePicker/models/types.d.ts +5 -0
- package/dist/components/DatePicker/models/types.d.ts.map +1 -0
- package/dist/components/Dropdown/WDropdown.vue.d.ts +67 -0
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -0
- package/dist/components/Dropdown/WDropdown.vue.js +116 -0
- package/dist/components/Dropdown/WDropdown.vue2.js +5 -0
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts +21 -0
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -0
- package/dist/components/Dropdown/utils/DropdownStyle.js +141 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +72 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +71 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue2.js +5 -0
- package/dist/components/Expansion/WExpansion.vue.d.ts +31 -0
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -0
- package/dist/components/Expansion/WExpansion.vue.js +41 -0
- package/dist/components/Expansion/WExpansion.vue2.js +5 -0
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +46 -0
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -0
- package/dist/components/Expansion/WExpansionItem.vue.js +68 -0
- package/dist/components/Expansion/WExpansionItem.vue2.js +5 -0
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +44 -0
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -0
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +38 -0
- package/dist/components/FieldWrapper/WFieldWrapper.vue2.js +5 -0
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +74 -0
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -0
- package/dist/components/FilePicker/WFilePicker.vue.js +207 -0
- package/dist/components/FilePicker/WFilePicker.vue2.js +5 -0
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +29 -0
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -0
- package/dist/components/FilePicker/components/FilePickerItem.vue.js +47 -0
- package/dist/components/FilePicker/components/FilePickerItem.vue2.js +5 -0
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +33 -0
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -0
- package/dist/components/FilePicker/components/FilePickerSvg.vue.js +84 -0
- package/dist/components/FilePicker/components/FilePickerSvg.vue2.js +5 -0
- package/dist/components/Form/WForm.vue.d.ts +38 -0
- package/dist/components/Form/WForm.vue.d.ts.map +1 -0
- package/dist/components/Form/WForm.vue.js +59 -0
- package/dist/components/Form/WForm.vue2.js +5 -0
- package/dist/components/Form/WFormValidator.vue.d.ts +50 -0
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -0
- package/dist/components/Form/WFormValidator.vue.js +199 -0
- package/dist/components/Form/WFormValidator.vue2.js +5 -0
- package/dist/components/Form/models/injection.d.ts +9 -0
- package/dist/components/Form/models/injection.d.ts.map +1 -0
- package/dist/components/Form/models/injection.js +9 -0
- package/dist/components/Form/models/utils.d.ts +3 -0
- package/dist/components/Form/models/utils.d.ts.map +1 -0
- package/dist/components/Form/models/utils.js +19 -0
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts +7 -0
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormErrorMessageMap.js +31 -0
- package/dist/components/Form/use/useFormHasChangesMap.d.ts +6 -0
- package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormHasChangesMap.js +27 -0
- package/dist/components/Form/use/useFormInitModelMap.d.ts +6 -0
- package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormInitModelMap.js +31 -0
- package/dist/components/Form/use/useFormInvalidateMap.d.ts +8 -0
- package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormInvalidateMap.js +31 -0
- package/dist/components/Form/use/useFormTitleMap.d.ts +6 -0
- package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormTitleMap.js +29 -0
- package/dist/components/Form/use/useFormValidateMap.d.ts +6 -0
- package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormValidateMap.js +32 -0
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +51 -0
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -0
- package/dist/components/HeaderBar/WHeaderBar.vue.js +134 -0
- package/dist/components/HeaderBar/WHeaderBar.vue2.js +5 -0
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts +23 -0
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -0
- package/dist/components/ImageViewer/WImageViewer.vue.js +59 -0
- package/dist/components/ImageViewer/WImageViewer.vue2.js +5 -0
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +23 -0
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -0
- package/dist/components/ImageViewer/components/ImageModal.vue.js +5 -0
- package/dist/components/ImageViewer/components/ImageModal.vue2.js +39 -0
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +177 -0
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/WInfiniteList.vue.js +122 -0
- package/dist/components/InfiniteList/WInfiniteList.vue2.js +5 -0
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +171 -0
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/WInfiniteListPages.vue.js +229 -0
- package/dist/components/InfiniteList/WInfiniteListPages.vue2.js +5 -0
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +7 -0
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +26 -0
- package/dist/components/InfiniteList/components/InfiniteListButton.vue2.js +5 -0
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +183 -0
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +236 -0
- package/dist/components/InfiniteList/components/InfiniteListPage.vue2.js +5 -0
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +57 -0
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +66 -0
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue2.js +5 -0
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +21 -0
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +35 -0
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue2.js +5 -0
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +29 -0
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -0
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +56 -0
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue2.js +5 -0
- package/dist/components/InfiniteList/models/utils.d.ts +3 -0
- package/dist/components/InfiniteList/models/utils.d.ts.map +1 -0
- package/dist/components/InfiniteList/models/utils.js +13 -0
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +8 -0
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -0
- package/dist/components/InfiniteList/use/useInfiniteListHeader.js +61 -0
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +5 -0
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts.map +1 -0
- package/dist/components/InfiniteList/use/useRefetchNextPages.js +31 -0
- package/dist/components/InfoCard/WInfoCard.vue.d.ts +24 -0
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -0
- package/dist/components/InfoCard/WInfoCard.vue.js +30 -0
- package/dist/components/InfoCard/WInfoCard.vue2.js +5 -0
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +27 -0
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -0
- package/dist/components/InfoCard/WInfoCardNegative.vue.js +39 -0
- package/dist/components/InfoCard/WInfoCardNegative.vue2.js +5 -0
- package/dist/components/Input/WInput.vue.d.ts +218 -0
- package/dist/components/Input/WInput.vue.d.ts.map +1 -0
- package/dist/components/Input/WInput.vue.js +397 -0
- package/dist/components/Input/WInput.vue2.js +5 -0
- package/dist/components/Input/WInputAsync.vue.d.ts +126 -0
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -0
- package/dist/components/Input/WInputAsync.vue.js +195 -0
- package/dist/components/Input/WInputAsync.vue2.js +5 -0
- package/dist/components/Input/WInputDate.vue.d.ts +21 -0
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -0
- package/dist/components/Input/WInputDate.vue.js +62 -0
- package/dist/components/Input/WInputDate.vue2.js +5 -0
- package/dist/components/Input/WInputOptions.vue.d.ts +172 -0
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -0
- package/dist/components/Input/WInputOptions.vue.js +192 -0
- package/dist/components/Input/WInputOptions.vue2.js +5 -0
- package/dist/components/Input/WInputSuggest.vue.d.ts +206 -0
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -0
- package/dist/components/Input/WInputSuggest.vue.js +191 -0
- package/dist/components/Input/WInputSuggest.vue2.js +5 -0
- package/dist/components/Input/components/InputActions.vue.d.ts +62 -0
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -0
- package/dist/components/Input/components/InputActions.vue.js +114 -0
- package/dist/components/Input/components/InputActions.vue2.js +5 -0
- package/dist/components/Link/WLink.vue.d.ts +66 -0
- package/dist/components/Link/WLink.vue.d.ts.map +1 -0
- package/dist/components/Link/WLink.vue.js +51 -0
- package/dist/components/Link/WLink.vue2.js +5 -0
- package/dist/components/Link/WLinkArrow.vue.d.ts +27 -0
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -0
- package/dist/components/Link/WLinkArrow.vue.js +29 -0
- package/dist/components/Link/WLinkArrow.vue2.js +5 -0
- package/dist/components/ListCard/WListCard.vue.d.ts +53 -0
- package/dist/components/ListCard/WListCard.vue.d.ts.map +1 -0
- package/dist/components/ListCard/WListCard.vue.js +70 -0
- package/dist/components/ListCard/WListCard.vue2.js +5 -0
- package/dist/components/ListCard/WListCardField.vue.d.ts +25 -0
- package/dist/components/ListCard/WListCardField.vue.d.ts.map +1 -0
- package/dist/components/ListCard/WListCardField.vue.js +46 -0
- package/dist/components/ListCard/WListCardField.vue2.js +5 -0
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +37 -0
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -0
- package/dist/components/MenuItem/WMenuItem.vue.js +30 -0
- package/dist/components/MenuItem/WMenuItem.vue2.js +5 -0
- package/dist/components/Modal/WModal.vue.d.ts +3 -0
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -0
- package/dist/components/Modal/WModal.vue.js +123 -0
- package/dist/components/Modal/WModal.vue2.js +5 -0
- package/dist/components/Modal/WModalStepper.vue.d.ts +41 -0
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -0
- package/dist/components/Modal/WModalStepper.vue.js +121 -0
- package/dist/components/Modal/WModalStepper.vue2.js +5 -0
- package/dist/components/Modal/WModalWrapper.vue.d.ts +21 -0
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -0
- package/dist/components/Modal/WModalWrapper.vue.js +39 -0
- package/dist/components/Modal/WModalWrapper.vue2.js +5 -0
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +7 -0
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -0
- package/dist/components/Modal/components/ModalCloseButton.vue.js +23 -0
- package/dist/components/Modal/components/ModalCloseButton.vue2.js +5 -0
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +76 -0
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -0
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.js +5 -0
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +112 -0
- package/dist/components/Modal/modals/Confirm/types.d.ts +14 -0
- package/dist/components/Modal/modals/Confirm/types.d.ts.map +1 -0
- package/dist/components/Nav/WNavBar.vue.d.ts +14 -0
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -0
- package/dist/components/Nav/WNavBar.vue.js +69 -0
- package/dist/components/Nav/WNavBar.vue2.js +5 -0
- package/dist/components/Nav/WNavItem.vue.d.ts +69 -0
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -0
- package/dist/components/Nav/WNavItem.vue.js +86 -0
- package/dist/components/Nav/WNavItem.vue2.js +5 -0
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +46 -0
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -0
- package/dist/components/Nav/WNavItemExpand.vue.js +66 -0
- package/dist/components/Nav/WNavItemExpand.vue2.js +5 -0
- package/dist/components/Nav/WNavItemTransition.vue.d.ts +10 -0
- package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -0
- package/dist/components/Nav/WNavItemTransition.vue.js +23 -0
- package/dist/components/Notify/WNotify.vue.d.ts +3 -0
- package/dist/components/Notify/WNotify.vue.d.ts.map +1 -0
- package/dist/components/Notify/WNotify.vue.js +70 -0
- package/dist/components/Notify/WNotify.vue2.js +5 -0
- package/dist/components/Notify/components/NotifyCard.vue.d.ts +53 -0
- package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -0
- package/dist/components/Notify/components/NotifyCard.vue.js +111 -0
- package/dist/components/Notify/components/NotifyCard.vue2.js +5 -0
- package/dist/components/Notify/models/NotifyType.d.ts +6 -0
- package/dist/components/Notify/models/NotifyType.d.ts.map +1 -0
- package/dist/components/Notify/models/NotifyType.js +8 -0
- package/dist/components/Notify/models/types.d.ts +11 -0
- package/dist/components/Notify/models/types.d.ts.map +1 -0
- package/dist/components/Select/WSelect.vue.d.ts +187 -0
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -0
- package/dist/components/Select/WSelect.vue.js +318 -0
- package/dist/components/Select/WSelect.vue2.js +5 -0
- package/dist/components/Select/WSelectAsync.vue.d.ts +201 -0
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -0
- package/dist/components/Select/WSelectAsync.vue.js +210 -0
- package/dist/components/Select/WSelectAsync.vue2.js +5 -0
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +105 -0
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -0
- package/dist/components/Select/WSelectAsyncList.vue.js +76 -0
- package/dist/components/Select/WSelectAsyncList.vue2.js +5 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +185 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -0
- package/dist/components/Select/WSelectAsyncSingle.vue.js +110 -0
- package/dist/components/Select/WSelectAsyncSingle.vue2.js +5 -0
- package/dist/components/Select/WSelectSingle.vue.d.ts +177 -0
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -0
- package/dist/components/Select/WSelectSingle.vue.js +106 -0
- package/dist/components/Select/WSelectSingle.vue2.js +5 -0
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +133 -0
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -0
- package/dist/components/Select/components/SelectAsyncList.vue.js +193 -0
- package/dist/components/Select/components/SelectAsyncList.vue2.js +5 -0
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +97 -0
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -0
- package/dist/components/Select/components/SelectAsyncPrefix.vue.js +72 -0
- package/dist/components/Select/components/SelectAsyncPrefix.vue2.js +5 -0
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +97 -0
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -0
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +89 -0
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue2.js +5 -0
- package/dist/components/Select/components/SelectOption.vue.d.ts +104 -0
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -0
- package/dist/components/Select/components/SelectOption.vue.js +112 -0
- package/dist/components/Select/components/SelectOption.vue2.js +5 -0
- package/dist/components/Skeleton/WSkeleton.vue.d.ts +3 -0
- package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -0
- package/dist/components/Skeleton/WSkeleton.vue.js +14 -0
- package/dist/components/Spinner/WSpinner.vue.d.ts +3 -0
- package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -0
- package/dist/components/Spinner/WSpinner.vue.js +33 -0
- package/dist/components/Tabs/WTabs.vue.d.ts +39 -0
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -0
- package/dist/components/Tabs/WTabs.vue.js +210 -0
- package/dist/components/Tabs/WTabs.vue2.js +5 -0
- package/dist/components/Tabs/WTabsColumns.vue.d.ts +13 -0
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -0
- package/dist/components/Tabs/WTabsColumns.vue.js +33 -0
- package/dist/components/Tabs/WTabsColumns.vue2.js +5 -0
- package/dist/components/Tabs/components/TabItem.vue.d.ts +26 -0
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -0
- package/dist/components/Tabs/components/TabItem.vue.js +42 -0
- package/dist/components/Tabs/components/TabItem.vue2.js +5 -0
- package/dist/components/Tabs/models/injection.d.ts +4 -0
- package/dist/components/Tabs/models/injection.d.ts.map +1 -0
- package/dist/components/Tabs/models/injection.js +4 -0
- package/dist/components/Tabs/use/useTabActiveListener.d.ts +2 -0
- package/dist/components/Tabs/use/useTabActiveListener.d.ts.map +1 -0
- package/dist/components/Tabs/use/useTabActiveListener.js +15 -0
- package/dist/components/Tabs/use/useTabItemActiveListener.d.ts +4 -0
- package/dist/components/Tabs/use/useTabItemActiveListener.d.ts.map +1 -0
- package/dist/components/Tabs/use/useTabItemActiveListener.js +28 -0
- package/dist/components/Toggle/WToggle.vue.d.ts +69 -0
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -0
- package/dist/components/Toggle/WToggle.vue.js +94 -0
- package/dist/components/Toggle/WToggle.vue2.js +5 -0
- package/dist/components/Tooltip/WTooltip.vue.d.ts +35 -0
- package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -0
- package/dist/components/Tooltip/WTooltip.vue.js +67 -0
- package/dist/components/Tooltip/WTooltip.vue2.js +5 -0
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +3 -0
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -0
- package/dist/components/Tooltip/WTooltipContainer.vue.js +152 -0
- package/dist/components/Tooltip/WTooltipContainer.vue2.js +5 -0
- package/dist/components/Tooltip/models/utils.d.ts +2 -0
- package/dist/components/Tooltip/models/utils.d.ts.map +1 -0
- package/dist/components/Tooltip/models/utils.js +6 -0
- package/dist/imports/componentsPlugin.d.ts +66 -0
- package/dist/imports/componentsPlugin.d.ts.map +1 -0
- package/dist/imports/iconsDefault.d.ts +27 -0
- package/dist/imports/iconsDefault.d.ts.map +1 -0
- package/dist/imports/iconsDefault.js +26 -0
- package/dist/imports/iconsSax.d.ts +59 -0
- package/dist/imports/iconsSax.d.ts.map +1 -0
- package/dist/imports/iconsSax.js +58 -0
- package/dist/main.d.ts +12 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +71 -0
- package/dist/types/global.d.ts +48 -0
- package/dist/utils/DOMListenerContainer.d.ts +8 -0
- package/dist/utils/DOMListenerContainer.d.ts.map +1 -0
- package/dist/utils/DOMListenerContainer.js +39 -0
- package/dist/utils/HorizontalAlign.d.ts +9 -0
- package/dist/utils/HorizontalAlign.d.ts.map +1 -0
- package/dist/utils/HorizontalAlign.js +11 -0
- package/dist/utils/Modal.d.ts +10 -0
- package/dist/utils/Modal.d.ts.map +1 -0
- package/dist/utils/Modal.js +25 -0
- package/dist/utils/Notify.d.ts +8 -0
- package/dist/utils/Notify.d.ts.map +1 -0
- package/dist/utils/Notify.js +19 -0
- package/dist/utils/SemanticType.d.ts +9 -0
- package/dist/utils/SemanticType.d.ts.map +1 -0
- package/dist/utils/SemanticType.js +11 -0
- package/dist/utils/Tooltip.d.ts +15 -0
- package/dist/utils/Tooltip.d.ts.map +1 -0
- package/dist/utils/Tooltip.js +14 -0
- package/dist/utils/dateTime.d.ts +44 -0
- package/dist/utils/dateTime.d.ts.map +1 -0
- package/dist/utils/dateTime.js +187 -0
- package/dist/utils/mobile.d.ts +3 -0
- package/dist/utils/mobile.d.ts.map +1 -0
- package/dist/utils/mobile.js +10 -0
- package/dist/utils/supportsPassive.d.ts +2 -0
- package/dist/utils/supportsPassive.d.ts.map +1 -0
- package/dist/utils/supportsPassive.js +15 -0
- package/dist/utils/utils.d.ts +14 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/dist/utils/utils.js +61 -0
- package/package.json +281 -0
- package/tailwind-base/index.cjs +103 -0
- package/tailwind-base/plugins/default.cjs +456 -0
- package/tailwind-base/theme/animations.cjs +88 -0
- package/tailwind-base/theme/score.cjs +31 -0
- package/tailwind-base/theme/severity.cjs +32 -0
- package/tailwind-base/theme/sizes.cjs +23 -0
@@ -0,0 +1,201 @@
|
|
1
|
+
import { type Component } from 'vue';
|
2
|
+
declare const _default: <Data extends DefaultData>(__VLS_props: {
|
3
|
+
modelValue: number[];
|
4
|
+
search: string;
|
5
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
6
|
+
isInvalidPage: (error: unknown) => boolean;
|
7
|
+
queryParams: QueryParams;
|
8
|
+
title?: string | undefined;
|
9
|
+
mobileTitle?: string | undefined;
|
10
|
+
description?: string | undefined;
|
11
|
+
loading?: boolean | undefined;
|
12
|
+
emptyStub?: string | undefined;
|
13
|
+
maxSearchLength?: number | undefined;
|
14
|
+
optionComponent?: Component<{
|
15
|
+
option: Data;
|
16
|
+
selected?: boolean | undefined;
|
17
|
+
model?: boolean | undefined;
|
18
|
+
}> | undefined;
|
19
|
+
disableClear?: boolean | undefined;
|
20
|
+
hidePrefix?: boolean | undefined;
|
21
|
+
readonly?: boolean | undefined;
|
22
|
+
disabled?: boolean | undefined;
|
23
|
+
skeleton?: boolean | undefined;
|
24
|
+
searchSize?: number | undefined;
|
25
|
+
allowCreate?: boolean | undefined;
|
26
|
+
errorMessage?: string | undefined;
|
27
|
+
required?: boolean | undefined;
|
28
|
+
hasChanges?: boolean | undefined;
|
29
|
+
placeholder?: string | undefined;
|
30
|
+
noMargin?: boolean | undefined;
|
31
|
+
icon?: SVGComponent | undefined;
|
32
|
+
mono?: boolean | undefined;
|
33
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
34
|
+
props: {
|
35
|
+
modelValue: number[];
|
36
|
+
search: string;
|
37
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
38
|
+
isInvalidPage: (error: unknown) => boolean;
|
39
|
+
queryParams: QueryParams;
|
40
|
+
title?: string | undefined;
|
41
|
+
mobileTitle?: string | undefined;
|
42
|
+
description?: string | undefined;
|
43
|
+
loading?: boolean | undefined;
|
44
|
+
emptyStub?: string | undefined;
|
45
|
+
maxSearchLength?: number | undefined;
|
46
|
+
optionComponent?: Component<{
|
47
|
+
option: Data;
|
48
|
+
selected?: boolean | undefined;
|
49
|
+
model?: boolean | undefined;
|
50
|
+
}> | undefined;
|
51
|
+
disableClear?: boolean | undefined;
|
52
|
+
hidePrefix?: boolean | undefined;
|
53
|
+
readonly?: boolean | undefined;
|
54
|
+
disabled?: boolean | undefined;
|
55
|
+
skeleton?: boolean | undefined;
|
56
|
+
searchSize?: number | undefined;
|
57
|
+
allowCreate?: boolean | undefined;
|
58
|
+
errorMessage?: string | undefined;
|
59
|
+
required?: boolean | undefined;
|
60
|
+
hasChanges?: boolean | undefined;
|
61
|
+
placeholder?: string | undefined;
|
62
|
+
noMargin?: boolean | undefined;
|
63
|
+
icon?: SVGComponent | undefined;
|
64
|
+
mono?: boolean | undefined;
|
65
|
+
};
|
66
|
+
expose(exposed: {
|
67
|
+
focus: () => void;
|
68
|
+
blur: () => void;
|
69
|
+
}): void;
|
70
|
+
attrs: any;
|
71
|
+
slots: {
|
72
|
+
right?: ((props: Record<string, never>) => void) | undefined;
|
73
|
+
option?: ((props: {
|
74
|
+
option: Data | null;
|
75
|
+
selected: boolean;
|
76
|
+
skeleton: boolean;
|
77
|
+
model: boolean;
|
78
|
+
}) => void) | undefined;
|
79
|
+
};
|
80
|
+
emit: {
|
81
|
+
(e: 'select', item: number): void;
|
82
|
+
(e: 'unselect', item: number): void;
|
83
|
+
(e: 'update:search', value: string): void;
|
84
|
+
(e: 'update:modelValue', value: number[]): void;
|
85
|
+
(e: 'create:option', value: string): void;
|
86
|
+
};
|
87
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
|
88
|
+
props: {
|
89
|
+
modelValue: number[];
|
90
|
+
search: string;
|
91
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
92
|
+
isInvalidPage: (error: unknown) => boolean;
|
93
|
+
queryParams: QueryParams;
|
94
|
+
title?: string | undefined;
|
95
|
+
mobileTitle?: string | undefined;
|
96
|
+
description?: string | undefined;
|
97
|
+
loading?: boolean | undefined;
|
98
|
+
emptyStub?: string | undefined;
|
99
|
+
maxSearchLength?: number | undefined;
|
100
|
+
optionComponent?: Component<{
|
101
|
+
option: Data;
|
102
|
+
selected?: boolean | undefined;
|
103
|
+
model?: boolean | undefined;
|
104
|
+
}> | undefined;
|
105
|
+
disableClear?: boolean | undefined;
|
106
|
+
hidePrefix?: boolean | undefined;
|
107
|
+
readonly?: boolean | undefined;
|
108
|
+
disabled?: boolean | undefined;
|
109
|
+
skeleton?: boolean | undefined;
|
110
|
+
searchSize?: number | undefined;
|
111
|
+
allowCreate?: boolean | undefined;
|
112
|
+
errorMessage?: string | undefined;
|
113
|
+
required?: boolean | undefined;
|
114
|
+
hasChanges?: boolean | undefined;
|
115
|
+
placeholder?: string | undefined;
|
116
|
+
noMargin?: boolean | undefined;
|
117
|
+
icon?: SVGComponent | undefined;
|
118
|
+
mono?: boolean | undefined;
|
119
|
+
};
|
120
|
+
expose(exposed: {
|
121
|
+
focus: () => void;
|
122
|
+
blur: () => void;
|
123
|
+
}): void;
|
124
|
+
attrs: any;
|
125
|
+
slots: {
|
126
|
+
right?: ((props: Record<string, never>) => void) | undefined;
|
127
|
+
option?: ((props: {
|
128
|
+
option: Data | null;
|
129
|
+
selected: boolean;
|
130
|
+
skeleton: boolean;
|
131
|
+
model: boolean;
|
132
|
+
}) => void) | undefined;
|
133
|
+
};
|
134
|
+
emit: {
|
135
|
+
(e: 'select', item: number): void;
|
136
|
+
(e: 'unselect', item: number): void;
|
137
|
+
(e: 'update:search', value: string): void;
|
138
|
+
(e: 'update:modelValue', value: number[]): void;
|
139
|
+
(e: 'create:option', value: string): void;
|
140
|
+
};
|
141
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
142
|
+
[key: string]: any;
|
143
|
+
}> & {
|
144
|
+
__ctx?: {
|
145
|
+
props: {
|
146
|
+
modelValue: number[];
|
147
|
+
search: string;
|
148
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
149
|
+
isInvalidPage: (error: unknown) => boolean;
|
150
|
+
queryParams: QueryParams;
|
151
|
+
title?: string | undefined;
|
152
|
+
mobileTitle?: string | undefined;
|
153
|
+
description?: string | undefined;
|
154
|
+
loading?: boolean | undefined;
|
155
|
+
emptyStub?: string | undefined;
|
156
|
+
maxSearchLength?: number | undefined;
|
157
|
+
optionComponent?: Component<{
|
158
|
+
option: Data;
|
159
|
+
selected?: boolean | undefined;
|
160
|
+
model?: boolean | undefined;
|
161
|
+
}> | undefined;
|
162
|
+
disableClear?: boolean | undefined;
|
163
|
+
hidePrefix?: boolean | undefined;
|
164
|
+
readonly?: boolean | undefined;
|
165
|
+
disabled?: boolean | undefined;
|
166
|
+
skeleton?: boolean | undefined;
|
167
|
+
searchSize?: number | undefined;
|
168
|
+
allowCreate?: boolean | undefined;
|
169
|
+
errorMessage?: string | undefined;
|
170
|
+
required?: boolean | undefined;
|
171
|
+
hasChanges?: boolean | undefined;
|
172
|
+
placeholder?: string | undefined;
|
173
|
+
noMargin?: boolean | undefined;
|
174
|
+
icon?: SVGComponent | undefined;
|
175
|
+
mono?: boolean | undefined;
|
176
|
+
};
|
177
|
+
expose(exposed: {
|
178
|
+
focus: () => void;
|
179
|
+
blur: () => void;
|
180
|
+
}): void;
|
181
|
+
attrs: any;
|
182
|
+
slots: {
|
183
|
+
right?: ((props: Record<string, never>) => void) | undefined;
|
184
|
+
option?: ((props: {
|
185
|
+
option: Data | null;
|
186
|
+
selected: boolean;
|
187
|
+
skeleton: boolean;
|
188
|
+
model: boolean;
|
189
|
+
}) => void) | undefined;
|
190
|
+
};
|
191
|
+
emit: {
|
192
|
+
(e: 'select', item: number): void;
|
193
|
+
(e: 'unselect', item: number): void;
|
194
|
+
(e: 'update:search', value: string): void;
|
195
|
+
(e: 'update:modelValue', value: number[]): void;
|
196
|
+
(e: 'create:option', value: string): void;
|
197
|
+
};
|
198
|
+
} | undefined;
|
199
|
+
};
|
200
|
+
export default _default;
|
201
|
+
//# sourceMappingURL=WSelectAsync.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsync.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;gBAqZ7C,MAAM,EAAE;YACZ,MAAM;;2BAES,OAAO,KAAK,OAAO;iBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAJZ,MAAM,EAAE;gBACZ,MAAM;;+BAES,OAAO,KAAK,OAAO;qBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgCa,IAAI;WACpC,GAAG;;yBAlSQ,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;sBACG,OAAO;sBAAY,OAAO;mBAAS,OAAO;cAAM,IAAI;;;YAwRjG,QAAQ,QAAQ,MAAM,GAAG,IAAI;YAC7B,UAAU,QAAQ,MAAM,GAAG,IAAI;YAC/B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;oBAhC7B,MAAM,EAAE;gBACZ,MAAM;;+BAES,OAAO,KAAK,OAAO;qBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgCa,IAAI;WACpC,GAAG;;yBAlSQ,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;sBACG,OAAO;sBAAY,OAAO;mBAAS,OAAO;cAAM,IAAI;;;YAwRjG,QAAQ,QAAQ,MAAM,GAAG,IAAI;YAC7B,UAAU,QAAQ,MAAM,GAAG,IAAI;YAC/B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;wBAhC7B,MAAM,EAAE;oBACZ,MAAM;;mCAES,OAAO,KAAK,OAAO;yBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAgCa,IAAI;eACpC,GAAG;;6BAlSQ,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;;;0BACG,OAAO;0BAAY,OAAO;uBAAS,OAAO;kBAAM,IAAI;;;gBAwRjG,QAAQ,QAAQ,MAAM,GAAG,IAAI;gBAC7B,UAAU,QAAQ,MAAM,GAAG,IAAI;gBAC/B,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;gBAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AA/a3C,wBAwbkE"}
|
@@ -0,0 +1,210 @@
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createBlock, unref, withModifiers, createSlots, withCtx, renderSlot, createCommentVNode, createVNode, resolveDynamicComponent, nextTick } from 'vue';
|
2
|
+
import { getIsMobile } from '../../utils/mobile.js';
|
3
|
+
import _sfc_main$1 from '../Input/WInputSuggest.vue.js';
|
4
|
+
import _sfc_main$2 from './components/SelectAsyncPrefix.vue.js';
|
5
|
+
import _sfc_main$3 from './components/SelectAsyncList.vue.js';
|
6
|
+
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "WSelectAsync",
|
9
|
+
props: {
|
10
|
+
modelValue: {},
|
11
|
+
search: {},
|
12
|
+
useQueryFn: {},
|
13
|
+
isInvalidPage: { type: Function },
|
14
|
+
queryParams: {},
|
15
|
+
title: {},
|
16
|
+
mobileTitle: {},
|
17
|
+
description: {},
|
18
|
+
loading: { type: Boolean },
|
19
|
+
emptyStub: {},
|
20
|
+
maxSearchLength: {},
|
21
|
+
optionComponent: {},
|
22
|
+
disableClear: { type: Boolean },
|
23
|
+
hidePrefix: { type: Boolean },
|
24
|
+
readonly: { type: Boolean },
|
25
|
+
disabled: { type: Boolean },
|
26
|
+
skeleton: { type: Boolean },
|
27
|
+
searchSize: {},
|
28
|
+
allowCreate: { type: Boolean },
|
29
|
+
errorMessage: {},
|
30
|
+
required: { type: Boolean },
|
31
|
+
hasChanges: { type: Boolean },
|
32
|
+
placeholder: {},
|
33
|
+
noMargin: { type: Boolean },
|
34
|
+
icon: {},
|
35
|
+
mono: { type: Boolean }
|
36
|
+
},
|
37
|
+
emits: ["select", "unselect", "update:search", "update:modelValue", "create:option"],
|
38
|
+
setup(__props, { expose: __expose, emit }) {
|
39
|
+
const props = __props;
|
40
|
+
const isOpen = ref(false);
|
41
|
+
const input = ref();
|
42
|
+
const list = ref();
|
43
|
+
const isMobile = getIsMobile();
|
44
|
+
const focused = ref(false);
|
45
|
+
const isFetchingPrefix = ref(false);
|
46
|
+
const isDisabled = computed(() => props.loading || isFetchingPrefix.value || props.readonly || props.disabled);
|
47
|
+
const close = () => {
|
48
|
+
isOpen.value = false;
|
49
|
+
focused.value = false;
|
50
|
+
};
|
51
|
+
let deletePressTimeout = null;
|
52
|
+
const captureDoubleDelete = () => {
|
53
|
+
if (!props.modelValue.length || props.search.length)
|
54
|
+
return;
|
55
|
+
if (deletePressTimeout) {
|
56
|
+
unselect(props.modelValue[props.modelValue.length - 1]);
|
57
|
+
clearTimeout(deletePressTimeout);
|
58
|
+
deletePressTimeout = null;
|
59
|
+
} else {
|
60
|
+
deletePressTimeout = setTimeout(() => {
|
61
|
+
deletePressTimeout = null;
|
62
|
+
}, 500);
|
63
|
+
}
|
64
|
+
};
|
65
|
+
const select = (item) => {
|
66
|
+
if (isDisabled.value)
|
67
|
+
return;
|
68
|
+
emit("select", item);
|
69
|
+
};
|
70
|
+
const unselect = (item) => {
|
71
|
+
if (isDisabled.value)
|
72
|
+
return;
|
73
|
+
emit("unselect", item);
|
74
|
+
};
|
75
|
+
const create = () => {
|
76
|
+
if (isDisabled.value)
|
77
|
+
return;
|
78
|
+
emit("create:option", props.search);
|
79
|
+
};
|
80
|
+
const updateSelected = (value) => {
|
81
|
+
if (isDisabled.value)
|
82
|
+
return;
|
83
|
+
emit("update:modelValue", value);
|
84
|
+
};
|
85
|
+
const focus = () => {
|
86
|
+
input.value?.focus();
|
87
|
+
};
|
88
|
+
const blur = () => {
|
89
|
+
input.value?.blur();
|
90
|
+
};
|
91
|
+
const updateDropdown = async () => {
|
92
|
+
await nextTick();
|
93
|
+
input.value?.updateDropdown();
|
94
|
+
};
|
95
|
+
__expose({
|
96
|
+
focus,
|
97
|
+
blur
|
98
|
+
});
|
99
|
+
return (_ctx, _cache) => {
|
100
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
101
|
+
ref_key: "input",
|
102
|
+
ref: input,
|
103
|
+
title: _ctx.title,
|
104
|
+
"mobile-title": _ctx.mobileTitle,
|
105
|
+
description: _ctx.description,
|
106
|
+
"model-value": _ctx.search,
|
107
|
+
"max-length": _ctx.maxSearchLength,
|
108
|
+
loading: _ctx.loading || isFetchingPrefix.value,
|
109
|
+
"hide-input": unref(isMobile) ? !focused.value : !isOpen.value,
|
110
|
+
readonly: _ctx.readonly,
|
111
|
+
skeleton: _ctx.skeleton,
|
112
|
+
size: _ctx.searchSize,
|
113
|
+
"error-message": _ctx.errorMessage,
|
114
|
+
required: _ctx.required,
|
115
|
+
disabled: _ctx.disabled,
|
116
|
+
"has-changes": _ctx.hasChanges,
|
117
|
+
placeholder: _ctx.placeholder,
|
118
|
+
"no-margin": _ctx.noMargin,
|
119
|
+
icon: _ctx.icon,
|
120
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => !_ctx.loading && !isFetchingPrefix.value && _ctx.$emit("update:search", $event ?? "")),
|
121
|
+
"onKeypress:enter": _cache[2] || (_cache[2] = withModifiers(($event) => list.value?.selectCursor(), ["stop", "prevent"])),
|
122
|
+
"onKeypress:up": _cache[3] || (_cache[3] = withModifiers(($event) => list.value?.cursorUp(), ["prevent"])),
|
123
|
+
"onKeypress:down": _cache[4] || (_cache[4] = withModifiers(($event) => list.value?.cursorDown(), ["prevent"])),
|
124
|
+
"onKeypress:delete": captureDoubleDelete,
|
125
|
+
onOpen: _cache[5] || (_cache[5] = ($event) => isOpen.value = true),
|
126
|
+
onClose: _cache[6] || (_cache[6] = ($event) => {
|
127
|
+
close();
|
128
|
+
_ctx.$emit("update:search", "");
|
129
|
+
}),
|
130
|
+
onFocus: _cache[7] || (_cache[7] = ($event) => focused.value = true),
|
131
|
+
onBlur: _cache[8] || (_cache[8] = ($event) => focused.value = false)
|
132
|
+
}, createSlots({
|
133
|
+
prefix: withCtx(({ unclickable }) => [
|
134
|
+
(_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(), createBlock(_sfc_main$2, {
|
135
|
+
key: 0,
|
136
|
+
"use-query-fn": _ctx.useQueryFn,
|
137
|
+
"model-value": _ctx.modelValue,
|
138
|
+
disabled: _ctx.disabled,
|
139
|
+
loading: _ctx.loading || isFetchingPrefix.value,
|
140
|
+
"option-component": _ctx.optionComponent,
|
141
|
+
"disable-clear": _ctx.disableClear,
|
142
|
+
onUnselect: unselect,
|
143
|
+
"onUpdate:fetching": _cache[0] || (_cache[0] = ($event) => {
|
144
|
+
!$event && updateDropdown();
|
145
|
+
isFetchingPrefix.value = $event;
|
146
|
+
}),
|
147
|
+
"onUpdate:modelValue": updateSelected
|
148
|
+
}, {
|
149
|
+
default: withCtx(({ option, skeleton: skeletonPrefix }) => [
|
150
|
+
renderSlot(_ctx.$slots, "option", {
|
151
|
+
option,
|
152
|
+
selected: true,
|
153
|
+
model: true,
|
154
|
+
skeleton: skeletonPrefix
|
155
|
+
})
|
156
|
+
]),
|
157
|
+
_: 3
|
158
|
+
}, 8, ["use-query-fn", "model-value", "disabled", "loading", "option-component", "disable-clear"])) : createCommentVNode("", true)
|
159
|
+
]),
|
160
|
+
content: withCtx(() => [
|
161
|
+
createVNode(_sfc_main$3, {
|
162
|
+
ref_key: "list",
|
163
|
+
ref: list,
|
164
|
+
"model-value": _ctx.modelValue,
|
165
|
+
"use-query-fn": _ctx.useQueryFn,
|
166
|
+
"query-params": _ctx.queryParams,
|
167
|
+
"is-invalid-page": _ctx.isInvalidPage,
|
168
|
+
loading: _ctx.loading || isFetchingPrefix.value,
|
169
|
+
disabled: isDisabled.value,
|
170
|
+
"empty-stub": _ctx.emptyStub ?? "No match",
|
171
|
+
"allow-create": _ctx.allowCreate && _ctx.search !== "",
|
172
|
+
onSelect: select,
|
173
|
+
onUnselect: unselect,
|
174
|
+
"onCreate:option": create,
|
175
|
+
"onUpdate:modelValue": updateSelected
|
176
|
+
}, {
|
177
|
+
default: withCtx(({ option, selected, skeleton: skeletonList }) => [
|
178
|
+
renderSlot(_ctx.$slots, "option", {
|
179
|
+
option,
|
180
|
+
selected,
|
181
|
+
skeleton: skeletonList,
|
182
|
+
model: false
|
183
|
+
}, () => [
|
184
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
185
|
+
option,
|
186
|
+
selected,
|
187
|
+
skeleton: skeletonList,
|
188
|
+
model: false,
|
189
|
+
search: _ctx.search
|
190
|
+
}, null, 8, ["option", "selected", "skeleton", "search"]))
|
191
|
+
])
|
192
|
+
]),
|
193
|
+
_: 3
|
194
|
+
}, 8, ["model-value", "use-query-fn", "query-params", "is-invalid-page", "loading", "disabled", "empty-stub", "allow-create"])
|
195
|
+
]),
|
196
|
+
_: 2
|
197
|
+
}, [
|
198
|
+
_ctx.$slots.right?.()?.length ? {
|
199
|
+
name: "right",
|
200
|
+
fn: withCtx(() => [
|
201
|
+
renderSlot(_ctx.$slots, "right")
|
202
|
+
]),
|
203
|
+
key: "0"
|
204
|
+
} : void 0
|
205
|
+
]), 1032, ["title", "mobile-title", "description", "model-value", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "placeholder", "no-margin", "icon"]);
|
206
|
+
};
|
207
|
+
}
|
208
|
+
});
|
209
|
+
|
210
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,105 @@
|
|
1
|
+
declare const _default: <Data extends DefaultData>(__VLS_props: {
|
2
|
+
title?: string | undefined;
|
3
|
+
emptyStub?: string | undefined;
|
4
|
+
modelValue: number[];
|
5
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
6
|
+
isInvalidPage: (error: unknown) => boolean;
|
7
|
+
queryParams: QueryParams;
|
8
|
+
skeleton?: boolean | undefined;
|
9
|
+
excludeParams?: string[] | undefined;
|
10
|
+
selectOnly?: boolean | undefined;
|
11
|
+
unselectOnly?: boolean | undefined;
|
12
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
13
|
+
props: {
|
14
|
+
title?: string | undefined;
|
15
|
+
emptyStub?: string | undefined;
|
16
|
+
modelValue: number[];
|
17
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
18
|
+
isInvalidPage: (error: unknown) => boolean;
|
19
|
+
queryParams: QueryParams;
|
20
|
+
skeleton?: boolean | undefined;
|
21
|
+
excludeParams?: string[] | undefined;
|
22
|
+
selectOnly?: boolean | undefined;
|
23
|
+
unselectOnly?: boolean | undefined;
|
24
|
+
};
|
25
|
+
expose(exposed: {}): void;
|
26
|
+
attrs: any;
|
27
|
+
slots: {
|
28
|
+
default?: ((props: {
|
29
|
+
option: Data | null;
|
30
|
+
selected: boolean;
|
31
|
+
skeleton: boolean;
|
32
|
+
model: boolean;
|
33
|
+
}) => void) | undefined;
|
34
|
+
};
|
35
|
+
emit: {
|
36
|
+
(e: 'select', value: number): void;
|
37
|
+
(e: 'unselect', value: number): void;
|
38
|
+
(e: 'update:model-value', value: number[]): void;
|
39
|
+
(e: 'update:count', value: number): void;
|
40
|
+
};
|
41
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
|
42
|
+
props: {
|
43
|
+
title?: string | undefined;
|
44
|
+
emptyStub?: string | undefined;
|
45
|
+
modelValue: number[];
|
46
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
47
|
+
isInvalidPage: (error: unknown) => boolean;
|
48
|
+
queryParams: QueryParams;
|
49
|
+
skeleton?: boolean | undefined;
|
50
|
+
excludeParams?: string[] | undefined;
|
51
|
+
selectOnly?: boolean | undefined;
|
52
|
+
unselectOnly?: boolean | undefined;
|
53
|
+
};
|
54
|
+
expose(exposed: {}): void;
|
55
|
+
attrs: any;
|
56
|
+
slots: {
|
57
|
+
default?: ((props: {
|
58
|
+
option: Data | null;
|
59
|
+
selected: boolean;
|
60
|
+
skeleton: boolean;
|
61
|
+
model: boolean;
|
62
|
+
}) => void) | undefined;
|
63
|
+
};
|
64
|
+
emit: {
|
65
|
+
(e: 'select', value: number): void;
|
66
|
+
(e: 'unselect', value: number): void;
|
67
|
+
(e: 'update:model-value', value: number[]): void;
|
68
|
+
(e: 'update:count', value: number): void;
|
69
|
+
};
|
70
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
71
|
+
[key: string]: any;
|
72
|
+
}> & {
|
73
|
+
__ctx?: {
|
74
|
+
props: {
|
75
|
+
title?: string | undefined;
|
76
|
+
emptyStub?: string | undefined;
|
77
|
+
modelValue: number[];
|
78
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
79
|
+
isInvalidPage: (error: unknown) => boolean;
|
80
|
+
queryParams: QueryParams;
|
81
|
+
skeleton?: boolean | undefined;
|
82
|
+
excludeParams?: string[] | undefined;
|
83
|
+
selectOnly?: boolean | undefined;
|
84
|
+
unselectOnly?: boolean | undefined;
|
85
|
+
};
|
86
|
+
expose(exposed: {}): void;
|
87
|
+
attrs: any;
|
88
|
+
slots: {
|
89
|
+
default?: ((props: {
|
90
|
+
option: Data | null;
|
91
|
+
selected: boolean;
|
92
|
+
skeleton: boolean;
|
93
|
+
model: boolean;
|
94
|
+
}) => void) | undefined;
|
95
|
+
};
|
96
|
+
emit: {
|
97
|
+
(e: 'select', value: number): void;
|
98
|
+
(e: 'unselect', value: number): void;
|
99
|
+
(e: 'update:model-value', value: number[]): void;
|
100
|
+
(e: 'update:count', value: number): void;
|
101
|
+
};
|
102
|
+
} | undefined;
|
103
|
+
};
|
104
|
+
export default _default;
|
105
|
+
//# sourceMappingURL=WSelectAsyncList.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WSelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsyncList.vue.ts"],"names":[],"mappings":";;;gBAqNc,MAAM,EAAE;;2BAEG,OAAO,KAAK,OAAO;iBAC7B,WAAW;;;;;;;;;oBAHZ,MAAM,EAAE;;+BAEG,OAAO,KAAK,OAAO;qBAC7B,WAAW;;;;;;yBAca,IAAI;WACpC,GAAG;;;;sBA9K0C,OAAO;sBAAY,OAAO;mBAAS,OAAO;cAAM,IAAI;;;YAsKlG,QAAQ,SAAS,MAAM,GAAG,IAAI;YAC9B,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,oBAAoB,SAAS,MAAM,EAAE,GAAG,IAAI;YAC5C,cAAc,SAAS,MAAM,GAAG,IAAI;;;;;;oBAb5B,MAAM,EAAE;;+BAEG,OAAO,KAAK,OAAO;qBAC7B,WAAW;;;;;;yBAca,IAAI;WACpC,GAAG;;;;sBA9K0C,OAAO;sBAAY,OAAO;mBAAS,OAAO;cAAM,IAAI;;;YAsKlG,QAAQ,SAAS,MAAM,GAAG,IAAI;YAC9B,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,oBAAoB,SAAS,MAAM,EAAE,GAAG,IAAI;YAC5C,cAAc,SAAS,MAAM,GAAG,IAAI;;;;;;;;;wBAb5B,MAAM,EAAE;;mCAEG,OAAO,KAAK,OAAO;yBAC7B,WAAW;;;;;;6BAca,IAAI;eACpC,GAAG;;;;0BA9K0C,OAAO;0BAAY,OAAO;uBAAS,OAAO;kBAAM,IAAI;;;gBAsKlG,QAAQ,SAAS,MAAM,GAAG,IAAI;gBAC9B,UAAU,SAAS,MAAM,GAAG,IAAI;gBAChC,oBAAoB,SAAS,MAAM,EAAE,GAAG,IAAI;gBAC5C,cAAc,SAAS,MAAM,GAAG,IAAI;;;;AA5N1C,wBAqOkE"}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, withCtx, renderSlot } from 'vue';
|
2
|
+
import _sfc_main$1 from './components/SelectAsyncList.vue.js';
|
3
|
+
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
4
|
+
|
5
|
+
const _hoisted_1 = {
|
6
|
+
key: 0,
|
7
|
+
class: "text-xs text-accent font-semibold mb-2"
|
8
|
+
};
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
|
+
__name: "WSelectAsyncList",
|
11
|
+
props: {
|
12
|
+
title: {},
|
13
|
+
emptyStub: {},
|
14
|
+
modelValue: {},
|
15
|
+
useQueryFn: {},
|
16
|
+
isInvalidPage: { type: Function },
|
17
|
+
queryParams: {},
|
18
|
+
skeleton: { type: Boolean },
|
19
|
+
excludeParams: {},
|
20
|
+
selectOnly: { type: Boolean },
|
21
|
+
unselectOnly: { type: Boolean }
|
22
|
+
},
|
23
|
+
emits: ["select", "unselect", "update:model-value", "update:count"],
|
24
|
+
setup(__props) {
|
25
|
+
const list = ref();
|
26
|
+
return (_ctx, _cache) => {
|
27
|
+
return openBlock(), createElementBlock("div", null, [
|
28
|
+
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
29
|
+
_ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
30
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
31
|
+
], 64))
|
32
|
+
])) : createCommentVNode("", true),
|
33
|
+
_ctx.skeleton ? (openBlock(), createBlock(WSkeleton, {
|
34
|
+
key: 1,
|
35
|
+
class: "w-skeleton-rounded-2xl h-[24rem] min-w-full"
|
36
|
+
})) : (openBlock(), createElementBlock("div", {
|
37
|
+
key: 2,
|
38
|
+
ref_key: "list",
|
39
|
+
ref: list,
|
40
|
+
class: "h-[24rem] overflow-y-overlay sm:border sm-not:border-y border-gray-300 dark:border-gray-700 border-solid sm:rounded-2xl"
|
41
|
+
}, [
|
42
|
+
createVNode(_sfc_main$1, {
|
43
|
+
"model-value": _ctx.modelValue,
|
44
|
+
"use-query-fn": _ctx.useQueryFn,
|
45
|
+
"is-invalid-page": _ctx.isInvalidPage,
|
46
|
+
"query-params": _ctx.queryParams,
|
47
|
+
"scrolling-element": list.value,
|
48
|
+
"exclude-params": _ctx.excludeParams,
|
49
|
+
"empty-stub": _ctx.emptyStub,
|
50
|
+
"select-only": _ctx.selectOnly,
|
51
|
+
"unselect-only": _ctx.unselectOnly,
|
52
|
+
"allow-update-selected": "",
|
53
|
+
transition: "",
|
54
|
+
"no-padding": "",
|
55
|
+
onSelect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("select", $event)),
|
56
|
+
onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("unselect", $event)),
|
57
|
+
"onUpdate:count": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:count", $event)),
|
58
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:model-value", $event))
|
59
|
+
}, {
|
60
|
+
default: withCtx(({ option, selected, skeleton: skeletonList }) => [
|
61
|
+
renderSlot(_ctx.$slots, "default", {
|
62
|
+
option,
|
63
|
+
selected,
|
64
|
+
skeleton: skeletonList,
|
65
|
+
model: false
|
66
|
+
})
|
67
|
+
]),
|
68
|
+
_: 3
|
69
|
+
}, 8, ["model-value", "use-query-fn", "is-invalid-page", "query-params", "scrolling-element", "exclude-params", "empty-stub", "select-only", "unselect-only"])
|
70
|
+
], 512))
|
71
|
+
]);
|
72
|
+
};
|
73
|
+
}
|
74
|
+
});
|
75
|
+
|
76
|
+
export { _sfc_main as default };
|