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,185 @@
|
|
1
|
+
import { type Component } from 'vue';
|
2
|
+
declare const _default: <Data extends DefaultData>(__VLS_props: {
|
3
|
+
modelValue: number | null;
|
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
|
+
readonly?: boolean | undefined;
|
20
|
+
disabled?: boolean | undefined;
|
21
|
+
skeleton?: boolean | undefined;
|
22
|
+
allowCreate?: boolean | undefined;
|
23
|
+
errorMessage?: string | undefined;
|
24
|
+
hasChanges?: boolean | undefined;
|
25
|
+
placeholder?: string | undefined;
|
26
|
+
searchSize?: number | undefined;
|
27
|
+
required?: boolean | undefined;
|
28
|
+
noMargin?: boolean | undefined;
|
29
|
+
icon?: SVGComponent | undefined;
|
30
|
+
mono?: boolean | undefined;
|
31
|
+
allowClear?: boolean | undefined;
|
32
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
33
|
+
props: {
|
34
|
+
modelValue: number | null;
|
35
|
+
search: string;
|
36
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
37
|
+
isInvalidPage: (error: unknown) => boolean;
|
38
|
+
queryParams: QueryParams;
|
39
|
+
title?: string | undefined;
|
40
|
+
mobileTitle?: string | undefined;
|
41
|
+
description?: string | undefined;
|
42
|
+
loading?: boolean | undefined;
|
43
|
+
emptyStub?: string | undefined;
|
44
|
+
maxSearchLength?: number | undefined;
|
45
|
+
optionComponent?: Component<{
|
46
|
+
option: Data;
|
47
|
+
selected?: boolean | undefined;
|
48
|
+
model?: boolean | undefined;
|
49
|
+
}> | undefined;
|
50
|
+
readonly?: boolean | undefined;
|
51
|
+
disabled?: boolean | undefined;
|
52
|
+
skeleton?: boolean | undefined;
|
53
|
+
allowCreate?: boolean | undefined;
|
54
|
+
errorMessage?: string | undefined;
|
55
|
+
hasChanges?: boolean | undefined;
|
56
|
+
placeholder?: string | undefined;
|
57
|
+
searchSize?: number | undefined;
|
58
|
+
required?: boolean | undefined;
|
59
|
+
noMargin?: boolean | undefined;
|
60
|
+
icon?: SVGComponent | undefined;
|
61
|
+
mono?: boolean | undefined;
|
62
|
+
allowClear?: boolean | undefined;
|
63
|
+
};
|
64
|
+
expose(exposed: {
|
65
|
+
blur: () => void;
|
66
|
+
}): void;
|
67
|
+
attrs: any;
|
68
|
+
slots: {
|
69
|
+
option?(_: {
|
70
|
+
option: DefaultData | null;
|
71
|
+
selected: boolean;
|
72
|
+
model: boolean;
|
73
|
+
}): any;
|
74
|
+
right?(_: {}): any;
|
75
|
+
};
|
76
|
+
emit: {
|
77
|
+
(e: 'update:modelValue', value: number | null): void;
|
78
|
+
(e: 'update:search', value: string): void;
|
79
|
+
(e: 'create:option', value: string): void;
|
80
|
+
};
|
81
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
|
82
|
+
props: {
|
83
|
+
modelValue: number | null;
|
84
|
+
search: string;
|
85
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
86
|
+
isInvalidPage: (error: unknown) => boolean;
|
87
|
+
queryParams: QueryParams;
|
88
|
+
title?: string | undefined;
|
89
|
+
mobileTitle?: string | undefined;
|
90
|
+
description?: string | undefined;
|
91
|
+
loading?: boolean | undefined;
|
92
|
+
emptyStub?: string | undefined;
|
93
|
+
maxSearchLength?: number | undefined;
|
94
|
+
optionComponent?: Component<{
|
95
|
+
option: Data;
|
96
|
+
selected?: boolean | undefined;
|
97
|
+
model?: boolean | undefined;
|
98
|
+
}> | undefined;
|
99
|
+
readonly?: boolean | undefined;
|
100
|
+
disabled?: boolean | undefined;
|
101
|
+
skeleton?: boolean | undefined;
|
102
|
+
allowCreate?: boolean | undefined;
|
103
|
+
errorMessage?: string | undefined;
|
104
|
+
hasChanges?: boolean | undefined;
|
105
|
+
placeholder?: string | undefined;
|
106
|
+
searchSize?: number | undefined;
|
107
|
+
required?: boolean | undefined;
|
108
|
+
noMargin?: boolean | undefined;
|
109
|
+
icon?: SVGComponent | undefined;
|
110
|
+
mono?: boolean | undefined;
|
111
|
+
allowClear?: boolean | undefined;
|
112
|
+
};
|
113
|
+
expose(exposed: {
|
114
|
+
blur: () => void;
|
115
|
+
}): void;
|
116
|
+
attrs: any;
|
117
|
+
slots: {
|
118
|
+
option?(_: {
|
119
|
+
option: DefaultData | null;
|
120
|
+
selected: boolean;
|
121
|
+
model: boolean;
|
122
|
+
}): any;
|
123
|
+
right?(_: {}): any;
|
124
|
+
};
|
125
|
+
emit: {
|
126
|
+
(e: 'update:modelValue', value: number | null): void;
|
127
|
+
(e: 'update:search', value: string): void;
|
128
|
+
(e: 'create:option', value: string): void;
|
129
|
+
};
|
130
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
131
|
+
[key: string]: any;
|
132
|
+
}> & {
|
133
|
+
__ctx?: {
|
134
|
+
props: {
|
135
|
+
modelValue: number | null;
|
136
|
+
search: string;
|
137
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
138
|
+
isInvalidPage: (error: unknown) => boolean;
|
139
|
+
queryParams: QueryParams;
|
140
|
+
title?: string | undefined;
|
141
|
+
mobileTitle?: string | undefined;
|
142
|
+
description?: string | undefined;
|
143
|
+
loading?: boolean | undefined;
|
144
|
+
emptyStub?: string | undefined;
|
145
|
+
maxSearchLength?: number | undefined;
|
146
|
+
optionComponent?: Component<{
|
147
|
+
option: Data;
|
148
|
+
selected?: boolean | undefined;
|
149
|
+
model?: boolean | undefined;
|
150
|
+
}> | undefined;
|
151
|
+
readonly?: boolean | undefined;
|
152
|
+
disabled?: boolean | undefined;
|
153
|
+
skeleton?: boolean | undefined;
|
154
|
+
allowCreate?: boolean | undefined;
|
155
|
+
errorMessage?: string | undefined;
|
156
|
+
hasChanges?: boolean | undefined;
|
157
|
+
placeholder?: string | undefined;
|
158
|
+
searchSize?: number | undefined;
|
159
|
+
required?: boolean | undefined;
|
160
|
+
noMargin?: boolean | undefined;
|
161
|
+
icon?: SVGComponent | undefined;
|
162
|
+
mono?: boolean | undefined;
|
163
|
+
allowClear?: boolean | undefined;
|
164
|
+
};
|
165
|
+
expose(exposed: {
|
166
|
+
blur: () => void;
|
167
|
+
}): void;
|
168
|
+
attrs: any;
|
169
|
+
slots: {
|
170
|
+
option?(_: {
|
171
|
+
option: DefaultData | null;
|
172
|
+
selected: boolean;
|
173
|
+
model: boolean;
|
174
|
+
}): any;
|
175
|
+
right?(_: {}): any;
|
176
|
+
};
|
177
|
+
emit: {
|
178
|
+
(e: 'update:modelValue', value: number | null): void;
|
179
|
+
(e: 'update:search', value: string): void;
|
180
|
+
(e: 'create:option', value: string): void;
|
181
|
+
};
|
182
|
+
} | undefined;
|
183
|
+
};
|
184
|
+
export default _default;
|
185
|
+
//# sourceMappingURL=WSelectAsyncSingle.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsyncSingle.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAA8B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;gBAkNjD,MAAM,GAAG,IAAI;YACjB,MAAM;;2BAES,OAAO,KAAK,OAAO;iBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAJZ,MAAM,GAAG,IAAI;gBACjB,MAAM;;+BAES,OAAO,KAAK,OAAO;qBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6Ba,IAAI;WACpC,GAAG;;;;;;YAvDmB,GAAG;uBACJ,GAAG;;;YA+CzB,mBAAmB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;YAChD,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;oBA7B7B,MAAM,GAAG,IAAI;gBACjB,MAAM;;+BAES,OAAO,KAAK,OAAO;qBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6Ba,IAAI;WACpC,GAAG;;;;;;YAvDmB,GAAG;uBACJ,GAAG;;;YA+CzB,mBAAmB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;YAChD,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;wBA7B7B,MAAM,GAAG,IAAI;oBACjB,MAAM;;mCAES,OAAO,KAAK,OAAO;yBAC7B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA6Ba,IAAI;eACpC,GAAG;;;;;;gBAvDmB,GAAG;2BACJ,GAAG;;;gBA+CzB,mBAAmB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;gBAChD,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AA5O3C,wBAqPkE"}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, openBlock, createElementBlock, createVNode, createSlots, withCtx, renderSlot } from 'vue';
|
2
|
+
import _sfc_main$1 from './WSelectAsync.vue.js';
|
3
|
+
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
__name: "WSelectAsyncSingle",
|
6
|
+
props: {
|
7
|
+
modelValue: {},
|
8
|
+
search: {},
|
9
|
+
useQueryFn: {},
|
10
|
+
isInvalidPage: { type: Function },
|
11
|
+
queryParams: {},
|
12
|
+
title: {},
|
13
|
+
mobileTitle: {},
|
14
|
+
description: {},
|
15
|
+
loading: { type: Boolean },
|
16
|
+
emptyStub: {},
|
17
|
+
maxSearchLength: {},
|
18
|
+
optionComponent: {},
|
19
|
+
readonly: { type: Boolean },
|
20
|
+
disabled: { type: Boolean },
|
21
|
+
skeleton: { type: Boolean },
|
22
|
+
allowCreate: { type: Boolean },
|
23
|
+
errorMessage: {},
|
24
|
+
hasChanges: { type: Boolean },
|
25
|
+
placeholder: {},
|
26
|
+
searchSize: {},
|
27
|
+
required: { type: Boolean },
|
28
|
+
noMargin: { type: Boolean },
|
29
|
+
icon: {},
|
30
|
+
mono: { type: Boolean },
|
31
|
+
allowClear: { type: Boolean }
|
32
|
+
},
|
33
|
+
emits: ["update:modelValue", "update:search", "create:option"],
|
34
|
+
setup(__props, { expose: __expose, emit }) {
|
35
|
+
const props = __props;
|
36
|
+
const selectComponent = ref();
|
37
|
+
const arrayValue = computed(() => props.modelValue ? [props.modelValue] : []);
|
38
|
+
const updateModelValue = (value) => {
|
39
|
+
emit("update:modelValue", value);
|
40
|
+
};
|
41
|
+
const createOption = (value) => {
|
42
|
+
emit("create:option", value);
|
43
|
+
};
|
44
|
+
const blur = () => {
|
45
|
+
selectComponent.value?.blur();
|
46
|
+
emit("update:search", "");
|
47
|
+
};
|
48
|
+
watch(toRef(props, "modelValue"), blur);
|
49
|
+
__expose({
|
50
|
+
blur
|
51
|
+
});
|
52
|
+
return (_ctx, _cache) => {
|
53
|
+
return openBlock(), createElementBlock("div", null, [
|
54
|
+
createVNode(_sfc_main$1, {
|
55
|
+
ref_key: "selectComponent",
|
56
|
+
ref: selectComponent,
|
57
|
+
"model-value": arrayValue.value,
|
58
|
+
search: _ctx.search,
|
59
|
+
title: _ctx.title,
|
60
|
+
"mobile-title": _ctx.mobileTitle,
|
61
|
+
description: _ctx.description,
|
62
|
+
loading: _ctx.loading,
|
63
|
+
"max-search-length": _ctx.maxSearchLength,
|
64
|
+
"empty-stub": _ctx.emptyStub,
|
65
|
+
"query-params": _ctx.queryParams,
|
66
|
+
"use-query-fn": _ctx.useQueryFn,
|
67
|
+
"is-invalid-page": _ctx.isInvalidPage,
|
68
|
+
"option-component": _ctx.optionComponent,
|
69
|
+
readonly: _ctx.readonly,
|
70
|
+
disabled: _ctx.disabled,
|
71
|
+
skeleton: _ctx.skeleton,
|
72
|
+
"allow-create": _ctx.allowCreate,
|
73
|
+
"error-message": _ctx.errorMessage,
|
74
|
+
"has-changes": _ctx.hasChanges,
|
75
|
+
placeholder: _ctx.placeholder,
|
76
|
+
"search-size": _ctx.searchSize,
|
77
|
+
required: _ctx.required,
|
78
|
+
"no-margin": _ctx.noMargin,
|
79
|
+
icon: _ctx.icon,
|
80
|
+
mono: _ctx.mono,
|
81
|
+
"disable-clear": !_ctx.allowClear,
|
82
|
+
"hide-prefix": "",
|
83
|
+
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
84
|
+
onUnselect: _cache[1] || (_cache[1] = ($event) => updateModelValue(_ctx.allowClear ? null : $event)),
|
85
|
+
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
|
86
|
+
"onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
|
87
|
+
}, createSlots({
|
88
|
+
option: withCtx(({ option, selected, model }) => [
|
89
|
+
renderSlot(_ctx.$slots, "option", {
|
90
|
+
option,
|
91
|
+
selected,
|
92
|
+
model
|
93
|
+
})
|
94
|
+
]),
|
95
|
+
_: 2
|
96
|
+
}, [
|
97
|
+
_ctx.$slots.right?.()?.length ? {
|
98
|
+
name: "right",
|
99
|
+
fn: withCtx(() => [
|
100
|
+
renderSlot(_ctx.$slots, "right")
|
101
|
+
]),
|
102
|
+
key: "0"
|
103
|
+
} : void 0
|
104
|
+
]), 1032, ["model-value", "search", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "query-params", "use-query-fn", "is-invalid-page", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "disable-clear"])
|
105
|
+
]);
|
106
|
+
};
|
107
|
+
}
|
108
|
+
});
|
109
|
+
|
110
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,177 @@
|
|
1
|
+
import { type Component } from 'vue';
|
2
|
+
declare const _default: <Item extends string | number = string>(__VLS_props: {
|
3
|
+
modelValue: Item | null;
|
4
|
+
search: string;
|
5
|
+
options: Item[];
|
6
|
+
title?: string | undefined;
|
7
|
+
mobileTitle?: string | undefined;
|
8
|
+
description?: string | undefined;
|
9
|
+
loading?: boolean | undefined;
|
10
|
+
emptyStub?: string | undefined;
|
11
|
+
maxSearchLength?: number | undefined;
|
12
|
+
optionComponent?: Component<{
|
13
|
+
option: Item;
|
14
|
+
selected?: boolean | undefined;
|
15
|
+
model?: boolean | undefined;
|
16
|
+
}> | undefined;
|
17
|
+
readonly?: boolean | undefined;
|
18
|
+
disabled?: boolean | undefined;
|
19
|
+
skeleton?: boolean | undefined;
|
20
|
+
allowCreate?: boolean | undefined;
|
21
|
+
errorMessage?: string | undefined;
|
22
|
+
hasChanges?: boolean | undefined;
|
23
|
+
placeholder?: string | undefined;
|
24
|
+
searchSize?: number | undefined;
|
25
|
+
required?: boolean | undefined;
|
26
|
+
noMargin?: boolean | undefined;
|
27
|
+
icon?: SVGComponent | undefined;
|
28
|
+
mono?: boolean | undefined;
|
29
|
+
allowClear?: boolean | undefined;
|
30
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
31
|
+
props: {
|
32
|
+
modelValue: Item | null;
|
33
|
+
search: string;
|
34
|
+
options: Item[];
|
35
|
+
title?: string | undefined;
|
36
|
+
mobileTitle?: string | undefined;
|
37
|
+
description?: string | undefined;
|
38
|
+
loading?: boolean | undefined;
|
39
|
+
emptyStub?: string | undefined;
|
40
|
+
maxSearchLength?: number | undefined;
|
41
|
+
optionComponent?: Component<{
|
42
|
+
option: Item;
|
43
|
+
selected?: boolean | undefined;
|
44
|
+
model?: boolean | undefined;
|
45
|
+
}> | undefined;
|
46
|
+
readonly?: boolean | undefined;
|
47
|
+
disabled?: boolean | undefined;
|
48
|
+
skeleton?: boolean | undefined;
|
49
|
+
allowCreate?: boolean | undefined;
|
50
|
+
errorMessage?: string | undefined;
|
51
|
+
hasChanges?: boolean | undefined;
|
52
|
+
placeholder?: string | undefined;
|
53
|
+
searchSize?: number | undefined;
|
54
|
+
required?: boolean | undefined;
|
55
|
+
noMargin?: boolean | undefined;
|
56
|
+
icon?: SVGComponent | undefined;
|
57
|
+
mono?: boolean | undefined;
|
58
|
+
allowClear?: boolean | undefined;
|
59
|
+
};
|
60
|
+
expose(exposed: {
|
61
|
+
blur: () => void;
|
62
|
+
}): void;
|
63
|
+
attrs: any;
|
64
|
+
slots: {
|
65
|
+
option?(_: {
|
66
|
+
option: string;
|
67
|
+
selected: boolean;
|
68
|
+
model: boolean;
|
69
|
+
}): any;
|
70
|
+
right?(_: {}): any;
|
71
|
+
};
|
72
|
+
emit: {
|
73
|
+
(e: 'update:modelValue', value: Item | null): void;
|
74
|
+
(e: 'update:search', value: string): void;
|
75
|
+
(e: 'create:option', value: string): void;
|
76
|
+
};
|
77
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
|
78
|
+
props: {
|
79
|
+
modelValue: Item | null;
|
80
|
+
search: string;
|
81
|
+
options: Item[];
|
82
|
+
title?: string | undefined;
|
83
|
+
mobileTitle?: string | undefined;
|
84
|
+
description?: string | undefined;
|
85
|
+
loading?: boolean | undefined;
|
86
|
+
emptyStub?: string | undefined;
|
87
|
+
maxSearchLength?: number | undefined;
|
88
|
+
optionComponent?: Component<{
|
89
|
+
option: Item;
|
90
|
+
selected?: boolean | undefined;
|
91
|
+
model?: boolean | undefined;
|
92
|
+
}> | undefined;
|
93
|
+
readonly?: boolean | undefined;
|
94
|
+
disabled?: boolean | undefined;
|
95
|
+
skeleton?: boolean | undefined;
|
96
|
+
allowCreate?: boolean | undefined;
|
97
|
+
errorMessage?: string | undefined;
|
98
|
+
hasChanges?: boolean | undefined;
|
99
|
+
placeholder?: string | undefined;
|
100
|
+
searchSize?: number | undefined;
|
101
|
+
required?: boolean | undefined;
|
102
|
+
noMargin?: boolean | undefined;
|
103
|
+
icon?: SVGComponent | undefined;
|
104
|
+
mono?: boolean | undefined;
|
105
|
+
allowClear?: boolean | undefined;
|
106
|
+
};
|
107
|
+
expose(exposed: {
|
108
|
+
blur: () => void;
|
109
|
+
}): void;
|
110
|
+
attrs: any;
|
111
|
+
slots: {
|
112
|
+
option?(_: {
|
113
|
+
option: string;
|
114
|
+
selected: boolean;
|
115
|
+
model: boolean;
|
116
|
+
}): any;
|
117
|
+
right?(_: {}): any;
|
118
|
+
};
|
119
|
+
emit: {
|
120
|
+
(e: 'update:modelValue', value: Item | null): void;
|
121
|
+
(e: 'update:search', value: string): void;
|
122
|
+
(e: 'create:option', value: string): void;
|
123
|
+
};
|
124
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
125
|
+
[key: string]: any;
|
126
|
+
}> & {
|
127
|
+
__ctx?: {
|
128
|
+
props: {
|
129
|
+
modelValue: Item | null;
|
130
|
+
search: string;
|
131
|
+
options: Item[];
|
132
|
+
title?: string | undefined;
|
133
|
+
mobileTitle?: string | undefined;
|
134
|
+
description?: string | undefined;
|
135
|
+
loading?: boolean | undefined;
|
136
|
+
emptyStub?: string | undefined;
|
137
|
+
maxSearchLength?: number | undefined;
|
138
|
+
optionComponent?: Component<{
|
139
|
+
option: Item;
|
140
|
+
selected?: boolean | undefined;
|
141
|
+
model?: boolean | undefined;
|
142
|
+
}> | undefined;
|
143
|
+
readonly?: boolean | undefined;
|
144
|
+
disabled?: boolean | undefined;
|
145
|
+
skeleton?: boolean | undefined;
|
146
|
+
allowCreate?: boolean | undefined;
|
147
|
+
errorMessage?: string | undefined;
|
148
|
+
hasChanges?: boolean | undefined;
|
149
|
+
placeholder?: string | undefined;
|
150
|
+
searchSize?: number | undefined;
|
151
|
+
required?: boolean | undefined;
|
152
|
+
noMargin?: boolean | undefined;
|
153
|
+
icon?: SVGComponent | undefined;
|
154
|
+
mono?: boolean | undefined;
|
155
|
+
allowClear?: boolean | undefined;
|
156
|
+
};
|
157
|
+
expose(exposed: {
|
158
|
+
blur: () => void;
|
159
|
+
}): void;
|
160
|
+
attrs: any;
|
161
|
+
slots: {
|
162
|
+
option?(_: {
|
163
|
+
option: string;
|
164
|
+
selected: boolean;
|
165
|
+
model: boolean;
|
166
|
+
}): any;
|
167
|
+
right?(_: {}): any;
|
168
|
+
};
|
169
|
+
emit: {
|
170
|
+
(e: 'update:modelValue', value: Item | null): void;
|
171
|
+
(e: 'update:search', value: string): void;
|
172
|
+
(e: 'create:option', value: string): void;
|
173
|
+
};
|
174
|
+
} | undefined;
|
175
|
+
};
|
176
|
+
export default _default;
|
177
|
+
//# sourceMappingURL=WSelectSingle.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectSingle.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAA8B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YAiNrD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BuB,IAAI;WACpC,GAAG;;;;;;YArDmB,GAAG;uBACJ,GAAG;;;YA6CzB,mBAAmB,uBAAuB,IAAI;YAC9C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;gBA1BjC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BuB,IAAI;WACpC,GAAG;;;;;;YArDmB,GAAG;uBACJ,GAAG;;;YA6CzB,mBAAmB,uBAAuB,IAAI;YAC9C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;;oBA1BjC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8BuB,IAAI;eACpC,GAAG;;;;;;gBArDmB,GAAG;2BACJ,GAAG;;;gBA6CzB,mBAAmB,uBAAuB,IAAI;gBAC9C,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AAxO3C,wBAiPkE"}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, openBlock, createElementBlock, createVNode, createSlots, withCtx, renderSlot } from 'vue';
|
2
|
+
import _sfc_main$1 from './WSelect.vue.js';
|
3
|
+
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
__name: "WSelectSingle",
|
6
|
+
props: {
|
7
|
+
modelValue: {},
|
8
|
+
search: {},
|
9
|
+
options: {},
|
10
|
+
title: {},
|
11
|
+
mobileTitle: {},
|
12
|
+
description: {},
|
13
|
+
loading: { type: Boolean },
|
14
|
+
emptyStub: {},
|
15
|
+
maxSearchLength: {},
|
16
|
+
optionComponent: {},
|
17
|
+
readonly: { type: Boolean },
|
18
|
+
disabled: { type: Boolean },
|
19
|
+
skeleton: { type: Boolean },
|
20
|
+
allowCreate: { type: Boolean },
|
21
|
+
errorMessage: {},
|
22
|
+
hasChanges: { type: Boolean },
|
23
|
+
placeholder: {},
|
24
|
+
searchSize: {},
|
25
|
+
required: { type: Boolean },
|
26
|
+
noMargin: { type: Boolean },
|
27
|
+
icon: {},
|
28
|
+
mono: { type: Boolean },
|
29
|
+
allowClear: { type: Boolean }
|
30
|
+
},
|
31
|
+
emits: ["update:modelValue", "update:search", "create:option"],
|
32
|
+
setup(__props, { expose: __expose, emit }) {
|
33
|
+
const props = __props;
|
34
|
+
const selectComponent = ref();
|
35
|
+
const arrayValue = computed(() => props.modelValue ? [props.modelValue] : []);
|
36
|
+
const updateModelValue = (value) => {
|
37
|
+
emit("update:modelValue", value);
|
38
|
+
};
|
39
|
+
const createOption = (value) => {
|
40
|
+
emit("create:option", value);
|
41
|
+
};
|
42
|
+
const blur = () => {
|
43
|
+
selectComponent.value?.blur();
|
44
|
+
emit("update:search", "");
|
45
|
+
};
|
46
|
+
watch(toRef(props, "modelValue"), blur);
|
47
|
+
__expose({
|
48
|
+
blur
|
49
|
+
});
|
50
|
+
return (_ctx, _cache) => {
|
51
|
+
return openBlock(), createElementBlock("div", null, [
|
52
|
+
createVNode(_sfc_main$1, {
|
53
|
+
ref_key: "selectComponent",
|
54
|
+
ref: selectComponent,
|
55
|
+
"model-value": arrayValue.value,
|
56
|
+
search: _ctx.search,
|
57
|
+
options: _ctx.options,
|
58
|
+
title: _ctx.title,
|
59
|
+
"mobile-title": _ctx.mobileTitle,
|
60
|
+
description: _ctx.description,
|
61
|
+
loading: _ctx.loading,
|
62
|
+
"max-search-length": _ctx.maxSearchLength,
|
63
|
+
"empty-stub": _ctx.emptyStub,
|
64
|
+
"option-component": _ctx.optionComponent,
|
65
|
+
readonly: _ctx.readonly,
|
66
|
+
disabled: _ctx.disabled,
|
67
|
+
skeleton: _ctx.skeleton,
|
68
|
+
"allow-create": _ctx.allowCreate,
|
69
|
+
"error-message": _ctx.errorMessage,
|
70
|
+
"has-changes": _ctx.hasChanges,
|
71
|
+
placeholder: _ctx.placeholder,
|
72
|
+
"search-size": _ctx.searchSize,
|
73
|
+
required: _ctx.required,
|
74
|
+
"no-margin": _ctx.noMargin,
|
75
|
+
icon: _ctx.icon,
|
76
|
+
mono: _ctx.mono,
|
77
|
+
"disable-clear": !_ctx.allowClear,
|
78
|
+
"hide-prefix": "",
|
79
|
+
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
80
|
+
onUnselect: _cache[1] || (_cache[1] = ($event) => updateModelValue(_ctx.allowClear ? null : $event)),
|
81
|
+
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
|
82
|
+
"onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
|
83
|
+
}, createSlots({
|
84
|
+
option: withCtx(({ option, selected, model }) => [
|
85
|
+
renderSlot(_ctx.$slots, "option", {
|
86
|
+
option,
|
87
|
+
selected,
|
88
|
+
model
|
89
|
+
})
|
90
|
+
]),
|
91
|
+
_: 2
|
92
|
+
}, [
|
93
|
+
_ctx.$slots.right?.()?.length ? {
|
94
|
+
name: "right",
|
95
|
+
fn: withCtx(() => [
|
96
|
+
renderSlot(_ctx.$slots, "right")
|
97
|
+
]),
|
98
|
+
key: "0"
|
99
|
+
} : void 0
|
100
|
+
]), 1032, ["model-value", "search", "options", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "disable-clear"])
|
101
|
+
]);
|
102
|
+
};
|
103
|
+
}
|
104
|
+
});
|
105
|
+
|
106
|
+
export { _sfc_main as default };
|