eco-vue-js 0.3.71 → 0.3.73
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 +1 -1
- package/dist/assets/icons/default/IconArrow.svg.js +1 -1
- package/dist/assets/icons/default/IconAvatar.svg.js +1 -1
- package/dist/assets/icons/default/IconBack.svg.js +1 -1
- package/dist/assets/icons/default/IconCancel.svg.js +1 -1
- package/dist/assets/icons/default/IconCheck.svg.js +1 -1
- package/dist/assets/icons/default/IconDanger.svg.js +1 -1
- package/dist/assets/icons/default/IconDojo.svg.js +1 -1
- package/dist/assets/icons/default/IconEdit.svg.js +1 -1
- package/dist/assets/icons/default/IconFalsePositive.svg.js +1 -1
- package/dist/assets/icons/default/IconFeedback.svg.js +1 -1
- package/dist/assets/icons/default/IconFilter.svg.js +1 -1
- package/dist/assets/icons/default/IconInProgress.svg.js +1 -1
- package/dist/assets/icons/default/IconJira.svg.js +1 -1
- package/dist/assets/icons/default/IconLogout.svg.js +1 -1
- package/dist/assets/icons/default/IconMore.svg.js +1 -1
- package/dist/assets/icons/default/IconNotification.svg.js +1 -1
- package/dist/assets/icons/default/IconProfile.svg.js +1 -1
- package/dist/assets/icons/default/IconSearch.svg.js +1 -1
- package/dist/assets/icons/default/IconSettings.svg.js +1 -1
- package/dist/assets/icons/default/IconSort.svg.js +1 -1
- package/dist/assets/icons/default/IconStar.svg.js +1 -1
- package/dist/assets/icons/default/IconSuccess.svg.js +1 -1
- package/dist/assets/icons/default/IconTask.svg.js +1 -1
- package/dist/assets/icons/default/IconTime.svg.js +1 -1
- package/dist/assets/icons/default/IconWarn.svg.js +1 -1
- package/dist/assets/icons/sax/IconAdd.svg.js +1 -1
- package/dist/assets/icons/sax/IconAddCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconAddSquare.svg.js +1 -1
- package/dist/assets/icons/sax/IconAlarm.svg.js +1 -1
- package/dist/assets/icons/sax/IconArchiveBook.svg.js +1 -1
- package/dist/assets/icons/sax/IconCandle.svg.js +1 -1
- package/dist/assets/icons/sax/IconCelery.svg.js +1 -1
- package/dist/assets/icons/sax/IconChart.svg.js +1 -1
- package/dist/assets/icons/sax/IconCheckCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconCloseCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconCopy.svg.js +1 -1
- package/dist/assets/icons/sax/IconCopySuccess.svg.js +1 -1
- package/dist/assets/icons/sax/IconCopyright.svg.js +1 -1
- package/dist/assets/icons/sax/IconDedupe.svg.js +1 -1
- package/dist/assets/icons/sax/IconDojo.svg.js +1 -1
- package/dist/assets/icons/sax/IconEditCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconElement.svg.js +1 -1
- package/dist/assets/icons/sax/IconExport.svg.js +1 -1
- package/dist/assets/icons/sax/IconEye.svg.js +1 -1
- package/dist/assets/icons/sax/IconEyeSlash.svg.js +1 -1
- package/dist/assets/icons/sax/IconFilter.svg.js +1 -1
- package/dist/assets/icons/sax/IconFinding.svg.js +1 -1
- package/dist/assets/icons/sax/IconFolder.svg.js +1 -1
- package/dist/assets/icons/sax/IconFolderCross.svg.js +1 -1
- package/dist/assets/icons/sax/IconJira.svg.js +1 -1
- package/dist/assets/icons/sax/IconKey.svg.js +1 -1
- package/dist/assets/icons/sax/IconKeySquare.svg.js +1 -1
- package/dist/assets/icons/sax/IconLayer.svg.js +1 -1
- package/dist/assets/icons/sax/IconLink.svg.js +1 -1
- package/dist/assets/icons/sax/IconLinkBold.svg.js +1 -1
- package/dist/assets/icons/sax/IconLinkOutline.svg.js +1 -1
- package/dist/assets/icons/sax/IconLogout.svg.js +1 -1
- package/dist/assets/icons/sax/IconMenu.svg.js +1 -1
- package/dist/assets/icons/sax/IconMinusCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconNegate.svg.js +1 -1
- package/dist/assets/icons/sax/IconNegativeInfo.svg.js +1 -1
- package/dist/assets/icons/sax/IconNote.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineEdit.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineFolderAdd.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineStar.svg.js +1 -1
- package/dist/assets/icons/sax/IconPaste.svg.js +1 -1
- package/dist/assets/icons/sax/IconProfile.svg.js +1 -1
- package/dist/assets/icons/sax/IconRadar.svg.js +1 -1
- package/dist/assets/icons/sax/IconRefresh.svg.js +1 -1
- package/dist/assets/icons/sax/IconSearch.svg.js +1 -1
- package/dist/assets/icons/sax/IconSettings.svg.js +1 -1
- package/dist/assets/icons/sax/IconStar.svg.js +1 -1
- package/dist/assets/icons/sax/IconSummary.svg.js +1 -1
- package/dist/assets/icons/sax/IconTag.svg.js +1 -1
- package/dist/assets/icons/sax/IconTask.svg.js +1 -1
- package/dist/assets/icons/sax/IconTime.svg.js +1 -1
- package/dist/assets/icons/sax/IconTrash.svg.js +1 -1
- package/dist/assets/icons/sax/IconUser.svg.js +1 -1
- package/dist/assets/icons/sax/IconVersionControl.svg.js +1 -1
- package/dist/assets/icons/sax/IconWeight.svg.js +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +15 -12
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +2 -1
- package/dist/components/Button/WButton.vue.d.ts +56 -77
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +2 -1
- package/dist/components/Button/WButtonAction.vue.d.ts +47 -58
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.d.ts +13 -10
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.d.ts +43 -61
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +1 -1
- package/dist/components/Button/WButtonMore.vue.d.ts +14 -9
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +24 -41
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts +17 -16
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts +21 -32
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +31 -60
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +2 -1
- package/dist/components/Chip/WChip.vue.d.ts +18 -21
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.js +2 -1
- package/dist/components/Counter/WCounter.vue.d.ts +30 -25
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +15 -12
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +2 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +17 -18
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +2 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +27 -56
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +23 -38
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +15 -12
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +21 -32
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.js +2 -1
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +23 -42
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/models/types.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts +25 -48
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +2 -1
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +27 -54
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansion.vue.d.ts +30 -19
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +23 -34
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +22 -35
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +29 -54
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +18 -18
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +17 -16
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +19 -30
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.d.ts +17 -16
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.js +2 -1
- package/dist/components/Form/WFormValidator.vue.d.ts +26 -35
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +2 -1
- package/dist/components/Form/models/injection.d.ts.map +1 -1
- package/dist/components/Form/models/utils.d.ts.map +1 -1
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +37 -34
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts +18 -21
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +1 -1
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +17 -18
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +107 -78
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +2 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +101 -78
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.js +2 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +97 -53
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +2 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +16 -23
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +2 -1
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +15 -16
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +15 -12
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +2 -1
- package/dist/components/InfiniteList/models/utils.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCard.vue.d.ts +16 -15
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +16 -17
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.d.ts +105 -93
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +2 -1
- package/dist/components/Input/WInputAsync.vue.d.ts +55 -77
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputAsync.vue.js +3 -3
- package/dist/components/Input/WInputDate.vue.d.ts +17 -16
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.js +2 -1
- package/dist/components/Input/WInputOptions.vue.d.ts +60 -87
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.js +3 -2
- package/dist/components/Input/WInputSuggest.vue.d.ts +125 -100
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +2 -1
- package/dist/components/Input/components/InputActions.vue.d.ts +25 -40
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.js +2 -1
- package/dist/components/Link/WLink.vue.d.ts +45 -50
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLinkArrow.vue.d.ts +16 -17
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
- package/dist/components/ListCard/WListCard.vue.d.ts +25 -40
- package/dist/components/ListCard/WListCard.vue.d.ts.map +1 -1
- package/dist/components/ListCard/WListCardField.vue.d.ts +16 -15
- package/dist/components/ListCard/WListCardField.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +20 -27
- 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/WModalStepper.vue.d.ts +17 -16
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue.js +2 -1
- package/dist/components/Modal/WModalWrapper.vue.d.ts +14 -9
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +1 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +33 -70
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +5 -4
- package/dist/components/Modal/modals/Confirm/types.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue.d.ts +1 -1
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue.js +9 -10
- package/dist/components/Nav/WNavItem.vue.d.ts +29 -56
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +2 -1
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +23 -42
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemTransition.vue.d.ts +1 -1
- 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 +25 -46
- package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
- package/dist/components/Notify/models/NotifyType.d.ts.map +1 -1
- package/dist/components/Notify/models/types.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.d.ts +72 -91
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +3 -2
- package/dist/components/Select/WSelectAsync.vue.d.ts +108 -99
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +6 -3
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +58 -38
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +77 -97
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +6 -3
- package/dist/components/Select/WSelectSingle.vue.d.ts +71 -92
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +2 -1
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +76 -60
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.js +2 -1
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +43 -29
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefix.vue.js +6 -3
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +43 -29
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +18 -8
- package/dist/components/Select/components/SelectOption.vue.d.ts +38 -67
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOption.vue.js +7 -7
- 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/Tabs/WTabs.vue.d.ts +23 -26
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +2 -1
- package/dist/components/Tabs/WTabsColumns.vue.d.ts +13 -10
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.d.ts +15 -12
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +2 -1
- package/dist/components/Tabs/models/injection.d.ts.map +1 -1
- package/dist/components/Tabs/use/useTabActiveListener.d.ts.map +1 -1
- package/dist/components/Tabs/use/useTabItemActiveListener.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.d.ts +28 -35
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +2 -1
- package/dist/components/Tooltip/WTooltip.vue.d.ts +22 -33
- 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/models/utils.d.ts.map +1 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/imports/iconsDefault.d.ts.map +1 -1
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/utils/DOMListenerContainer.d.ts.map +1 -1
- package/dist/utils/HorizontalAlign.d.ts.map +1 -1
- package/dist/utils/Modal.d.ts.map +1 -1
- package/dist/utils/Notify.d.ts.map +1 -1
- package/dist/utils/SemanticType.d.ts.map +1 -1
- package/dist/utils/Tooltip.d.ts.map +1 -1
- package/dist/utils/dateTime.d.ts.map +1 -1
- package/dist/utils/mobile.d.ts.map +1 -1
- package/dist/utils/supportsPassive.d.ts.map +1 -1
- package/dist/utils/utils.d.ts.map +1 -1
- package/package.json +5 -5
@@ -1,42 +1,32 @@
|
|
1
1
|
declare const _default: <Data extends DefaultData>(__VLS_props: {
|
2
|
+
onSelect?: ((value: number) => any) | undefined;
|
3
|
+
transition?: boolean | undefined;
|
4
|
+
disabled?: boolean | undefined;
|
5
|
+
loading?: boolean | undefined;
|
6
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
2
7
|
modelValue: number[];
|
3
|
-
|
4
|
-
queryParams: QueryParams;
|
5
|
-
isInvalidPage: (error: unknown) => boolean;
|
8
|
+
onUnselect?: ((value: number) => any) | undefined;
|
6
9
|
scrollingElement?: Element | null | undefined;
|
7
|
-
|
8
|
-
disabled?: boolean | undefined;
|
9
|
-
transition?: boolean | undefined;
|
10
|
-
excludeParams?: string[] | undefined;
|
11
|
-
noPadding?: boolean | undefined;
|
12
|
-
emptyStub?: string | undefined;
|
10
|
+
queryParams: QueryParams;
|
13
11
|
selectOnly?: boolean | undefined;
|
14
12
|
unselectOnly?: boolean | undefined;
|
13
|
+
"onUpdate:count"?: ((value: number) => any) | undefined;
|
14
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
15
|
+
isInvalidPage: (error: unknown) => boolean;
|
16
|
+
emptyStub?: string | undefined;
|
17
|
+
excludeParams?: string[] | undefined;
|
18
|
+
"onCreate:option"?: (() => any) | undefined;
|
15
19
|
allowCreate?: boolean | undefined;
|
16
|
-
|
17
|
-
|
18
|
-
modelValue: number[];
|
19
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
20
|
-
queryParams: QueryParams;
|
21
|
-
isInvalidPage: (error: unknown) => boolean;
|
22
|
-
scrollingElement?: Element | null | undefined;
|
23
|
-
loading?: boolean | undefined;
|
24
|
-
disabled?: boolean | undefined;
|
25
|
-
transition?: boolean | undefined;
|
26
|
-
excludeParams?: string[] | undefined;
|
27
|
-
noPadding?: boolean | undefined;
|
28
|
-
emptyStub?: string | undefined;
|
29
|
-
selectOnly?: boolean | undefined;
|
30
|
-
unselectOnly?: boolean | undefined;
|
31
|
-
allowCreate?: boolean | undefined;
|
32
|
-
};
|
33
|
-
expose(exposed: {
|
34
|
-
cursorUp: () => void;
|
35
|
-
cursorDown: () => void;
|
36
|
-
selectCursor: () => void;
|
37
|
-
}): void;
|
20
|
+
noPadding?: boolean | undefined;
|
21
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
38
22
|
attrs: any;
|
39
|
-
slots: {
|
23
|
+
slots: Readonly<{
|
24
|
+
default?: ((props: {
|
25
|
+
option: Data | null;
|
26
|
+
selected: boolean;
|
27
|
+
skeleton: boolean;
|
28
|
+
}) => void) | undefined;
|
29
|
+
}> & {
|
40
30
|
default?: ((props: {
|
41
31
|
option: Data | null;
|
42
32
|
selected: boolean;
|
@@ -50,30 +40,45 @@ declare const _default: <Data extends DefaultData>(__VLS_props: {
|
|
50
40
|
(e: 'update:modelValue', value: number[]): void;
|
51
41
|
(e: 'create:option'): void;
|
52
42
|
};
|
53
|
-
}
|
43
|
+
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
44
|
+
cursorUp: () => void;
|
45
|
+
cursorDown: () => void;
|
46
|
+
selectCursor: () => void;
|
47
|
+
}>) => void) | undefined, __VLS_setup?: Promise<{
|
54
48
|
props: {
|
49
|
+
onSelect?: ((value: number) => any) | undefined;
|
50
|
+
transition?: boolean | undefined;
|
51
|
+
disabled?: boolean | undefined;
|
52
|
+
loading?: boolean | undefined;
|
53
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
55
54
|
modelValue: number[];
|
56
|
-
|
57
|
-
queryParams: QueryParams;
|
58
|
-
isInvalidPage: (error: unknown) => boolean;
|
55
|
+
onUnselect?: ((value: number) => any) | undefined;
|
59
56
|
scrollingElement?: Element | null | undefined;
|
60
|
-
|
61
|
-
disabled?: boolean | undefined;
|
62
|
-
transition?: boolean | undefined;
|
63
|
-
excludeParams?: string[] | undefined;
|
64
|
-
noPadding?: boolean | undefined;
|
65
|
-
emptyStub?: string | undefined;
|
57
|
+
queryParams: QueryParams;
|
66
58
|
selectOnly?: boolean | undefined;
|
67
59
|
unselectOnly?: boolean | undefined;
|
60
|
+
"onUpdate:count"?: ((value: number) => any) | undefined;
|
61
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
62
|
+
isInvalidPage: (error: unknown) => boolean;
|
63
|
+
emptyStub?: string | undefined;
|
64
|
+
excludeParams?: string[] | undefined;
|
65
|
+
"onCreate:option"?: (() => any) | undefined;
|
68
66
|
allowCreate?: boolean | undefined;
|
69
|
-
|
70
|
-
|
67
|
+
noPadding?: boolean | undefined;
|
68
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
69
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
71
70
|
cursorUp: () => void;
|
72
71
|
cursorDown: () => void;
|
73
72
|
selectCursor: () => void;
|
74
|
-
}): void;
|
73
|
+
}>): void;
|
75
74
|
attrs: any;
|
76
|
-
slots: {
|
75
|
+
slots: Readonly<{
|
76
|
+
default?: ((props: {
|
77
|
+
option: Data | null;
|
78
|
+
selected: boolean;
|
79
|
+
skeleton: boolean;
|
80
|
+
}) => void) | undefined;
|
81
|
+
}> & {
|
77
82
|
default?: ((props: {
|
78
83
|
option: Data | null;
|
79
84
|
selected: boolean;
|
@@ -87,33 +92,44 @@ declare const _default: <Data extends DefaultData>(__VLS_props: {
|
|
87
92
|
(e: 'update:modelValue', value: number[]): void;
|
88
93
|
(e: 'create:option'): void;
|
89
94
|
};
|
90
|
-
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
95
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
91
96
|
[key: string]: any;
|
92
97
|
}> & {
|
93
98
|
__ctx?: {
|
94
99
|
props: {
|
100
|
+
onSelect?: ((value: number) => any) | undefined;
|
101
|
+
transition?: boolean | undefined;
|
102
|
+
disabled?: boolean | undefined;
|
103
|
+
loading?: boolean | undefined;
|
104
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
95
105
|
modelValue: number[];
|
96
|
-
|
97
|
-
queryParams: QueryParams;
|
98
|
-
isInvalidPage: (error: unknown) => boolean;
|
106
|
+
onUnselect?: ((value: number) => any) | undefined;
|
99
107
|
scrollingElement?: Element | null | undefined;
|
100
|
-
|
101
|
-
disabled?: boolean | undefined;
|
102
|
-
transition?: boolean | undefined;
|
103
|
-
excludeParams?: string[] | undefined;
|
104
|
-
noPadding?: boolean | undefined;
|
105
|
-
emptyStub?: string | undefined;
|
108
|
+
queryParams: QueryParams;
|
106
109
|
selectOnly?: boolean | undefined;
|
107
110
|
unselectOnly?: boolean | undefined;
|
111
|
+
"onUpdate:count"?: ((value: number) => any) | undefined;
|
112
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
113
|
+
isInvalidPage: (error: unknown) => boolean;
|
114
|
+
emptyStub?: string | undefined;
|
115
|
+
excludeParams?: string[] | undefined;
|
116
|
+
"onCreate:option"?: (() => any) | undefined;
|
108
117
|
allowCreate?: boolean | undefined;
|
109
|
-
|
110
|
-
|
118
|
+
noPadding?: boolean | undefined;
|
119
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
120
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
111
121
|
cursorUp: () => void;
|
112
122
|
cursorDown: () => void;
|
113
123
|
selectCursor: () => void;
|
114
|
-
}): void;
|
124
|
+
}>): void;
|
115
125
|
attrs: any;
|
116
|
-
slots: {
|
126
|
+
slots: Readonly<{
|
127
|
+
default?: ((props: {
|
128
|
+
option: Data | null;
|
129
|
+
selected: boolean;
|
130
|
+
skeleton: boolean;
|
131
|
+
}) => void) | undefined;
|
132
|
+
}> & {
|
117
133
|
default?: ((props: {
|
118
134
|
option: Data | null;
|
119
135
|
selected: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"AAwFA;;;;;;;gBAmac,MAAM,EAAE;;;iBAEP,WAAW;;;;;2BACD,OAAO,KAAK,OAAO;;;;;;;WAkBrC,GAAG;;;;sBAnU0C,OAAO;sBAAY,OAAO;cAAM,IAAI;;;;sBAApC,OAAO;sBAAY,OAAO;cAAM,IAAI;;;YArFlF,QAAQ,SAAS,MAAM,GAAG,IAAI;YAC9B,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;YAC3C,eAAe,GAAG,IAAI;;;;;;OAmZ2C,IAAI;;;;;;;oBApB7D,MAAM,EAAE;;;qBAEP,WAAW;;;;;+BACD,OAAO,KAAK,OAAO;;;;;;;;;;;SAiB2B,IAAI;WACpE,GAAG;;;;sBAnU0C,OAAO;sBAAY,OAAO;cAAM,IAAI;;;;sBAApC,OAAO;sBAAY,OAAO;cAAM,IAAI;;;YArFlF,QAAQ,SAAS,MAAM,GAAG,IAAI;YAC9B,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;YAC3C,eAAe,GAAG,IAAI;;;;;;;;;;;;wBA+Xd,MAAM,EAAE;;;yBAEP,WAAW;;;;;mCACD,OAAO,KAAK,OAAO;;;;;;;;;;;aAiB2B,IAAI;eACpE,GAAG;;;;0BAnU0C,OAAO;0BAAY,OAAO;kBAAM,IAAI;;;;0BAApC,OAAO;0BAAY,OAAO;kBAAM,IAAI;;;gBArFlF,QAAQ,SAAS,MAAM,GAAG,IAAI;gBAC9B,UAAU,SAAS,MAAM,GAAG,IAAI;gBAChC,cAAc,SAAS,MAAM,GAAG,IAAI;gBACpC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;gBAC3C,eAAe,GAAG,IAAI;;;;AA5B5B,wBAqb2E"}
|
@@ -24,8 +24,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
allowCreate: { type: Boolean }
|
25
25
|
},
|
26
26
|
emits: ["select", "unselect", "update:count", "update:modelValue", "create:option"],
|
27
|
-
setup(__props, { expose: __expose, emit }) {
|
27
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
28
28
|
const props = __props;
|
29
|
+
const emit = __emit;
|
29
30
|
const cursor = ref(void 0);
|
30
31
|
const cursorPrevious = ref(void 0);
|
31
32
|
const cursorNext = ref(void 0);
|
@@ -1,31 +1,27 @@
|
|
1
1
|
import { type Component } from 'vue';
|
2
2
|
declare const _default: <Data extends DefaultData>(__VLS_props: {
|
3
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
4
|
-
modelValue: number[];
|
5
3
|
disabled?: boolean | undefined;
|
6
4
|
loading?: boolean | undefined;
|
5
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
6
|
+
modelValue: number[];
|
7
|
+
onUnselect?: ((value: number) => any) | undefined;
|
8
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
7
9
|
optionComponent?: Component<{
|
8
10
|
option: Data;
|
9
11
|
selected?: boolean | undefined;
|
10
12
|
model?: boolean | undefined;
|
11
13
|
}> | undefined;
|
12
14
|
disableClear?: boolean | undefined;
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
modelValue: number[];
|
17
|
-
disabled?: boolean | undefined;
|
18
|
-
loading?: boolean | undefined;
|
19
|
-
optionComponent?: Component<{
|
20
|
-
option: Data;
|
21
|
-
selected?: boolean | undefined;
|
22
|
-
model?: boolean | undefined;
|
23
|
-
}> | undefined;
|
24
|
-
disableClear?: boolean | undefined;
|
25
|
-
};
|
26
|
-
expose(exposed: {}): void;
|
15
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
16
|
+
previewData?: Data[] | undefined;
|
17
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
27
18
|
attrs: any;
|
28
|
-
slots: {
|
19
|
+
slots: Readonly<{
|
20
|
+
default?: ((props: {
|
21
|
+
option: Data;
|
22
|
+
skeleton: boolean;
|
23
|
+
}) => void) | undefined;
|
24
|
+
}> & {
|
29
25
|
default?: ((props: {
|
30
26
|
option: Data;
|
31
27
|
skeleton: boolean;
|
@@ -36,22 +32,31 @@ declare const _default: <Data extends DefaultData>(__VLS_props: {
|
|
36
32
|
(e: 'update:fetching', value: boolean): void;
|
37
33
|
(e: 'update:modelValue', value: number[]): void;
|
38
34
|
};
|
39
|
-
}
|
35
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
40
36
|
props: {
|
41
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
42
|
-
modelValue: number[];
|
43
37
|
disabled?: boolean | undefined;
|
44
38
|
loading?: boolean | undefined;
|
39
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
40
|
+
modelValue: number[];
|
41
|
+
onUnselect?: ((value: number) => any) | undefined;
|
42
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
45
43
|
optionComponent?: Component<{
|
46
44
|
option: Data;
|
47
45
|
selected?: boolean | undefined;
|
48
46
|
model?: boolean | undefined;
|
49
47
|
}> | undefined;
|
50
48
|
disableClear?: boolean | undefined;
|
51
|
-
|
52
|
-
|
49
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
50
|
+
previewData?: Data[] | undefined;
|
51
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
52
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
53
53
|
attrs: any;
|
54
|
-
slots: {
|
54
|
+
slots: Readonly<{
|
55
|
+
default?: ((props: {
|
56
|
+
option: Data;
|
57
|
+
skeleton: boolean;
|
58
|
+
}) => void) | undefined;
|
59
|
+
}> & {
|
55
60
|
default?: ((props: {
|
56
61
|
option: Data;
|
57
62
|
skeleton: boolean;
|
@@ -62,25 +67,34 @@ declare const _default: <Data extends DefaultData>(__VLS_props: {
|
|
62
67
|
(e: 'update:fetching', value: boolean): void;
|
63
68
|
(e: 'update:modelValue', value: number[]): void;
|
64
69
|
};
|
65
|
-
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
70
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
66
71
|
[key: string]: any;
|
67
72
|
}> & {
|
68
73
|
__ctx?: {
|
69
74
|
props: {
|
70
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
71
|
-
modelValue: number[];
|
72
75
|
disabled?: boolean | undefined;
|
73
76
|
loading?: boolean | undefined;
|
77
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
78
|
+
modelValue: number[];
|
79
|
+
onUnselect?: ((value: number) => any) | undefined;
|
80
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
74
81
|
optionComponent?: Component<{
|
75
82
|
option: Data;
|
76
83
|
selected?: boolean | undefined;
|
77
84
|
model?: boolean | undefined;
|
78
85
|
}> | undefined;
|
79
86
|
disableClear?: boolean | undefined;
|
80
|
-
|
81
|
-
|
87
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
88
|
+
previewData?: Data[] | undefined;
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
90
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
82
91
|
attrs: any;
|
83
|
-
slots: {
|
92
|
+
slots: Readonly<{
|
93
|
+
default?: ((props: {
|
94
|
+
option: Data;
|
95
|
+
skeleton: boolean;
|
96
|
+
}) => void) | undefined;
|
97
|
+
}> & {
|
84
98
|
default?: ((props: {
|
85
99
|
option: Data;
|
86
100
|
skeleton: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"AA0CA;AAEA,OAAO,EAAuB,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAA;;;;;gBAkN3D,MAAM,EAAE;;;;;;;;;;;;WAaf,GAAG;;;;sBAxLmC,OAAO;cAAM,IAAI;;;;sBAAjB,OAAO;cAAM,IAAI;;;YAdxD,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,iBAAiB,SAAS,OAAO,GAAG,IAAI;YACxC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;;yCAmMjC,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;oBAZ3C,MAAM,EAAE;;;;;;;;;;;;oBAYN,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;sBAxLmC,OAAO;cAAM,IAAI;;;;sBAAjB,OAAO;cAAM,IAAI;;;YAdxD,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,iBAAiB,SAAS,OAAO,GAAG,IAAI;YACxC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;;;;;;;;;;wBAuLnC,MAAM,EAAE;;;;;;;;;;;;wBAYN,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;;;0BAxLmC,OAAO;kBAAM,IAAI;;;;0BAAjB,OAAO;kBAAM,IAAI;;;gBAdxD,UAAU,SAAS,MAAM,GAAG,IAAI;gBAChC,iBAAiB,SAAS,OAAO,GAAG,IAAI;gBACxC,mBAAmB,SAAS,MAAM,EAAE,GAAG,IAAI;;;;AArBjD,wBA8N2E"}
|
@@ -16,11 +16,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
disabled: { type: Boolean },
|
17
17
|
loading: { type: Boolean },
|
18
18
|
optionComponent: {},
|
19
|
-
disableClear: { type: Boolean }
|
19
|
+
disableClear: { type: Boolean },
|
20
|
+
previewData: {}
|
20
21
|
},
|
21
22
|
emits: ["unselect", "update:fetching", "update:modelValue"],
|
22
|
-
setup(__props, { emit }) {
|
23
|
+
setup(__props, { emit: __emit }) {
|
23
24
|
const props = __props;
|
25
|
+
const emit = __emit;
|
24
26
|
const hasFetching = ref(false);
|
25
27
|
const idInString = computed(() => props.modelValue.slice(0, PAGE_LENGTH).join(","));
|
26
28
|
watch(hasFetching, (value) => {
|
@@ -38,6 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
40
|
"disable-clear": _ctx.disableClear,
|
39
41
|
loading: _ctx.loading,
|
40
42
|
disabled: _ctx.disabled,
|
43
|
+
"preview-data": _ctx.previewData,
|
41
44
|
onUnselect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("unselect", $event)),
|
42
45
|
"onUpdate:fetching": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:fetching", $event))
|
43
46
|
}, {
|
@@ -48,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
51
|
})
|
49
52
|
]),
|
50
53
|
_: 3
|
51
|
-
}, 8, ["use-query-fn", "query-params", "option-component", "disable-clear", "loading", "disabled"]),
|
54
|
+
}, 8, ["use-query-fn", "query-params", "option-component", "disable-clear", "loading", "disabled", "preview-data"]),
|
52
55
|
_ctx.modelValue.length > PAGE_LENGTH ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
53
56
|
createElementVNode("div", null, "... " + toDisplayString(unref(numberFormatter).format(_ctx.modelValue.length)) + " items", 1),
|
54
57
|
!_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
@@ -1,31 +1,27 @@
|
|
1
1
|
import { type Component } from 'vue';
|
2
2
|
declare const _default: <Data extends DefaultData>(__VLS_props: {
|
3
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
4
|
-
queryParams: QueryParams;
|
5
3
|
disabled?: boolean | undefined;
|
6
4
|
loading?: boolean | undefined;
|
5
|
+
onUnselect?: ((value: number) => any) | undefined;
|
6
|
+
queryParams: QueryParams;
|
7
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
7
8
|
optionComponent?: Component<{
|
8
9
|
option: Data;
|
9
10
|
selected?: boolean | undefined;
|
10
11
|
model?: boolean | undefined;
|
11
12
|
}> | undefined;
|
12
13
|
disableClear?: boolean | undefined;
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
disabled?: boolean | undefined;
|
18
|
-
loading?: boolean | undefined;
|
19
|
-
optionComponent?: Component<{
|
20
|
-
option: Data;
|
21
|
-
selected?: boolean | undefined;
|
22
|
-
model?: boolean | undefined;
|
23
|
-
}> | undefined;
|
24
|
-
disableClear?: boolean | undefined;
|
25
|
-
};
|
26
|
-
expose(exposed: {}): void;
|
14
|
+
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
15
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
16
|
+
previewData?: Data[] | undefined;
|
17
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
27
18
|
attrs: any;
|
28
|
-
slots: {
|
19
|
+
slots: Readonly<{
|
20
|
+
default?: ((props: {
|
21
|
+
option: Data;
|
22
|
+
skeleton: boolean;
|
23
|
+
}) => void) | undefined;
|
24
|
+
}> & {
|
29
25
|
default?: ((props: {
|
30
26
|
option: Data;
|
31
27
|
skeleton: boolean;
|
@@ -36,22 +32,31 @@ declare const _default: <Data extends DefaultData>(__VLS_props: {
|
|
36
32
|
(e: 'update:pages-count', value: number): void;
|
37
33
|
(e: 'update:fetching', value: boolean): void;
|
38
34
|
};
|
39
|
-
}
|
35
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
40
36
|
props: {
|
41
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
42
|
-
queryParams: QueryParams;
|
43
37
|
disabled?: boolean | undefined;
|
44
38
|
loading?: boolean | undefined;
|
39
|
+
onUnselect?: ((value: number) => any) | undefined;
|
40
|
+
queryParams: QueryParams;
|
41
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
45
42
|
optionComponent?: Component<{
|
46
43
|
option: Data;
|
47
44
|
selected?: boolean | undefined;
|
48
45
|
model?: boolean | undefined;
|
49
46
|
}> | undefined;
|
50
47
|
disableClear?: boolean | undefined;
|
51
|
-
|
52
|
-
|
48
|
+
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
49
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
50
|
+
previewData?: Data[] | undefined;
|
51
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
52
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
53
53
|
attrs: any;
|
54
|
-
slots: {
|
54
|
+
slots: Readonly<{
|
55
|
+
default?: ((props: {
|
56
|
+
option: Data;
|
57
|
+
skeleton: boolean;
|
58
|
+
}) => void) | undefined;
|
59
|
+
}> & {
|
55
60
|
default?: ((props: {
|
56
61
|
option: Data;
|
57
62
|
skeleton: boolean;
|
@@ -62,25 +67,34 @@ declare const _default: <Data extends DefaultData>(__VLS_props: {
|
|
62
67
|
(e: 'update:pages-count', value: number): void;
|
63
68
|
(e: 'update:fetching', value: boolean): void;
|
64
69
|
};
|
65
|
-
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
70
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
66
71
|
[key: string]: any;
|
67
72
|
}> & {
|
68
73
|
__ctx?: {
|
69
74
|
props: {
|
70
|
-
useQueryFn: UsePaginatedQuery<Data>;
|
71
|
-
queryParams: QueryParams;
|
72
75
|
disabled?: boolean | undefined;
|
73
76
|
loading?: boolean | undefined;
|
77
|
+
onUnselect?: ((value: number) => any) | undefined;
|
78
|
+
queryParams: QueryParams;
|
79
|
+
useQueryFn: UsePaginatedQuery<Data>;
|
74
80
|
optionComponent?: Component<{
|
75
81
|
option: Data;
|
76
82
|
selected?: boolean | undefined;
|
77
83
|
model?: boolean | undefined;
|
78
84
|
}> | undefined;
|
79
85
|
disableClear?: boolean | undefined;
|
80
|
-
|
81
|
-
|
86
|
+
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
87
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
88
|
+
previewData?: Data[] | undefined;
|
89
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
90
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
82
91
|
attrs: any;
|
83
|
-
slots: {
|
92
|
+
slots: Readonly<{
|
93
|
+
default?: ((props: {
|
94
|
+
option: Data;
|
95
|
+
skeleton: boolean;
|
96
|
+
}) => void) | undefined;
|
97
|
+
}> & {
|
84
98
|
default?: ((props: {
|
85
99
|
option: Data;
|
86
100
|
skeleton: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"AAwDA;AAEA,OAAO,EAAyB,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAA;;;;;iBAqO5D,WAAW;;;;;;;;;;;;WAanB,GAAG;;;;sBA5LmC,OAAO;cAAM,IAAI;;;;sBAAjB,OAAO;cAAM,IAAI;;;YAjCxD,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;;yCA0N9B,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;qBAZ1C,WAAW;;;;;;;;;;;;oBAYV,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;sBA5LmC,OAAO;cAAM,IAAI;;;;sBAAjB,OAAO;cAAM,IAAI;;;YAjCxD,UAAU,SAAS,MAAM,GAAG,IAAI;YAChC,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;;;;;;;;;;yBA8M/B,WAAW;;;;;;;;;;;;wBAYV,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;;;0BA5LmC,OAAO;kBAAM,IAAI;;;;0BAAjB,OAAO;kBAAM,IAAI;;;gBAjCxD,UAAU,SAAS,MAAM,GAAG,IAAI;gBAChC,oBAAoB,SAAS,MAAM,GAAG,IAAI;gBAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;;;;AAnB9C,wBAmP2E"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, computed, toRef, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createSlots, withCtx, createElementVNode, withModifiers, createVNode, createCommentVNode } from 'vue';
|
2
2
|
import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
|
3
3
|
|
4
4
|
const _hoisted_1 = ["onClick"];
|
@@ -11,12 +11,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
disabled: { type: Boolean },
|
12
12
|
loading: { type: Boolean },
|
13
13
|
optionComponent: {},
|
14
|
-
disableClear: { type: Boolean }
|
14
|
+
disableClear: { type: Boolean },
|
15
|
+
previewData: {}
|
15
16
|
},
|
16
17
|
emits: ["unselect", "update:pages-count", "update:fetching"],
|
17
|
-
setup(__props, { emit }) {
|
18
|
+
setup(__props, { emit: __emit }) {
|
18
19
|
const props = __props;
|
19
|
-
const
|
20
|
+
const emit = __emit;
|
21
|
+
const queryEnabled = computed(() => !props.previewData);
|
22
|
+
const { data, isFetching } = props.useQueryFn(toRef(props, "queryParams"), {
|
23
|
+
enabled: queryEnabled,
|
24
|
+
refetchInterval: false,
|
25
|
+
refetchOnMount: false,
|
26
|
+
refetchOnReconnect: false,
|
27
|
+
refetchIntervalInBackground: false,
|
28
|
+
refetchOnWindowFocus: false
|
29
|
+
});
|
20
30
|
const pagesCount = computed(() => data.value?.pages_count);
|
21
31
|
watch(pagesCount, (value) => {
|
22
32
|
if (value === void 0)
|
@@ -30,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
30
40
|
emit("update:fetching", false);
|
31
41
|
});
|
32
42
|
return (_ctx, _cache) => {
|
33
|
-
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(data)?.results, (option) => {
|
43
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.previewData ?? unref(data)?.results, (option) => {
|
34
44
|
return openBlock(), createElementBlock("div", {
|
35
45
|
key: option.id,
|
36
46
|
class: normalizeClass(["relative flex overflow-hidden items-center text-description", {
|
@@ -40,14 +50,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
50
|
}, [
|
41
51
|
renderSlot(_ctx.$slots, "default", {
|
42
52
|
option,
|
43
|
-
skeleton:
|
53
|
+
skeleton: false
|
44
54
|
}, () => [
|
45
55
|
_ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
|
46
56
|
key: 0,
|
47
57
|
option,
|
48
58
|
selected: true,
|
49
59
|
model: true,
|
50
|
-
skeleton:
|
60
|
+
skeleton: false
|
51
61
|
}, createSlots({ _: 2 }, [
|
52
62
|
!_ctx.disableClear && !_ctx.disabled ? {
|
53
63
|
name: "default",
|
@@ -66,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
76
|
]),
|
67
77
|
key: "0"
|
68
78
|
} : void 0
|
69
|
-
]), 1032, ["option"
|
79
|
+
]), 1032, ["option"])) : createCommentVNode("", true)
|
70
80
|
]),
|
71
81
|
!_ctx.optionComponent && !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
72
82
|
key: 0,
|