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,89 @@
|
|
1
|
+
import { defineComponent, toRef, computed, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createSlots, withCtx, createElementVNode, withModifiers, createVNode, createCommentVNode } from 'vue';
|
2
|
+
import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
|
3
|
+
|
4
|
+
const _hoisted_1 = ["onClick"];
|
5
|
+
const _hoisted_2 = ["onClick"];
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
|
+
__name: "SelectAsyncPrefixPage",
|
8
|
+
props: {
|
9
|
+
useQueryFn: {},
|
10
|
+
queryParams: {},
|
11
|
+
disabled: { type: Boolean },
|
12
|
+
loading: { type: Boolean },
|
13
|
+
optionComponent: {},
|
14
|
+
disableClear: { type: Boolean }
|
15
|
+
},
|
16
|
+
emits: ["unselect", "update:pages-count", "update:fetching"],
|
17
|
+
setup(__props, { emit }) {
|
18
|
+
const props = __props;
|
19
|
+
const { data, isFetching } = props.useQueryFn(toRef(props, "queryParams"));
|
20
|
+
const pagesCount = computed(() => data.value?.pages_count);
|
21
|
+
watch(pagesCount, (value) => {
|
22
|
+
if (value === void 0)
|
23
|
+
return;
|
24
|
+
emit("update:pages-count", value);
|
25
|
+
});
|
26
|
+
watch(isFetching, (value) => {
|
27
|
+
emit("update:fetching", value);
|
28
|
+
}, { immediate: true });
|
29
|
+
onBeforeUnmount(() => {
|
30
|
+
emit("update:fetching", false);
|
31
|
+
});
|
32
|
+
return (_ctx, _cache) => {
|
33
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(data)?.results, (option) => {
|
34
|
+
return openBlock(), createElementBlock("div", {
|
35
|
+
key: option.id,
|
36
|
+
class: normalizeClass(["relative flex overflow-hidden items-center text-description", {
|
37
|
+
"cursor-pointer": !_ctx.disabled,
|
38
|
+
"cursor-not-allowed": _ctx.disabled
|
39
|
+
}])
|
40
|
+
}, [
|
41
|
+
renderSlot(_ctx.$slots, "default", {
|
42
|
+
option,
|
43
|
+
skeleton: !unref(data)
|
44
|
+
}, () => [
|
45
|
+
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
46
|
+
key: 0,
|
47
|
+
option,
|
48
|
+
selected: true,
|
49
|
+
model: true,
|
50
|
+
skeleton: !unref(data)
|
51
|
+
}, createSlots({ _: 2 }, [
|
52
|
+
!_ctx.disableClear && !_ctx.disabled ? {
|
53
|
+
name: "default",
|
54
|
+
fn: withCtx(() => [
|
55
|
+
createElementVNode("button", {
|
56
|
+
class: normalizeClass(["relative flex square-5 rounded-full -my-1 -mr-2 ml-1 items-center justify-center outline-none", {
|
57
|
+
"cursor-progress": _ctx.loading,
|
58
|
+
"cursor-pointer w-ripple w-ripple-hover": !_ctx.loading
|
59
|
+
}]),
|
60
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
61
|
+
}, ["stop", "prevent"])),
|
62
|
+
onClick: withModifiers(($event) => !_ctx.loading && _ctx.$emit("unselect", option.id), ["stop", "prevent"])
|
63
|
+
}, [
|
64
|
+
createVNode(unref(IconCancel), { class: "square-3" })
|
65
|
+
], 42, _hoisted_1)
|
66
|
+
]),
|
67
|
+
key: "0"
|
68
|
+
} : void 0
|
69
|
+
]), 1032, ["option", "skeleton"])) : createCommentVNode("", true)
|
70
|
+
]),
|
71
|
+
!_ctx.optionComponent && !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
72
|
+
key: 0,
|
73
|
+
class: normalizeClass(["relative flex square-5 rounded-full items-center justify-center outline-none", {
|
74
|
+
"cursor-progress": _ctx.loading,
|
75
|
+
"cursor-pointer w-ripple w-ripple-hover ": !_ctx.loading
|
76
|
+
}]),
|
77
|
+
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {
|
78
|
+
}, ["stop", "prevent"])),
|
79
|
+
onClick: withModifiers(($event) => !_ctx.loading && _ctx.$emit("unselect", option.id), ["stop", "prevent"])
|
80
|
+
}, [
|
81
|
+
createVNode(unref(IconCancel), { class: "square-3" })
|
82
|
+
], 42, _hoisted_2)) : createCommentVNode("", true)
|
83
|
+
], 2);
|
84
|
+
}), 128);
|
85
|
+
};
|
86
|
+
}
|
87
|
+
});
|
88
|
+
|
89
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,104 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
2
|
+
isSelected: {
|
3
|
+
type: import("vue").PropType<boolean>;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
isCursor: {
|
7
|
+
type: import("vue").PropType<boolean>;
|
8
|
+
};
|
9
|
+
loading: {
|
10
|
+
type: import("vue").PropType<boolean>;
|
11
|
+
};
|
12
|
+
skeleton: {
|
13
|
+
type: import("vue").PropType<boolean>;
|
14
|
+
};
|
15
|
+
scroll: {
|
16
|
+
type: import("vue").PropType<boolean>;
|
17
|
+
};
|
18
|
+
first: {
|
19
|
+
type: import("vue").PropType<boolean>;
|
20
|
+
};
|
21
|
+
last: {
|
22
|
+
type: import("vue").PropType<boolean>;
|
23
|
+
};
|
24
|
+
previous: {
|
25
|
+
type: import("vue").PropType<number | null>;
|
26
|
+
};
|
27
|
+
next: {
|
28
|
+
type: import("vue").PropType<number | null>;
|
29
|
+
};
|
30
|
+
isNoCursor: {
|
31
|
+
type: import("vue").PropType<boolean>;
|
32
|
+
};
|
33
|
+
}, {
|
34
|
+
scrollIntoView: () => void;
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
36
|
+
select: () => void;
|
37
|
+
unselect: () => void;
|
38
|
+
"update:is-cursor": (value: {
|
39
|
+
previous: number | null | undefined;
|
40
|
+
next: number | null | undefined;
|
41
|
+
}) => void;
|
42
|
+
"update:cursor": () => void;
|
43
|
+
"update:previous": (value: number | null | undefined) => void;
|
44
|
+
"update:next": (value: number | null | undefined) => void;
|
45
|
+
unmounted: () => void;
|
46
|
+
"update:first": () => void;
|
47
|
+
"update:last": () => void;
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
49
|
+
isSelected: {
|
50
|
+
type: import("vue").PropType<boolean>;
|
51
|
+
required: true;
|
52
|
+
};
|
53
|
+
isCursor: {
|
54
|
+
type: import("vue").PropType<boolean>;
|
55
|
+
};
|
56
|
+
loading: {
|
57
|
+
type: import("vue").PropType<boolean>;
|
58
|
+
};
|
59
|
+
skeleton: {
|
60
|
+
type: import("vue").PropType<boolean>;
|
61
|
+
};
|
62
|
+
scroll: {
|
63
|
+
type: import("vue").PropType<boolean>;
|
64
|
+
};
|
65
|
+
first: {
|
66
|
+
type: import("vue").PropType<boolean>;
|
67
|
+
};
|
68
|
+
last: {
|
69
|
+
type: import("vue").PropType<boolean>;
|
70
|
+
};
|
71
|
+
previous: {
|
72
|
+
type: import("vue").PropType<number | null>;
|
73
|
+
};
|
74
|
+
next: {
|
75
|
+
type: import("vue").PropType<number | null>;
|
76
|
+
};
|
77
|
+
isNoCursor: {
|
78
|
+
type: import("vue").PropType<boolean>;
|
79
|
+
};
|
80
|
+
}>> & {
|
81
|
+
onSelect?: (() => any) | undefined;
|
82
|
+
onUnselect?: (() => any) | undefined;
|
83
|
+
"onUpdate:is-cursor"?: ((value: {
|
84
|
+
previous: number | null | undefined;
|
85
|
+
next: number | null | undefined;
|
86
|
+
}) => any) | undefined;
|
87
|
+
"onUpdate:cursor"?: (() => any) | undefined;
|
88
|
+
"onUpdate:previous"?: ((value: number | null | undefined) => any) | undefined;
|
89
|
+
"onUpdate:next"?: ((value: number | null | undefined) => any) | undefined;
|
90
|
+
onUnmounted?: (() => any) | undefined;
|
91
|
+
"onUpdate:first"?: (() => any) | undefined;
|
92
|
+
"onUpdate:last"?: (() => any) | undefined;
|
93
|
+
}, {}, {}>, {
|
94
|
+
default: (props: {
|
95
|
+
selected: boolean;
|
96
|
+
}) => void;
|
97
|
+
}>;
|
98
|
+
export default _default;
|
99
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
100
|
+
new (): {
|
101
|
+
$slots: S;
|
102
|
+
};
|
103
|
+
};
|
104
|
+
//# sourceMappingURL=SelectOption.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/components/SelectOption.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4PA,wBAA8G;AAiC9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
import { defineComponent, ref, watch, toRef, onUnmounted, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, renderSlot, createVNode, Transition, withCtx, createBlock, unref, createCommentVNode } from 'vue';
|
2
|
+
import IconCheck from '../../../assets/icons/default/IconCheck.svg.js';
|
3
|
+
import WSpinner from '../../Spinner/WSpinner.vue.js';
|
4
|
+
|
5
|
+
const _hoisted_1 = ["onClick"];
|
6
|
+
const _hoisted_2 = { class: "flex items-center max-w-[calc(100%-2.5rem)] flex-1 overflow-hidden" };
|
7
|
+
const _hoisted_3 = {
|
8
|
+
key: 0,
|
9
|
+
class: "flex items-center justify-center text-primary-default dark:text-primary-dark w-10 [--spinner-size:1.5rem]"
|
10
|
+
};
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
+
__name: "SelectOption",
|
13
|
+
props: {
|
14
|
+
isSelected: { type: Boolean },
|
15
|
+
isCursor: { type: Boolean },
|
16
|
+
loading: { type: Boolean },
|
17
|
+
skeleton: { type: Boolean },
|
18
|
+
scroll: { type: Boolean },
|
19
|
+
first: { type: Boolean },
|
20
|
+
last: { type: Boolean },
|
21
|
+
previous: {},
|
22
|
+
next: {},
|
23
|
+
isNoCursor: { type: Boolean }
|
24
|
+
},
|
25
|
+
emits: ["select", "unselect", "update:is-cursor", "update:cursor", "update:previous", "update:next", "unmounted", "update:first", "update:last"],
|
26
|
+
setup(__props, { expose: __expose, emit }) {
|
27
|
+
const props = __props;
|
28
|
+
const element = ref();
|
29
|
+
const toggle = () => {
|
30
|
+
if (props.isSelected)
|
31
|
+
emit("unselect");
|
32
|
+
else
|
33
|
+
emit("select");
|
34
|
+
return false;
|
35
|
+
};
|
36
|
+
const scrollIntoView = () => {
|
37
|
+
element.value?.scrollIntoView({ behavior: "auto", block: "center" });
|
38
|
+
};
|
39
|
+
watch(toRef(props, "isCursor"), (value) => {
|
40
|
+
if (!value)
|
41
|
+
return;
|
42
|
+
emit("update:is-cursor", { previous: props.previous, next: props.next });
|
43
|
+
if (props.scroll)
|
44
|
+
scrollIntoView();
|
45
|
+
}, { immediate: true });
|
46
|
+
watch(toRef(props, "isNoCursor"), (value) => {
|
47
|
+
if (value && props.first && !props.skeleton)
|
48
|
+
emit("update:cursor");
|
49
|
+
}, { immediate: true });
|
50
|
+
watch(toRef(props, "previous"), (value) => {
|
51
|
+
if (props.isCursor && !props.skeleton)
|
52
|
+
emit("update:previous", value);
|
53
|
+
}, { immediate: true });
|
54
|
+
watch(toRef(props, "next"), (value) => {
|
55
|
+
if (props.isCursor && !props.skeleton)
|
56
|
+
emit("update:next", value);
|
57
|
+
}, { immediate: true });
|
58
|
+
watch(toRef(props, "first"), (value) => {
|
59
|
+
if (value)
|
60
|
+
emit("update:first");
|
61
|
+
}, { immediate: true });
|
62
|
+
watch(toRef(props, "last"), (value) => {
|
63
|
+
if (value)
|
64
|
+
emit("update:last");
|
65
|
+
}, { immediate: true });
|
66
|
+
watch(toRef(props, "next"), (value) => {
|
67
|
+
if (props.isCursor && !props.skeleton)
|
68
|
+
emit("update:next", value);
|
69
|
+
}, { immediate: true });
|
70
|
+
onUnmounted(() => {
|
71
|
+
if (props.isCursor)
|
72
|
+
emit("unmounted");
|
73
|
+
});
|
74
|
+
__expose({
|
75
|
+
scrollIntoView
|
76
|
+
});
|
77
|
+
return (_ctx, _cache) => {
|
78
|
+
return openBlock(), createElementBlock("div", {
|
79
|
+
ref_key: "element",
|
80
|
+
ref: element,
|
81
|
+
class: normalizeClass(["relative flex w-full select-none cursor-pointer py-2 px-[1.0625rem]", {
|
82
|
+
"bg-primary-light dark:bg-primary-darkest": _ctx.isSelected,
|
83
|
+
"before:opacity-5": _ctx.isCursor && !_ctx.skeleton,
|
84
|
+
"cursor-progress": _ctx.loading || _ctx.skeleton,
|
85
|
+
"w-ripple": !_ctx.loading && !_ctx.skeleton
|
86
|
+
}]),
|
87
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
88
|
+
}, ["prevent", "stop"])),
|
89
|
+
onClick: withModifiers(toggle, ["prevent", "stop"])
|
90
|
+
}, [
|
91
|
+
createElementVNode("div", _hoisted_2, [
|
92
|
+
renderSlot(_ctx.$slots, "default", { selected: _ctx.isSelected })
|
93
|
+
]),
|
94
|
+
createVNode(Transition, {
|
95
|
+
"enter-active-class": "transition-opacity",
|
96
|
+
"leave-active-class": "transition-opacity",
|
97
|
+
"enter-from-class": "opacity-0",
|
98
|
+
"leave-to-class": "opacity-0"
|
99
|
+
}, {
|
100
|
+
default: withCtx(() => [
|
101
|
+
_ctx.isSelected || _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
102
|
+
_ctx.isSelected && !_ctx.loading ? (openBlock(), createBlock(unref(IconCheck), { key: 0 })) : _ctx.loading ? (openBlock(), createBlock(WSpinner, { key: 1 })) : createCommentVNode("", true)
|
103
|
+
])) : createCommentVNode("", true)
|
104
|
+
]),
|
105
|
+
_: 1
|
106
|
+
})
|
107
|
+
], 42, _hoisted_1);
|
108
|
+
};
|
109
|
+
}
|
110
|
+
});
|
111
|
+
|
112
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
2
|
+
export default _default;
|
3
|
+
//# sourceMappingURL=WSkeleton.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Skeleton/WSkeleton.vue.ts"],"names":[],"mappings":";AAgDA,wBAAkD"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { openBlock, createElementBlock, normalizeStyle } from 'vue';
|
2
|
+
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
|
3
|
+
|
4
|
+
const _sfc_main = {};
|
5
|
+
|
6
|
+
function _sfc_render(_ctx, _cache) {
|
7
|
+
return (openBlock(), createElementBlock("div", {
|
8
|
+
class: "bg-primary-light dark:bg-primary-darkest w-skeleton before:animate-ticker",
|
9
|
+
style: normalizeStyle({'--skeleton-width': (Math.round(Math.random() * 40) + 40) + '%'})
|
10
|
+
}, " ", 4))
|
11
|
+
}
|
12
|
+
const WSkeleton = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
13
|
+
|
14
|
+
export { WSkeleton as default };
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
2
|
+
export default _default;
|
3
|
+
//# sourceMappingURL=WSpinner.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WSpinner.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/WSpinner.vue.ts"],"names":[],"mappings":";AAwDA,wBAAkD"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
2
|
+
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
|
3
|
+
|
4
|
+
const _sfc_main = {};
|
5
|
+
|
6
|
+
const _hoisted_1 = {
|
7
|
+
class: "animate-spin square-[var(--spinner-size,2rem)]",
|
8
|
+
width: "20",
|
9
|
+
height: "20",
|
10
|
+
viewBox: "25 25 50 50"
|
11
|
+
};
|
12
|
+
const _hoisted_2 = /*#__PURE__*/createElementVNode("circle", {
|
13
|
+
class: "animate-spinner-dash",
|
14
|
+
cx: "50",
|
15
|
+
cy: "50",
|
16
|
+
r: "20",
|
17
|
+
fill: "none",
|
18
|
+
stroke: "currentColor",
|
19
|
+
"stroke-width": "10%",
|
20
|
+
"stroke-miterlimit": "8",
|
21
|
+
"stroke-dasharray": "1, 100",
|
22
|
+
"stroke-dashoffset": "0"
|
23
|
+
}, null, -1);
|
24
|
+
const _hoisted_3 = [
|
25
|
+
_hoisted_2
|
26
|
+
];
|
27
|
+
|
28
|
+
function _sfc_render(_ctx, _cache) {
|
29
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3))
|
30
|
+
}
|
31
|
+
const WSpinner = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
32
|
+
|
33
|
+
export { WSpinner as default };
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { type VNode } from 'vue';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
names: {
|
4
|
+
type: import("vue").PropType<string[]>;
|
5
|
+
};
|
6
|
+
slots: {
|
7
|
+
type: import("vue").PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
8
|
+
[key: string]: any;
|
9
|
+
}>[]>;
|
10
|
+
};
|
11
|
+
lessTransitions: {
|
12
|
+
type: import("vue").PropType<boolean>;
|
13
|
+
};
|
14
|
+
}, {
|
15
|
+
updateIndex: (value: number) => void;
|
16
|
+
next: () => void;
|
17
|
+
previous: () => void;
|
18
|
+
validate: (index: number) => string | undefined;
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
20
|
+
"update:current": (value: number) => void;
|
21
|
+
"update:has-changes": (value: boolean) => void;
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
23
|
+
names: {
|
24
|
+
type: import("vue").PropType<string[]>;
|
25
|
+
};
|
26
|
+
slots: {
|
27
|
+
type: import("vue").PropType<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
28
|
+
[key: string]: any;
|
29
|
+
}>[]>;
|
30
|
+
};
|
31
|
+
lessTransitions: {
|
32
|
+
type: import("vue").PropType<boolean>;
|
33
|
+
};
|
34
|
+
}>> & {
|
35
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
36
|
+
"onUpdate:current"?: ((value: number) => any) | undefined;
|
37
|
+
}, {}, {}>;
|
38
|
+
export default _default;
|
39
|
+
//# sourceMappingURL=WTabs.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabs.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkC,KAAK,KAAK,EAAoD,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4WlH,wBAAkD"}
|
@@ -0,0 +1,210 @@
|
|
1
|
+
import { defineComponent, useSlots, computed, ref, reactive, inject, watch, onMounted, onUnmounted, openBlock, createElementBlock, Fragment, renderList, normalizeClass, unref, createElementVNode, createTextVNode, toDisplayString, createVNode, Transition, withCtx, createCommentVNode, normalizeStyle, TransitionGroup, createBlock, resolveDynamicComponent, nextTick } from 'vue';
|
2
|
+
import _sfc_main$1 from './components/TabItem.vue.js';
|
3
|
+
import _sfc_main$2 from '../Form/WForm.vue.js';
|
4
|
+
import { throttle, debounce } from '../../utils/utils.js';
|
5
|
+
import { wTabItemListener, wTabItemUnlistener } from './models/injection.js';
|
6
|
+
|
7
|
+
const _hoisted_1 = { class: "mb-8" };
|
8
|
+
const _hoisted_2 = {
|
9
|
+
key: 0,
|
10
|
+
class: "relative flex mb-4 sm-not:-px--inner-margin"
|
11
|
+
};
|
12
|
+
const _hoisted_3 = ["onClick"];
|
13
|
+
const _hoisted_4 = { class: "relative" };
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
|
+
__name: "WTabs",
|
16
|
+
props: {
|
17
|
+
names: {},
|
18
|
+
slots: {},
|
19
|
+
lessTransitions: { type: Boolean }
|
20
|
+
},
|
21
|
+
emits: ["update:current", "update:has-changes"],
|
22
|
+
setup(__props, { expose: __expose, emit }) {
|
23
|
+
const props = __props;
|
24
|
+
const slots = useSlots();
|
25
|
+
const defaultSlots = computed(() => (props.slots ?? slots.default?.() ?? []).filter((item) => typeof item.type !== "symbol"));
|
26
|
+
const current = ref(0);
|
27
|
+
const isDirect = ref(true);
|
28
|
+
const button = ref([]);
|
29
|
+
const indicatorStyle = ref(void 0);
|
30
|
+
const minHeight = ref(0);
|
31
|
+
const tabItem = ref([]);
|
32
|
+
const form = ref([]);
|
33
|
+
const isValidMap = reactive({});
|
34
|
+
const hasChangesMap = reactive({});
|
35
|
+
const hasChanges = computed(() => Object.values(hasChangesMap).includes(true));
|
36
|
+
const updateIsValidMap = (index, value) => {
|
37
|
+
if (value !== void 0)
|
38
|
+
isValidMap[index] = value;
|
39
|
+
else
|
40
|
+
delete isValidMap[index];
|
41
|
+
nextTick().then(() => {
|
42
|
+
if (value === false && isValidMap[current.value] !== false)
|
43
|
+
switchTab(index);
|
44
|
+
});
|
45
|
+
};
|
46
|
+
const updateHasChangesMap = (index, value) => {
|
47
|
+
if (value !== void 0)
|
48
|
+
hasChangesMap[index] = value;
|
49
|
+
else
|
50
|
+
delete hasChangesMap[index];
|
51
|
+
};
|
52
|
+
const switchTab = throttle((index) => {
|
53
|
+
if (current.value === index)
|
54
|
+
return;
|
55
|
+
updateIndex(index);
|
56
|
+
}, 200);
|
57
|
+
const updateIndex = (value) => {
|
58
|
+
tabItem.value[current.value]?.emitHeight?.();
|
59
|
+
setIndexDebounced(value);
|
60
|
+
};
|
61
|
+
const setIndexDebounced = debounce((value) => {
|
62
|
+
if (current.value === value || value < 0 || value > defaultSlots.value.length - 1)
|
63
|
+
return;
|
64
|
+
isDirect.value = current.value < value;
|
65
|
+
current.value = value;
|
66
|
+
}, 100);
|
67
|
+
const next = () => {
|
68
|
+
switchTab(current.value + 1);
|
69
|
+
};
|
70
|
+
const previous = () => {
|
71
|
+
switchTab(current.value - 1);
|
72
|
+
};
|
73
|
+
const updateIndicator = () => {
|
74
|
+
if (!props.names)
|
75
|
+
return;
|
76
|
+
const element = button.value[current.value];
|
77
|
+
if (!element || !element.offsetWidth)
|
78
|
+
return;
|
79
|
+
indicatorStyle.value = {
|
80
|
+
width: element.offsetWidth + "px",
|
81
|
+
left: element.offsetLeft + "px"
|
82
|
+
};
|
83
|
+
};
|
84
|
+
const updateHeight = (value) => {
|
85
|
+
if (minHeight.value >= value)
|
86
|
+
return;
|
87
|
+
minHeight.value = value;
|
88
|
+
};
|
89
|
+
const validate = (index) => {
|
90
|
+
return form?.value[index].validate();
|
91
|
+
};
|
92
|
+
const tabItemListenerInjected = inject(wTabItemListener, null);
|
93
|
+
const tabItemUnlistenerInjected = inject(wTabItemUnlistener, null);
|
94
|
+
watch(current, (value) => {
|
95
|
+
emit("update:current", value);
|
96
|
+
updateIndicator();
|
97
|
+
}, { immediate: true });
|
98
|
+
watch(hasChanges, (value) => {
|
99
|
+
emit("update:has-changes", value);
|
100
|
+
}, { immediate: true });
|
101
|
+
onMounted(() => {
|
102
|
+
updateIndicator();
|
103
|
+
tabItemListenerInjected?.(updateIndicator);
|
104
|
+
});
|
105
|
+
onUnmounted(() => {
|
106
|
+
tabItemUnlistenerInjected?.(updateIndicator);
|
107
|
+
});
|
108
|
+
__expose({
|
109
|
+
updateIndex,
|
110
|
+
next,
|
111
|
+
previous,
|
112
|
+
validate
|
113
|
+
});
|
114
|
+
return (_ctx, _cache) => {
|
115
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
116
|
+
_ctx.names ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
117
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(defaultSlots.value, (_, index) => {
|
118
|
+
return openBlock(), createElementBlock("button", {
|
119
|
+
ref_for: true,
|
120
|
+
ref_key: "button",
|
121
|
+
ref: button,
|
122
|
+
key: index,
|
123
|
+
class: normalizeClass(["flex-1 font-semibold flex items-center justify-center h-10 cursor-pointer relative w-ripple w-ripple-hover select-none transition-colors duration-500 outline-none", {
|
124
|
+
"text-description": current.value !== index && isValidMap[index] !== false,
|
125
|
+
"text-primary-default dark:text-primary-dark": current.value === index && isValidMap[index] !== false,
|
126
|
+
"text-negative dark:text-negative-dark": isValidMap[index] === false
|
127
|
+
}]),
|
128
|
+
onClick: ($event) => unref(switchTab)(index)
|
129
|
+
}, [
|
130
|
+
createElementVNode("div", _hoisted_4, [
|
131
|
+
createTextVNode(toDisplayString(_ctx.names[index]) + " ", 1),
|
132
|
+
createVNode(Transition, {
|
133
|
+
"enter-active-class": "transition-opacity",
|
134
|
+
"leave-active-class": "transition-opacity",
|
135
|
+
"enter-from-class": "opacity-0",
|
136
|
+
"leave-to-class": "opacity-0"
|
137
|
+
}, {
|
138
|
+
default: withCtx(() => [
|
139
|
+
hasChangesMap[index] ? (openBlock(), createElementBlock("div", {
|
140
|
+
key: 0,
|
141
|
+
class: normalizeClass(["absolute top-0 -right-4 square-2 rounded-full transition-colors duration-500", {
|
142
|
+
"bg-info dark:bg-info-dark": isValidMap[index] !== false,
|
143
|
+
"bg-negative dark:bg-negative-dark": isValidMap[index] === false
|
144
|
+
}])
|
145
|
+
}, null, 2)) : createCommentVNode("", true)
|
146
|
+
]),
|
147
|
+
_: 2
|
148
|
+
}, 1024)
|
149
|
+
])
|
150
|
+
], 10, _hoisted_3);
|
151
|
+
}), 128)),
|
152
|
+
createElementVNode("div", {
|
153
|
+
class: normalizeClass(["absolute bottom-0 h-1 rounded-sm duration-500", {
|
154
|
+
"bg-primary-default dark:bg-primary-dark": isValidMap[current.value] !== false,
|
155
|
+
"bg-negative dark:bg-negative-dark": isValidMap[current.value] === false,
|
156
|
+
"transition-[left,width,background-color]": indicatorStyle.value !== void 0
|
157
|
+
}]),
|
158
|
+
style: normalizeStyle(indicatorStyle.value)
|
159
|
+
}, null, 6)
|
160
|
+
])) : createCommentVNode("", true),
|
161
|
+
createElementVNode("div", {
|
162
|
+
class: "relative transition-[min-height] h-full duration-300",
|
163
|
+
style: normalizeStyle({ minHeight: minHeight.value ? minHeight.value + "px" : "auto", "--direction-factor": isDirect.value ? "1" : "-1" })
|
164
|
+
}, [
|
165
|
+
createVNode(TransitionGroup, {
|
166
|
+
"enter-active-class": "transition-transform duration-[250ms] w-full",
|
167
|
+
"leave-active-class": "transition-transform duration-[250ms] w-full absolute top-0",
|
168
|
+
"enter-from-class": _ctx.lessTransitions ? "opacity-0" : "translate-x-[calc((100%+var(--inner-margin))*var(--direction-factor))]",
|
169
|
+
"leave-to-class": _ctx.lessTransitions ? "opacity-0" : "translate-x-[calc((100%+var(--inner-margin))*var(--direction-factor)*-1)]"
|
170
|
+
}, {
|
171
|
+
default: withCtx(() => [
|
172
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(defaultSlots.value, (slot, index) => {
|
173
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
174
|
+
ref_for: true,
|
175
|
+
ref_key: "tabItem",
|
176
|
+
ref: tabItem,
|
177
|
+
key: index,
|
178
|
+
"is-active": index === current.value,
|
179
|
+
class: "width-full",
|
180
|
+
"onUpdate:height": updateHeight
|
181
|
+
}, {
|
182
|
+
default: withCtx(() => [
|
183
|
+
createVNode(_sfc_main$2, {
|
184
|
+
ref_for: true,
|
185
|
+
ref_key: "form",
|
186
|
+
ref: form,
|
187
|
+
name: index.toString(),
|
188
|
+
title: _ctx.names?.[index],
|
189
|
+
"onUpdate:isValid": ($event) => updateIsValidMap(index, $event),
|
190
|
+
"onUpdate:hasChanges": ($event) => updateHasChangesMap(index, $event)
|
191
|
+
}, {
|
192
|
+
default: withCtx(() => [
|
193
|
+
(openBlock(), createBlock(resolveDynamicComponent(slot)))
|
194
|
+
]),
|
195
|
+
_: 2
|
196
|
+
}, 1032, ["name", "title", "onUpdate:isValid", "onUpdate:hasChanges"])
|
197
|
+
]),
|
198
|
+
_: 2
|
199
|
+
}, 1032, ["is-active"]);
|
200
|
+
}), 128))
|
201
|
+
]),
|
202
|
+
_: 1
|
203
|
+
}, 8, ["enter-from-class", "leave-to-class"])
|
204
|
+
], 4)
|
205
|
+
]);
|
206
|
+
};
|
207
|
+
}
|
208
|
+
});
|
209
|
+
|
210
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,13 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
names: {
|
3
|
+
type: import("vue").PropType<string[]>;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
names: {
|
8
|
+
type: import("vue").PropType<string[]>;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
}>>, {}, {}>;
|
12
|
+
export default _default;
|
13
|
+
//# sourceMappingURL=WTabsColumns.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/WTabsColumns.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AA4FA,wBAAkD"}
|