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
@@ -1,19 +1,19 @@
|
|
1
|
-
declare const _default: <Model extends number | string, Data extends DefaultData,
|
2
|
-
props:
|
1
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, 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<{
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
|
+
readonly onSelect?: ((value: Model) => any) | undefined;
|
4
|
+
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
5
|
+
readonly "onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
|
6
|
+
readonly onUnselect?: ((value: Model) => any) | undefined;
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
3
8
|
onSelect?: ((value: Model) => any) | undefined;
|
4
9
|
"onUpdate:count"?: ((value: number) => any) | undefined;
|
5
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
6
10
|
"onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
|
7
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
8
|
-
onSelect?: ((value: Model) => any) | undefined;
|
9
|
-
"onUpdate:count"?: ((value: number) => any) | undefined;
|
10
11
|
onUnselect?: ((value: Model) => any) | undefined;
|
11
|
-
|
12
|
-
}, never>, "onSelect" | "onUpdate:count" | "onUnselect" | "onUpdate:model-value"> & {
|
12
|
+
}>, never>, "onSelect" | "onUpdate:count" | "onUnselect" | "onUpdate:model-value"> & {
|
13
13
|
title?: string;
|
14
14
|
emptyStub?: string;
|
15
15
|
modelValue: Model[];
|
16
|
-
useQueryFn: UseQueryPaginated<Data,
|
16
|
+
useQueryFn: UseQueryPaginated<Data, QueryParams>;
|
17
17
|
isInvalidPage: (error: unknown) => boolean;
|
18
18
|
queryParams: QueryParams;
|
19
19
|
skeleton?: boolean;
|
@@ -22,11 +22,11 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
22
22
|
unselectOnly?: boolean;
|
23
23
|
hideOptionIcon?: boolean;
|
24
24
|
valueGetter?: (data: Data) => Model;
|
25
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data,
|
25
|
+
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
|
26
26
|
}> & import('vue').PublicProps;
|
27
27
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
28
28
|
attrs: any;
|
29
|
-
slots:
|
29
|
+
slots: Readonly<{
|
30
30
|
default?: (props: {
|
31
31
|
option: Data | null;
|
32
32
|
selected: boolean;
|
@@ -40,20 +40,20 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
40
40
|
skeleton: boolean;
|
41
41
|
model: boolean;
|
42
42
|
}) => void;
|
43
|
-
}
|
43
|
+
};
|
44
44
|
emit: {
|
45
45
|
(e: "select", value: Model): void;
|
46
46
|
(e: "unselect", value: Model): void;
|
47
47
|
(e: "update:model-value", value: Model[]): void;
|
48
48
|
(e: "update:count", value: number): void;
|
49
|
-
}
|
49
|
+
};
|
50
50
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
51
51
|
[key: string]: any;
|
52
52
|
}> & {
|
53
53
|
__ctx?: Awaited<typeof __VLS_setup>;
|
54
54
|
};
|
55
55
|
export default _default;
|
56
|
-
type
|
56
|
+
type __VLS_PrettifyLocal<T> = {
|
57
57
|
[K in keyof T]: T[K];
|
58
58
|
} & {};
|
59
59
|
//# sourceMappingURL=WSelectAsyncList.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncList.vue"],"names":[],"mappings":"yBA2GiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"WSelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncList.vue"],"names":[],"mappings":"yBA2GiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAA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AC/B,oBAAoB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC3C,cAAc,SAAS,MAAM,GAAG,IAAI;;;;;YA8ME,OAAO,CAAC,OAAO,WAAW,CAAC;;AAlPvE,wBAkP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,20 +1,17 @@
|
|
1
1
|
import { SelectAsyncSingleProps, SelectOptionComponent } from './types';
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean = false>(__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 "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
|
5
|
+
readonly "onCreate:option"?: ((value: string) => any) | undefined;
|
6
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
5
7
|
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
|
6
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
7
8
|
"onCreate:option"?: ((value: string) => any) | undefined;
|
8
|
-
}
|
9
|
-
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
|
10
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
11
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
12
|
-
}, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectAsyncSingleProps<Model, Data, ApiError, QueryParams, OptionComponent, AllowClear>> & import('vue').PublicProps;
|
9
|
+
}>, never>, "onUpdate:modelValue" | "onCreate:option"> & SelectAsyncSingleProps<Model, Data, QueryParams, OptionComponent, AllowClear>> & import('vue').PublicProps;
|
13
10
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
14
11
|
blur: () => void;
|
15
12
|
}>): void;
|
16
13
|
attrs: any;
|
17
|
-
slots:
|
14
|
+
slots: {
|
18
15
|
title?(_: {}): any;
|
19
16
|
subtitle?(_: {}): any;
|
20
17
|
option?(_: {
|
@@ -23,19 +20,18 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
23
20
|
model: boolean;
|
24
21
|
}): any;
|
25
22
|
right?(_: {}): any;
|
26
|
-
}
|
23
|
+
};
|
27
24
|
emit: {
|
28
25
|
(e: "update:modelValue", value: AllowClear extends true ? Model | null : Model): void;
|
29
|
-
(e: "update:search", value: string): void;
|
30
26
|
(e: "create:option", value: string): void;
|
31
|
-
}
|
27
|
+
};
|
32
28
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
33
29
|
[key: string]: any;
|
34
30
|
}> & {
|
35
31
|
__ctx?: Awaited<typeof __VLS_setup>;
|
36
32
|
};
|
37
33
|
export default _default;
|
38
|
-
type
|
34
|
+
type __VLS_PrettifyLocal<T> = {
|
39
35
|
[K in keyof T]: T[K];
|
40
36
|
} & {};
|
41
37
|
//# sourceMappingURL=WSelectAsyncSingle.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGzD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBACxJ,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;WA2MxD,mBAAmB,CAAC;;;;;;0IAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBApCe,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;;;YAjKzB,mBAAmB,0DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;YAsMC,OAAO,CAAC,OAAO,WAAW,CAAC;;AArNvE,wBAqN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -10,14 +10,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
searchModel: { type: Boolean },
|
11
11
|
previewData: {},
|
12
12
|
createdData: {},
|
13
|
-
|
13
|
+
useQueryFnOptions: {},
|
14
14
|
useQueryFnPrefix: {},
|
15
15
|
isInvalidPage: { type: Function },
|
16
16
|
queryParams: {},
|
17
|
-
valueGetter: { type: Function },
|
18
17
|
valueQueryKey: {},
|
19
18
|
queryOptions: {},
|
20
|
-
|
19
|
+
valueGetter: { type: Function },
|
21
20
|
emptyStub: {},
|
22
21
|
hidePrefix: { type: Boolean },
|
23
22
|
allowCreate: { type: Boolean },
|
@@ -61,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
61
60
|
optionComponent: {},
|
62
61
|
optionComponentProps: {}
|
63
62
|
},
|
64
|
-
emits: ["update:modelValue", "
|
63
|
+
emits: ["update:modelValue", "create:option"],
|
65
64
|
setup(__props, { expose: __expose, emit: __emit }) {
|
66
65
|
const props = __props;
|
67
66
|
const emit = __emit;
|
@@ -75,7 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
74
|
};
|
76
75
|
const blur = () => {
|
77
76
|
selectComponent.value?.blur();
|
78
|
-
emit("update:search", "");
|
79
77
|
};
|
80
78
|
watch(toRef(props, "modelValue"), blur);
|
81
79
|
__expose({
|
@@ -96,8 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
94
|
class: _ctx.$attrs.class,
|
97
95
|
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
98
96
|
onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null)),
|
99
|
-
"
|
100
|
-
"onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
|
97
|
+
"onCreate:option": _cache[2] || (_cache[2] = ($event) => createOption($event))
|
101
98
|
}), createSlots({
|
102
99
|
option: withCtx(({ option, selected, model }) => [
|
103
100
|
renderSlot(_ctx.$slots, "option", {
|
@@ -1,41 +1,40 @@
|
|
1
1
|
import { SelectSingleProps, SelectOptionComponent } from './types';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
"
|
6
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
2
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean = false>(__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 "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
|
5
|
+
readonly "onCreate:option"?: ((value: string) => any) | undefined;
|
6
|
+
readonly "onUpdate:search"?: ((value: string) => any) | undefined;
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
8
|
+
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
|
7
9
|
"onCreate:option"?: ((value: string) => any) | undefined;
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
9
|
-
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
|
10
10
|
"onUpdate:search"?: ((value: string) => any) | undefined;
|
11
|
-
|
12
|
-
}, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectSingleProps<Option, OptionComponent, AllowClear>> & import('vue').PublicProps;
|
11
|
+
}>, never>, "onUpdate:modelValue" | "onCreate:option" | "onUpdate:search"> & SelectSingleProps<Model, Data, OptionComponent, AllowClear>> & import('vue').PublicProps;
|
13
12
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
14
13
|
blur: () => void;
|
15
14
|
}>): void;
|
16
15
|
attrs: any;
|
17
|
-
slots:
|
16
|
+
slots: {
|
18
17
|
title?(_: {}): any;
|
19
18
|
subtitle?(_: {}): any;
|
20
19
|
option?(_: {
|
21
|
-
option: string |
|
20
|
+
option: string | Data;
|
22
21
|
selected: boolean;
|
23
22
|
model: boolean;
|
24
23
|
}): any;
|
25
24
|
right?(_: {}): any;
|
26
|
-
}
|
25
|
+
};
|
27
26
|
emit: {
|
28
|
-
(e: "update:modelValue", value: AllowClear extends true ?
|
27
|
+
(e: "update:modelValue", value: AllowClear extends true ? Model | null : Model): void;
|
29
28
|
(e: "update:search", value: string): void;
|
30
29
|
(e: "create:option", value: string): void;
|
31
|
-
}
|
30
|
+
};
|
32
31
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
33
32
|
[key: string]: any;
|
34
33
|
}> & {
|
35
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
36
35
|
};
|
37
36
|
export default _default;
|
38
|
-
type
|
37
|
+
type __VLS_PrettifyLocal<T> = {
|
39
38
|
[K in keyof T]: T[K];
|
40
39
|
} & {};
|
41
40
|
//# sourceMappingURL=WSelectSingle.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGpD,
|
1
|
+
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGpD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBAC3I,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;WAwOxD,mBAAmB,CAAC;;;;;;;;4IAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAtCe,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;;;YA5LzB,mBAAmB,0DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;YAkOC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAlPvE,wBAkP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -8,8 +8,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
modelValue: {},
|
9
9
|
allowClear: { type: Boolean },
|
10
10
|
searchModel: { type: Boolean },
|
11
|
-
|
12
|
-
|
11
|
+
useQueryFnOptions: {},
|
12
|
+
valueGetter: { type: Function },
|
13
|
+
searchFn: { type: Function },
|
13
14
|
emptyStub: {},
|
14
15
|
hidePrefix: { type: Boolean },
|
15
16
|
allowCreate: { type: Boolean },
|
@@ -1,19 +1,19 @@
|
|
1
|
-
declare const _default: <Model extends number | string, Data extends DefaultData,
|
2
|
-
props:
|
1
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, 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<{
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
|
+
readonly onSelect?: ((value: Model) => any) | undefined;
|
4
|
+
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
5
|
+
readonly "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
6
|
+
readonly onUnselect?: ((value: Model) => any) | undefined;
|
7
|
+
readonly "onCreate:option"?: (() => any) | undefined;
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
3
9
|
onSelect?: ((value: Model) => any) | undefined;
|
4
10
|
"onUpdate:count"?: ((value: number) => any) | undefined;
|
5
11
|
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
6
12
|
onUnselect?: ((value: Model) => any) | undefined;
|
7
13
|
"onCreate:option"?: (() => any) | undefined;
|
8
|
-
}
|
9
|
-
onSelect?: ((value: Model) => any) | undefined;
|
10
|
-
"onUpdate:count"?: ((value: number) => any) | undefined;
|
11
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
12
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
13
|
-
"onCreate:option"?: (() => any) | undefined;
|
14
|
-
}, never>, "onSelect" | "onUpdate:count" | "onUpdate:modelValue" | "onUnselect" | "onCreate:option"> & {
|
14
|
+
}>, never>, "onSelect" | "onUpdate:count" | "onUpdate:modelValue" | "onUnselect" | "onCreate:option"> & {
|
15
15
|
modelValue: Model[];
|
16
|
-
useQueryFn: UseQueryPaginated<Data,
|
16
|
+
useQueryFn: UseQueryPaginated<Data, QueryParams>;
|
17
17
|
queryParams: QueryParams;
|
18
18
|
isInvalidPage: (error: unknown) => boolean;
|
19
19
|
scrollingElement?: Element | null;
|
@@ -28,7 +28,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
28
28
|
allowCreate?: boolean;
|
29
29
|
hideOptionIcon?: boolean;
|
30
30
|
valueGetter: (data: Data) => Model;
|
31
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data,
|
31
|
+
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
|
32
32
|
}> & import('vue').PublicProps;
|
33
33
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
34
34
|
cursorUp: () => void;
|
@@ -36,7 +36,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
36
36
|
selectCursor: () => void;
|
37
37
|
}>): void;
|
38
38
|
attrs: any;
|
39
|
-
slots:
|
39
|
+
slots: Readonly<{
|
40
40
|
default?: (props: {
|
41
41
|
option: Data | null;
|
42
42
|
selected: boolean;
|
@@ -48,21 +48,21 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
48
48
|
selected: boolean;
|
49
49
|
skeleton: boolean;
|
50
50
|
}) => void;
|
51
|
-
}
|
51
|
+
};
|
52
52
|
emit: {
|
53
53
|
(e: "select", value: Model): void;
|
54
54
|
(e: "unselect", value: Model): void;
|
55
55
|
(e: "update:count", value: number): void;
|
56
56
|
(e: "update:modelValue", value: Model[]): void;
|
57
57
|
(e: "create:option"): void;
|
58
|
-
}
|
58
|
+
};
|
59
59
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
60
60
|
[key: string]: any;
|
61
61
|
}> & {
|
62
62
|
__ctx?: Awaited<typeof __VLS_setup>;
|
63
63
|
};
|
64
64
|
export default _default;
|
65
|
-
type
|
65
|
+
type __VLS_PrettifyLocal<T> = {
|
66
66
|
[K in keyof T]: T[K];
|
67
67
|
} & {};
|
68
68
|
//# sourceMappingURL=SelectAsyncList.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"yBAwNiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"yBAwNiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,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B,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,GAAG,IAAI;;;;;YAuegB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvgBvE,wBAugB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, renderSlot, createBlock,
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, renderSlot, createBlock, createElementVNode, createCommentVNode } from 'vue';
|
2
2
|
import _sfc_main$2 from './SelectOption.vue.js';
|
3
3
|
import _sfc_main$1 from '../../InfiniteList/WInfiniteList.vue.js';
|
4
4
|
import { debounce } from '../../../utils/utils.js';
|
5
5
|
|
6
|
-
const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", { class: "w-select-field pr-2 sm-not:px-3" }, " Create: ", -1);
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
7
|
__name: "SelectAsyncList",
|
9
8
|
props: {
|
@@ -139,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
139
138
|
"onUpdate:isCursor": updateCursors,
|
140
139
|
"onUpdate:previous": _cache[0] || (_cache[0] = ($event) => cursorPrevious.value = $event),
|
141
140
|
"onUpdate:next": _cache[1] || (_cache[1] = ($event) => cursorNext.value = $event),
|
142
|
-
onUnmounted: ($event) =>
|
141
|
+
onUnmounted: ($event) => cursor.value = resetting ? void 0 : next ? _ctx.valueGetter(next) : void 0,
|
143
142
|
"onUpdate:first": ($event) => firstItem.value = _ctx.valueGetter(item),
|
144
143
|
"onUpdate:last": ($event) => lastItem.value = _ctx.valueGetter(item)
|
145
144
|
}, {
|
@@ -178,9 +177,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
178
177
|
"onUpdate:next": _cache[8] || (_cache[8] = ($event) => cursorNext.value = $event),
|
179
178
|
onUnmounted: _cache[9] || (_cache[9] = ($event) => cursor.value = void 0)
|
180
179
|
}, {
|
181
|
-
prefix: withCtx(() => [
|
182
|
-
|
183
|
-
]),
|
180
|
+
prefix: withCtx(() => _cache[10] || (_cache[10] = [
|
181
|
+
createElementVNode("span", { class: "w-select-field pr-2 sm-not:px-3" }, " Create: ", -1)
|
182
|
+
])),
|
184
183
|
default: withCtx(() => [
|
185
184
|
renderSlot(_ctx.$slots, "default", {
|
186
185
|
option: null,
|
@@ -1,40 +1,41 @@
|
|
1
1
|
import { SelectAsyncPrefixProps, SelectOptionComponent } from '../types';
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__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 "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
5
|
+
readonly onUnselect?: ((value: Model) => any) | undefined;
|
6
|
+
readonly "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
5
8
|
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
6
9
|
onUnselect?: ((value: Model) => any) | undefined;
|
7
10
|
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
8
|
-
}
|
9
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
10
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
11
|
-
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
12
|
-
}, never>, "onUpdate:modelValue" | "onUnselect" | "onUpdate:fetching"> & SelectAsyncPrefixProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
|
11
|
+
}>, never>, "onUpdate:modelValue" | "onUnselect" | "onUpdate:fetching"> & SelectAsyncPrefixProps<Model, Data, QueryParams, OptionComponent>> & import('vue').PublicProps;
|
13
12
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
14
13
|
attrs: any;
|
15
|
-
slots:
|
14
|
+
slots: Readonly<{
|
16
15
|
default?: (props: {
|
17
16
|
option: Data;
|
18
17
|
skeleton: boolean;
|
18
|
+
index: number;
|
19
19
|
}) => void;
|
20
20
|
}> & {
|
21
21
|
default?: (props: {
|
22
22
|
option: Data;
|
23
23
|
skeleton: boolean;
|
24
|
+
index: number;
|
24
25
|
}) => void;
|
25
|
-
}
|
26
|
+
};
|
26
27
|
emit: {
|
27
28
|
(e: "unselect", value: Model): void;
|
28
29
|
(e: "update:fetching", value: boolean): void;
|
29
30
|
(e: "update:modelValue", value: Model[]): void;
|
30
|
-
}
|
31
|
+
};
|
31
32
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
32
33
|
[key: string]: any;
|
33
34
|
}> & {
|
34
35
|
__ctx?: Awaited<typeof __VLS_setup>;
|
35
36
|
};
|
36
37
|
export default _default;
|
37
|
-
type
|
38
|
+
type __VLS_PrettifyLocal<T> = {
|
38
39
|
[K in keyof T]: T[K];
|
39
40
|
} & {};
|
40
41
|
//# sourceMappingURL=SelectAsyncPrefix.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefix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AC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -53,9 +53,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
53
|
onUnselect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("unselect", $event)),
|
54
54
|
"onUpdate:fetching": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:fetching", $event))
|
55
55
|
}, {
|
56
|
-
default: withCtx(({ option, skeleton }) => [
|
56
|
+
default: withCtx(({ option, skeleton, index }) => [
|
57
57
|
renderSlot(_ctx.$slots, "default", {
|
58
58
|
option,
|
59
|
+
index,
|
59
60
|
skeleton
|
60
61
|
})
|
61
62
|
]),
|
@@ -1,40 +1,41 @@
|
|
1
1
|
import { SelectAsyncPrefixPageProps, SelectOptionComponent } from '../types';
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
declare const _default: <Model extends string | number, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__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 onUnselect?: ((value: Model) => any) | undefined;
|
5
|
+
readonly "onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
6
|
+
readonly "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
5
8
|
onUnselect?: ((value: Model) => any) | undefined;
|
6
9
|
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
7
10
|
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
8
|
-
}
|
9
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
10
|
-
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
11
|
-
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
12
|
-
}, never>, "onUnselect" | "onUpdate:pages-count" | "onUpdate:fetching"> & SelectAsyncPrefixPageProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
|
11
|
+
}>, never>, "onUnselect" | "onUpdate:pages-count" | "onUpdate:fetching"> & SelectAsyncPrefixPageProps<Model, Data, QueryParams, OptionComponent>> & import('vue').PublicProps;
|
13
12
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
14
13
|
attrs: any;
|
15
|
-
slots:
|
14
|
+
slots: Readonly<{
|
16
15
|
default?: (props: {
|
17
16
|
option: Data;
|
18
17
|
skeleton: boolean;
|
18
|
+
index: number;
|
19
19
|
}) => void;
|
20
20
|
}> & {
|
21
21
|
default?: (props: {
|
22
22
|
option: Data;
|
23
23
|
skeleton: boolean;
|
24
|
+
index: number;
|
24
25
|
}) => void;
|
25
|
-
}
|
26
|
+
};
|
26
27
|
emit: {
|
27
28
|
(e: "unselect", value: Model): void;
|
28
29
|
(e: "update:pages-count", value: number): void;
|
29
30
|
(e: "update:fetching", value: boolean): void;
|
30
|
-
}
|
31
|
+
};
|
31
32
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
32
33
|
[key: string]: any;
|
33
34
|
}> & {
|
34
35
|
__ctx?: Awaited<typeof __VLS_setup>;
|
35
36
|
};
|
36
37
|
export default _default;
|
37
|
-
type
|
38
|
+
type __VLS_PrettifyLocal<T> = {
|
38
39
|
[K in keyof T]: T[K];
|
39
40
|
} & {};
|
40
41
|
//# sourceMappingURL=SelectAsyncPrefixPage.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefix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AC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
44
44
|
emit("update:fetching", false);
|
45
45
|
});
|
46
46
|
return (_ctx, _cache) => {
|
47
|
-
return openBlock(true), createElementBlock(Fragment, null, renderList([..._ctx.createdData ?? [], ..._ctx.previewData ?? unref(data)?.results ?? []], (option) => {
|
47
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList([..._ctx.createdData ?? [], ..._ctx.previewData ?? unref(data)?.results ?? []], (option, index) => {
|
48
48
|
return openBlock(), createElementBlock("div", {
|
49
49
|
key: _ctx.valueGetter(option),
|
50
50
|
class: normalizeClass(["relative flex overflow-hidden items-center text-description", {
|
@@ -54,10 +54,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
54
54
|
}, [
|
55
55
|
renderSlot(_ctx.$slots, "default", {
|
56
56
|
option,
|
57
|
+
index,
|
57
58
|
skeleton: false
|
58
59
|
}, () => [
|
59
|
-
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({
|
60
|
+
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({
|
61
|
+
key: 0,
|
62
|
+
ref_for: true
|
63
|
+
}, _ctx.optionComponentProps, {
|
60
64
|
option,
|
65
|
+
index,
|
61
66
|
selected: true,
|
62
67
|
model: true,
|
63
68
|
skeleton: false
|
@@ -79,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
79
84
|
]),
|
80
85
|
key: "0"
|
81
86
|
} : void 0
|
82
|
-
]), 1040, ["option"])) : createCommentVNode("", true)
|
87
|
+
]), 1040, ["option", "index"])) : createCommentVNode("", true)
|
83
88
|
]),
|
84
89
|
!_ctx.optionComponent && !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
85
90
|
key: 0,
|