eco-vue-js 0.7.3 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/default/IconAdd.svg.js +12 -15
- package/dist/assets/icons/default/IconArrow.svg.js +10 -12
- package/dist/assets/icons/default/IconAvatar.svg.js +3 -5
- package/dist/assets/icons/default/IconBack.svg.js +25 -29
- package/dist/assets/icons/default/IconCancel.svg.js +7 -9
- package/dist/assets/icons/default/IconCheck.svg.js +6 -8
- package/dist/assets/icons/default/IconDanger.svg.js +16 -20
- package/dist/assets/icons/default/IconDojo.svg.js +14 -17
- package/dist/assets/icons/default/IconEdit.svg.js +15 -18
- package/dist/assets/icons/default/IconFalsePositive.svg.js +13 -16
- package/dist/assets/icons/default/IconFeedback.svg.js +24 -29
- package/dist/assets/icons/default/IconFilter.svg.js +8 -10
- package/dist/assets/icons/default/IconInProgress.svg.js +13 -15
- package/dist/assets/icons/default/IconJira.svg.js +3 -5
- package/dist/assets/icons/default/IconLogout.svg.js +3 -5
- package/dist/assets/icons/default/IconMore.svg.js +20 -24
- package/dist/assets/icons/default/IconNotification.svg.js +8 -10
- package/dist/assets/icons/default/IconProfile.svg.js +18 -22
- package/dist/assets/icons/default/IconSearch.svg.js +6 -8
- package/dist/assets/icons/default/IconSettings.svg.js +16 -19
- package/dist/assets/icons/default/IconSort.svg.js +8 -10
- package/dist/assets/icons/default/IconStar.svg.js +7 -9
- package/dist/assets/icons/default/IconSuccess.svg.js +12 -15
- package/dist/assets/icons/default/IconTask.svg.js +20 -24
- package/dist/assets/icons/default/IconTime.svg.js +23 -27
- package/dist/assets/icons/default/IconWarn.svg.js +28 -33
- package/dist/assets/icons/sax/IconAdd.svg.js +9 -11
- package/dist/assets/icons/sax/IconAddCircle.svg.js +9 -11
- package/dist/assets/icons/sax/IconAddSquare.svg.js +9 -11
- package/dist/assets/icons/sax/IconAlarm.svg.js +9 -11
- package/dist/assets/icons/sax/IconArchiveBook.svg.js +18 -21
- package/dist/assets/icons/sax/IconCandle.svg.js +10 -12
- package/dist/assets/icons/sax/IconCelery.svg.js +26 -31
- package/dist/assets/icons/sax/IconChart.svg.js +9 -11
- package/dist/assets/icons/sax/IconCheckCircle.svg.js +16 -19
- package/dist/assets/icons/sax/IconClose.svg.js +9 -11
- package/dist/assets/icons/sax/IconCloseCircle.svg.js +9 -11
- package/dist/assets/icons/sax/IconCopy.svg.js +16 -19
- package/dist/assets/icons/sax/IconCopySuccess.svg.js +23 -27
- package/dist/assets/icons/sax/IconCopyright.svg.js +16 -19
- package/dist/assets/icons/sax/IconDedupe.svg.js +24 -28
- package/dist/assets/icons/sax/IconDojo.svg.js +14 -17
- package/dist/assets/icons/sax/IconEdit.svg.js +7 -9
- package/dist/assets/icons/sax/IconEditCircle.svg.js +24 -28
- package/dist/assets/icons/sax/IconElement.svg.js +9 -11
- package/dist/assets/icons/sax/IconExport.svg.js +9 -11
- package/dist/assets/icons/sax/IconEye.svg.js +16 -19
- package/dist/assets/icons/sax/IconEyeSlash.svg.js +23 -27
- package/dist/assets/icons/sax/IconFilter.svg.js +10 -12
- package/dist/assets/icons/sax/IconFilterRemove.svg.js +26 -30
- package/dist/assets/icons/sax/IconFinding.svg.js +9 -11
- package/dist/assets/icons/sax/IconFolder.svg.js +8 -10
- package/dist/assets/icons/sax/IconFolderCross.svg.js +16 -19
- package/dist/assets/icons/sax/IconJira.svg.js +9 -11
- package/dist/assets/icons/sax/IconKey.svg.js +17 -20
- package/dist/assets/icons/sax/IconKeySquare.svg.js +24 -28
- package/dist/assets/icons/sax/IconLayer.svg.js +23 -27
- package/dist/assets/icons/sax/IconLink.svg.js +10 -13
- package/dist/assets/icons/sax/IconLinkBold.svg.js +6 -8
- package/dist/assets/icons/sax/IconLinkOutline.svg.js +10 -13
- package/dist/assets/icons/sax/IconLogout.svg.js +30 -35
- package/dist/assets/icons/sax/IconMenu.svg.js +8 -10
- package/dist/assets/icons/sax/IconMinusCircle.svg.js +9 -11
- package/dist/assets/icons/sax/IconNegate.svg.js +16 -19
- package/dist/assets/icons/sax/IconNegativeInfo.svg.js +16 -19
- package/dist/assets/icons/sax/IconNote.svg.js +16 -19
- package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +16 -19
- package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +9 -11
- package/dist/assets/icons/sax/IconOutlineEdit.svg.js +25 -29
- package/dist/assets/icons/sax/IconOutlineFolderAdd.svg.js +16 -19
- package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +9 -11
- package/dist/assets/icons/sax/IconOutlineStar.svg.js +9 -11
- package/dist/assets/icons/sax/IconPaste.svg.js +25 -29
- package/dist/assets/icons/sax/IconProfile.svg.js +16 -19
- package/dist/assets/icons/sax/IconRadar.svg.js +9 -11
- package/dist/assets/icons/sax/IconRefresh.svg.js +9 -11
- package/dist/assets/icons/sax/IconSearch.svg.js +9 -11
- package/dist/assets/icons/sax/IconSettings.svg.js +18 -21
- package/dist/assets/icons/sax/IconSlash.svg.js +10 -12
- package/dist/assets/icons/sax/IconStar.svg.js +9 -11
- package/dist/assets/icons/sax/IconSummary.svg.js +16 -19
- package/dist/assets/icons/sax/IconTag.svg.js +15 -18
- package/dist/assets/icons/sax/IconTask.svg.js +9 -11
- package/dist/assets/icons/sax/IconTime.svg.js +9 -11
- package/dist/assets/icons/sax/IconTrash.svg.js +9 -11
- package/dist/assets/icons/sax/IconUser.svg.js +9 -11
- package/dist/assets/icons/sax/IconVersionControl.svg.js +9 -11
- package/dist/assets/icons/sax/IconWeight.svg.js +16 -19
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts +9 -129
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +7 -8
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +25 -23
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -2
- package/dist/components/Button/WButton.vue.d.ts +14 -41
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue.d.ts +14 -39
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.d.ts +3 -12
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.d.ts +11 -32
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.d.ts +13 -13
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +12 -4
- package/dist/components/Button/WButtonMore.vue.d.ts +10 -14
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +11 -34
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts +22 -40
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.js +5 -6
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts +6 -15
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts +0 -1
- package/dist/components/Button/types.d.ts +17 -7
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +16 -18
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Chip/WChip.vue.d.ts +10 -15
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +13 -6
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/Counter/WCounter.vue.d.ts +4 -25
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +6 -16
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +6 -15
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +7 -17
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +7 -17
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +7 -16
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +6 -15
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +7 -17
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts +18 -21
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/types.d.ts +0 -1
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts +0 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +88 -24
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/types.d.ts +0 -1
- package/dist/components/Expansion/WExpansion.vue.d.ts +11 -29
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +13 -17
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +25 -28
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +19 -18
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +25 -26
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +10 -12
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +14 -18
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +3 -12
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts +13 -17
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
- package/dist/components/FilterWrapper/WFilterWrapper.vue.js +5 -7
- package/dist/components/Form/WForm.vue.d.ts +15 -19
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.d.ts +20 -22
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +3 -4
- package/dist/components/Form/models/injection.d.ts +0 -1
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts +1 -2
- package/dist/components/Form/use/useFormHasChangesMap.d.ts +0 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts +0 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts +0 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts +0 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts +0 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts +24 -0
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -0
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +101 -0
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue2.js +5 -0
- package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts +25 -0
- package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -0
- package/dist/components/FormAsync/WFormAsyncInput.vue.js +131 -0
- package/dist/components/FormAsync/WFormAsyncInput.vue2.js +5 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts +26 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +139 -0
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue2.js +5 -0
- package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts +21 -0
- package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -0
- package/dist/components/FormAsync/WFormAsyncToggle.vue.js +89 -0
- package/dist/components/FormAsync/WFormAsyncToggle.vue2.js +5 -0
- package/dist/components/FormAsync/types.d.ts +84 -0
- package/dist/components/FormAsync/types.d.ts.map +1 -0
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +21 -36
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts +3 -12
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +3 -4
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +6 -15
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +16 -16
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +13 -13
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts +8 -3
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +5 -5
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +2 -2
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +8 -30
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +6 -5
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts +15 -19
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +8 -8
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +8 -8
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +15 -19
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/models/injection.d.ts +0 -1
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +5 -5
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +1 -1
- package/dist/components/InfiniteList/use/useSelected.d.ts +0 -1
- package/dist/components/InfoCard/WInfoCard.vue.d.ts +10 -14
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +10 -15
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.d.ts +6 -37
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputAsync.vue.d.ts +9 -10
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.d.ts +21 -41
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.d.ts +9 -10
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.d.ts +6 -29
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.d.ts +17 -21
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActionsButton.vue.d.ts +13 -17
- package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -1
- package/dist/components/Input/types.d.ts +0 -1
- package/dist/components/Link/WLink.vue.d.ts +11 -36
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLinkArrow.vue.d.ts +8 -13
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.d.ts +9 -10
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.d.ts +18 -22
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCardField.vue.d.ts +12 -16
- package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
- package/dist/components/List/WListCardField.vue.js +1 -1
- package/dist/components/List/WListHeader.vue.d.ts +13 -17
- package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeaderItem.vue.d.ts +5 -6
- package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
- package/dist/components/List/types.d.ts +0 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +10 -31
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.d.ts +1 -1
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.js +3 -4
- package/dist/components/Modal/WModalStepper.vue.d.ts +80 -24
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue.js +8 -8
- package/dist/components/Modal/WModalWrapper.vue.d.ts +13 -17
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +4 -4
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +6 -16
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/types.d.ts +0 -1
- package/dist/components/Nav/WNavBar.vue.d.ts +11 -6
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue.js +6 -8
- package/dist/components/Nav/WNavItem.vue.d.ts +12 -17
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +16 -18
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +11 -16
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemTransition.vue.d.ts +8 -3
- package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
- package/dist/components/Notify/WNotify.vue.d.ts +1 -1
- package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
- package/dist/components/Notify/components/NotifyCard.vue.d.ts +6 -32
- package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
- package/dist/components/Notify/models/types.d.ts +0 -1
- package/dist/components/Select/WSelect.vue.d.ts +21 -23
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +48 -38
- package/dist/components/Select/WSelectAsync.vue.d.ts +14 -16
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +20 -15
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +14 -14
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +10 -14
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +4 -7
- package/dist/components/Select/WSelectSingle.vue.d.ts +14 -15
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +3 -2
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +15 -15
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.js +5 -6
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +13 -12
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefix.vue.js +2 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +13 -12
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +8 -3
- package/dist/components/Select/components/SelectOption.vue.d.ts +6 -32
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +9 -10
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOptionPrefix.vue.js +3 -1
- package/dist/components/Select/types.d.ts +22 -21
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Skeleton/WSkeleton.vue.d.ts +1 -1
- package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
- package/dist/components/Spinner/WSpinner.vue.d.ts +1 -1
- package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -1
- package/dist/components/Spinner/WSpinner.vue.js +14 -16
- package/dist/components/Tabs/WTabs.vue.d.ts +10 -20
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +3 -3
- package/dist/components/Tabs/WTabsColumns.vue.d.ts +3 -12
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.d.ts +16 -18
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/models/injection.d.ts +0 -1
- package/dist/components/Toggle/WToggle.vue.d.ts +9 -19
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +3 -1
- package/dist/components/Toggle/types.d.ts +13 -0
- package/dist/components/Toggle/types.d.ts.map +1 -0
- package/dist/components/Tooltip/WTooltip.vue.d.ts +3 -12
- package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +17 -20
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
- package/dist/imports/componentsPlugin.d.ts +5 -2
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/main.d.ts +3 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +8 -1
- package/dist/types/global.d.ts +98 -11
- package/dist/utils/Modal.d.ts +0 -1
- package/dist/utils/Notify.d.ts +0 -1
- package/dist/utils/Tooltip.d.ts +0 -1
- package/dist/utils/api.d.ts +15 -0
- package/dist/utils/api.d.ts.map +1 -0
- package/dist/utils/api.js +28 -0
- package/dist/utils/useCopy.d.ts +1 -2
- package/dist/utils/useDefaultQuery.d.ts +2 -2
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/dist/utils/useQueryUpdater.d.ts +11 -0
- package/dist/utils/useQueryUpdater.d.ts.map +1 -0
- package/dist/utils/useQueryUpdater.js +56 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +13 -1
- package/dist/utils/validate.d.ts +2 -0
- package/dist/utils/validate.d.ts.map +1 -0
- package/dist/utils/validate.js +3 -0
- package/package.json +43 -16
@@ -25,14 +25,12 @@ const _hoisted_6 = {
|
|
25
25
|
key: 2,
|
26
26
|
class: "w-full h-full flex flex-col items-center text-base text-accent"
|
27
27
|
};
|
28
|
-
const _hoisted_7 =
|
29
|
-
const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", { class: "font-normal mt-4" }, " or ", -1);
|
30
|
-
const _hoisted_9 = {
|
28
|
+
const _hoisted_7 = {
|
31
29
|
key: 3,
|
32
30
|
class: "h-full flex items-center justify-center"
|
33
31
|
};
|
34
|
-
const
|
35
|
-
const
|
32
|
+
const _hoisted_8 = { class: "overflow-x-overlay flex gap-6 items-center" };
|
33
|
+
const _hoisted_9 = {
|
36
34
|
key: 0,
|
37
35
|
class: "absolute right-0 text-xs text-negative dark:text-negative-dark font-normal"
|
38
36
|
};
|
@@ -152,20 +150,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
152
150
|
_: 3
|
153
151
|
}, 8, ["name", "has-error"])
|
154
152
|
])) : _ctx.modelValue.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
155
|
-
|
156
|
-
|
153
|
+
_cache[7] || (_cache[7] = createElementVNode("div", { class: "font-semibold mt-16" }, " Drag and drop files here ", -1)),
|
154
|
+
_cache[8] || (_cache[8] = createElementVNode("div", { class: "font-normal mt-4" }, " or ", -1)),
|
157
155
|
createVNode(_sfc_main$3, {
|
158
156
|
"semantic-type": unref(SemanticType).PRIMARY,
|
159
157
|
class: "mt-4",
|
160
158
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => input.value?.click(), ["stop", "prevent"]))
|
161
159
|
}, {
|
162
|
-
default: withCtx(() => [
|
160
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
163
161
|
createTextVNode(" Browse file ")
|
164
|
-
]),
|
162
|
+
])),
|
165
163
|
_: 1
|
166
164
|
}, 8, ["semantic-type"])
|
167
|
-
])) : (openBlock(), createElementBlock("div",
|
168
|
-
createElementVNode("div",
|
165
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_7, [
|
166
|
+
createElementVNode("div", _hoisted_8, [
|
169
167
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.modelValue, (file, index) => {
|
170
168
|
return openBlock(), createBlock(_sfc_main$2, {
|
171
169
|
key: index,
|
@@ -192,7 +190,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
192
190
|
"leave-to-class": "opacity-0"
|
193
191
|
}, {
|
194
192
|
default: withCtx(() => [
|
195
|
-
_ctx.errorMessage ? (openBlock(), createElementBlock("div",
|
193
|
+
_ctx.errorMessage ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(_ctx.errorMessage), 1)) : createCommentVNode("", true)
|
196
194
|
]),
|
197
195
|
_: 1
|
198
196
|
})
|
@@ -1,32 +1,28 @@
|
|
1
1
|
declare function __VLS_template(): {
|
2
|
-
|
3
|
-
|
2
|
+
slots: {
|
3
|
+
positive?(_: {}): any;
|
4
|
+
negative?(_: {}): any;
|
5
|
+
};
|
6
|
+
refs: {};
|
7
|
+
attrs: Partial<{}>;
|
4
8
|
};
|
5
|
-
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
6
11
|
name?: string;
|
7
12
|
hasError?: boolean;
|
8
|
-
}
|
9
|
-
"click:cancel": () =>
|
10
|
-
}, string, import('vue').PublicProps, Readonly<
|
13
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
14
|
+
"click:cancel": () => any;
|
15
|
+
}, string, import('vue').PublicProps, Readonly<{
|
11
16
|
name?: string;
|
12
17
|
hasError?: boolean;
|
13
|
-
}
|
18
|
+
}> & Readonly<{
|
14
19
|
"onClick:cancel"?: (() => any) | undefined;
|
15
|
-
}, {}, {}>;
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
17
22
|
export default _default;
|
18
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
19
24
|
new (): {
|
20
25
|
$slots: S;
|
21
26
|
};
|
22
27
|
};
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
24
|
-
type __VLS_TypePropsToOption<T> = {
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
27
|
-
} : {
|
28
|
-
type: import('vue').PropType<T[K]>;
|
29
|
-
required: true;
|
30
|
-
};
|
31
|
-
};
|
32
28
|
//# sourceMappingURL=FilePickerItem.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"AA0EA,iBAAS,cAAc;;0BAgGO,GAAG;0BACH,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WA5IZ,MAAM;eACF,OAAO;;;;WADX,MAAM;eACF,OAAO;;;kFAoJlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,22 +1,13 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
2
|
svgWidth: number;
|
3
3
|
svgHeight: number;
|
4
4
|
isActive?: boolean;
|
5
5
|
hasError?: boolean;
|
6
|
-
}
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
7
7
|
svgWidth: number;
|
8
8
|
svgHeight: number;
|
9
9
|
isActive?: boolean;
|
10
10
|
hasError?: boolean;
|
11
|
-
}
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
12
12
|
export default _default;
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
14
|
-
type __VLS_TypePropsToOption<T> = {
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
17
|
-
} : {
|
18
|
-
type: import('vue').PropType<T[K]>;
|
19
|
-
required: true;
|
20
|
-
};
|
21
|
-
};
|
22
13
|
//# sourceMappingURL=FilePickerSvg.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilePickerSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerSvg.vue"],"names":[],"mappings":";cA4FY,MAAM;eACL,MAAM;eACN,OAAO;eACP,OAAO;;cAHR,MAAM;eACL,MAAM;eACN,OAAO;eACP,OAAO;;
|
1
|
+
{"version":3,"file":"FilePickerSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerSvg.vue"],"names":[],"mappings":";cA4FY,MAAM;eACL,MAAM;eACN,OAAO;eACP,OAAO;;cAHR,MAAM;eACL,MAAM;eACN,OAAO;eACP,OAAO;;AAwHpB,wBAMG"}
|
@@ -1,29 +1,25 @@
|
|
1
1
|
declare function __VLS_template(): {
|
2
|
-
|
2
|
+
slots: {
|
3
|
+
bottom?(_: {}): any;
|
4
|
+
};
|
5
|
+
refs: {};
|
6
|
+
attrs: Partial<{}>;
|
3
7
|
};
|
4
|
-
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
5
10
|
defaultQueryFields?: string[];
|
6
|
-
}
|
7
|
-
"update:count": (value: number) =>
|
8
|
-
}, string, import('vue').PublicProps, Readonly<
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
12
|
+
"update:count": (value: number) => any;
|
13
|
+
}, string, import('vue').PublicProps, Readonly<{
|
9
14
|
defaultQueryFields?: string[];
|
10
|
-
}
|
15
|
+
}> & Readonly<{
|
11
16
|
"onUpdate:count"?: ((value: number) => any) | undefined;
|
12
|
-
}, {}, {}>;
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
14
19
|
export default _default;
|
15
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
16
21
|
new (): {
|
17
22
|
$slots: S;
|
18
23
|
};
|
19
24
|
};
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
24
|
-
} : {
|
25
|
-
type: import('vue').PropType<T[K]>;
|
26
|
-
required: true;
|
27
|
-
};
|
28
|
-
};
|
29
25
|
//# sourceMappingURL=WFilterWrapper.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFilterWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilterWrapper/WFilterWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFilterWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilterWrapper/WFilterWrapper.vue"],"names":[],"mappings":"AAyLA,iBAAS,cAAc;;wBAuHK,GAAG;;;WASjB,OAAO,IAA6B;EAEjD;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;yBAxNE,MAAM,EAAE;;;;yBAAR,MAAM,EAAE;;;kFAiO7B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -7,9 +7,7 @@ import { Modal } from '../../utils/Modal.js';
|
|
7
7
|
import { throttle } from '../../utils/utils.js';
|
8
8
|
|
9
9
|
const _hoisted_1 = { class: "flex flex-col pb-16" };
|
10
|
-
const _hoisted_2 =
|
11
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "h-0.5 bg-gray-400 rounded my-8 -mx--inner-margin" }, null, -1);
|
12
|
-
const _hoisted_4 = { class: "grid grid-cols-2 gap-4 -px--inner-margin" };
|
10
|
+
const _hoisted_2 = { class: "grid grid-cols-2 gap-4 -px--inner-margin" };
|
13
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
12
|
__name: "WFilterWrapper",
|
15
13
|
props: {
|
@@ -57,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
57
55
|
});
|
58
56
|
return (_ctx, _cache) => {
|
59
57
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
60
|
-
|
58
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "text-accent text-2xl font-semibold -h--header-height -mx--inner-margin flex items-center" }, " Filters ", -1)),
|
61
59
|
createElementVNode("div", null, [
|
62
60
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.$slots.default?.(), (slot, index) => {
|
63
61
|
return openBlock(), createBlock(resolveDynamicComponent(slot), {
|
@@ -68,8 +66,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
68
66
|
}, null, 40, ["is-open", "onToggle", "onUpdate:hasChanges"]);
|
69
67
|
}), 128))
|
70
68
|
]),
|
71
|
-
|
72
|
-
createElementVNode("div",
|
69
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "h-0.5 bg-gray-400 rounded my-8 -mx--inner-margin" }, null, -1)),
|
70
|
+
createElementVNode("div", _hoisted_2, [
|
73
71
|
renderSlot(_ctx.$slots, "bottom"),
|
74
72
|
createVNode(_sfc_main$1, {
|
75
73
|
"semantic-type": unref(SemanticType).SECONDARY,
|
@@ -79,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
79
77
|
}, {
|
80
78
|
default: withCtx(() => [
|
81
79
|
createVNode(unref(IconFilterRemove)),
|
82
|
-
createTextVNode(" Reset Filters ")
|
80
|
+
_cache[0] || (_cache[0] = createTextVNode(" Reset Filters "))
|
83
81
|
]),
|
84
82
|
_: 1
|
85
83
|
}, 8, ["semantic-type", "disabled"])
|
@@ -1,10 +1,15 @@
|
|
1
1
|
declare function __VLS_template(): {
|
2
|
-
|
2
|
+
slots: {
|
3
|
+
default?(_: {}): any;
|
4
|
+
};
|
5
|
+
refs: {};
|
6
|
+
attrs: Partial<{}>;
|
3
7
|
};
|
4
|
-
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
5
10
|
name?: string;
|
6
11
|
title?: string;
|
7
|
-
}
|
12
|
+
}, {
|
8
13
|
isValid: import('vue').ComputedRef<boolean>;
|
9
14
|
validate: (silent?: boolean, path?: import('./use/useFormValidateMap').ValidatePath) => string | undefined;
|
10
15
|
invalidate: (payload: {
|
@@ -12,30 +17,21 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOp
|
|
12
17
|
}) => void;
|
13
18
|
initModel: () => void;
|
14
19
|
errorMessage: import('vue').ComputedRef<string>;
|
15
|
-
},
|
16
|
-
"update:
|
17
|
-
"update:
|
18
|
-
}, string, import('vue').PublicProps, Readonly<
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
21
|
+
"update:has-changes": (value: boolean) => any;
|
22
|
+
"update:is-valid": (value: boolean | undefined) => any;
|
23
|
+
}, string, import('vue').PublicProps, Readonly<{
|
19
24
|
name?: string;
|
20
25
|
title?: string;
|
21
|
-
}
|
26
|
+
}> & Readonly<{
|
22
27
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
23
28
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
24
|
-
}, {}, {}>;
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
29
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
26
31
|
export default _default;
|
27
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
28
33
|
new (): {
|
29
34
|
$slots: S;
|
30
35
|
};
|
31
36
|
};
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
33
|
-
type __VLS_TypePropsToOption<T> = {
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
36
|
-
} : {
|
37
|
-
type: import('vue').PropType<T[K]>;
|
38
|
-
required: true;
|
39
|
-
};
|
40
|
-
};
|
41
37
|
//# sourceMappingURL=WForm.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WForm.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WForm.vue"],"names":[],"mappings":"AAuJA,iBAAS,cAAc;;yBA0BM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAtHZ,MAAM;YACL,MAAM;;;;;;;;;;;;;WADP,MAAM;YACL,MAAM;;;;kFAgId,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,47 +1,45 @@
|
|
1
|
-
declare function __VLS_template():
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
slots: Readonly<{
|
3
|
+
default: () => void;
|
4
|
+
}> & {
|
5
|
+
default: () => void;
|
6
|
+
};
|
7
|
+
refs: {
|
8
|
+
componentRef: unknown;
|
9
|
+
};
|
10
|
+
attrs: Partial<{}>;
|
5
11
|
};
|
6
|
-
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
7
14
|
name?: string;
|
8
15
|
title?: string;
|
9
16
|
validate?: ValidateFn | ValidateFn[];
|
10
17
|
forbiddenRegexp?: RegExp;
|
11
18
|
requiredSymbols?: string;
|
12
19
|
noChanges?: boolean;
|
13
|
-
}
|
20
|
+
}, {
|
14
21
|
validateOnUpdate(): string | undefined;
|
15
22
|
invalidate(message: string): void;
|
16
23
|
initModel: () => void;
|
17
|
-
},
|
18
|
-
"update:has-changes": (value: boolean) =>
|
19
|
-
"update:is-valid": (value: boolean) =>
|
20
|
-
}, string, import('vue').PublicProps, Readonly<
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
25
|
+
"update:has-changes": (value: boolean) => any;
|
26
|
+
"update:is-valid": (value: boolean) => any;
|
27
|
+
}, string, import('vue').PublicProps, Readonly<{
|
21
28
|
name?: string;
|
22
29
|
title?: string;
|
23
30
|
validate?: ValidateFn | ValidateFn[];
|
24
31
|
forbiddenRegexp?: RegExp;
|
25
32
|
requiredSymbols?: string;
|
26
33
|
noChanges?: boolean;
|
27
|
-
}
|
34
|
+
}> & Readonly<{
|
28
35
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
29
36
|
"onUpdate:is-valid"?: ((value: boolean) => any) | undefined;
|
30
|
-
}, {}, {}>;
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
32
39
|
export default _default;
|
33
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
34
41
|
new (): {
|
35
42
|
$slots: S;
|
36
43
|
};
|
37
44
|
};
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
39
|
-
type __VLS_TypePropsToOption<T> = {
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
42
|
-
} : {
|
43
|
-
type: import('vue').PropType<T[K]>;
|
44
|
-
required: true;
|
45
|
-
};
|
46
|
-
};
|
47
45
|
//# sourceMappingURL=WFormValidator.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"AA4iBA,iBAAS,cAAc;;iBAZZ,MAAM,IAAI;;iBAAV,MAAM,IAAI;;;;;WA2GP,OAAO,IAA6B;EAEjD;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAnYZ,MAAM;YACL,MAAM;eACH,UAAU,GAAG,UAAU,EAAE;sBAClB,MAAM;sBACN,MAAM;gBACZ,OAAO;;;wBA4OC,MAAM;qBA/DN,IAAI;;;;;WAlLjB,MAAM;YACL,MAAM;eACH,UAAU,GAAG,UAAU,EAAE;sBAClB,MAAM;sBACN,MAAM;gBACZ,OAAO;;;;kFAyYnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -3,6 +3,7 @@ import { wFormTitleUpdater, wFormErrorMessageUpdater, wFormHasChangesUpdater, wF
|
|
3
3
|
import { useTabActiveListener } from '../Tabs/use/useTabActiveListener.js';
|
4
4
|
import { scrollToValidator } from './models/utils.js';
|
5
5
|
import { useIsInsideTab } from '../Tabs/use/useIsInsideTab.js';
|
6
|
+
import { validateRequired } from '../../utils/validate.js';
|
6
7
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
9
|
__name: "WFormValidator",
|
@@ -61,10 +62,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
61
62
|
}
|
62
63
|
};
|
63
64
|
const _validate = (value) => {
|
64
|
-
|
65
|
-
|
66
|
-
return message2;
|
67
|
-
}
|
65
|
+
const requiredMessage = required.value ? validateRequired(value) : void 0;
|
66
|
+
if (requiredMessage) return requiredMessage;
|
68
67
|
if (props.forbiddenRegexp && typeof value === "string") {
|
69
68
|
const match = value.match(props.forbiddenRegexp);
|
70
69
|
if (match?.length) {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { InjectionKey } from 'vue';
|
2
|
-
|
3
2
|
export declare const wFormTitleUpdater: InjectionKey<(key: string, value: string | undefined) => void>;
|
4
3
|
export declare const wFormErrorMessageUpdater: InjectionKey<(key: string, value: string | undefined) => void>;
|
5
4
|
export declare const wFormHasChangesUpdater: InjectionKey<(key: string, value: boolean) => void>;
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
|
3
2
|
export declare const useFormErrorMessageMap: (name: Ref<string | undefined>, titleGetter: (key: string) => string) => {
|
4
3
|
errorMessageMapUnlistener: (key: string) => void;
|
5
4
|
isValid: import('vue').ComputedRef<boolean>;
|
6
5
|
errorMessage: import('vue').ComputedRef<string>;
|
7
|
-
errorMessageMap: Ref<Record<string, string>>;
|
6
|
+
errorMessageMap: Ref<Record<string, string>, Record<string, string>>;
|
8
7
|
};
|
9
8
|
//# sourceMappingURL=useFormErrorMessageMap.d.ts.map
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { FormAsyncButtonGroupProps } from './types';
|
2
|
+
declare const _default: <Model, FieldType extends string | number | boolean | null, QueryParams, Entity extends Record<string, unknown>, ValueGetter extends {
|
3
|
+
fn(value: Entity): FieldType;
|
4
|
+
}["fn"] | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{}>, never>, never> & FormAsyncButtonGroupProps<Model, FieldType, QueryParams, Entity, ValueGetter>> & import('vue').PublicProps;
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
7
|
+
attrs: any;
|
8
|
+
slots: {
|
9
|
+
default?(_: {
|
10
|
+
option: FieldType | Entity | (ValueGetter extends undefined ? FieldType : Entity);
|
11
|
+
selected: boolean;
|
12
|
+
}): any;
|
13
|
+
};
|
14
|
+
emit: {};
|
15
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
16
|
+
[key: string]: any;
|
17
|
+
}> & {
|
18
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
19
|
+
};
|
20
|
+
export default _default;
|
21
|
+
type __VLS_PrettifyLocal<T> = {
|
22
|
+
[K in keyof T]: T[K];
|
23
|
+
} & {};
|
24
|
+
//# sourceMappingURL=WFormAsyncButtonGroup.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WFormAsyncButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormAsync/WFormAsyncButtonGroup.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,SAAS,CAAA;yBAOrC,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,2BACvL,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqKxD,mBAAmB,CAAC,8PAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;YA7BgB,GAAG;;UA+BvB,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/KvE,wBA+K4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import { defineComponent, toRef, ref, computed, onBeforeUnmount, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
|
2
|
+
import { Notify } from '../../utils/Notify.js';
|
3
|
+
import _sfc_main$1 from '../Button/WButtonGroup.vue.js';
|
4
|
+
import { get, set } from '../../utils/utils.js';
|
5
|
+
import { handleApiError } from '../../utils/api.js';
|
6
|
+
import { Modal } from '../../utils/Modal.js';
|
7
|
+
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
|
+
__name: "WFormAsyncButtonGroup",
|
10
|
+
props: {
|
11
|
+
useQueryFn: {},
|
12
|
+
noParams: { type: Boolean },
|
13
|
+
queryParams: {},
|
14
|
+
queryEnabled: { type: Boolean },
|
15
|
+
field: {},
|
16
|
+
apiMethod: { type: Function },
|
17
|
+
confimGetter: { type: Function },
|
18
|
+
list: {},
|
19
|
+
valueGetter: { type: Function },
|
20
|
+
optionComponent: {},
|
21
|
+
minimize: { type: Boolean },
|
22
|
+
wrap: { type: Boolean },
|
23
|
+
col: { type: Boolean },
|
24
|
+
semanticType: {},
|
25
|
+
stretch: { type: Boolean },
|
26
|
+
alwaysEmit: { type: Boolean },
|
27
|
+
title: {},
|
28
|
+
description: {},
|
29
|
+
errorMessage: {},
|
30
|
+
tooltipText: {},
|
31
|
+
maxLength: {},
|
32
|
+
mono: { type: Boolean },
|
33
|
+
hasChanges: { type: Boolean },
|
34
|
+
skeleton: { type: Boolean },
|
35
|
+
disabled: { type: Boolean },
|
36
|
+
required: { type: Boolean },
|
37
|
+
noMargin: { type: Boolean },
|
38
|
+
allowCopy: { type: Boolean }
|
39
|
+
},
|
40
|
+
setup(__props) {
|
41
|
+
const props = __props;
|
42
|
+
const { data, setData, isLoadingError } = props.noParams === true ? props.useQueryFn({ enabled: toRef(props, "queryEnabled") }) : props.useQueryFn(toRef(props, "queryParams"), { enabled: toRef(props, "queryEnabled") });
|
43
|
+
const submittingItem = ref();
|
44
|
+
const modelValue = computed(() => get(data.value ?? {}, props.field) ?? null);
|
45
|
+
const save = (value) => {
|
46
|
+
if (submittingItem.value !== void 0) return;
|
47
|
+
submittingItem.value = value;
|
48
|
+
return props.apiMethod(set({}, props.field, value)).then((response) => {
|
49
|
+
setData(response.data);
|
50
|
+
Notify.success({ title: "Saved" });
|
51
|
+
}).catch((error) => handleApiError(error, void 0, props.field)).finally(() => {
|
52
|
+
submittingItem.value = void 0;
|
53
|
+
});
|
54
|
+
};
|
55
|
+
let closeModal = null;
|
56
|
+
const showModal = (value) => {
|
57
|
+
closeModal?.();
|
58
|
+
const confirmProps = props.confimGetter?.(value);
|
59
|
+
if (!confirmProps) {
|
60
|
+
save(value);
|
61
|
+
return;
|
62
|
+
}
|
63
|
+
closeModal = Modal.addConfirm({
|
64
|
+
...confirmProps,
|
65
|
+
onAccept: () => {
|
66
|
+
return save(value);
|
67
|
+
}
|
68
|
+
}, () => closeModal = null);
|
69
|
+
};
|
70
|
+
onBeforeUnmount(() => {
|
71
|
+
closeModal?.();
|
72
|
+
closeModal = null;
|
73
|
+
});
|
74
|
+
return (_ctx, _cache) => {
|
75
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
76
|
+
...props,
|
77
|
+
modelValue: modelValue.value,
|
78
|
+
list: _ctx.list,
|
79
|
+
optionComponent: _ctx.optionComponent,
|
80
|
+
loading: submittingItem.value,
|
81
|
+
disabled: _ctx.disabled || unref(isLoadingError),
|
82
|
+
skeleton: _ctx.skeleton || !unref(data)
|
83
|
+
}, {
|
84
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showModal($event))
|
85
|
+
}), createSlots({ _: 2 }, [
|
86
|
+
_ctx.$slots.option ? {
|
87
|
+
name: "option",
|
88
|
+
fn: withCtx(({ option, selected }) => [
|
89
|
+
renderSlot(_ctx.$slots, "default", {
|
90
|
+
option,
|
91
|
+
selected
|
92
|
+
})
|
93
|
+
]),
|
94
|
+
key: "0"
|
95
|
+
} : void 0
|
96
|
+
]), 1040);
|
97
|
+
};
|
98
|
+
}
|
99
|
+
});
|
100
|
+
|
101
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { FormAsyncInputProps } from './types';
|
2
|
+
declare const _default: <Model, FieldType extends string | number, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
4
|
+
readonly onSuccess?: ((value: Model) => any) | undefined;
|
5
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
6
|
+
onSuccess?: ((value: Model) => any) | undefined;
|
7
|
+
}>, never>, "onSuccess"> & FormAsyncInputProps<Model, FieldType, QueryParams>> & import('vue').PublicProps;
|
8
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
9
|
+
attrs: any;
|
10
|
+
slots: {
|
11
|
+
title?(_: {}): any;
|
12
|
+
subtitle?(_: {}): any;
|
13
|
+
right?(_: {}): any;
|
14
|
+
};
|
15
|
+
emit: (e: "success", value: Model) => void;
|
16
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
17
|
+
[key: string]: any;
|
18
|
+
}> & {
|
19
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
20
|
+
};
|
21
|
+
export default _default;
|
22
|
+
type __VLS_PrettifyLocal<T> = {
|
23
|
+
[K in keyof T]: T[K];
|
24
|
+
} & {};
|
25
|
+
//# sourceMappingURL=WFormAsyncInput.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WFormAsyncInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormAsync/WFormAsyncInput.vue"],"names":[],"mappings":"AA8HA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;yBAI/B,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,EAAE,WAAW,eACxD,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+MxD,mBAAmB,CAAC;;;;iFAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAnCc,GAAG;0BACA,GAAG;uBACN,GAAG;;cAvKxB,SAAS,SAAS,KAAK,KAAG,IAAI;;;;YA6MQ,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzNvE,wBAyN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|