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,195 @@
|
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, openBlock, createElementBlock, normalizeClass, createVNode, createSlots, withCtx, renderSlot, createBlock, withModifiers, unref, nextTick } from 'vue';
|
2
|
+
import _sfc_main$1 from './WInput.vue.js';
|
3
|
+
import WSpinner from '../Spinner/WSpinner.vue.js';
|
4
|
+
import IconEdit from '../../assets/icons/default/IconEdit.svg.js';
|
5
|
+
import IconCheck from '../../assets/icons/default/IconCheck.svg.js';
|
6
|
+
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
7
|
+
import { Modal } from '../../utils/Modal.js';
|
8
|
+
import { SemanticType } from '../../utils/SemanticType.js';
|
9
|
+
|
10
|
+
const _hoisted_1 = ["onClick"];
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
+
__name: "WInputAsync",
|
13
|
+
props: {
|
14
|
+
modelValue: {},
|
15
|
+
title: {},
|
16
|
+
description: {},
|
17
|
+
validate: {},
|
18
|
+
type: {},
|
19
|
+
placeholder: {},
|
20
|
+
loading: { type: Boolean },
|
21
|
+
disabled: { type: Boolean },
|
22
|
+
skeleton: { type: Boolean },
|
23
|
+
textarea: { type: Boolean },
|
24
|
+
name: {},
|
25
|
+
mono: { type: Boolean },
|
26
|
+
textSecure: { type: Boolean },
|
27
|
+
placeholderSecure: { type: Boolean },
|
28
|
+
maxLength: {},
|
29
|
+
required: { type: Boolean },
|
30
|
+
hasChanges: { type: Boolean },
|
31
|
+
errorMessage: {},
|
32
|
+
noMargin: { type: Boolean },
|
33
|
+
resize: { type: Boolean },
|
34
|
+
allowPaste: { type: Boolean },
|
35
|
+
icon: {}
|
36
|
+
},
|
37
|
+
emits: ["update:modelValue"],
|
38
|
+
setup(__props, { emit }) {
|
39
|
+
const props = __props;
|
40
|
+
const focused = ref(false);
|
41
|
+
const value = ref();
|
42
|
+
const input = ref();
|
43
|
+
const errorMessageValue = ref();
|
44
|
+
const hasChangesValue = computed(() => props.modelValue !== value.value);
|
45
|
+
const toggle = async () => {
|
46
|
+
if (props.disabled || props.loading)
|
47
|
+
return;
|
48
|
+
if (hasChangesValue.value || props.textSecure && focused.value) {
|
49
|
+
emitUpdateModelValue(value.value);
|
50
|
+
} else {
|
51
|
+
open();
|
52
|
+
}
|
53
|
+
};
|
54
|
+
let closeModal = null;
|
55
|
+
const close = () => {
|
56
|
+
closeModal?.();
|
57
|
+
if (props.textarea && !props.textSecure && value.value !== props.modelValue) {
|
58
|
+
closeModal = Modal.addConfirm({
|
59
|
+
title: `Discard changes${props.title ? " for " + props.title : ""}?`,
|
60
|
+
description: "Leaving the form will undo any edits.",
|
61
|
+
acceptText: "Discard",
|
62
|
+
intermediateText: "Save",
|
63
|
+
acceptSemanticType: SemanticType.WARNING,
|
64
|
+
onAccept: () => {
|
65
|
+
value.value = props.modelValue;
|
66
|
+
focused.value = false;
|
67
|
+
},
|
68
|
+
onIntermediate: () => {
|
69
|
+
emitUpdateModelValue(value.value);
|
70
|
+
focused.value = false;
|
71
|
+
}
|
72
|
+
}, () => {
|
73
|
+
closeModal = null;
|
74
|
+
nextTick().then(() => {
|
75
|
+
if (focused.value)
|
76
|
+
input.value?.focus();
|
77
|
+
});
|
78
|
+
});
|
79
|
+
} else {
|
80
|
+
value.value = props.modelValue;
|
81
|
+
focused.value = false;
|
82
|
+
}
|
83
|
+
};
|
84
|
+
const open = () => {
|
85
|
+
if (props.disabled || props.loading)
|
86
|
+
return;
|
87
|
+
input.value?.focus();
|
88
|
+
};
|
89
|
+
watch(toRef(props, "modelValue"), (modelValue) => {
|
90
|
+
value.value = modelValue;
|
91
|
+
}, { immediate: true });
|
92
|
+
watch(value, (newValue) => {
|
93
|
+
if (!props.validate)
|
94
|
+
return;
|
95
|
+
if (props.validate instanceof Array) {
|
96
|
+
errorMessageValue.value = props.validate.map((fn) => fn(newValue)).filter((item) => item).join(", ") || void 0;
|
97
|
+
} else {
|
98
|
+
errorMessageValue.value = props.validate(newValue) || void 0;
|
99
|
+
}
|
100
|
+
});
|
101
|
+
const emitUpdateModelValue = (newValue) => {
|
102
|
+
if (props.disabled || props.loading)
|
103
|
+
return;
|
104
|
+
if (errorMessageValue.value)
|
105
|
+
return;
|
106
|
+
if (props.placeholderSecure)
|
107
|
+
input.value?.blur();
|
108
|
+
emit("update:modelValue", newValue);
|
109
|
+
};
|
110
|
+
const handleEnterPress = (event) => {
|
111
|
+
if (props.textarea)
|
112
|
+
return;
|
113
|
+
event.stopPropagation();
|
114
|
+
event.preventDefault();
|
115
|
+
emitUpdateModelValue(value.value);
|
116
|
+
};
|
117
|
+
const handlePaste = () => {
|
118
|
+
if (hasChangesValue.value || props.textSecure && focused.value) {
|
119
|
+
emitUpdateModelValue(value.value);
|
120
|
+
}
|
121
|
+
};
|
122
|
+
return (_ctx, _cache) => {
|
123
|
+
return openBlock(), createElementBlock("div", {
|
124
|
+
class: normalizeClass({ "pt-3": !_ctx.title && !_ctx.$slots.title?.().length })
|
125
|
+
}, [
|
126
|
+
createVNode(_sfc_main$1, {
|
127
|
+
ref_key: "input",
|
128
|
+
ref: input,
|
129
|
+
modelValue: value.value,
|
130
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event),
|
131
|
+
title: _ctx.title,
|
132
|
+
description: _ctx.description,
|
133
|
+
placeholder: _ctx.placeholder,
|
134
|
+
"disabled-actions": !focused.value && !hasChangesValue.value,
|
135
|
+
type: _ctx.type,
|
136
|
+
"error-message": errorMessageValue.value ?? _ctx.errorMessage,
|
137
|
+
skeleton: _ctx.skeleton,
|
138
|
+
textarea: _ctx.textarea,
|
139
|
+
name: _ctx.name,
|
140
|
+
mono: _ctx.mono,
|
141
|
+
"text-secure": _ctx.textSecure,
|
142
|
+
"placeholder-secure": _ctx.placeholderSecure,
|
143
|
+
"max-length": _ctx.maxLength,
|
144
|
+
"has-changes": _ctx.hasChanges || hasChangesValue.value,
|
145
|
+
disabled: _ctx.disabled,
|
146
|
+
required: _ctx.required,
|
147
|
+
"no-margin": _ctx.noMargin,
|
148
|
+
"allow-clear": !_ctx.textarea,
|
149
|
+
resize: _ctx.resize,
|
150
|
+
"allow-paste": _ctx.allowPaste,
|
151
|
+
icon: _ctx.icon,
|
152
|
+
class: "w-full",
|
153
|
+
"onKeypress:enter": handleEnterPress,
|
154
|
+
onClick: open,
|
155
|
+
onBlur: close,
|
156
|
+
onFocus: _cache[2] || (_cache[2] = ($event) => focused.value = true),
|
157
|
+
onPaste: handlePaste
|
158
|
+
}, createSlots({
|
159
|
+
right: withCtx(() => [
|
160
|
+
renderSlot(_ctx.$slots, "right"),
|
161
|
+
_ctx.skeleton ? (openBlock(), createBlock(WSkeleton, {
|
162
|
+
key: 0,
|
163
|
+
class: "square-11 w-skeleton-rounded-lg"
|
164
|
+
})) : (openBlock(), createElementBlock("button", {
|
165
|
+
key: 1,
|
166
|
+
class: normalizeClass(["relative square-11 rounded-lg flex items-center justify-center bg-default dark:bg-default-dark border border-solid border-gray-200 dark:border-gray-800", {
|
167
|
+
"cursor-not-allowed": _ctx.disabled,
|
168
|
+
"cursor-progress": _ctx.loading,
|
169
|
+
"w-ripple w-ripple-hover": !_ctx.disabled && !_ctx.loading,
|
170
|
+
"bg-primary-default dark:bg-primary-dark text-default dark:text-default-dark": focused.value,
|
171
|
+
"text-description": !focused.value
|
172
|
+
}]),
|
173
|
+
onClick: withModifiers(toggle, ["stop"]),
|
174
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
175
|
+
}, ["stop", "prevent"]))
|
176
|
+
}, [
|
177
|
+
_ctx.loading ? (openBlock(), createBlock(WSpinner, { key: 0 })) : _ctx.hasChanges || focused.value ? (openBlock(), createBlock(unref(IconCheck), { key: 1 })) : (openBlock(), createBlock(unref(IconEdit), { key: 2 }))
|
178
|
+
], 42, _hoisted_1))
|
179
|
+
]),
|
180
|
+
_: 2
|
181
|
+
}, [
|
182
|
+
_ctx.$slots.title?.().length ? {
|
183
|
+
name: "title",
|
184
|
+
fn: withCtx(() => [
|
185
|
+
renderSlot(_ctx.$slots, "title")
|
186
|
+
]),
|
187
|
+
key: "0"
|
188
|
+
} : void 0
|
189
|
+
]), 1032, ["modelValue", "title", "description", "placeholder", "disabled-actions", "type", "error-message", "skeleton", "textarea", "name", "mono", "text-secure", "placeholder-secure", "max-length", "has-changes", "disabled", "required", "no-margin", "allow-clear", "resize", "allow-paste", "icon"])
|
190
|
+
], 2);
|
191
|
+
};
|
192
|
+
}
|
193
|
+
});
|
194
|
+
|
195
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,21 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
title: {
|
3
|
+
type: import("vue").PropType<string>;
|
4
|
+
};
|
5
|
+
modelValue: {
|
6
|
+
type: import("vue").PropType<Date>;
|
7
|
+
};
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
9
|
+
"update:model-value": (value: Date | undefined) => void;
|
10
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
11
|
+
title: {
|
12
|
+
type: import("vue").PropType<string>;
|
13
|
+
};
|
14
|
+
modelValue: {
|
15
|
+
type: import("vue").PropType<Date>;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
"onUpdate:model-value"?: ((value: Date | undefined) => any) | undefined;
|
19
|
+
}, {}, {}>;
|
20
|
+
export default _default;
|
21
|
+
//# sourceMappingURL=WInputDate.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WInputDate.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputDate.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA6JA,wBAAkD"}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createElementVNode, withModifiers, createVNode } from 'vue';
|
2
|
+
import _sfc_main$2 from '../DatePicker/WDatePickerSingle.vue.js';
|
3
|
+
import { dateFormat, parseDate } from '../../utils/dateTime.js';
|
4
|
+
import _sfc_main$1 from './WInputSuggest.vue.js';
|
5
|
+
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
6
|
+
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
|
+
__name: "WInputDate",
|
9
|
+
props: {
|
10
|
+
title: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["update:model-value"],
|
14
|
+
setup(__props, { emit }) {
|
15
|
+
const props = __props;
|
16
|
+
const inputComponent = ref();
|
17
|
+
const inputValue = ref(props.modelValue ? dateFormat(props.modelValue) : "");
|
18
|
+
const updateInputValue = (value) => {
|
19
|
+
inputValue.value = value;
|
20
|
+
const date = parseDate(value);
|
21
|
+
if (date)
|
22
|
+
emit("update:model-value", date);
|
23
|
+
};
|
24
|
+
const formatModelValue = (value) => {
|
25
|
+
inputValue.value = value ? dateFormat(value) : "";
|
26
|
+
};
|
27
|
+
return (_ctx, _cache) => {
|
28
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
29
|
+
ref_key: "inputComponent",
|
30
|
+
ref: inputComponent,
|
31
|
+
"model-value": inputValue.value,
|
32
|
+
title: _ctx.title,
|
33
|
+
"horizontal-align": unref(HorizontalAlign).RIGHT_INNER,
|
34
|
+
"content-max-height": 520,
|
35
|
+
"content-max-width": 480,
|
36
|
+
"onUpdate:modelValue": updateInputValue,
|
37
|
+
onClose: _cache[2] || (_cache[2] = ($event) => formatModelValue(_ctx.modelValue)),
|
38
|
+
"onKeypress:enter": _cache[3] || (_cache[3] = ($event) => inputComponent.value?.blur())
|
39
|
+
}, {
|
40
|
+
content: withCtx(() => [
|
41
|
+
createElementVNode("div", {
|
42
|
+
class: "sm:p-6 sm:w-[28rem] sm-not:w-screen sm-not:px-3",
|
43
|
+
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {
|
44
|
+
}, ["prevent"]))
|
45
|
+
}, [
|
46
|
+
createVNode(_sfc_main$2, {
|
47
|
+
"model-value": _ctx.modelValue,
|
48
|
+
title: _ctx.title,
|
49
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => {
|
50
|
+
_ctx.$emit("update:model-value", $event);
|
51
|
+
formatModelValue($event);
|
52
|
+
})
|
53
|
+
}, null, 8, ["model-value", "title"])
|
54
|
+
], 32)
|
55
|
+
]),
|
56
|
+
_: 1
|
57
|
+
}, 8, ["model-value", "title", "horizontal-align"]);
|
58
|
+
};
|
59
|
+
}
|
60
|
+
});
|
61
|
+
|
62
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,172 @@
|
|
1
|
+
import { type Component } from 'vue';
|
2
|
+
declare const _default: <Type extends InputType = "text", Option extends Record<string, any> & {
|
3
|
+
id: number;
|
4
|
+
} = Record<string, any> & {
|
5
|
+
id: number;
|
6
|
+
}>(__VLS_props: {
|
7
|
+
modelValue: Type extends "number" ? number : string;
|
8
|
+
options: Option[];
|
9
|
+
valueGetter: (option: Option) => Type extends "number" ? number : string;
|
10
|
+
title?: string | undefined;
|
11
|
+
type?: Type | undefined;
|
12
|
+
mobileTitle?: string | undefined;
|
13
|
+
description?: string | undefined;
|
14
|
+
loading?: boolean | undefined;
|
15
|
+
emptyStub?: string | undefined;
|
16
|
+
maxSearchLength?: number | undefined;
|
17
|
+
optionComponent?: Component<{
|
18
|
+
option: Option;
|
19
|
+
selected?: boolean | undefined;
|
20
|
+
model?: boolean | undefined;
|
21
|
+
}> | undefined;
|
22
|
+
disableClear?: boolean | undefined;
|
23
|
+
readonly?: boolean | undefined;
|
24
|
+
disabled?: boolean | undefined;
|
25
|
+
skeleton?: boolean | undefined;
|
26
|
+
searchSize?: number | undefined;
|
27
|
+
errorMessage?: string | undefined;
|
28
|
+
required?: boolean | undefined;
|
29
|
+
hasChanges?: boolean | undefined;
|
30
|
+
placeholder?: string | undefined;
|
31
|
+
noMargin?: boolean | undefined;
|
32
|
+
icon?: SVGComponent | undefined;
|
33
|
+
mono?: boolean | undefined;
|
34
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
35
|
+
props: {
|
36
|
+
modelValue: Type extends "number" ? number : string;
|
37
|
+
options: Option[];
|
38
|
+
valueGetter: (option: Option) => Type extends "number" ? number : string;
|
39
|
+
title?: string | undefined;
|
40
|
+
type?: Type | 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: Option;
|
48
|
+
selected?: boolean | undefined;
|
49
|
+
model?: boolean | undefined;
|
50
|
+
}> | undefined;
|
51
|
+
disableClear?: boolean | undefined;
|
52
|
+
readonly?: boolean | undefined;
|
53
|
+
disabled?: boolean | undefined;
|
54
|
+
skeleton?: boolean | undefined;
|
55
|
+
searchSize?: number | undefined;
|
56
|
+
errorMessage?: string | undefined;
|
57
|
+
required?: boolean | undefined;
|
58
|
+
hasChanges?: boolean | undefined;
|
59
|
+
placeholder?: string | undefined;
|
60
|
+
noMargin?: boolean | undefined;
|
61
|
+
icon?: SVGComponent | undefined;
|
62
|
+
mono?: boolean | undefined;
|
63
|
+
};
|
64
|
+
expose(exposed: {
|
65
|
+
focus: () => void;
|
66
|
+
blur: () => void;
|
67
|
+
}): void;
|
68
|
+
attrs: any;
|
69
|
+
slots: {
|
70
|
+
right?(_: {}): any;
|
71
|
+
option?(_: {
|
72
|
+
option: Option;
|
73
|
+
selected: boolean;
|
74
|
+
model: boolean;
|
75
|
+
}): any;
|
76
|
+
};
|
77
|
+
emit: (e: 'update:model-value', value: Type extends "number" ? number : string) => void;
|
78
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
|
79
|
+
props: {
|
80
|
+
modelValue: Type extends "number" ? number : string;
|
81
|
+
options: Option[];
|
82
|
+
valueGetter: (option: Option) => Type extends "number" ? number : string;
|
83
|
+
title?: string | undefined;
|
84
|
+
type?: Type | undefined;
|
85
|
+
mobileTitle?: string | undefined;
|
86
|
+
description?: string | undefined;
|
87
|
+
loading?: boolean | undefined;
|
88
|
+
emptyStub?: string | undefined;
|
89
|
+
maxSearchLength?: number | undefined;
|
90
|
+
optionComponent?: Component<{
|
91
|
+
option: Option;
|
92
|
+
selected?: boolean | undefined;
|
93
|
+
model?: boolean | undefined;
|
94
|
+
}> | undefined;
|
95
|
+
disableClear?: boolean | undefined;
|
96
|
+
readonly?: boolean | undefined;
|
97
|
+
disabled?: boolean | undefined;
|
98
|
+
skeleton?: boolean | undefined;
|
99
|
+
searchSize?: number | undefined;
|
100
|
+
errorMessage?: string | undefined;
|
101
|
+
required?: boolean | undefined;
|
102
|
+
hasChanges?: boolean | undefined;
|
103
|
+
placeholder?: string | undefined;
|
104
|
+
noMargin?: boolean | undefined;
|
105
|
+
icon?: SVGComponent | undefined;
|
106
|
+
mono?: boolean | undefined;
|
107
|
+
};
|
108
|
+
expose(exposed: {
|
109
|
+
focus: () => void;
|
110
|
+
blur: () => void;
|
111
|
+
}): void;
|
112
|
+
attrs: any;
|
113
|
+
slots: {
|
114
|
+
right?(_: {}): any;
|
115
|
+
option?(_: {
|
116
|
+
option: Option;
|
117
|
+
selected: boolean;
|
118
|
+
model: boolean;
|
119
|
+
}): any;
|
120
|
+
};
|
121
|
+
emit: (e: 'update:model-value', value: Type extends "number" ? number : string) => void;
|
122
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
123
|
+
[key: string]: any;
|
124
|
+
}> & {
|
125
|
+
__ctx?: {
|
126
|
+
props: {
|
127
|
+
modelValue: Type extends "number" ? number : string;
|
128
|
+
options: Option[];
|
129
|
+
valueGetter: (option: Option) => Type extends "number" ? number : string;
|
130
|
+
title?: string | undefined;
|
131
|
+
type?: Type | undefined;
|
132
|
+
mobileTitle?: string | undefined;
|
133
|
+
description?: string | undefined;
|
134
|
+
loading?: boolean | undefined;
|
135
|
+
emptyStub?: string | undefined;
|
136
|
+
maxSearchLength?: number | undefined;
|
137
|
+
optionComponent?: Component<{
|
138
|
+
option: Option;
|
139
|
+
selected?: boolean | undefined;
|
140
|
+
model?: boolean | undefined;
|
141
|
+
}> | undefined;
|
142
|
+
disableClear?: boolean | undefined;
|
143
|
+
readonly?: boolean | undefined;
|
144
|
+
disabled?: boolean | undefined;
|
145
|
+
skeleton?: boolean | undefined;
|
146
|
+
searchSize?: number | undefined;
|
147
|
+
errorMessage?: string | undefined;
|
148
|
+
required?: boolean | undefined;
|
149
|
+
hasChanges?: boolean | undefined;
|
150
|
+
placeholder?: string | undefined;
|
151
|
+
noMargin?: boolean | undefined;
|
152
|
+
icon?: SVGComponent | undefined;
|
153
|
+
mono?: boolean | undefined;
|
154
|
+
};
|
155
|
+
expose(exposed: {
|
156
|
+
focus: () => void;
|
157
|
+
blur: () => void;
|
158
|
+
}): void;
|
159
|
+
attrs: any;
|
160
|
+
slots: {
|
161
|
+
right?(_: {}): any;
|
162
|
+
option?(_: {
|
163
|
+
option: Option;
|
164
|
+
selected: boolean;
|
165
|
+
model: boolean;
|
166
|
+
}): any;
|
167
|
+
};
|
168
|
+
emit: (e: 'update:model-value', value: Type extends "number" ? number : string) => void;
|
169
|
+
} | undefined;
|
170
|
+
};
|
171
|
+
export default _default;
|
172
|
+
//# sourceMappingURL=WInputOptions.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WInputOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputOptions.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwC,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;QAKmB,MAAM;;QAA+B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAkYhG,IAAI;WACpC,GAAG;;uBA9DkB,GAAG;;;;;YACF,GAAG;;cAwD1B,oBAAoB,qDAAsB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIb,IAAI;WACpC,GAAG;;uBA9DkB,GAAG;;;;;YACF,GAAG;;cAwD1B,oBAAoB,qDAAsB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAIb,IAAI;eACpC,GAAG;;2BA9DkB,GAAG;;;;;gBACF,GAAG;;kBAwD1B,oBAAoB,qDAAsB,IAAI;;;AA9XpD,wBAuYkE"}
|
@@ -0,0 +1,192 @@
|
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, nextTick, openBlock, createBlock, withModifiers, createSlots, withCtx, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, renderSlot, resolveDynamicComponent } from 'vue';
|
2
|
+
import _sfc_main$2 from '../Select/components/SelectOption.vue.js';
|
3
|
+
import { debounce } from '../../utils/utils.js';
|
4
|
+
import _sfc_main$1 from './WInputSuggest.vue.js';
|
5
|
+
|
6
|
+
const _hoisted_1 = {
|
7
|
+
key: 0,
|
8
|
+
class: "py-2 px-[1.0625rem] first:pt-4 last:pb-4"
|
9
|
+
};
|
10
|
+
const _hoisted_2 = { class: "select-none cursor-default w-select-field sm-not:px-3" };
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
+
__name: "WInputOptions",
|
13
|
+
props: {
|
14
|
+
modelValue: {},
|
15
|
+
options: {},
|
16
|
+
valueGetter: { type: Function },
|
17
|
+
title: {},
|
18
|
+
type: {},
|
19
|
+
mobileTitle: {},
|
20
|
+
description: {},
|
21
|
+
loading: { type: Boolean },
|
22
|
+
emptyStub: {},
|
23
|
+
maxSearchLength: {},
|
24
|
+
optionComponent: {},
|
25
|
+
disableClear: { type: Boolean },
|
26
|
+
readonly: { type: Boolean },
|
27
|
+
disabled: { type: Boolean },
|
28
|
+
skeleton: { type: Boolean },
|
29
|
+
searchSize: {},
|
30
|
+
errorMessage: {},
|
31
|
+
required: { type: Boolean },
|
32
|
+
hasChanges: { type: Boolean },
|
33
|
+
placeholder: {},
|
34
|
+
noMargin: { type: Boolean },
|
35
|
+
icon: {},
|
36
|
+
mono: { type: Boolean }
|
37
|
+
},
|
38
|
+
emits: ["update:model-value"],
|
39
|
+
setup(__props, { expose: __expose, emit }) {
|
40
|
+
const props = __props;
|
41
|
+
const isOpen = ref(false);
|
42
|
+
const input = ref();
|
43
|
+
const cursor = ref(-1);
|
44
|
+
const isCursorLocked = ref(false);
|
45
|
+
const lastIndex = computed(() => props.options.length);
|
46
|
+
const focused = ref(false);
|
47
|
+
const loadingOptionIndex = ref(null);
|
48
|
+
const isDisabled = computed(() => props.loading || props.readonly || props.disabled);
|
49
|
+
const close = () => {
|
50
|
+
isOpen.value = false;
|
51
|
+
focused.value = false;
|
52
|
+
};
|
53
|
+
const setLoadingOptionIndex = (value) => {
|
54
|
+
if (isDisabled.value)
|
55
|
+
return;
|
56
|
+
loadingOptionIndex.value = value;
|
57
|
+
};
|
58
|
+
const unlockCursor = debounce(() => {
|
59
|
+
isCursorLocked.value = false;
|
60
|
+
}, 50);
|
61
|
+
const lockCursor = () => {
|
62
|
+
isCursorLocked.value = true;
|
63
|
+
unlockCursor();
|
64
|
+
};
|
65
|
+
const setCursor = (value) => {
|
66
|
+
if (isCursorLocked.value)
|
67
|
+
return;
|
68
|
+
cursor.value = value;
|
69
|
+
};
|
70
|
+
const cursorUp = () => {
|
71
|
+
if (isDisabled.value)
|
72
|
+
return;
|
73
|
+
lockCursor();
|
74
|
+
cursor.value = !props.options.length ? 0 : cursor.value < 1 ? lastIndex.value : cursor.value - 1;
|
75
|
+
};
|
76
|
+
const cursorDown = () => {
|
77
|
+
if (isDisabled.value)
|
78
|
+
return;
|
79
|
+
lockCursor();
|
80
|
+
cursor.value = !props.options.length ? 0 : cursor.value >= lastIndex.value ? 0 : cursor.value + 1;
|
81
|
+
};
|
82
|
+
const selectCursor = () => {
|
83
|
+
if (isDisabled.value)
|
84
|
+
return;
|
85
|
+
const value = cursor.value !== -1 ? props.options[cursor.value] : void 0;
|
86
|
+
if (value)
|
87
|
+
select(value);
|
88
|
+
};
|
89
|
+
const select = (option) => {
|
90
|
+
updateModelValue(props.valueGetter(option));
|
91
|
+
blur();
|
92
|
+
};
|
93
|
+
const updateModelValue = (value) => {
|
94
|
+
if (isDisabled.value || props.modelValue === value)
|
95
|
+
return;
|
96
|
+
emit("update:model-value", value);
|
97
|
+
};
|
98
|
+
const focus = () => {
|
99
|
+
input.value?.focus();
|
100
|
+
};
|
101
|
+
const blur = () => {
|
102
|
+
input.value?.blur();
|
103
|
+
};
|
104
|
+
watch(toRef(props, "modelValue"), async () => {
|
105
|
+
await nextTick();
|
106
|
+
input.value?.updateDropdown();
|
107
|
+
});
|
108
|
+
__expose({
|
109
|
+
focus,
|
110
|
+
blur
|
111
|
+
});
|
112
|
+
return (_ctx, _cache) => {
|
113
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
114
|
+
ref_key: "input",
|
115
|
+
ref: input,
|
116
|
+
title: _ctx.title,
|
117
|
+
"mobile-title": _ctx.mobileTitle,
|
118
|
+
description: _ctx.description,
|
119
|
+
"model-value": _ctx.modelValue,
|
120
|
+
"max-length": _ctx.maxSearchLength,
|
121
|
+
loading: _ctx.loading,
|
122
|
+
readonly: _ctx.readonly,
|
123
|
+
skeleton: _ctx.skeleton,
|
124
|
+
size: _ctx.searchSize,
|
125
|
+
"error-message": _ctx.errorMessage,
|
126
|
+
required: _ctx.required,
|
127
|
+
disabled: _ctx.disabled,
|
128
|
+
"has-changes": _ctx.hasChanges,
|
129
|
+
placeholder: _ctx.placeholder,
|
130
|
+
"no-margin": _ctx.noMargin,
|
131
|
+
icon: _ctx.icon,
|
132
|
+
mono: _ctx.mono,
|
133
|
+
type: _ctx.type,
|
134
|
+
"onUpdate:modelValue": updateModelValue,
|
135
|
+
"onKeypress:enter": withModifiers(selectCursor, ["stop", "prevent"]),
|
136
|
+
"onKeypress:up": withModifiers(cursorUp, ["prevent"]),
|
137
|
+
"onKeypress:down": withModifiers(cursorDown, ["prevent"]),
|
138
|
+
onOpen: _cache[0] || (_cache[0] = ($event) => isOpen.value = true),
|
139
|
+
onClose: close,
|
140
|
+
onFocus: _cache[1] || (_cache[1] = ($event) => focused.value = true),
|
141
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => focused.value = false)
|
142
|
+
}, createSlots({
|
143
|
+
content: withCtx(() => [
|
144
|
+
!_ctx.options.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
145
|
+
createElementVNode("div", _hoisted_2, toDisplayString(_ctx.emptyStub ?? "No suggestion"), 1)
|
146
|
+
])) : createCommentVNode("", true),
|
147
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
|
148
|
+
return openBlock(), createBlock(_sfc_main$2, {
|
149
|
+
key: option.id,
|
150
|
+
"is-selected": _ctx.modelValue === _ctx.valueGetter(option),
|
151
|
+
"is-cursor": index === cursor.value,
|
152
|
+
loading: loadingOptionIndex.value === index && _ctx.loading,
|
153
|
+
scroll: isCursorLocked.value,
|
154
|
+
class: "first:pt-4 last:pb-4",
|
155
|
+
onSelect: ($event) => {
|
156
|
+
select(option);
|
157
|
+
setLoadingOptionIndex(index);
|
158
|
+
},
|
159
|
+
onMouseenter: ($event) => setCursor(index)
|
160
|
+
}, {
|
161
|
+
default: withCtx(({ selected }) => [
|
162
|
+
renderSlot(_ctx.$slots, "option", {
|
163
|
+
option,
|
164
|
+
selected,
|
165
|
+
model: false
|
166
|
+
}, () => [
|
167
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
168
|
+
option,
|
169
|
+
selected,
|
170
|
+
model: false
|
171
|
+
}, null, 8, ["option", "selected"]))
|
172
|
+
])
|
173
|
+
]),
|
174
|
+
_: 2
|
175
|
+
}, 1032, ["is-selected", "is-cursor", "loading", "scroll", "onSelect", "onMouseenter"]);
|
176
|
+
}), 128))
|
177
|
+
]),
|
178
|
+
_: 2
|
179
|
+
}, [
|
180
|
+
_ctx.$slots.right?.()?.length ? {
|
181
|
+
name: "right",
|
182
|
+
fn: withCtx(() => [
|
183
|
+
renderSlot(_ctx.$slots, "right")
|
184
|
+
]),
|
185
|
+
key: "0"
|
186
|
+
} : void 0
|
187
|
+
]), 1032, ["title", "mobile-title", "description", "model-value", "max-length", "loading", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "placeholder", "no-margin", "icon", "mono", "type", "onKeypress:enter", "onKeypress:up", "onKeypress:down"]);
|
188
|
+
};
|
189
|
+
}
|
190
|
+
});
|
191
|
+
|
192
|
+
export { _sfc_main as default };
|