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,27 @@
|
|
1
|
+
import { ref, computed, provide, inject, watch } from 'vue';
|
2
|
+
import { wFormHasChangesUpdater } from '../models/injection.js';
|
3
|
+
import { removeKey } from '../models/utils.js';
|
4
|
+
|
5
|
+
const useFormHasChangesMap = (name) => {
|
6
|
+
const hasChangesMap = ref({});
|
7
|
+
const hasChanges = computed(() => Object.keys(hasChangesMap.value).length !== 0);
|
8
|
+
const hasChangesMapUpdater = (key, value) => {
|
9
|
+
hasChangesMap.value = !value ? removeKey(hasChangesMap.value, key) : { ...hasChangesMap.value, [key]: value };
|
10
|
+
};
|
11
|
+
const hasChangesMapUnlistener = (key) => {
|
12
|
+
hasChangesMap.value = removeKey(hasChangesMap.value, key);
|
13
|
+
};
|
14
|
+
provide(wFormHasChangesUpdater, hasChangesMapUpdater);
|
15
|
+
const hasChangesUpdaterInjected = inject(wFormHasChangesUpdater, void 0);
|
16
|
+
watch(hasChanges, (value) => {
|
17
|
+
if (name.value) {
|
18
|
+
hasChangesUpdaterInjected?.(name.value, value);
|
19
|
+
}
|
20
|
+
});
|
21
|
+
return {
|
22
|
+
hasChangesMapUnlistener,
|
23
|
+
hasChanges
|
24
|
+
};
|
25
|
+
};
|
26
|
+
|
27
|
+
export { useFormHasChangesMap };
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFormInitModelMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/use/useFormInitModelMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,eAAO,MAAM,mBAAmB,SAAU,IAAI,MAAM,GAAG,SAAS,CAAC;kCAO1B,MAAM;qBAIrB,IAAI;CAoB3B,CAAA"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { ref, provide, inject, onBeforeMount } from 'vue';
|
2
|
+
import { wFormInitModelUpdater } from '../models/injection.js';
|
3
|
+
import { removeKey } from '../models/utils.js';
|
4
|
+
|
5
|
+
const useFormInitModelMap = (name) => {
|
6
|
+
const initModelMap = ref({});
|
7
|
+
const initModelMapUpdater = (key, value) => {
|
8
|
+
initModelMap.value = { ...initModelMap.value, [key]: value };
|
9
|
+
};
|
10
|
+
const initModelMapUnlistener = (key) => {
|
11
|
+
initModelMap.value = removeKey(initModelMap.value, key);
|
12
|
+
};
|
13
|
+
const initModel = () => {
|
14
|
+
Object.keys(initModelMap.value).forEach((key) => {
|
15
|
+
initModelMap.value[key]?.();
|
16
|
+
});
|
17
|
+
};
|
18
|
+
provide(wFormInitModelUpdater, initModelMapUpdater);
|
19
|
+
const initModelInjected = inject(wFormInitModelUpdater, void 0);
|
20
|
+
onBeforeMount(() => {
|
21
|
+
if (name.value) {
|
22
|
+
initModelInjected?.(name.value, initModel);
|
23
|
+
}
|
24
|
+
});
|
25
|
+
return {
|
26
|
+
initModelMapUnlistener,
|
27
|
+
initModel
|
28
|
+
};
|
29
|
+
};
|
30
|
+
|
31
|
+
export { useFormInitModelMap };
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { type Ref } from 'vue';
|
2
|
+
type InvalidatePayload = Record<string, string | string[]>;
|
3
|
+
export declare const useFormInvalidateMap: (name: Ref<string | undefined>) => {
|
4
|
+
invalidateMapUnlistener: (key: string) => void;
|
5
|
+
invalidate: (payload: InvalidatePayload) => void;
|
6
|
+
};
|
7
|
+
export {};
|
8
|
+
//# sourceMappingURL=useFormInvalidateMap.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFormInvalidateMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/use/useFormInvalidateMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AAE1D,eAAO,MAAM,oBAAoB,SAAU,IAAI,MAAM,GAAG,SAAS,CAAC;mCAO1B,MAAM;0BAIf,iBAAiB,KAAG,IAAI;CAoBtD,CAAA"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { ref, provide, inject, onBeforeMount } from 'vue';
|
2
|
+
import { wFormInvalidateUpdater } from '../models/injection.js';
|
3
|
+
import { removeKey } from '../models/utils.js';
|
4
|
+
|
5
|
+
const useFormInvalidateMap = (name) => {
|
6
|
+
const invalidateMap = ref({});
|
7
|
+
const invalidateMapUpdater = (key, value) => {
|
8
|
+
invalidateMap.value = { ...invalidateMap.value, [key]: value };
|
9
|
+
};
|
10
|
+
const invalidateMapUnlistener = (key) => {
|
11
|
+
invalidateMap.value = removeKey(invalidateMap.value, key);
|
12
|
+
};
|
13
|
+
const invalidate = (payload) => {
|
14
|
+
Object.keys(invalidateMap.value).forEach((key) => {
|
15
|
+
invalidateMap.value[key]?.(name.value ? payload[name.value] ?? payload : payload);
|
16
|
+
});
|
17
|
+
};
|
18
|
+
provide(wFormInvalidateUpdater, invalidateMapUpdater);
|
19
|
+
const invalidateUpdaterInjected = inject(wFormInvalidateUpdater, void 0);
|
20
|
+
onBeforeMount(() => {
|
21
|
+
if (name.value) {
|
22
|
+
invalidateUpdaterInjected?.(name.value, invalidate);
|
23
|
+
}
|
24
|
+
});
|
25
|
+
return {
|
26
|
+
invalidateMapUnlistener,
|
27
|
+
invalidate
|
28
|
+
};
|
29
|
+
};
|
30
|
+
|
31
|
+
export { useFormInvalidateMap };
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { type Ref } from 'vue';
|
2
|
+
export declare const useFormTitleMap: (name: Ref<string | undefined>, title: Ref<string | undefined>) => {
|
3
|
+
titleGetter: (key: string) => string;
|
4
|
+
titleMapUnlistener: (key: string) => void;
|
5
|
+
};
|
6
|
+
//# sourceMappingURL=useFormTitleMap.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFormTitleMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/use/useFormTitleMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIzD,eAAO,MAAM,eAAe,SAAU,IAAI,MAAM,GAAG,SAAS,CAAC,SAAS,IAAI,MAAM,GAAG,SAAS,CAAC;uBAWjE,MAAM;8BAJC,MAAM;CAsBxC,CAAA"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ref, provide, inject, watch } from 'vue';
|
2
|
+
import { wFormTitleUpdater } from '../models/injection.js';
|
3
|
+
import { removeKey } from '../models/utils.js';
|
4
|
+
|
5
|
+
const useFormTitleMap = (name, title) => {
|
6
|
+
const titleMap = ref({});
|
7
|
+
const titleMapUpdater = (key, value) => {
|
8
|
+
titleMap.value = !value ? removeKey(titleMap.value, key) : { ...titleMap.value, [key]: value };
|
9
|
+
};
|
10
|
+
const titleMapUnlistener = (key) => {
|
11
|
+
titleMap.value = removeKey(titleMap.value, key);
|
12
|
+
};
|
13
|
+
const titleGetter = (key) => {
|
14
|
+
return titleMap.value[key] ?? key;
|
15
|
+
};
|
16
|
+
provide(wFormTitleUpdater, titleMapUpdater);
|
17
|
+
const titleUpdaterInjected = inject(wFormTitleUpdater, void 0);
|
18
|
+
watch(title, (value) => {
|
19
|
+
if (name.value) {
|
20
|
+
titleUpdaterInjected?.(name.value, value);
|
21
|
+
}
|
22
|
+
}, { immediate: true });
|
23
|
+
return {
|
24
|
+
titleGetter,
|
25
|
+
titleMapUnlistener
|
26
|
+
};
|
27
|
+
};
|
28
|
+
|
29
|
+
export { useFormTitleMap };
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { type Ref } from 'vue';
|
2
|
+
export declare const useFormValidateMap: (name: Ref<string | undefined>, titleGetter: (key: string) => string, emitIsValid: (value: boolean) => void) => {
|
3
|
+
validateMapUnlistener: (key: string) => void;
|
4
|
+
validate: (silent?: boolean) => string | undefined;
|
5
|
+
};
|
6
|
+
//# sourceMappingURL=useFormValidateMap.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useFormValidateMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/Form/use/useFormValidateMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,eAAO,MAAM,kBAAkB,SAAU,IAAI,MAAM,GAAG,SAAS,CAAC,qBAAqB,MAAM,KAAK,MAAM,uBAAuB,OAAO,KAAK,IAAI;iCAOvG,MAAM;wBAIf,OAAO,KAAG,MAAM,GAAG,SAAS;CAsBxD,CAAA"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { ref, provide, inject, onBeforeMount } from 'vue';
|
2
|
+
import { wFormValidateUpdater } from '../models/injection.js';
|
3
|
+
import { removeKey, compileMessage } from '../models/utils.js';
|
4
|
+
|
5
|
+
const useFormValidateMap = (name, titleGetter, emitIsValid) => {
|
6
|
+
const validateMap = ref({});
|
7
|
+
const validateMapUpdater = (key, value) => {
|
8
|
+
validateMap.value = { ...validateMap.value, [key]: value };
|
9
|
+
};
|
10
|
+
const validateMapUnlistener = (key) => {
|
11
|
+
validateMap.value = removeKey(validateMap.value, key);
|
12
|
+
};
|
13
|
+
const validate = (silent) => {
|
14
|
+
const messages = Object.keys(validateMap.value).map((key) => compileMessage(titleGetter(key), validateMap.value[key](silent))).filter((item) => item);
|
15
|
+
if (!silent)
|
16
|
+
emitIsValid(messages.length === 0);
|
17
|
+
return messages.length === 0 ? void 0 : messages.join("\n");
|
18
|
+
};
|
19
|
+
provide(wFormValidateUpdater, validateMapUpdater);
|
20
|
+
const validateUpdaterInjected = inject(wFormValidateUpdater, void 0);
|
21
|
+
onBeforeMount(() => {
|
22
|
+
if (name.value) {
|
23
|
+
validateUpdaterInjected?.(name.value, validate);
|
24
|
+
}
|
25
|
+
});
|
26
|
+
return {
|
27
|
+
validateMapUnlistener,
|
28
|
+
validate
|
29
|
+
};
|
30
|
+
};
|
31
|
+
|
32
|
+
export { useFormValidateMap };
|
@@ -0,0 +1,51 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
2
|
+
title: {
|
3
|
+
type: import("vue").PropType<string>;
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
search: {
|
7
|
+
type: import("vue").PropType<string>;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
searchEnabled: {
|
11
|
+
type: import("vue").PropType<boolean>;
|
12
|
+
};
|
13
|
+
headerPadding: {
|
14
|
+
type: import("vue").PropType<number>;
|
15
|
+
default: number;
|
16
|
+
};
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
18
|
+
"update:search": (value: string | undefined) => void;
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
title: {
|
21
|
+
type: import("vue").PropType<string>;
|
22
|
+
default: undefined;
|
23
|
+
};
|
24
|
+
search: {
|
25
|
+
type: import("vue").PropType<string>;
|
26
|
+
default: undefined;
|
27
|
+
};
|
28
|
+
searchEnabled: {
|
29
|
+
type: import("vue").PropType<boolean>;
|
30
|
+
};
|
31
|
+
headerPadding: {
|
32
|
+
type: import("vue").PropType<number>;
|
33
|
+
default: number;
|
34
|
+
};
|
35
|
+
}>> & {
|
36
|
+
"onUpdate:search"?: ((value: string | undefined) => any) | undefined;
|
37
|
+
}, {
|
38
|
+
title: string;
|
39
|
+
search: string;
|
40
|
+
headerPadding: number;
|
41
|
+
}, {}>, {
|
42
|
+
title?(_: {}): any;
|
43
|
+
search?(_: {}): any;
|
44
|
+
}>;
|
45
|
+
export default _default;
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
47
|
+
new (): {
|
48
|
+
$slots: S;
|
49
|
+
};
|
50
|
+
};
|
51
|
+
//# sourceMappingURL=WHeaderBar.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgUA,wBAA8G;AAuB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -0,0 +1,134 @@
|
|
1
|
+
import { defineComponent, ref, watch, toRef, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, normalizeStyle, withDirectives, createElementVNode, renderSlot, createTextVNode, toDisplayString, createVNode, unref, createCommentVNode, vShow, createBlock, markRaw, createSlots, withCtx, Fragment, nextTick } from 'vue';
|
2
|
+
import IconSearch from '../../assets/icons/sax/IconSearch.svg.js';
|
3
|
+
import _sfc_main$2 from '../Input/WInput.vue.js';
|
4
|
+
import _sfc_main$1 from '../Input/WInputSuggest.vue.js';
|
5
|
+
import { getIsMobile } from '../../utils/mobile.js';
|
6
|
+
|
7
|
+
const _hoisted_1 = { class: "fixed top-0 right-0 left-0 z-10 h-[3.75rem] print:hidden flex" };
|
8
|
+
const _hoisted_2 = { class: "flex-1 text-xl sm:text-3xl text-accent font-semibold truncate" };
|
9
|
+
const _hoisted_3 = { class: "relative w-hover-circle" };
|
10
|
+
const _hoisted_4 = {
|
11
|
+
key: 0,
|
12
|
+
class: "relative -pl--inner-margin xl-not:pl-[3.75rem] -pr--inner-margin flex flex-1 gap-2 items-center w-full"
|
13
|
+
};
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
|
+
__name: "WHeaderBar",
|
16
|
+
props: {
|
17
|
+
title: { default: void 0 },
|
18
|
+
search: { default: void 0 },
|
19
|
+
searchEnabled: { type: Boolean },
|
20
|
+
headerPadding: { default: 0 }
|
21
|
+
},
|
22
|
+
emits: ["update:search"],
|
23
|
+
setup(__props) {
|
24
|
+
const props = __props;
|
25
|
+
const isMobile = getIsMobile();
|
26
|
+
const input = ref();
|
27
|
+
const isTransparent = ref(false);
|
28
|
+
const isSearchVisible = ref(false);
|
29
|
+
const openSearch = () => {
|
30
|
+
isSearchVisible.value = true;
|
31
|
+
nextTick().then(() => input.value?.focus());
|
32
|
+
};
|
33
|
+
const closeSearch = () => {
|
34
|
+
isSearchVisible.value = false;
|
35
|
+
};
|
36
|
+
watch(toRef(props, "searchEnabled"), (value) => {
|
37
|
+
if (value)
|
38
|
+
return;
|
39
|
+
isSearchVisible.value = false;
|
40
|
+
});
|
41
|
+
let timeout;
|
42
|
+
onMounted(() => {
|
43
|
+
timeout = setTimeout(() => {
|
44
|
+
isTransparent.value = true;
|
45
|
+
timeout = void 0;
|
46
|
+
}, 1500);
|
47
|
+
});
|
48
|
+
onBeforeUnmount(() => {
|
49
|
+
if (!timeout)
|
50
|
+
return;
|
51
|
+
clearTimeout(timeout);
|
52
|
+
timeout = void 0;
|
53
|
+
});
|
54
|
+
return (_ctx, _cache) => {
|
55
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
56
|
+
(openBlock(), createElementBlock("div", {
|
57
|
+
key: _ctx.headerPadding,
|
58
|
+
class: normalizeClass(["fixed top-0 right-0 left-0 bg-default dark:bg-default-dark supports-backdrop:backdrop-blur h-[calc(3.75rem+var(--header-height-padding))] print:hidden", {
|
59
|
+
"supports-backdrop:bg-opacity-40 supports-backdrop:dark:bg-opacity-60": isTransparent.value
|
60
|
+
}]),
|
61
|
+
style: normalizeStyle({ "--header-height-padding": _ctx.headerPadding + "px" })
|
62
|
+
}, null, 6)),
|
63
|
+
withDirectives(createElementVNode("div", {
|
64
|
+
class: normalizeClass(["relative flex flex-1 items-center -pl--inner-margin xl-not:pl-[3.75rem] max-w-full", {
|
65
|
+
"-pr--inner-margin": !_ctx.searchEnabled
|
66
|
+
}])
|
67
|
+
}, [
|
68
|
+
createElementVNode("div", _hoisted_2, [
|
69
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
70
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
71
|
+
])
|
72
|
+
]),
|
73
|
+
_ctx.searchEnabled ? (openBlock(), createElementBlock("button", {
|
74
|
+
key: 0,
|
75
|
+
class: "w-hover-circle-trigger flex items-center h-full -px--inner-margin select-none outline-none",
|
76
|
+
onClick: openSearch
|
77
|
+
}, [
|
78
|
+
createElementVNode("div", _hoisted_3, [
|
79
|
+
createVNode(unref(IconSearch), { class: "square-6 sm-not:square-5 text-accent" })
|
80
|
+
])
|
81
|
+
])) : createCommentVNode("", true)
|
82
|
+
], 2), [
|
83
|
+
[vShow, !isSearchVisible.value && !_ctx.search]
|
84
|
+
]),
|
85
|
+
_ctx.searchEnabled ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4, [
|
86
|
+
_ctx.$slots.search?.()?.length && unref(isMobile) ? (openBlock(), createBlock(_sfc_main$1, {
|
87
|
+
key: 0,
|
88
|
+
ref_key: "input",
|
89
|
+
ref: input,
|
90
|
+
"model-value": _ctx.search,
|
91
|
+
placeholder: "Search..",
|
92
|
+
"allow-clear": "",
|
93
|
+
persist: "",
|
94
|
+
teleport: "",
|
95
|
+
"no-margin": "",
|
96
|
+
class: "w-full",
|
97
|
+
icon: markRaw(unref(IconSearch)),
|
98
|
+
"onClick:clear": _cache[0] || (_cache[0] = ($event) => !unref(isMobile) && input.value?.close()),
|
99
|
+
onClose: closeSearch,
|
100
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:search", $event))
|
101
|
+
}, createSlots({ _: 2 }, [
|
102
|
+
unref(isMobile) ? {
|
103
|
+
name: "content",
|
104
|
+
fn: withCtx(() => [
|
105
|
+
renderSlot(_ctx.$slots, "search")
|
106
|
+
]),
|
107
|
+
key: "0"
|
108
|
+
} : void 0
|
109
|
+
]), 1032, ["model-value", "icon"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
110
|
+
createVNode(_sfc_main$2, {
|
111
|
+
ref_key: "input",
|
112
|
+
ref: input,
|
113
|
+
"model-value": _ctx.search,
|
114
|
+
placeholder: "Search..",
|
115
|
+
autofocus: "",
|
116
|
+
"allow-clear": "",
|
117
|
+
"no-margin": "",
|
118
|
+
class: "w-full",
|
119
|
+
icon: markRaw(unref(IconSearch)),
|
120
|
+
"onClick:clear": closeSearch,
|
121
|
+
onClose: _cache[2] || (_cache[2] = ($event) => _ctx.$route.meta.headerSearchComponent && closeSearch()),
|
122
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:search", $event))
|
123
|
+
}, null, 8, ["model-value", "icon"]),
|
124
|
+
renderSlot(_ctx.$slots, "search")
|
125
|
+
], 64))
|
126
|
+
], 512)), [
|
127
|
+
[vShow, isSearchVisible.value || _ctx.search]
|
128
|
+
]) : createCommentVNode("", true)
|
129
|
+
]);
|
130
|
+
};
|
131
|
+
}
|
132
|
+
});
|
133
|
+
|
134
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,23 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
modelValue: {
|
3
|
+
type: import("vue").PropType<string>;
|
4
|
+
};
|
5
|
+
title: {
|
6
|
+
type: import("vue").PropType<string>;
|
7
|
+
};
|
8
|
+
skeleton: {
|
9
|
+
type: import("vue").PropType<boolean>;
|
10
|
+
};
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
modelValue: {
|
13
|
+
type: import("vue").PropType<string>;
|
14
|
+
};
|
15
|
+
title: {
|
16
|
+
type: import("vue").PropType<string>;
|
17
|
+
};
|
18
|
+
skeleton: {
|
19
|
+
type: import("vue").PropType<boolean>;
|
20
|
+
};
|
21
|
+
}>>, {}, {}>;
|
22
|
+
export default _default;
|
23
|
+
//# sourceMappingURL=WImageViewer.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/WImageViewer.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAkKA,wBAAkD"}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent, defineAsyncComponent, openBlock, createElementBlock, Fragment, createTextVNode, toDisplayString, createBlock, createCommentVNode, normalizeStyle, createElementVNode, markRaw } from 'vue';
|
2
|
+
import { Modal } from '../../utils/Modal.js';
|
3
|
+
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
4
|
+
|
5
|
+
const _hoisted_1 = {
|
6
|
+
key: 0,
|
7
|
+
class: "text-xs font-semibold text-accent mb-2"
|
8
|
+
};
|
9
|
+
const _hoisted_2 = { class: "opacity-0 group-hover/image-button:opacity-100 transition-opacity" };
|
10
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "text-default font-extrabold z-10 relative tracking-widest font-roboto" }, " VIEW ", -1);
|
11
|
+
const _hoisted_4 = { class: "text-xs mt-1 text-ellipsis overflow-hidden [-webkit-line-clamp:2] [-webkit-box-orient:vertical] [display:-webkit-box] absolute bottom-0 w-full text-default bg-black-default bg-opacity-50 text-start px-1" };
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
13
|
+
__name: "WImageViewer",
|
14
|
+
props: {
|
15
|
+
modelValue: {},
|
16
|
+
title: {},
|
17
|
+
skeleton: { type: Boolean }
|
18
|
+
},
|
19
|
+
setup(__props) {
|
20
|
+
const props = __props;
|
21
|
+
const ImageModal = defineAsyncComponent(() => import('./components/ImageModal.vue.js'));
|
22
|
+
let closeModal = null;
|
23
|
+
const openModal = () => {
|
24
|
+
closeModal?.();
|
25
|
+
closeModal = Modal.addAutoclosable(
|
26
|
+
markRaw(ImageModal),
|
27
|
+
{
|
28
|
+
modelValue: props.modelValue
|
29
|
+
},
|
30
|
+
() => closeModal = null
|
31
|
+
);
|
32
|
+
};
|
33
|
+
return (_ctx, _cache) => {
|
34
|
+
return openBlock(), createElementBlock("div", null, [
|
35
|
+
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
36
|
+
!_ctx.skeleton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
37
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
38
|
+
], 64)) : (openBlock(), createBlock(WSkeleton, { key: 1 }))
|
39
|
+
])) : createCommentVNode("", true),
|
40
|
+
!_ctx.skeleton && _ctx.modelValue ? (openBlock(), createElementBlock("button", {
|
41
|
+
key: 1,
|
42
|
+
class: "w-40 h-28 rounded-lg w-ripple w-ripple-hover text-black-default cursor-pointer relative overflow-hidden w-ripple-opacity-20 dark:w-ripple-opacity-30 isolate group/image-button bg-center bg-cover border border-solid border-gray-100 dark:border-gray-800 outline-none",
|
43
|
+
style: normalizeStyle({ backgroundImage: `url(${_ctx.modelValue})` }),
|
44
|
+
onClick: openModal
|
45
|
+
}, [
|
46
|
+
createElementVNode("div", _hoisted_2, [
|
47
|
+
_hoisted_3,
|
48
|
+
createElementVNode("div", _hoisted_4, toDisplayString(_ctx.modelValue.substring(_ctx.modelValue.lastIndexOf("/") + 1)), 1)
|
49
|
+
])
|
50
|
+
], 4)) : (openBlock(), createBlock(WSkeleton, {
|
51
|
+
key: 2,
|
52
|
+
class: "width-40 h-28 rounded-lg"
|
53
|
+
}))
|
54
|
+
]);
|
55
|
+
};
|
56
|
+
}
|
57
|
+
});
|
58
|
+
|
59
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,23 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
modelValue: {
|
3
|
+
type: import("vue").PropType<string>;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
resolve: {
|
7
|
+
type: import("vue").PropType<() => void>;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
"close:modal": () => void;
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
modelValue: {
|
13
|
+
type: import("vue").PropType<string>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
resolve: {
|
17
|
+
type: import("vue").PropType<() => void>;
|
18
|
+
};
|
19
|
+
}>> & {
|
20
|
+
"onClose:modal"?: (() => any) | undefined;
|
21
|
+
}, {}, {}>;
|
22
|
+
export default _default;
|
23
|
+
//# sourceMappingURL=ImageModal.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageViewer/components/ImageModal.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA8HA,wBAAkD"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode, unref, toDisplayString } from 'vue';
|
2
|
+
import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
|
3
|
+
|
4
|
+
const _hoisted_1 = { class: "relative flex flex-col items-center" };
|
5
|
+
const _hoisted_2 = { class: "relative" };
|
6
|
+
const _hoisted_3 = ["src", "alt"];
|
7
|
+
const _hoisted_4 = { class: "text-center mt-3" };
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
|
+
__name: "ImageModal",
|
10
|
+
props: {
|
11
|
+
modelValue: {},
|
12
|
+
resolve: { type: Function }
|
13
|
+
},
|
14
|
+
emits: ["close:modal"],
|
15
|
+
setup(__props) {
|
16
|
+
const props = __props;
|
17
|
+
const name = computed(() => props.modelValue.substring(props.modelValue.lastIndexOf("/") + 1));
|
18
|
+
return (_ctx, _cache) => {
|
19
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
20
|
+
createElementVNode("div", _hoisted_2, [
|
21
|
+
createElementVNode("button", {
|
22
|
+
class: "p-3 rounded-full absolute -top-14 right-3 sm:-right-14 w-ripple w-ripple-hover outline-none",
|
23
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
24
|
+
}, [
|
25
|
+
createVNode(unref(IconCancel), { class: "text-description" })
|
26
|
+
]),
|
27
|
+
createElementVNode("img", {
|
28
|
+
src: _ctx.modelValue,
|
29
|
+
alt: name.value,
|
30
|
+
class: "shadow-md dark:shadow-sm dark:shadow-gray-600 max-w-[100vw] max-h-[90vh]"
|
31
|
+
}, null, 8, _hoisted_3)
|
32
|
+
]),
|
33
|
+
createElementVNode("div", _hoisted_4, toDisplayString(name.value), 1)
|
34
|
+
]);
|
35
|
+
};
|
36
|
+
}
|
37
|
+
});
|
38
|
+
|
39
|
+
export { _sfc_main as default };
|