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,206 @@
|
|
1
|
+
import { HorizontalAlign } from '../../utils/HorizontalAlign';
|
2
|
+
declare const _default: <Type extends InputType = "text">(__VLS_props: {
|
3
|
+
modelValue?: (Type extends "number" ? number : string) | undefined;
|
4
|
+
title?: string | undefined;
|
5
|
+
mobileTitle?: string | undefined;
|
6
|
+
description?: string | undefined;
|
7
|
+
loading?: boolean | undefined;
|
8
|
+
maxLength?: number | undefined;
|
9
|
+
allowClear?: boolean | undefined;
|
10
|
+
hideInput?: boolean | undefined;
|
11
|
+
readonly?: boolean | undefined;
|
12
|
+
disabled?: boolean | undefined;
|
13
|
+
skeleton?: boolean | undefined;
|
14
|
+
persist?: boolean | undefined;
|
15
|
+
size?: number | undefined;
|
16
|
+
errorMessage?: string | undefined;
|
17
|
+
required?: boolean | undefined;
|
18
|
+
hasChanges?: boolean | undefined;
|
19
|
+
icon?: SVGComponent | undefined;
|
20
|
+
teleport?: boolean | undefined;
|
21
|
+
placeholder?: string | undefined;
|
22
|
+
type?: Type | undefined;
|
23
|
+
horizontalAlign?: HorizontalAlign | undefined;
|
24
|
+
contentMaxHeight?: number | undefined;
|
25
|
+
contentMaxWidth?: number | undefined;
|
26
|
+
noMargin?: boolean | undefined;
|
27
|
+
allowPaste?: boolean | undefined;
|
28
|
+
mono?: boolean | undefined;
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
30
|
+
props: {
|
31
|
+
modelValue?: (Type extends "number" ? number : string) | undefined;
|
32
|
+
title?: string | undefined;
|
33
|
+
mobileTitle?: string | undefined;
|
34
|
+
description?: string | undefined;
|
35
|
+
loading?: boolean | undefined;
|
36
|
+
maxLength?: number | undefined;
|
37
|
+
allowClear?: boolean | undefined;
|
38
|
+
hideInput?: boolean | undefined;
|
39
|
+
readonly?: boolean | undefined;
|
40
|
+
disabled?: boolean | undefined;
|
41
|
+
skeleton?: boolean | undefined;
|
42
|
+
persist?: boolean | undefined;
|
43
|
+
size?: number | undefined;
|
44
|
+
errorMessage?: string | undefined;
|
45
|
+
required?: boolean | undefined;
|
46
|
+
hasChanges?: boolean | undefined;
|
47
|
+
icon?: SVGComponent | undefined;
|
48
|
+
teleport?: boolean | undefined;
|
49
|
+
placeholder?: string | undefined;
|
50
|
+
type?: Type | undefined;
|
51
|
+
horizontalAlign?: HorizontalAlign | undefined;
|
52
|
+
contentMaxHeight?: number | undefined;
|
53
|
+
contentMaxWidth?: number | undefined;
|
54
|
+
noMargin?: boolean | undefined;
|
55
|
+
allowPaste?: boolean | undefined;
|
56
|
+
mono?: boolean | undefined;
|
57
|
+
};
|
58
|
+
expose(exposed: {
|
59
|
+
focus: () => void;
|
60
|
+
blur: () => void;
|
61
|
+
close: () => void;
|
62
|
+
updateDropdown: () => void;
|
63
|
+
}): void;
|
64
|
+
attrs: any;
|
65
|
+
slots: {
|
66
|
+
prefix?: ((props: {
|
67
|
+
unclickable?: boolean;
|
68
|
+
}) => void) | undefined;
|
69
|
+
right?: ((props: Record<string, never>) => void) | undefined;
|
70
|
+
content?: ((props: {
|
71
|
+
scrollingElement?: Element;
|
72
|
+
}) => void) | undefined;
|
73
|
+
};
|
74
|
+
emit: {
|
75
|
+
(e: 'update:modelValue', event: Type extends "number" ? number : string): void;
|
76
|
+
(e: 'keypress:enter', event: KeyboardEvent): void;
|
77
|
+
(e: 'keypress:up', event: KeyboardEvent): void;
|
78
|
+
(e: 'keypress:down', event: KeyboardEvent): void;
|
79
|
+
(e: 'keypress:delete', event: KeyboardEvent): void;
|
80
|
+
(e: 'open'): void;
|
81
|
+
(e: 'close'): void;
|
82
|
+
(e: 'click:clear'): void;
|
83
|
+
(e: 'focus', value: FocusEvent): void;
|
84
|
+
(e: 'blur', value: FocusEvent): void;
|
85
|
+
};
|
86
|
+
}, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
|
87
|
+
props: {
|
88
|
+
modelValue?: (Type extends "number" ? number : string) | undefined;
|
89
|
+
title?: string | undefined;
|
90
|
+
mobileTitle?: string | undefined;
|
91
|
+
description?: string | undefined;
|
92
|
+
loading?: boolean | undefined;
|
93
|
+
maxLength?: number | undefined;
|
94
|
+
allowClear?: boolean | undefined;
|
95
|
+
hideInput?: boolean | undefined;
|
96
|
+
readonly?: boolean | undefined;
|
97
|
+
disabled?: boolean | undefined;
|
98
|
+
skeleton?: boolean | undefined;
|
99
|
+
persist?: boolean | undefined;
|
100
|
+
size?: number | undefined;
|
101
|
+
errorMessage?: string | undefined;
|
102
|
+
required?: boolean | undefined;
|
103
|
+
hasChanges?: boolean | undefined;
|
104
|
+
icon?: SVGComponent | undefined;
|
105
|
+
teleport?: boolean | undefined;
|
106
|
+
placeholder?: string | undefined;
|
107
|
+
type?: Type | undefined;
|
108
|
+
horizontalAlign?: HorizontalAlign | undefined;
|
109
|
+
contentMaxHeight?: number | undefined;
|
110
|
+
contentMaxWidth?: number | undefined;
|
111
|
+
noMargin?: boolean | undefined;
|
112
|
+
allowPaste?: boolean | undefined;
|
113
|
+
mono?: boolean | undefined;
|
114
|
+
};
|
115
|
+
expose(exposed: {
|
116
|
+
focus: () => void;
|
117
|
+
blur: () => void;
|
118
|
+
close: () => void;
|
119
|
+
updateDropdown: () => void;
|
120
|
+
}): void;
|
121
|
+
attrs: any;
|
122
|
+
slots: {
|
123
|
+
prefix?: ((props: {
|
124
|
+
unclickable?: boolean;
|
125
|
+
}) => void) | undefined;
|
126
|
+
right?: ((props: Record<string, never>) => void) | undefined;
|
127
|
+
content?: ((props: {
|
128
|
+
scrollingElement?: Element;
|
129
|
+
}) => void) | undefined;
|
130
|
+
};
|
131
|
+
emit: {
|
132
|
+
(e: 'update:modelValue', event: Type extends "number" ? number : string): void;
|
133
|
+
(e: 'keypress:enter', event: KeyboardEvent): void;
|
134
|
+
(e: 'keypress:up', event: KeyboardEvent): void;
|
135
|
+
(e: 'keypress:down', event: KeyboardEvent): void;
|
136
|
+
(e: 'keypress:delete', event: KeyboardEvent): void;
|
137
|
+
(e: 'open'): void;
|
138
|
+
(e: 'close'): void;
|
139
|
+
(e: 'click:clear'): void;
|
140
|
+
(e: 'focus', value: FocusEvent): void;
|
141
|
+
(e: 'blur', value: FocusEvent): void;
|
142
|
+
};
|
143
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
144
|
+
[key: string]: any;
|
145
|
+
}> & {
|
146
|
+
__ctx?: {
|
147
|
+
props: {
|
148
|
+
modelValue?: (Type extends "number" ? number : string) | undefined;
|
149
|
+
title?: string | undefined;
|
150
|
+
mobileTitle?: string | undefined;
|
151
|
+
description?: string | undefined;
|
152
|
+
loading?: boolean | undefined;
|
153
|
+
maxLength?: number | undefined;
|
154
|
+
allowClear?: boolean | undefined;
|
155
|
+
hideInput?: boolean | undefined;
|
156
|
+
readonly?: boolean | undefined;
|
157
|
+
disabled?: boolean | undefined;
|
158
|
+
skeleton?: boolean | undefined;
|
159
|
+
persist?: boolean | undefined;
|
160
|
+
size?: number | undefined;
|
161
|
+
errorMessage?: string | undefined;
|
162
|
+
required?: boolean | undefined;
|
163
|
+
hasChanges?: boolean | undefined;
|
164
|
+
icon?: SVGComponent | undefined;
|
165
|
+
teleport?: boolean | undefined;
|
166
|
+
placeholder?: string | undefined;
|
167
|
+
type?: Type | undefined;
|
168
|
+
horizontalAlign?: HorizontalAlign | undefined;
|
169
|
+
contentMaxHeight?: number | undefined;
|
170
|
+
contentMaxWidth?: number | undefined;
|
171
|
+
noMargin?: boolean | undefined;
|
172
|
+
allowPaste?: boolean | undefined;
|
173
|
+
mono?: boolean | undefined;
|
174
|
+
};
|
175
|
+
expose(exposed: {
|
176
|
+
focus: () => void;
|
177
|
+
blur: () => void;
|
178
|
+
close: () => void;
|
179
|
+
updateDropdown: () => void;
|
180
|
+
}): void;
|
181
|
+
attrs: any;
|
182
|
+
slots: {
|
183
|
+
prefix?: ((props: {
|
184
|
+
unclickable?: boolean;
|
185
|
+
}) => void) | undefined;
|
186
|
+
right?: ((props: Record<string, never>) => void) | undefined;
|
187
|
+
content?: ((props: {
|
188
|
+
scrollingElement?: Element;
|
189
|
+
}) => void) | undefined;
|
190
|
+
};
|
191
|
+
emit: {
|
192
|
+
(e: 'update:modelValue', event: Type extends "number" ? number : string): void;
|
193
|
+
(e: 'keypress:enter', event: KeyboardEvent): void;
|
194
|
+
(e: 'keypress:up', event: KeyboardEvent): void;
|
195
|
+
(e: 'keypress:down', event: KeyboardEvent): void;
|
196
|
+
(e: 'keypress:delete', event: KeyboardEvent): void;
|
197
|
+
(e: 'open'): void;
|
198
|
+
(e: 'close'): void;
|
199
|
+
(e: 'click:clear'): void;
|
200
|
+
(e: 'focus', value: FocusEvent): void;
|
201
|
+
(e: 'blur', value: FocusEvent): void;
|
202
|
+
};
|
203
|
+
} | undefined;
|
204
|
+
};
|
205
|
+
export default _default;
|
206
|
+
//# sourceMappingURL=WInputSuggest.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue.ts"],"names":[],"mappings":"AAQA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8dhB,IAAI;WACpC,GAAG;;0BA1VS;YAAC,WAAW,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;yBACjC,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;2BAC5B;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YA0UnD,mBAAmB,mDAAsB,IAAI;YAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIC,IAAI;WACpC,GAAG;;0BA1VS;YAAC,WAAW,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;yBACjC,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;2BAC5B;YAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YA0UnD,mBAAmB,mDAAsB,IAAI;YAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAIC,IAAI;eACpC,GAAG;;8BA1VS;gBAAC,WAAW,CAAC,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;6BACjC,OAAO,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;+BAC5B;gBAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;aAAC,KAAK,IAAI;;;gBA0UnD,mBAAmB,mDAAsB,IAAI;gBAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;gBAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;gBAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;gBAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;gBAC9C,MAAM,GAAG,IAAI;gBACb,OAAO,GAAG,IAAI;gBACd,aAAa,GAAG,IAAI;gBACpB,OAAO,SAAS,UAAU,GAAG,IAAI;gBACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;AAvdtC,wBAgekE"}
|
@@ -0,0 +1,191 @@
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, createBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createVNode, normalizeClass, createSlots, renderSlot, createCommentVNode, createElementVNode, Fragment, renderList, createTextVNode, toDisplayString } from 'vue';
|
2
|
+
import _sfc_main$2 from '../DropdownMenu/WDropdownMenu.vue.js';
|
3
|
+
import _sfc_main$1 from '../BottomSheet/WBottomSheet.vue.js';
|
4
|
+
import _sfc_main$3 from './WInput.vue.js';
|
5
|
+
import IconArrow from '../../assets/icons/default/IconArrow.svg.js';
|
6
|
+
import { getIsMobile, getIsTouchDevice } from '../../utils/mobile.js';
|
7
|
+
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
8
|
+
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
9
|
+
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
|
+
__name: "WInputSuggest",
|
12
|
+
props: {
|
13
|
+
modelValue: {},
|
14
|
+
title: {},
|
15
|
+
mobileTitle: {},
|
16
|
+
description: {},
|
17
|
+
loading: { type: Boolean },
|
18
|
+
maxLength: {},
|
19
|
+
allowClear: { type: Boolean },
|
20
|
+
hideInput: { type: Boolean },
|
21
|
+
readonly: { type: Boolean },
|
22
|
+
disabled: { type: Boolean },
|
23
|
+
skeleton: { type: Boolean },
|
24
|
+
persist: { type: Boolean },
|
25
|
+
size: {},
|
26
|
+
errorMessage: {},
|
27
|
+
required: { type: Boolean },
|
28
|
+
hasChanges: { type: Boolean },
|
29
|
+
icon: {},
|
30
|
+
teleport: { type: Boolean },
|
31
|
+
placeholder: {},
|
32
|
+
type: {},
|
33
|
+
horizontalAlign: {},
|
34
|
+
contentMaxHeight: {},
|
35
|
+
contentMaxWidth: {},
|
36
|
+
noMargin: { type: Boolean },
|
37
|
+
allowPaste: { type: Boolean },
|
38
|
+
mono: { type: Boolean }
|
39
|
+
},
|
40
|
+
emits: ["update:modelValue", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "open", "close", "click:clear", "focus", "blur"],
|
41
|
+
setup(__props, { expose: __expose, emit }) {
|
42
|
+
const props = __props;
|
43
|
+
const isOpen = ref(false);
|
44
|
+
const dropdownMenu = ref();
|
45
|
+
const input = ref();
|
46
|
+
const isMobile = getIsMobile() || getIsTouchDevice();
|
47
|
+
const content = ref();
|
48
|
+
const isDisabled = computed(() => props.readonly || props.disabled);
|
49
|
+
const open = () => {
|
50
|
+
if (isDisabled.value)
|
51
|
+
return;
|
52
|
+
isOpen.value = true;
|
53
|
+
emit("open");
|
54
|
+
};
|
55
|
+
const close = () => {
|
56
|
+
isOpen.value = false;
|
57
|
+
emit("close");
|
58
|
+
};
|
59
|
+
const focus = () => {
|
60
|
+
if (isMobile)
|
61
|
+
open();
|
62
|
+
input.value?.focus();
|
63
|
+
};
|
64
|
+
const blur = () => {
|
65
|
+
input.value?.blur();
|
66
|
+
};
|
67
|
+
const updateDropdown = () => {
|
68
|
+
dropdownMenu.value?.updateDropdown?.();
|
69
|
+
};
|
70
|
+
__expose({
|
71
|
+
focus,
|
72
|
+
blur,
|
73
|
+
close,
|
74
|
+
updateDropdown
|
75
|
+
});
|
76
|
+
return (_ctx, _cache) => {
|
77
|
+
return openBlock(), createElementBlock("div", null, [
|
78
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(isMobile) ? _sfc_main$1 : _sfc_main$2), mergeProps({
|
79
|
+
ref_key: "dropdownMenu",
|
80
|
+
ref: dropdownMenu
|
81
|
+
}, unref(isMobile) ? {
|
82
|
+
isOpen: isOpen.value,
|
83
|
+
onClose: close
|
84
|
+
} : {
|
85
|
+
isOpen: isOpen.value,
|
86
|
+
maxHeight: _ctx.contentMaxHeight ?? 320,
|
87
|
+
maxWidth: _ctx.contentMaxWidth ?? 600,
|
88
|
+
horizontalAlign: _ctx.horizontalAlign ?? unref(HorizontalAlign).FILL,
|
89
|
+
updateAlign: true,
|
90
|
+
teleport: _ctx.teleport
|
91
|
+
}), {
|
92
|
+
toggle: withCtx(({ unclickable }) => [
|
93
|
+
createVNode(_sfc_main$3, {
|
94
|
+
ref_key: "input",
|
95
|
+
ref: input,
|
96
|
+
title: _ctx.title ?? (unclickable ? _ctx.mobileTitle : void 0),
|
97
|
+
"model-value": _ctx.modelValue,
|
98
|
+
type: _ctx.type,
|
99
|
+
"max-length": _ctx.maxLength,
|
100
|
+
loading: _ctx.loading,
|
101
|
+
"hide-input": _ctx.hideInput,
|
102
|
+
readonly: _ctx.readonly || unclickable,
|
103
|
+
skeleton: _ctx.skeleton,
|
104
|
+
size: _ctx.size,
|
105
|
+
"error-message": _ctx.errorMessage,
|
106
|
+
required: _ctx.required,
|
107
|
+
disabled: _ctx.disabled,
|
108
|
+
"has-changes": _ctx.hasChanges,
|
109
|
+
"allow-clear": _ctx.allowClear,
|
110
|
+
icon: _ctx.icon,
|
111
|
+
placeholder: _ctx.placeholder,
|
112
|
+
"no-margin": _ctx.noMargin,
|
113
|
+
"allow-paste": _ctx.allowPaste,
|
114
|
+
mono: _ctx.mono,
|
115
|
+
class: normalizeClass({
|
116
|
+
"cursor-pointer": !_ctx.disabled,
|
117
|
+
"cursor-not-allowed": _ctx.disabled
|
118
|
+
}),
|
119
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => !_ctx.loading && _ctx.$emit("update:modelValue", $event)),
|
120
|
+
"onKeypress:enter": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("keypress:enter", $event)),
|
121
|
+
"onKeypress:up": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("keypress:up", $event)),
|
122
|
+
"onKeypress:down": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("keypress:down", $event)),
|
123
|
+
"onKeypress:delete": _cache[4] || (_cache[4] = ($event) => _ctx.$emit("keypress:delete", $event)),
|
124
|
+
onFocus: ($event) => {
|
125
|
+
open();
|
126
|
+
!unclickable && _ctx.$emit("focus", $event);
|
127
|
+
},
|
128
|
+
onBlur: ($event) => {
|
129
|
+
!unref(isMobile) && !_ctx.persist && close();
|
130
|
+
!unclickable && _ctx.$emit("blur", $event);
|
131
|
+
},
|
132
|
+
onClick: ($event) => unref(isMobile) && unclickable && open(),
|
133
|
+
"onClick:internal": ($event) => unref(isMobile) && unclickable && open(),
|
134
|
+
"onClick:clear": _cache[5] || (_cache[5] = ($event) => _ctx.$emit("click:clear"))
|
135
|
+
}, createSlots({
|
136
|
+
prefix: withCtx(() => [
|
137
|
+
renderSlot(_ctx.$slots, "prefix", { unclickable })
|
138
|
+
]),
|
139
|
+
suffix: withCtx(() => [
|
140
|
+
!_ctx.disabled ? (openBlock(), createBlock(unref(IconArrow), {
|
141
|
+
key: 0,
|
142
|
+
class: normalizeClass(["square-3 text-description transition-transform", { "rotate-180": isOpen.value }])
|
143
|
+
}, null, 8, ["class"])) : createCommentVNode("", true)
|
144
|
+
]),
|
145
|
+
_: 2
|
146
|
+
}, [
|
147
|
+
_ctx.$slots.right?.()?.length ? {
|
148
|
+
name: "right",
|
149
|
+
fn: withCtx(() => [
|
150
|
+
renderSlot(_ctx.$slots, "right")
|
151
|
+
]),
|
152
|
+
key: "0"
|
153
|
+
} : void 0
|
154
|
+
]), 1032, ["title", "model-value", "type", "max-length", "loading", "hide-input", "readonly", "skeleton", "size", "error-message", "required", "disabled", "has-changes", "allow-clear", "icon", "placeholder", "no-margin", "allow-paste", "mono", "class", "onFocus", "onBlur", "onClick", "onClick:internal"])
|
155
|
+
]),
|
156
|
+
content: withCtx(() => [
|
157
|
+
createElementVNode("div", {
|
158
|
+
ref_key: "content",
|
159
|
+
ref: content,
|
160
|
+
class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
|
161
|
+
"max-h-full pb-20": unref(isMobile),
|
162
|
+
"rounded-xl max-h-[inherit] shadow-md overflow-x-hidden overflow-y-overlay overscroll-contain mb-1 mt-4 dark:border dark:border-solid dark:border-gray-800": !unref(isMobile)
|
163
|
+
}])
|
164
|
+
}, [
|
165
|
+
_ctx.$slots.content?.().length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.$slots.content?.(), (slot, index) => {
|
166
|
+
return openBlock(), createBlock(resolveDynamicComponent(slot), {
|
167
|
+
key: index,
|
168
|
+
"scrolling-element": unref(isMobile) ? content.value?.parentElement : content.value,
|
169
|
+
onClose: close
|
170
|
+
}, null, 40, ["scrolling-element"]);
|
171
|
+
}), 128)) : createCommentVNode("", true)
|
172
|
+
], 2)
|
173
|
+
]),
|
174
|
+
_: 3
|
175
|
+
}, 16)),
|
176
|
+
_ctx.description ? (openBlock(), createElementBlock("div", {
|
177
|
+
key: 0,
|
178
|
+
class: normalizeClass(["text-xs font-normal text-description pb-4 whitespace-pre-wrap break-words", {
|
179
|
+
"opacity-50": _ctx.disabled && !_ctx.skeleton
|
180
|
+
}])
|
181
|
+
}, [
|
182
|
+
_ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
183
|
+
createTextVNode(toDisplayString(_ctx.description), 1)
|
184
|
+
], 64))
|
185
|
+
], 2)) : createCommentVNode("", true)
|
186
|
+
]);
|
187
|
+
};
|
188
|
+
}
|
189
|
+
});
|
190
|
+
|
191
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,62 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
2
|
+
loading: {
|
3
|
+
type: import("vue").PropType<boolean>;
|
4
|
+
};
|
5
|
+
allowClear: {
|
6
|
+
type: import("vue").PropType<boolean>;
|
7
|
+
};
|
8
|
+
allowPaste: {
|
9
|
+
type: import("vue").PropType<boolean>;
|
10
|
+
};
|
11
|
+
disabled: {
|
12
|
+
type: import("vue").PropType<boolean>;
|
13
|
+
};
|
14
|
+
textSecure: {
|
15
|
+
type: import("vue").PropType<boolean>;
|
16
|
+
};
|
17
|
+
isSecureVisible: {
|
18
|
+
type: import("vue").PropType<boolean>;
|
19
|
+
};
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
21
|
+
"click:paste": () => void;
|
22
|
+
"show:secure": (value: MouseEvent) => void;
|
23
|
+
"hide:secure": (value: MouseEvent) => void;
|
24
|
+
"click:clear": () => void;
|
25
|
+
"click:slot": (value: MouseEvent) => void;
|
26
|
+
"update:width": (value: number) => void;
|
27
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
+
loading: {
|
29
|
+
type: import("vue").PropType<boolean>;
|
30
|
+
};
|
31
|
+
allowClear: {
|
32
|
+
type: import("vue").PropType<boolean>;
|
33
|
+
};
|
34
|
+
allowPaste: {
|
35
|
+
type: import("vue").PropType<boolean>;
|
36
|
+
};
|
37
|
+
disabled: {
|
38
|
+
type: import("vue").PropType<boolean>;
|
39
|
+
};
|
40
|
+
textSecure: {
|
41
|
+
type: import("vue").PropType<boolean>;
|
42
|
+
};
|
43
|
+
isSecureVisible: {
|
44
|
+
type: import("vue").PropType<boolean>;
|
45
|
+
};
|
46
|
+
}>> & {
|
47
|
+
"onClick:paste"?: (() => any) | undefined;
|
48
|
+
"onShow:secure"?: ((value: MouseEvent) => any) | undefined;
|
49
|
+
"onHide:secure"?: ((value: MouseEvent) => any) | undefined;
|
50
|
+
"onClick:clear"?: (() => any) | undefined;
|
51
|
+
"onClick:slot"?: ((value: MouseEvent) => any) | undefined;
|
52
|
+
"onUpdate:width"?: ((value: number) => any) | undefined;
|
53
|
+
}, {}, {}>, {
|
54
|
+
default?(_: {}): any;
|
55
|
+
}>;
|
56
|
+
export default _default;
|
57
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
58
|
+
new (): {
|
59
|
+
$slots: S;
|
60
|
+
};
|
61
|
+
};
|
62
|
+
//# sourceMappingURL=InputActions.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InputActions.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActions.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiUA,wBAA8G;AA2B9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
import { defineComponent, ref, watch, toRef, onMounted, openBlock, createElementBlock, withModifiers, createVNode, unref, createCommentVNode, normalizeClass, createBlock, renderSlot } from 'vue';
|
2
|
+
import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
|
3
|
+
import IconEye from '../../../assets/icons/sax/IconEye.svg.js';
|
4
|
+
import IconEyeSlash from '../../../assets/icons/sax/IconEyeSlash.svg.js';
|
5
|
+
import IconPaste from '../../../assets/icons/sax/IconPaste.svg.js';
|
6
|
+
import WSpinner from '../../Spinner/WSpinner.vue.js';
|
7
|
+
import _sfc_main$1 from '../../Tooltip/WTooltip.vue.js';
|
8
|
+
import { debounce } from '../../../utils/utils.js';
|
9
|
+
import { useTabActiveListener } from '../../Tabs/use/useTabActiveListener.js';
|
10
|
+
|
11
|
+
const _hoisted_1 = ["disabled"];
|
12
|
+
const _hoisted_2 = {
|
13
|
+
key: 3,
|
14
|
+
class: "h-full w-11 flex items-center justify-center text-description cursor-progress"
|
15
|
+
};
|
16
|
+
const _hoisted_3 = ["disabled"];
|
17
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
18
|
+
__name: "InputActions",
|
19
|
+
props: {
|
20
|
+
loading: { type: Boolean },
|
21
|
+
allowClear: { type: Boolean },
|
22
|
+
allowPaste: { type: Boolean },
|
23
|
+
disabled: { type: Boolean },
|
24
|
+
textSecure: { type: Boolean },
|
25
|
+
isSecureVisible: { type: Boolean }
|
26
|
+
},
|
27
|
+
emits: ["click:paste", "show:secure", "hide:secure", "click:clear", "click:slot", "update:width"],
|
28
|
+
setup(__props, { emit }) {
|
29
|
+
const props = __props;
|
30
|
+
const element = ref();
|
31
|
+
const emitWidth = debounce(() => {
|
32
|
+
emit("update:width", element.value?.offsetWidth ?? 0);
|
33
|
+
}, 10);
|
34
|
+
watch(toRef(props, "loading"), emitWidth);
|
35
|
+
watch(toRef(props, "allowClear"), emitWidth);
|
36
|
+
watch(toRef(props, "disabled"), emitWidth);
|
37
|
+
watch(toRef(props, "textSecure"), emitWidth);
|
38
|
+
watch(toRef(props, "allowPaste"), emitWidth);
|
39
|
+
useTabActiveListener(emitWidth);
|
40
|
+
onMounted(() => {
|
41
|
+
emitWidth();
|
42
|
+
});
|
43
|
+
return (_ctx, _cache) => {
|
44
|
+
return openBlock(), createElementBlock("div", {
|
45
|
+
ref_key: "element",
|
46
|
+
ref: element,
|
47
|
+
class: "flex rounded-xl overflow-hidden bg-default dark:bg-default-dark"
|
48
|
+
}, [
|
49
|
+
_ctx.allowClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
50
|
+
key: 0,
|
51
|
+
class: "relative w-ripple w-ripple-hover h-full w-11 p-[0.6875rem] flex justify-center text-description select-none outline-none",
|
52
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
53
|
+
}, ["prevent", "stop"])),
|
54
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click:clear"))
|
55
|
+
}, [
|
56
|
+
createVNode(unref(IconCancel), { class: "w-5 h-5" }),
|
57
|
+
createVNode(_sfc_main$1, {
|
58
|
+
text: "Clear",
|
59
|
+
"no-touch": ""
|
60
|
+
})
|
61
|
+
], 32)) : createCommentVNode("", true),
|
62
|
+
_ctx.allowPaste && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
63
|
+
key: 1,
|
64
|
+
class: "relative w-ripple w-ripple-hover h-full w-11 p-[0.6875rem] flex justify-center text-description select-none outline-none",
|
65
|
+
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
66
|
+
}, ["prevent", "stop"])),
|
67
|
+
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("click:paste"))
|
68
|
+
}, [
|
69
|
+
createVNode(unref(IconPaste), { class: "w-5 h-5" }),
|
70
|
+
createVNode(_sfc_main$1, {
|
71
|
+
text: "Paste",
|
72
|
+
"no-touch": ""
|
73
|
+
})
|
74
|
+
], 32)) : createCommentVNode("", true),
|
75
|
+
_ctx.textSecure ? (openBlock(), createElementBlock("button", {
|
76
|
+
key: 2,
|
77
|
+
disabled: _ctx.disabled,
|
78
|
+
class: normalizeClass(["relative h-full w-11 p-[0.6875rem] flex justify-center select-none outline-none", {
|
79
|
+
"cursor-pointer w-ripple w-ripple-hover": !_ctx.disabled,
|
80
|
+
"cursor-not-allowed": _ctx.disabled
|
81
|
+
}]),
|
82
|
+
onClick: _cache[4] || (_cache[4] = ($event) => _ctx.isSecureVisible ? _ctx.$emit("hide:secure", $event) : _ctx.$emit("show:secure", $event))
|
83
|
+
}, [
|
84
|
+
!_ctx.isSecureVisible ? (openBlock(), createBlock(unref(IconEyeSlash), {
|
85
|
+
key: 0,
|
86
|
+
class: "w-5 h-5 text-description"
|
87
|
+
})) : (openBlock(), createBlock(unref(IconEye), {
|
88
|
+
key: 1,
|
89
|
+
class: "w-5 h-5 text-primary-default dark:text-primary-dark"
|
90
|
+
})),
|
91
|
+
createVNode(_sfc_main$1, {
|
92
|
+
text: _ctx.isSecureVisible ? "Hide" : "Show",
|
93
|
+
"no-touch": ""
|
94
|
+
}, null, 8, ["text"])
|
95
|
+
], 10, _hoisted_1)) : createCommentVNode("", true),
|
96
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
97
|
+
createVNode(WSpinner, { class: "[--spinner-size:1.5rem]" })
|
98
|
+
])) : _ctx.$slots.default?.()?.length ? (openBlock(), createElementBlock("button", {
|
99
|
+
key: 4,
|
100
|
+
disabled: _ctx.disabled,
|
101
|
+
class: normalizeClass([{
|
102
|
+
"cursor-pointer": !_ctx.disabled,
|
103
|
+
"cursor-not-allowed": _ctx.disabled
|
104
|
+
}, "h-full w-11 flex items-center justify-center outline-none"]),
|
105
|
+
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => _ctx.$emit("click:slot", $event), ["stop"]))
|
106
|
+
}, [
|
107
|
+
renderSlot(_ctx.$slots, "default")
|
108
|
+
], 10, _hoisted_3)) : createCommentVNode("", true)
|
109
|
+
], 512);
|
110
|
+
};
|
111
|
+
}
|
112
|
+
});
|
113
|
+
|
114
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { type RouteLocationRaw } from 'vue-router';
|
2
|
+
import { SemanticType } from '../../utils/SemanticType';
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
4
|
+
small: {
|
5
|
+
type: import("vue").PropType<boolean>;
|
6
|
+
};
|
7
|
+
text: {
|
8
|
+
type: import("vue").PropType<string>;
|
9
|
+
default: undefined;
|
10
|
+
};
|
11
|
+
to: {
|
12
|
+
type: import("vue").PropType<RouteLocationRaw>;
|
13
|
+
default: undefined;
|
14
|
+
};
|
15
|
+
target: {
|
16
|
+
type: import("vue").PropType<"_self" | "_blank" | "_parent" | "_top">;
|
17
|
+
default: undefined;
|
18
|
+
};
|
19
|
+
href: {
|
20
|
+
type: import("vue").PropType<string>;
|
21
|
+
default: undefined;
|
22
|
+
};
|
23
|
+
semanticType: {
|
24
|
+
type: import("vue").PropType<SemanticType>;
|
25
|
+
default: SemanticType;
|
26
|
+
};
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
+
small: {
|
29
|
+
type: import("vue").PropType<boolean>;
|
30
|
+
};
|
31
|
+
text: {
|
32
|
+
type: import("vue").PropType<string>;
|
33
|
+
default: undefined;
|
34
|
+
};
|
35
|
+
to: {
|
36
|
+
type: import("vue").PropType<RouteLocationRaw>;
|
37
|
+
default: undefined;
|
38
|
+
};
|
39
|
+
target: {
|
40
|
+
type: import("vue").PropType<"_self" | "_blank" | "_parent" | "_top">;
|
41
|
+
default: undefined;
|
42
|
+
};
|
43
|
+
href: {
|
44
|
+
type: import("vue").PropType<string>;
|
45
|
+
default: undefined;
|
46
|
+
};
|
47
|
+
semanticType: {
|
48
|
+
type: import("vue").PropType<SemanticType>;
|
49
|
+
default: SemanticType;
|
50
|
+
};
|
51
|
+
}>>, {
|
52
|
+
text: string;
|
53
|
+
to: RouteLocationRaw;
|
54
|
+
target: "_self" | "_blank" | "_parent" | "_top";
|
55
|
+
href: string;
|
56
|
+
semanticType: SemanticType;
|
57
|
+
}, {}>, {
|
58
|
+
default?(_: {}): any;
|
59
|
+
}>;
|
60
|
+
export default _default;
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
62
|
+
new (): {
|
63
|
+
$slots: S;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
//# sourceMappingURL=WLink.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/WLink.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,gBAAgB,EAAC,MAAM,YAAY,CAAA;AAE5D,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIjD,wBAA8G;AAU9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|