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,4 +1,4 @@
|
|
1
|
-
import { defineComponent, ref, computed, watch, toRef, nextTick, openBlock, createBlock, unref, withModifiers, createSlots, withCtx, createElementBlock, Fragment, renderList, renderSlot, createCommentVNode, createElementVNode, toDisplayString, resolveDynamicComponent } from 'vue';
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, nextTick, openBlock, createBlock, mergeProps, unref, withModifiers, createSlots, withCtx, createElementBlock, Fragment, renderList, renderSlot, createCommentVNode, createElementVNode, toDisplayString, resolveDynamicComponent } from 'vue';
|
2
2
|
import _sfc_main$3 from './components/SelectOption.vue.js';
|
3
3
|
import _sfc_main$2 from './components/SelectOptionPrefix.vue.js';
|
4
4
|
import { getIsMobile } from '../../utils/mobile.js';
|
@@ -12,34 +12,54 @@ const _hoisted_1 = {
|
|
12
12
|
const _hoisted_2 = { class: "select-none cursor-default w-select-field sm-not:px-3" };
|
13
13
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", { class: "w-select-field pr-2 sm-not:px-3" }, " Create: ", -1);
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
|
+
...{ inheritAttrs: false },
|
15
16
|
__name: "WSelect",
|
16
17
|
props: {
|
17
18
|
modelValue: {},
|
18
19
|
search: {},
|
19
20
|
options: {},
|
20
|
-
title: {},
|
21
|
-
mobileTitle: {},
|
22
|
-
description: {},
|
23
|
-
loading: { type: Boolean },
|
24
21
|
emptyStub: {},
|
25
|
-
maxSearchLength: {},
|
26
22
|
optionComponent: {},
|
27
23
|
disableClear: { type: Boolean },
|
28
24
|
hidePrefix: { type: Boolean },
|
29
|
-
readonly: { type: Boolean },
|
30
|
-
disabled: { type: Boolean },
|
31
|
-
skeleton: { type: Boolean },
|
32
|
-
searchSize: {},
|
33
25
|
allowCreate: { type: Boolean },
|
34
|
-
|
35
|
-
|
36
|
-
|
26
|
+
hideOptionIcon: { type: Boolean },
|
27
|
+
mobileTitle: {},
|
28
|
+
persist: { type: Boolean },
|
29
|
+
type: {},
|
30
|
+
textarea: { type: Boolean },
|
31
|
+
resize: { type: Boolean },
|
37
32
|
placeholder: {},
|
38
|
-
noMargin: { type: Boolean },
|
39
33
|
icon: {},
|
40
|
-
|
34
|
+
size: {},
|
35
|
+
maxLength: {},
|
36
|
+
name: {},
|
37
|
+
autocomplete: {},
|
41
38
|
autofocus: { type: Boolean },
|
42
|
-
|
39
|
+
readonly: { type: Boolean },
|
40
|
+
disabledActions: { type: Boolean },
|
41
|
+
loading: { type: Boolean },
|
42
|
+
spellcheck: { type: Boolean },
|
43
|
+
customBackspaceHandle: { type: Boolean },
|
44
|
+
textSecure: { type: Boolean },
|
45
|
+
placeholderSecure: { type: Boolean },
|
46
|
+
allowPaste: { type: Boolean },
|
47
|
+
title: {},
|
48
|
+
description: {},
|
49
|
+
errorMessage: {},
|
50
|
+
tooltipText: {},
|
51
|
+
mono: { type: Boolean },
|
52
|
+
hasChanges: { type: Boolean },
|
53
|
+
skeleton: { type: Boolean },
|
54
|
+
disabled: { type: Boolean },
|
55
|
+
required: { type: Boolean },
|
56
|
+
noMargin: { type: Boolean },
|
57
|
+
allowCopy: { type: Boolean },
|
58
|
+
teleport: { type: Boolean },
|
59
|
+
noZIndex: { type: Boolean },
|
60
|
+
maxHeight: {},
|
61
|
+
maxWidth: {},
|
62
|
+
horizontalAlign: {}
|
43
63
|
},
|
44
64
|
emits: ["select", "unselect", "update:search", "create:option", "focus", "blur"],
|
45
65
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -59,8 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
79
|
focused.value = false;
|
60
80
|
};
|
61
81
|
const setLoadingOptionIndex = (value) => {
|
62
|
-
if (isDisabled.value)
|
63
|
-
return;
|
82
|
+
if (isDisabled.value) return;
|
64
83
|
loadingOptionIndex.value = value;
|
65
84
|
};
|
66
85
|
const unlockCursor = debounce(() => {
|
@@ -71,41 +90,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
90
|
unlockCursor();
|
72
91
|
};
|
73
92
|
const setCursor = (value) => {
|
74
|
-
if (isCursorLocked.value)
|
75
|
-
return;
|
93
|
+
if (isCursorLocked.value) return;
|
76
94
|
cursor.value = value;
|
77
95
|
};
|
78
96
|
const cursorUp = () => {
|
79
|
-
if (isDisabled.value)
|
80
|
-
return;
|
97
|
+
if (isDisabled.value) return;
|
81
98
|
lockCursor();
|
82
99
|
cursor.value = !props.options.length ? 0 : cursor.value < 1 ? lastIndex.value : cursor.value - 1;
|
83
100
|
};
|
84
101
|
const cursorDown = () => {
|
85
|
-
if (isDisabled.value)
|
86
|
-
return;
|
102
|
+
if (isDisabled.value) return;
|
87
103
|
lockCursor();
|
88
104
|
cursor.value = !props.options.length ? 0 : cursor.value >= lastIndex.value ? 0 : cursor.value + 1;
|
89
105
|
};
|
90
106
|
const selectCursor = () => {
|
91
|
-
if (isDisabled.value)
|
92
|
-
return;
|
107
|
+
if (isDisabled.value) return;
|
93
108
|
const value = cursor.value !== -1 ? props.options[cursor.value] : void 0;
|
94
109
|
if (value) {
|
95
110
|
setLoadingOptionIndex(cursor.value);
|
96
|
-
if (props.modelValue.includes(value))
|
97
|
-
|
98
|
-
else
|
99
|
-
select(value);
|
111
|
+
if (props.modelValue.includes(value)) unselect(value);
|
112
|
+
else select(value);
|
100
113
|
} else {
|
101
|
-
if (props.search)
|
102
|
-
createOption(props.search);
|
114
|
+
if (props.search) createOption(props.search);
|
103
115
|
}
|
104
116
|
};
|
105
117
|
let deletePressTimeout = null;
|
106
118
|
const captureDoubleDelete = () => {
|
107
|
-
if (!props.modelValue.length || props.search.length)
|
108
|
-
return;
|
119
|
+
if (!props.modelValue.length || props.search.length) return;
|
109
120
|
if (deletePressTimeout) {
|
110
121
|
unselect(props.modelValue[props.modelValue.length - 1]);
|
111
122
|
clearTimeout(deletePressTimeout);
|
@@ -117,20 +128,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
117
128
|
}
|
118
129
|
};
|
119
130
|
const select = (item) => {
|
120
|
-
if (isDisabled.value)
|
121
|
-
return;
|
131
|
+
if (isDisabled.value) return;
|
122
132
|
emit("select", item);
|
123
133
|
};
|
124
134
|
const unselect = (item) => {
|
125
|
-
if (isDisabled.value)
|
126
|
-
return;
|
135
|
+
if (isDisabled.value) return;
|
127
136
|
emit("unselect", item);
|
128
137
|
};
|
129
138
|
const createOption = (item) => {
|
130
|
-
if (isDisabled.value)
|
131
|
-
|
132
|
-
if (!props.allowCreate)
|
133
|
-
return;
|
139
|
+
if (isDisabled.value) return;
|
140
|
+
if (!props.allowCreate) return;
|
134
141
|
setLoadingOptionIndex(props.options.length);
|
135
142
|
emit("create:option", item);
|
136
143
|
};
|
@@ -149,28 +156,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
149
156
|
blur
|
150
157
|
});
|
151
158
|
return (_ctx, _cache) => {
|
152
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
159
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
153
160
|
ref_key: "input",
|
154
|
-
ref: input
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
"hide-input": _ctx.modelValue.length === 0 ? false : unref(isMobile) ? !focused.value : !isOpen.value,
|
162
|
-
readonly: _ctx.readonly,
|
163
|
-
skeleton: _ctx.skeleton,
|
164
|
-
size: _ctx.searchSize,
|
165
|
-
"error-message": _ctx.errorMessage,
|
166
|
-
required: _ctx.required,
|
167
|
-
disabled: _ctx.disabled,
|
168
|
-
"has-changes": _ctx.hasChanges,
|
169
|
-
placeholder: _ctx.placeholder,
|
170
|
-
"no-margin": _ctx.noMargin,
|
171
|
-
icon: _ctx.icon,
|
172
|
-
mono: _ctx.mono,
|
173
|
-
autofocus: _ctx.autofocus,
|
161
|
+
ref: input
|
162
|
+
}, {
|
163
|
+
...props,
|
164
|
+
modelValue: _ctx.search,
|
165
|
+
hideInput: _ctx.modelValue.length === 0 ? false : unref(isMobile) ? !focused.value : !isOpen.value
|
166
|
+
}, {
|
167
|
+
class: _ctx.$attrs.class,
|
174
168
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => !_ctx.loading && _ctx.$emit("update:search", $event ?? "")),
|
175
169
|
"onKeypress:enter": withModifiers(selectCursor, ["stop", "prevent"]),
|
176
170
|
"onKeypress:up": withModifiers(cursorUp, ["prevent"]),
|
@@ -189,7 +183,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
189
183
|
focused.value = false;
|
190
184
|
_ctx.$emit("blur", $event);
|
191
185
|
})
|
192
|
-
}, createSlots({
|
186
|
+
}), createSlots({
|
193
187
|
prefix: withCtx(({ unclickable }) => [
|
194
188
|
(_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.modelValue, (option) => {
|
195
189
|
return openBlock(), createBlock(_sfc_main$2, {
|
@@ -281,14 +275,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
281
275
|
]),
|
282
276
|
_: 2
|
283
277
|
}, [
|
278
|
+
_ctx.$slots.title ? {
|
279
|
+
name: "title",
|
280
|
+
fn: withCtx(() => [
|
281
|
+
renderSlot(_ctx.$slots, "title")
|
282
|
+
]),
|
283
|
+
key: "0"
|
284
|
+
} : void 0,
|
285
|
+
_ctx.$slots.subtitle ? {
|
286
|
+
name: "subtitle",
|
287
|
+
fn: withCtx(() => [
|
288
|
+
renderSlot(_ctx.$slots, "subtitle")
|
289
|
+
]),
|
290
|
+
key: "1"
|
291
|
+
} : void 0,
|
284
292
|
_ctx.$slots.right?.()?.length ? {
|
285
293
|
name: "right",
|
286
294
|
fn: withCtx(() => [
|
287
295
|
renderSlot(_ctx.$slots, "right")
|
288
296
|
]),
|
289
|
-
key: "
|
297
|
+
key: "2"
|
290
298
|
} : void 0
|
291
|
-
]),
|
299
|
+
]), 1040, ["class"]);
|
292
300
|
};
|
293
301
|
}
|
294
302
|
});
|
@@ -1,231 +1,56 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
valueGetter?: ((data: Data) => Model) | undefined;
|
12
|
-
modelValue: Model[];
|
13
|
-
readonly?: boolean | undefined;
|
14
|
-
skeleton?: boolean | undefined;
|
15
|
-
description?: string | undefined;
|
16
|
-
placeholder?: string | undefined;
|
17
|
-
errorMessage?: string | undefined;
|
18
|
-
hasChanges?: boolean | undefined;
|
19
|
-
onUnselect?: ((item: Model) => any) | undefined;
|
20
|
-
autofocus?: boolean | undefined;
|
21
|
-
mono?: boolean | undefined;
|
22
|
-
noMargin?: boolean | undefined;
|
23
|
-
mobileTitle?: string | undefined;
|
24
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
25
|
-
queryParams: QueryParams;
|
26
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
27
|
-
isInvalidPage: (error: unknown) => boolean;
|
28
|
-
emptyStub?: string | undefined;
|
29
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
30
|
-
hideOptionIcon?: boolean | undefined;
|
31
|
-
maxSearchLength?: number | undefined;
|
32
|
-
optionComponent?: Component<{
|
33
|
-
option: Data;
|
34
|
-
selected?: boolean | undefined;
|
35
|
-
model?: boolean | undefined;
|
36
|
-
}> | undefined;
|
37
|
-
disableClear?: boolean | undefined;
|
38
|
-
searchSize?: number | undefined;
|
39
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
40
|
-
hidePrefix?: boolean | undefined;
|
41
|
-
allowCreate?: boolean | undefined;
|
42
|
-
previewData?: Data[] | undefined;
|
43
|
-
createdData?: Data[] | undefined;
|
44
|
-
valueQueryKey?: string | undefined;
|
45
|
-
useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams> | undefined;
|
46
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
47
|
-
attrs: any;
|
48
|
-
slots: Readonly<{
|
49
|
-
right?: ((props: Record<string, never>) => void) | undefined;
|
50
|
-
option?: ((props: {
|
51
|
-
option: Data | null;
|
52
|
-
selected: boolean;
|
53
|
-
skeleton: boolean;
|
54
|
-
model: boolean;
|
55
|
-
}) => void) | undefined;
|
56
|
-
}> & {
|
57
|
-
right?: ((props: Record<string, never>) => void) | undefined;
|
58
|
-
option?: ((props: {
|
59
|
-
option: Data | null;
|
60
|
-
selected: boolean;
|
61
|
-
skeleton: boolean;
|
62
|
-
model: boolean;
|
63
|
-
}) => void) | undefined;
|
64
|
-
};
|
65
|
-
emit: {
|
66
|
-
(e: 'select', item: Model): void;
|
67
|
-
(e: 'unselect', item: Model): void;
|
68
|
-
(e: 'update:search', value: string): void;
|
69
|
-
(e: 'update:modelValue', value: Model[]): void;
|
70
|
-
(e: 'create:option', value: string): void;
|
71
|
-
};
|
72
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
73
|
-
focus: () => void;
|
74
|
-
blur: () => void;
|
75
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
76
|
-
props: {
|
77
|
-
required?: boolean | undefined;
|
78
|
-
search: string;
|
79
|
-
title?: string | undefined;
|
1
|
+
import { SelectAsyncProps } from './types';
|
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<{
|
5
|
+
onSelect?: ((item: Model) => any) | undefined;
|
6
|
+
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
7
|
+
onUnselect?: ((item: Model) => any) | undefined;
|
8
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
9
|
+
"onCreate:option"?: ((value: string) => any) | undefined;
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
80
11
|
onSelect?: ((item: Model) => any) | undefined;
|
81
|
-
icon?: SVGComponent | undefined;
|
82
|
-
disabled?: boolean | undefined;
|
83
|
-
loading?: boolean | undefined;
|
84
12
|
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
85
|
-
valueGetter?: ((data: Data) => Model) | undefined;
|
86
|
-
modelValue: Model[];
|
87
|
-
readonly?: boolean | undefined;
|
88
|
-
skeleton?: boolean | undefined;
|
89
|
-
description?: string | undefined;
|
90
|
-
placeholder?: string | undefined;
|
91
|
-
errorMessage?: string | undefined;
|
92
|
-
hasChanges?: boolean | undefined;
|
93
13
|
onUnselect?: ((item: Model) => any) | undefined;
|
94
|
-
autofocus?: boolean | undefined;
|
95
|
-
mono?: boolean | undefined;
|
96
|
-
noMargin?: boolean | undefined;
|
97
|
-
mobileTitle?: string | undefined;
|
98
14
|
"onUpdate:search"?: ((value: string) => any) | undefined;
|
99
|
-
queryParams: QueryParams;
|
100
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
101
|
-
isInvalidPage: (error: unknown) => boolean;
|
102
|
-
emptyStub?: string | undefined;
|
103
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
104
|
-
hideOptionIcon?: boolean | undefined;
|
105
|
-
maxSearchLength?: number | undefined;
|
106
|
-
optionComponent?: Component<{
|
107
|
-
option: Data;
|
108
|
-
selected?: boolean | undefined;
|
109
|
-
model?: boolean | undefined;
|
110
|
-
}> | undefined;
|
111
|
-
disableClear?: boolean | undefined;
|
112
|
-
searchSize?: number | undefined;
|
113
15
|
"onCreate:option"?: ((value: string) => any) | undefined;
|
114
|
-
|
115
|
-
|
116
|
-
previewData?: Data[] | undefined;
|
117
|
-
createdData?: Data[] | undefined;
|
118
|
-
valueQueryKey?: string | undefined;
|
119
|
-
useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams> | undefined;
|
120
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
121
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
16
|
+
}, never>, "onSelect" | "onUpdate:modelValue" | "onUnselect" | "onUpdate:search" | "onCreate:option"> & SelectAsyncProps<Model, Data, ApiError, QueryParams>> & import('vue').PublicProps;
|
17
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
122
18
|
focus: () => void;
|
123
19
|
blur: () => void;
|
124
20
|
}>): void;
|
125
21
|
attrs: any;
|
126
|
-
slots: Readonly<{
|
127
|
-
|
128
|
-
|
22
|
+
slots: ReturnType<() => Readonly<{
|
23
|
+
title?: () => void;
|
24
|
+
subtitle?: () => void;
|
25
|
+
right?: (props: Record<string, never>) => void;
|
26
|
+
option?: (props: {
|
129
27
|
option: Data | null;
|
130
28
|
selected: boolean;
|
131
29
|
skeleton: boolean;
|
132
30
|
model: boolean;
|
133
|
-
}) => void
|
31
|
+
}) => void;
|
134
32
|
}> & {
|
135
|
-
|
136
|
-
|
33
|
+
title?: () => void;
|
34
|
+
subtitle?: () => void;
|
35
|
+
right?: (props: Record<string, never>) => void;
|
36
|
+
option?: (props: {
|
137
37
|
option: Data | null;
|
138
38
|
selected: boolean;
|
139
39
|
skeleton: boolean;
|
140
40
|
model: boolean;
|
141
|
-
}) => void
|
142
|
-
}
|
41
|
+
}) => void;
|
42
|
+
}>;
|
143
43
|
emit: {
|
144
|
-
(e:
|
145
|
-
(e:
|
146
|
-
(e:
|
147
|
-
(e:
|
148
|
-
(e:
|
149
|
-
};
|
150
|
-
}>) => import(
|
44
|
+
(e: "select", item: Model): void;
|
45
|
+
(e: "unselect", item: Model): void;
|
46
|
+
(e: "update:search", value: string): void;
|
47
|
+
(e: "update:modelValue", value: Model[]): void;
|
48
|
+
(e: "create:option", value: string): void;
|
49
|
+
} & {};
|
50
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
151
51
|
[key: string]: any;
|
152
52
|
}> & {
|
153
|
-
__ctx?:
|
154
|
-
props: {
|
155
|
-
required?: boolean | undefined;
|
156
|
-
search: string;
|
157
|
-
title?: string | undefined;
|
158
|
-
onSelect?: ((item: Model) => any) | undefined;
|
159
|
-
icon?: SVGComponent | undefined;
|
160
|
-
disabled?: boolean | undefined;
|
161
|
-
loading?: boolean | undefined;
|
162
|
-
"onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
|
163
|
-
valueGetter?: ((data: Data) => Model) | undefined;
|
164
|
-
modelValue: Model[];
|
165
|
-
readonly?: boolean | undefined;
|
166
|
-
skeleton?: boolean | undefined;
|
167
|
-
description?: string | undefined;
|
168
|
-
placeholder?: string | undefined;
|
169
|
-
errorMessage?: string | undefined;
|
170
|
-
hasChanges?: boolean | undefined;
|
171
|
-
onUnselect?: ((item: Model) => any) | undefined;
|
172
|
-
autofocus?: boolean | undefined;
|
173
|
-
mono?: boolean | undefined;
|
174
|
-
noMargin?: boolean | undefined;
|
175
|
-
mobileTitle?: string | undefined;
|
176
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
177
|
-
queryParams: QueryParams;
|
178
|
-
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
179
|
-
isInvalidPage: (error: unknown) => boolean;
|
180
|
-
emptyStub?: string | undefined;
|
181
|
-
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
182
|
-
hideOptionIcon?: boolean | undefined;
|
183
|
-
maxSearchLength?: number | undefined;
|
184
|
-
optionComponent?: Component<{
|
185
|
-
option: Data;
|
186
|
-
selected?: boolean | undefined;
|
187
|
-
model?: boolean | undefined;
|
188
|
-
}> | undefined;
|
189
|
-
disableClear?: boolean | undefined;
|
190
|
-
searchSize?: number | undefined;
|
191
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
192
|
-
hidePrefix?: boolean | undefined;
|
193
|
-
allowCreate?: boolean | undefined;
|
194
|
-
previewData?: Data[] | undefined;
|
195
|
-
createdData?: Data[] | undefined;
|
196
|
-
valueQueryKey?: string | undefined;
|
197
|
-
useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams> | undefined;
|
198
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
199
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
200
|
-
focus: () => void;
|
201
|
-
blur: () => void;
|
202
|
-
}>): void;
|
203
|
-
attrs: any;
|
204
|
-
slots: Readonly<{
|
205
|
-
right?: ((props: Record<string, never>) => void) | undefined;
|
206
|
-
option?: ((props: {
|
207
|
-
option: Data | null;
|
208
|
-
selected: boolean;
|
209
|
-
skeleton: boolean;
|
210
|
-
model: boolean;
|
211
|
-
}) => void) | undefined;
|
212
|
-
}> & {
|
213
|
-
right?: ((props: Record<string, never>) => void) | undefined;
|
214
|
-
option?: ((props: {
|
215
|
-
option: Data | null;
|
216
|
-
selected: boolean;
|
217
|
-
skeleton: boolean;
|
218
|
-
model: boolean;
|
219
|
-
}) => void) | undefined;
|
220
|
-
};
|
221
|
-
emit: {
|
222
|
-
(e: 'select', item: Model): void;
|
223
|
-
(e: 'unselect', item: Model): void;
|
224
|
-
(e: 'update:search', value: string): void;
|
225
|
-
(e: 'update:modelValue', value: Model[]): void;
|
226
|
-
(e: 'create:option', value: string): void;
|
227
|
-
};
|
228
|
-
} | undefined;
|
53
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
229
54
|
};
|
230
55
|
export default _default;
|
231
56
|
type __VLS_Prettify<T> = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"AAsOA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;yBAG5B,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;WA+fxD,cAAc,CAAC;;;;;;;;;;;;gKAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;gBA5ZV,MAAM,IAAI;mBACP,MAAM,IAAI;gBACb,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;iBACrC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;gBAH7F,MAAM,IAAI;mBACP,MAAM,IAAI;gBACb,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;iBACrC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;MAyZ5D;UAClC;YAnfH,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,SAAS,MAAM,GAAG,IAAI;UA+eA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzgBvE,wBAygB4E;AAY5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|