eco-vue-js 0.5.25 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/sax/IconClose.svg.js +26 -0
- package/dist/assets/icons/sax/IconEdit.svg.js +24 -0
- package/dist/assets/icons/sax/IconSlash.svg.js +27 -0
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts +129 -2
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +1 -2
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +20 -15
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +2 -4
- package/dist/components/Button/WButton.vue.d.ts +20 -17
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +1 -2
- package/dist/components/Button/WButtonAction.vue.d.ts +21 -18
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.d.ts +3 -3
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.js +9 -43
- package/dist/components/Button/WButtonDropdown.vue.d.ts +33 -25
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +12 -9
- package/dist/components/Button/WButtonGroup.vue.d.ts +17 -110
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +68 -44
- package/dist/components/Button/WButtonMore.vue.d.ts +14 -12
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +1 -2
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +19 -16
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts +16 -16
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts +8 -8
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts +1 -0
- package/dist/components/Button/types.d.ts +36 -0
- package/dist/components/Button/types.d.ts.map +1 -0
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +34 -32
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +1 -2
- package/dist/components/Chip/WChip.vue.d.ts +19 -16
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +7 -5
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.js +3 -6
- package/dist/components/Counter/WCounter.vue.d.ts +15 -15
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
- package/dist/components/Counter/WCounter.vue.js +1 -2
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +6 -5
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +1 -2
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +6 -6
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +1 -2
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +10 -9
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.js +10 -20
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +12 -11
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.js +7 -14
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +4 -4
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +8 -8
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -2
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +8 -7
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarWeek.vue.js +7 -14
- package/dist/components/Dropdown/WDropdown.vue.d.ts +18 -29
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +7 -14
- package/dist/components/Dropdown/types.d.ts +11 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -0
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts +1 -0
- package/dist/components/Dropdown/utils/DropdownStyle.js +2 -4
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +18 -33
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +3 -3
- package/dist/components/DropdownMenu/types.d.ts +8 -0
- package/dist/components/DropdownMenu/types.d.ts.map +1 -0
- package/dist/components/Expansion/WExpansion.vue.d.ts +20 -18
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +24 -22
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +29 -21
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +148 -18
- package/dist/components/FieldWrapper/types.d.ts +16 -0
- package/dist/components/FieldWrapper/types.d.ts.map +1 -0
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +36 -32
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +3 -6
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +19 -17
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +7 -7
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts +16 -14
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.d.ts +21 -19
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.d.ts +28 -26
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +12 -24
- package/dist/components/Form/models/injection.d.ts +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/models/utils.js +5 -4
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts +4 -3
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormHasChangesMap.d.ts +3 -2
- package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts +2 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts +2 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts +2 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts +2 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValidateMap.js +1 -2
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +27 -24
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.js +2 -4
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts +9 -9
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +1 -2
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +6 -6
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +67 -237
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +50 -187
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.js +20 -40
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts +4 -2
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +2 -2
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +57 -209
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +21 -42
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts +18 -16
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +19 -43
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +2 -4
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +13 -23
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +14 -12
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +1 -2
- package/dist/components/InfiniteList/models/injection.d.ts +8 -7
- package/dist/components/InfiniteList/models/injection.d.ts.map +1 -1
- package/dist/components/InfiniteList/models/utils.js +2 -4
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +5 -5
- package/dist/components/InfiniteList/use/useInfiniteListHeader.js +4 -2
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +1 -1
- package/dist/components/InfiniteList/use/useRefetchNextPages.js +1 -2
- package/dist/components/InfiniteList/use/useSelected.d.ts +6 -5
- package/dist/components/InfiniteList/use/useSelected.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useSelected.js +13 -26
- package/dist/components/InfoCard/WInfoCard.vue.d.ts +16 -14
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +16 -13
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.d.ts +41 -199
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +137 -227
- package/dist/components/Input/WInputAsync.vue.d.ts +16 -94
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputAsync.vue.js +118 -104
- package/dist/components/Input/WInputDate.vue.d.ts +41 -8
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.js +66 -14
- package/dist/components/Input/WInputOptions.vue.d.ts +18 -125
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.js +64 -53
- package/dist/components/Input/WInputSuggest.vue.d.ts +49 -207
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +71 -57
- package/dist/components/Input/components/InputActions.vue.d.ts +34 -28
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.js +49 -84
- package/dist/components/Input/components/InputActionsButton.vue.d.ts +35 -0
- package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -0
- package/dist/components/Input/components/InputActionsButton.vue.js +41 -0
- package/dist/components/Input/components/InputActionsButton.vue2.js +5 -0
- package/dist/components/Input/types.d.ts +45 -0
- package/dist/components/Input/types.d.ts.map +1 -0
- package/dist/components/Link/WLink.vue.d.ts +19 -16
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLinkArrow.vue.d.ts +12 -9
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
- package/dist/components/ListCard/WListCard.vue.d.ts +27 -25
- package/dist/components/ListCard/WListCard.vue.d.ts.map +1 -1
- package/dist/components/ListCard/WListCardField.vue.d.ts +17 -14
- package/dist/components/ListCard/WListCardField.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +19 -16
- 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 +2 -4
- package/dist/components/Modal/WModalStepper.vue.d.ts +18 -16
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.d.ts +14 -12
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +2 -2
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +19 -18
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +2 -4
- package/dist/components/Modal/modals/Confirm/types.d.ts +2 -1
- package/dist/components/Nav/WNavBar.vue.d.ts +7 -5
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.d.ts +16 -13
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +1 -2
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +15 -12
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.js +3 -0
- package/dist/components/Nav/WNavItemTransition.vue.d.ts +4 -2
- 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/WNotify.vue.js +1 -2
- package/dist/components/Notify/components/NotifyCard.vue.d.ts +15 -14
- package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
- package/dist/components/Notify/components/NotifyCard.vue.js +2 -4
- package/dist/components/Notify/models/types.d.ts +3 -2
- package/dist/components/Select/WSelect.vue.d.ts +41 -188
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +74 -66
- package/dist/components/Select/WSelectAsync.vue.d.ts +32 -207
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +78 -60
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +33 -111
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +24 -166
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +93 -82
- package/dist/components/Select/WSelectSingle.vue.d.ts +25 -149
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +84 -70
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +43 -133
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.js +7 -14
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +37 -104
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +37 -102
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +1 -2
- package/dist/components/Select/components/SelectOption.vue.d.ts +45 -132
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOption.vue.js +12 -24
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +23 -52
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/types.d.ts +47 -0
- package/dist/components/Select/types.d.ts.map +1 -0
- 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 +22 -24
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +6 -12
- package/dist/components/Tabs/WTabsColumns.vue.d.ts +3 -3
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.d.ts +14 -12
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +3 -6
- package/dist/components/Tabs/models/injection.d.ts +2 -1
- package/dist/components/Tabs/models/injection.d.ts.map +1 -1
- package/dist/components/Tabs/use/useTabItemActiveListener.js +1 -2
- package/dist/components/Toggle/WToggle.vue.d.ts +19 -50
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +1 -2
- package/dist/components/Tooltip/WTooltip.vue.d.ts +15 -15
- package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltip.vue.js +4 -8
- 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/WTooltipContainer.vue.js +1 -2
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +22 -19
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/components/TooltipContainer.vue.js +5 -10
- package/dist/imports/componentsPlugin.d.ts +64 -63
- package/dist/imports/iconsSax.d.ts +3 -0
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/imports/iconsSax.js +3 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -0
- package/dist/utils/DOMListenerContainer.js +2 -4
- package/dist/utils/Modal.d.ts +4 -3
- package/dist/utils/Modal.d.ts.map +1 -1
- package/dist/utils/Notify.d.ts +5 -4
- package/dist/utils/Notify.d.ts.map +1 -1
- package/dist/utils/Tooltip.d.ts +2 -1
- package/dist/utils/dateTime.d.ts.map +1 -1
- package/dist/utils/dateTime.js +28 -56
- package/dist/utils/useCopy.d.ts +8 -0
- package/dist/utils/useCopy.d.ts.map +1 -0
- package/dist/utils/useCopy.js +56 -0
- package/dist/utils/useDefaultQuery.d.ts +4 -3
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +10 -20
- package/package.json +40 -19
- package/tailwind-base/plugins/default.cjs +6 -0
- package/tailwind-base/theme/sizes.cjs +2 -0
@@ -1,158 +1,68 @@
|
|
1
|
-
declare const _default: <Model extends
|
2
|
-
|
3
|
-
transition?: boolean | undefined;
|
4
|
-
"onUpdate:count"?: ((value: number) => any) | undefined;
|
5
|
-
disabled?: boolean | undefined;
|
6
|
-
loading?: boolean | undefined;
|
7
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
8
|
-
valueGetter: (data: Data) => Model;
|
9
|
-
modelValue: Model[];
|
10
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
11
|
-
scrollingElement?: Element | null | undefined;
|
12
|
-
queryParams: QueryParams;
|
13
|
-
selectOnly?: boolean | undefined;
|
14
|
-
unselectOnly?: boolean | undefined;
|
15
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
16
|
-
isInvalidPage: (error: unknown) => boolean;
|
17
|
-
emptyStub?: string | undefined;
|
18
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
19
|
-
excludeParams?: (keyof QueryParams)[] | undefined;
|
20
|
-
hideOptionIcon?: boolean | undefined;
|
21
|
-
"onCreate:option"?: (() => any) | undefined;
|
22
|
-
allowCreate?: boolean | undefined;
|
23
|
-
noPadding?: boolean | undefined;
|
24
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
25
|
-
attrs: any;
|
26
|
-
slots: Readonly<{
|
27
|
-
default?: ((props: {
|
28
|
-
option: Data | null;
|
29
|
-
selected: boolean;
|
30
|
-
skeleton: boolean;
|
31
|
-
}) => void) | undefined;
|
32
|
-
}> & {
|
33
|
-
default?: ((props: {
|
34
|
-
option: Data | null;
|
35
|
-
selected: boolean;
|
36
|
-
skeleton: boolean;
|
37
|
-
}) => void) | undefined;
|
38
|
-
};
|
39
|
-
emit: {
|
40
|
-
(e: 'select', value: Model): void;
|
41
|
-
(e: 'unselect', value: Model): void;
|
42
|
-
(e: 'update:count', value: number): void;
|
43
|
-
(e: 'update:modelValue', value: Model[]): void;
|
44
|
-
(e: 'create:option'): void;
|
45
|
-
};
|
46
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
47
|
-
cursorUp: () => void;
|
48
|
-
cursorDown: () => void;
|
49
|
-
selectCursor: () => void;
|
50
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
51
|
-
props: {
|
1
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
52
3
|
onSelect?: ((value: Model) => any) | undefined;
|
53
|
-
transition?: boolean | undefined;
|
54
4
|
"onUpdate:count"?: ((value: number) => any) | undefined;
|
55
|
-
disabled?: boolean | undefined;
|
56
|
-
loading?: boolean | undefined;
|
57
5
|
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
58
|
-
valueGetter: (data: Data) => Model;
|
59
|
-
modelValue: Model[];
|
60
6
|
onUnselect?: ((value: Model) => any) | undefined;
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
7
|
+
"onCreate:option"?: (() => any) | undefined;
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
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"> & {
|
15
|
+
modelValue: Model[];
|
65
16
|
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
17
|
+
queryParams: QueryParams;
|
66
18
|
isInvalidPage: (error: unknown) => boolean;
|
67
|
-
|
19
|
+
scrollingElement?: Element | null;
|
20
|
+
loading?: boolean;
|
21
|
+
disabled?: boolean;
|
22
|
+
transition?: boolean;
|
23
|
+
excludeParams?: (keyof QueryParams)[];
|
24
|
+
noPadding?: boolean;
|
25
|
+
emptyStub?: string;
|
26
|
+
selectOnly?: boolean;
|
27
|
+
unselectOnly?: boolean;
|
28
|
+
allowCreate?: boolean;
|
29
|
+
hideOptionIcon?: boolean;
|
30
|
+
valueGetter: (data: Data) => Model;
|
68
31
|
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
69
|
-
|
70
|
-
|
71
|
-
"onCreate:option"?: (() => any) | undefined;
|
72
|
-
allowCreate?: boolean | undefined;
|
73
|
-
noPadding?: boolean | undefined;
|
74
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
75
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
32
|
+
}> & import('vue').PublicProps;
|
33
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
76
34
|
cursorUp: () => void;
|
77
35
|
cursorDown: () => void;
|
78
36
|
selectCursor: () => void;
|
79
37
|
}>): void;
|
80
38
|
attrs: any;
|
81
|
-
slots: Readonly<{
|
82
|
-
default?: (
|
39
|
+
slots: ReturnType<() => Readonly<{
|
40
|
+
default?: (props: {
|
83
41
|
option: Data | null;
|
84
42
|
selected: boolean;
|
85
43
|
skeleton: boolean;
|
86
|
-
}) => void
|
44
|
+
}) => void;
|
87
45
|
}> & {
|
88
|
-
default?: (
|
46
|
+
default?: (props: {
|
89
47
|
option: Data | null;
|
90
48
|
selected: boolean;
|
91
49
|
skeleton: boolean;
|
92
|
-
}) => void
|
93
|
-
}
|
50
|
+
}) => void;
|
51
|
+
}>;
|
94
52
|
emit: {
|
95
|
-
(e:
|
96
|
-
(e:
|
97
|
-
(e:
|
98
|
-
(e:
|
99
|
-
(e:
|
100
|
-
};
|
101
|
-
}>) => import(
|
53
|
+
(e: "select", value: Model): void;
|
54
|
+
(e: "unselect", value: Model): void;
|
55
|
+
(e: "update:count", value: number): void;
|
56
|
+
(e: "update:modelValue", value: Model[]): void;
|
57
|
+
(e: "create:option"): void;
|
58
|
+
} & {};
|
59
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
102
60
|
[key: string]: any;
|
103
61
|
}> & {
|
104
|
-
__ctx?:
|
105
|
-
props: {
|
106
|
-
onSelect?: ((value: Model) => any) | undefined;
|
107
|
-
transition?: boolean | undefined;
|
108
|
-
"onUpdate:count"?: ((value: number) => any) | undefined;
|
109
|
-
disabled?: boolean | undefined;
|
110
|
-
loading?: boolean | undefined;
|
111
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
112
|
-
valueGetter: (data: Data) => Model;
|
113
|
-
modelValue: Model[];
|
114
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
115
|
-
scrollingElement?: Element | null | undefined;
|
116
|
-
queryParams: QueryParams;
|
117
|
-
selectOnly?: boolean | undefined;
|
118
|
-
unselectOnly?: boolean | undefined;
|
119
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
120
|
-
isInvalidPage: (error: unknown) => boolean;
|
121
|
-
emptyStub?: string | undefined;
|
122
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
123
|
-
excludeParams?: (keyof QueryParams)[] | undefined;
|
124
|
-
hideOptionIcon?: boolean | undefined;
|
125
|
-
"onCreate:option"?: (() => any) | undefined;
|
126
|
-
allowCreate?: boolean | undefined;
|
127
|
-
noPadding?: boolean | undefined;
|
128
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
129
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
130
|
-
cursorUp: () => void;
|
131
|
-
cursorDown: () => void;
|
132
|
-
selectCursor: () => void;
|
133
|
-
}>): void;
|
134
|
-
attrs: any;
|
135
|
-
slots: Readonly<{
|
136
|
-
default?: ((props: {
|
137
|
-
option: Data | null;
|
138
|
-
selected: boolean;
|
139
|
-
skeleton: boolean;
|
140
|
-
}) => void) | undefined;
|
141
|
-
}> & {
|
142
|
-
default?: ((props: {
|
143
|
-
option: Data | null;
|
144
|
-
selected: boolean;
|
145
|
-
skeleton: boolean;
|
146
|
-
}) => void) | undefined;
|
147
|
-
};
|
148
|
-
emit: {
|
149
|
-
(e: 'select', value: Model): void;
|
150
|
-
(e: 'unselect', value: Model): void;
|
151
|
-
(e: 'update:count', value: number): void;
|
152
|
-
(e: 'update:modelValue', value: Model[]): void;
|
153
|
-
(e: 'create:option'): void;
|
154
|
-
};
|
155
|
-
} | undefined;
|
62
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
156
63
|
};
|
157
64
|
export default _default;
|
65
|
+
type __VLS_Prettify<T> = {
|
66
|
+
[K in keyof T]: T[K];
|
67
|
+
} & {};
|
158
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":"
|
1
|
+
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"yBAsNiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA0gBxD,cAAc,CAAC;;;;;;;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C;CAAG,GAAG,EAAE,CAAC"}
|
@@ -48,8 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
unlockCursor();
|
49
49
|
};
|
50
50
|
const setCursor = (value) => {
|
51
|
-
if (isCursorLocked.value)
|
52
|
-
return;
|
51
|
+
if (isCursorLocked.value) return;
|
53
52
|
cursor.value = value;
|
54
53
|
};
|
55
54
|
const updateCursors = (event) => {
|
@@ -57,31 +56,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
57
56
|
cursorNext.value = event.next;
|
58
57
|
};
|
59
58
|
const cursorUp = () => {
|
60
|
-
if (props.disabled || cursorPrevious.value === void 0)
|
61
|
-
return;
|
59
|
+
if (props.disabled || cursorPrevious.value === void 0) return;
|
62
60
|
lockCursor();
|
63
61
|
cursor.value = cursorPrevious.value === null && !props.allowCreate ? lastItem.value : cursorPrevious.value;
|
64
62
|
};
|
65
63
|
const cursorDown = () => {
|
66
|
-
if (props.disabled || cursorNext.value === void 0)
|
67
|
-
return;
|
64
|
+
if (props.disabled || cursorNext.value === void 0) return;
|
68
65
|
lockCursor();
|
69
66
|
cursor.value = cursorNext.value === null && !props.allowCreate ? firstItem.value : cursorNext.value;
|
70
67
|
};
|
71
68
|
const selectCursor = () => {
|
72
|
-
if (props.disabled || cursor.value === void 0)
|
73
|
-
return;
|
69
|
+
if (props.disabled || cursor.value === void 0) return;
|
74
70
|
if (cursor.value === null) {
|
75
|
-
if (props.allowCreate)
|
76
|
-
emit("create:option");
|
71
|
+
if (props.allowCreate) emit("create:option");
|
77
72
|
return;
|
78
73
|
}
|
79
74
|
if (cursor.value) {
|
80
75
|
setLoadingOption(cursor.value);
|
81
|
-
if (props.modelValue.includes(cursor.value))
|
82
|
-
|
83
|
-
else
|
84
|
-
emit("select", cursor.value);
|
76
|
+
if (props.modelValue.includes(cursor.value)) emit("unselect", cursor.value);
|
77
|
+
else emit("select", cursor.value);
|
85
78
|
}
|
86
79
|
};
|
87
80
|
__expose({
|
@@ -1,123 +1,56 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
6
|
-
valueGetter: (value: Data) => Model;
|
7
|
-
modelValue: Model[];
|
8
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
9
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
10
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
11
|
-
optionComponent?: Component<{
|
12
|
-
option: Data;
|
13
|
-
selected?: boolean | undefined;
|
14
|
-
model?: boolean | undefined;
|
15
|
-
}> | undefined;
|
16
|
-
disableClear?: boolean | undefined;
|
17
|
-
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
18
|
-
previewData?: Data[] | undefined;
|
19
|
-
createdData?: Data[] | undefined;
|
20
|
-
valueQueryKey: string;
|
21
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
22
|
-
attrs: any;
|
23
|
-
slots: Readonly<{
|
24
|
-
default?: ((props: {
|
25
|
-
option: Data;
|
26
|
-
skeleton: boolean;
|
27
|
-
}) => void) | undefined;
|
28
|
-
}> & {
|
29
|
-
default?: ((props: {
|
30
|
-
option: Data;
|
31
|
-
skeleton: boolean;
|
32
|
-
}) => void) | undefined;
|
33
|
-
};
|
34
|
-
emit: {
|
35
|
-
(e: 'unselect', value: Model): void;
|
36
|
-
(e: 'update:fetching', value: boolean): void;
|
37
|
-
(e: 'update:modelValue', value: Model[]): void;
|
38
|
-
};
|
39
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
40
|
-
props: {
|
41
|
-
disabled?: boolean | undefined;
|
42
|
-
loading?: boolean | undefined;
|
1
|
+
import { Component } from 'vue';
|
2
|
+
|
3
|
+
declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
4
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
43
5
|
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
44
|
-
valueGetter: (value: Data) => Model;
|
45
|
-
modelValue: Model[];
|
46
6
|
onUnselect?: ((value: Model) => any) | undefined;
|
7
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
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"> & {
|
47
13
|
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
48
|
-
|
14
|
+
modelValue: Model[];
|
15
|
+
disabled?: boolean;
|
16
|
+
loading?: boolean;
|
49
17
|
optionComponent?: Component<{
|
50
18
|
option: Data;
|
51
|
-
selected?: boolean
|
52
|
-
model?: boolean
|
53
|
-
}
|
54
|
-
disableClear?: boolean
|
55
|
-
|
56
|
-
|
57
|
-
|
19
|
+
selected?: boolean;
|
20
|
+
model?: boolean;
|
21
|
+
}>;
|
22
|
+
disableClear?: boolean;
|
23
|
+
previewData?: Data[];
|
24
|
+
createdData?: Data[];
|
25
|
+
valueGetter: (value: Data) => Model;
|
58
26
|
valueQueryKey: string;
|
59
|
-
|
27
|
+
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
28
|
+
}> & import('vue').PublicProps;
|
60
29
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
61
30
|
attrs: any;
|
62
|
-
slots: Readonly<{
|
63
|
-
default?: (
|
31
|
+
slots: ReturnType<() => Readonly<{
|
32
|
+
default?: (props: {
|
64
33
|
option: Data;
|
65
34
|
skeleton: boolean;
|
66
|
-
}) => void
|
35
|
+
}) => void;
|
67
36
|
}> & {
|
68
|
-
default?: (
|
37
|
+
default?: (props: {
|
69
38
|
option: Data;
|
70
39
|
skeleton: boolean;
|
71
|
-
}) => void
|
72
|
-
}
|
40
|
+
}) => void;
|
41
|
+
}>;
|
73
42
|
emit: {
|
74
|
-
(e:
|
75
|
-
(e:
|
76
|
-
(e:
|
77
|
-
};
|
78
|
-
}>) => import(
|
43
|
+
(e: "unselect", value: Model): void;
|
44
|
+
(e: "update:fetching", value: boolean): void;
|
45
|
+
(e: "update:modelValue", value: Model[]): void;
|
46
|
+
} & {};
|
47
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
79
48
|
[key: string]: any;
|
80
49
|
}> & {
|
81
|
-
__ctx?:
|
82
|
-
props: {
|
83
|
-
disabled?: boolean | undefined;
|
84
|
-
loading?: boolean | undefined;
|
85
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
86
|
-
valueGetter: (value: Data) => Model;
|
87
|
-
modelValue: Model[];
|
88
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
89
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
90
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
91
|
-
optionComponent?: Component<{
|
92
|
-
option: Data;
|
93
|
-
selected?: boolean | undefined;
|
94
|
-
model?: boolean | undefined;
|
95
|
-
}> | undefined;
|
96
|
-
disableClear?: boolean | undefined;
|
97
|
-
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
98
|
-
previewData?: Data[] | undefined;
|
99
|
-
createdData?: Data[] | undefined;
|
100
|
-
valueQueryKey: string;
|
101
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
102
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
103
|
-
attrs: any;
|
104
|
-
slots: Readonly<{
|
105
|
-
default?: ((props: {
|
106
|
-
option: Data;
|
107
|
-
skeleton: boolean;
|
108
|
-
}) => void) | undefined;
|
109
|
-
}> & {
|
110
|
-
default?: ((props: {
|
111
|
-
option: Data;
|
112
|
-
skeleton: boolean;
|
113
|
-
}) => void) | undefined;
|
114
|
-
};
|
115
|
-
emit: {
|
116
|
-
(e: 'unselect', value: Model): void;
|
117
|
-
(e: 'update:fetching', value: boolean): void;
|
118
|
-
(e: 'update:modelValue', value: Model[]): void;
|
119
|
-
};
|
120
|
-
} | undefined;
|
50
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
121
51
|
};
|
122
52
|
export default _default;
|
53
|
+
type __VLS_Prettify<T> = {
|
54
|
+
[K in keyof T]: T[K];
|
55
|
+
} & {};
|
123
56
|
//# 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.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"AA4FA,OAAO,EAAuB,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAA;yBAMxD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,O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C,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,120 +1,55 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
valueGetter: (value: Data) => Model;
|
6
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
7
|
-
queryParams: QueryParams;
|
8
|
-
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
9
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
10
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
11
|
-
optionComponent?: Component<{
|
12
|
-
option: Data;
|
13
|
-
selected?: boolean | undefined;
|
14
|
-
model?: boolean | undefined;
|
15
|
-
}> | undefined;
|
16
|
-
disableClear?: boolean | undefined;
|
17
|
-
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
18
|
-
previewData?: Data[] | undefined;
|
19
|
-
createdData?: Data[] | undefined;
|
20
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
21
|
-
attrs: any;
|
22
|
-
slots: Readonly<{
|
23
|
-
default?: ((props: {
|
24
|
-
option: Data;
|
25
|
-
skeleton: boolean;
|
26
|
-
}) => void) | undefined;
|
27
|
-
}> & {
|
28
|
-
default?: ((props: {
|
29
|
-
option: Data;
|
30
|
-
skeleton: boolean;
|
31
|
-
}) => void) | undefined;
|
32
|
-
};
|
33
|
-
emit: {
|
34
|
-
(e: 'unselect', value: Model): void;
|
35
|
-
(e: 'update:pages-count', value: number): void;
|
36
|
-
(e: 'update:fetching', value: boolean): void;
|
37
|
-
};
|
38
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
39
|
-
props: {
|
40
|
-
disabled?: boolean | undefined;
|
41
|
-
loading?: boolean | undefined;
|
42
|
-
valueGetter: (value: Data) => Model;
|
1
|
+
import { Component } from 'vue';
|
2
|
+
|
3
|
+
declare const _default: <Model extends string | number, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
4
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
43
5
|
onUnselect?: ((value: Model) => any) | undefined;
|
44
|
-
queryParams: QueryParams;
|
45
6
|
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
7
|
+
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
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"> & {
|
46
13
|
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
47
|
-
|
14
|
+
queryParams: QueryParams;
|
15
|
+
disabled?: boolean;
|
16
|
+
loading?: boolean;
|
48
17
|
optionComponent?: Component<{
|
49
18
|
option: Data;
|
50
|
-
selected?: boolean
|
51
|
-
model?: boolean
|
52
|
-
}
|
53
|
-
disableClear?: boolean
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
19
|
+
selected?: boolean;
|
20
|
+
model?: boolean;
|
21
|
+
}>;
|
22
|
+
disableClear?: boolean;
|
23
|
+
previewData?: Data[];
|
24
|
+
createdData?: Data[];
|
25
|
+
valueGetter: (value: Data) => Model;
|
26
|
+
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
27
|
+
}> & import('vue').PublicProps;
|
58
28
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
59
29
|
attrs: any;
|
60
|
-
slots: Readonly<{
|
61
|
-
default?: (
|
30
|
+
slots: ReturnType<() => Readonly<{
|
31
|
+
default?: (props: {
|
62
32
|
option: Data;
|
63
33
|
skeleton: boolean;
|
64
|
-
}) => void
|
34
|
+
}) => void;
|
65
35
|
}> & {
|
66
|
-
default?: (
|
36
|
+
default?: (props: {
|
67
37
|
option: Data;
|
68
38
|
skeleton: boolean;
|
69
|
-
}) => void
|
70
|
-
}
|
39
|
+
}) => void;
|
40
|
+
}>;
|
71
41
|
emit: {
|
72
|
-
(e:
|
73
|
-
(e:
|
74
|
-
(e:
|
75
|
-
};
|
76
|
-
}>) => import(
|
42
|
+
(e: "unselect", value: Model): void;
|
43
|
+
(e: "update:pages-count", value: number): void;
|
44
|
+
(e: "update:fetching", value: boolean): void;
|
45
|
+
} & {};
|
46
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
77
47
|
[key: string]: any;
|
78
48
|
}> & {
|
79
|
-
__ctx?:
|
80
|
-
props: {
|
81
|
-
disabled?: boolean | undefined;
|
82
|
-
loading?: boolean | undefined;
|
83
|
-
valueGetter: (value: Data) => Model;
|
84
|
-
onUnselect?: ((value: Model) => any) | undefined;
|
85
|
-
queryParams: QueryParams;
|
86
|
-
"onUpdate:pages-count"?: ((value: number) => any) | undefined;
|
87
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
88
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
89
|
-
optionComponent?: Component<{
|
90
|
-
option: Data;
|
91
|
-
selected?: boolean | undefined;
|
92
|
-
model?: boolean | undefined;
|
93
|
-
}> | undefined;
|
94
|
-
disableClear?: boolean | undefined;
|
95
|
-
"onUpdate:fetching"?: ((value: boolean) => any) | undefined;
|
96
|
-
previewData?: Data[] | undefined;
|
97
|
-
createdData?: Data[] | undefined;
|
98
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
99
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
100
|
-
attrs: any;
|
101
|
-
slots: Readonly<{
|
102
|
-
default?: ((props: {
|
103
|
-
option: Data;
|
104
|
-
skeleton: boolean;
|
105
|
-
}) => void) | undefined;
|
106
|
-
}> & {
|
107
|
-
default?: ((props: {
|
108
|
-
option: Data;
|
109
|
-
skeleton: boolean;
|
110
|
-
}) => void) | undefined;
|
111
|
-
};
|
112
|
-
emit: {
|
113
|
-
(e: 'unselect', value: Model): void;
|
114
|
-
(e: 'update:pages-count', value: number): void;
|
115
|
-
(e: 'update:fetching', value: boolean): void;
|
116
|
-
};
|
117
|
-
} | undefined;
|
49
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
118
50
|
};
|
119
51
|
export default _default;
|
52
|
+
type __VLS_Prettify<T> = {
|
53
|
+
[K in keyof T]: T[K];
|
54
|
+
} & {};
|
120
55
|
//# 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":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"AAkHA,OAAO,EAAyB,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAA;yBAI1D,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,O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G,GAAG,EAAE,CAAC"}
|
@@ -33,8 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
33
|
});
|
34
34
|
const pagesCount = computed(() => data.value?.pages_count);
|
35
35
|
watch(pagesCount, (value) => {
|
36
|
-
if (value === void 0)
|
37
|
-
return;
|
36
|
+
if (value === void 0) return;
|
38
37
|
emit("update:pages-count", value);
|
39
38
|
});
|
40
39
|
watch(isFetching, (value) => {
|