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,67 +1,21 @@
|
|
1
|
-
declare const _default: <Model extends
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
onUnselect?: (() => any) | undefined;
|
8
|
-
previous?: Model | null | undefined;
|
9
|
-
next?: Model | null | undefined;
|
10
|
-
first?: boolean | undefined;
|
11
|
-
last?: boolean | undefined;
|
12
|
-
onUnmounted?: (() => any) | undefined;
|
13
|
-
"onUpdate:is-cursor"?: ((value: {
|
14
|
-
previous: Model | null | undefined;
|
15
|
-
next: Model | null | undefined;
|
16
|
-
}) => any) | undefined;
|
17
|
-
"onUpdate:cursor"?: (() => any) | undefined;
|
18
|
-
"onUpdate:previous"?: ((value: Model | null | undefined) => any) | undefined;
|
19
|
-
"onUpdate:next"?: ((value: Model | null | undefined) => any) | undefined;
|
20
|
-
"onUpdate:first"?: (() => any) | undefined;
|
21
|
-
"onUpdate:last"?: (() => any) | undefined;
|
22
|
-
isCursor?: boolean | undefined;
|
23
|
-
isNoCursor?: boolean | undefined;
|
24
|
-
hideOptionIcon?: boolean | undefined;
|
25
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
26
|
-
attrs: any;
|
27
|
-
slots: Readonly<{
|
28
|
-
default: (props: {
|
29
|
-
selected: boolean;
|
30
|
-
}) => void;
|
31
|
-
}> & {
|
32
|
-
default: (props: {
|
33
|
-
selected: boolean;
|
34
|
-
}) => void;
|
35
|
-
};
|
36
|
-
emit: {
|
37
|
-
(e: 'select'): void;
|
38
|
-
(e: 'unselect'): void;
|
39
|
-
(e: 'update:is-cursor', value: {
|
1
|
+
declare const _default: <Model extends number | string>(__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<{
|
3
|
+
onSelect?: (() => any) | undefined;
|
4
|
+
onUnmounted?: (() => any) | undefined;
|
5
|
+
onUnselect?: (() => any) | undefined;
|
6
|
+
"onUpdate:is-cursor"?: ((value: {
|
40
7
|
previous: Model | null | undefined;
|
41
8
|
next: Model | null | undefined;
|
42
|
-
})
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
};
|
50
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
51
|
-
scrollIntoView: () => void;
|
52
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
53
|
-
props: {
|
9
|
+
}) => any) | undefined;
|
10
|
+
"onUpdate:cursor"?: (() => any) | undefined;
|
11
|
+
"onUpdate:previous"?: ((value: Model | null | undefined) => any) | undefined;
|
12
|
+
"onUpdate:next"?: ((value: Model | null | undefined) => any) | undefined;
|
13
|
+
"onUpdate:first"?: (() => any) | undefined;
|
14
|
+
"onUpdate:last"?: (() => any) | undefined;
|
15
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
54
16
|
onSelect?: (() => any) | undefined;
|
55
|
-
loading?: boolean | undefined;
|
56
|
-
scroll?: boolean | undefined;
|
57
|
-
skeleton?: boolean | undefined;
|
58
|
-
isSelected: boolean;
|
59
|
-
onUnselect?: (() => any) | undefined;
|
60
|
-
previous?: Model | null | undefined;
|
61
|
-
next?: Model | null | undefined;
|
62
|
-
first?: boolean | undefined;
|
63
|
-
last?: boolean | undefined;
|
64
17
|
onUnmounted?: (() => any) | undefined;
|
18
|
+
onUnselect?: (() => any) | undefined;
|
65
19
|
"onUpdate:is-cursor"?: ((value: {
|
66
20
|
previous: Model | null | undefined;
|
67
21
|
next: Model | null | undefined;
|
@@ -71,15 +25,24 @@ declare const _default: <Model extends string | number>(__VLS_props: {
|
|
71
25
|
"onUpdate:next"?: ((value: Model | null | undefined) => any) | undefined;
|
72
26
|
"onUpdate:first"?: (() => any) | undefined;
|
73
27
|
"onUpdate:last"?: (() => any) | undefined;
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
28
|
+
}, never>, "onSelect" | "onUnmounted" | "onUnselect" | "onUpdate:is-cursor" | "onUpdate:cursor" | "onUpdate:previous" | "onUpdate:next" | "onUpdate:first" | "onUpdate:last"> & {
|
29
|
+
isSelected: boolean;
|
30
|
+
isCursor?: boolean;
|
31
|
+
loading?: boolean;
|
32
|
+
skeleton?: boolean;
|
33
|
+
scroll?: boolean;
|
34
|
+
first?: boolean;
|
35
|
+
last?: boolean;
|
36
|
+
previous?: Model | null;
|
37
|
+
next?: Model | null;
|
38
|
+
isNoCursor?: boolean;
|
39
|
+
hideOptionIcon?: boolean;
|
40
|
+
}> & import('vue').PublicProps;
|
41
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
79
42
|
scrollIntoView: () => void;
|
80
43
|
}>): void;
|
81
44
|
attrs: any;
|
82
|
-
slots: Readonly<{
|
45
|
+
slots: ReturnType<() => Readonly<{
|
83
46
|
default: (props: {
|
84
47
|
selected: boolean;
|
85
48
|
}) => void;
|
@@ -87,78 +50,28 @@ declare const _default: <Model extends string | number>(__VLS_props: {
|
|
87
50
|
default: (props: {
|
88
51
|
selected: boolean;
|
89
52
|
}) => void;
|
90
|
-
}
|
53
|
+
}>;
|
91
54
|
emit: {
|
92
|
-
(e:
|
93
|
-
(e:
|
94
|
-
(e:
|
55
|
+
(e: "select"): void;
|
56
|
+
(e: "unselect"): void;
|
57
|
+
(e: "update:is-cursor", value: {
|
95
58
|
previous: Model | null | undefined;
|
96
59
|
next: Model | null | undefined;
|
97
60
|
}): void;
|
98
|
-
(e:
|
99
|
-
(e:
|
100
|
-
(e:
|
101
|
-
(e:
|
102
|
-
(e:
|
103
|
-
(e:
|
104
|
-
};
|
105
|
-
}>) => import(
|
61
|
+
(e: "update:cursor"): void;
|
62
|
+
(e: "update:previous", value: Model | null | undefined): void;
|
63
|
+
(e: "update:next", value: Model | null | undefined): void;
|
64
|
+
(e: "unmounted"): void;
|
65
|
+
(e: "update:first"): void;
|
66
|
+
(e: "update:last"): void;
|
67
|
+
} & {};
|
68
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
106
69
|
[key: string]: any;
|
107
70
|
}> & {
|
108
|
-
__ctx?:
|
109
|
-
props: {
|
110
|
-
onSelect?: (() => any) | undefined;
|
111
|
-
loading?: boolean | undefined;
|
112
|
-
scroll?: boolean | undefined;
|
113
|
-
skeleton?: boolean | undefined;
|
114
|
-
isSelected: boolean;
|
115
|
-
onUnselect?: (() => any) | undefined;
|
116
|
-
previous?: Model | null | undefined;
|
117
|
-
next?: Model | null | undefined;
|
118
|
-
first?: boolean | undefined;
|
119
|
-
last?: boolean | undefined;
|
120
|
-
onUnmounted?: (() => any) | undefined;
|
121
|
-
"onUpdate:is-cursor"?: ((value: {
|
122
|
-
previous: Model | null | undefined;
|
123
|
-
next: Model | null | undefined;
|
124
|
-
}) => any) | undefined;
|
125
|
-
"onUpdate:cursor"?: (() => any) | undefined;
|
126
|
-
"onUpdate:previous"?: ((value: Model | null | undefined) => any) | undefined;
|
127
|
-
"onUpdate:next"?: ((value: Model | null | undefined) => any) | undefined;
|
128
|
-
"onUpdate:first"?: (() => any) | undefined;
|
129
|
-
"onUpdate:last"?: (() => any) | undefined;
|
130
|
-
isCursor?: boolean | undefined;
|
131
|
-
isNoCursor?: boolean | undefined;
|
132
|
-
hideOptionIcon?: boolean | undefined;
|
133
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
134
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
135
|
-
scrollIntoView: () => void;
|
136
|
-
}>): void;
|
137
|
-
attrs: any;
|
138
|
-
slots: Readonly<{
|
139
|
-
default: (props: {
|
140
|
-
selected: boolean;
|
141
|
-
}) => void;
|
142
|
-
}> & {
|
143
|
-
default: (props: {
|
144
|
-
selected: boolean;
|
145
|
-
}) => void;
|
146
|
-
};
|
147
|
-
emit: {
|
148
|
-
(e: 'select'): void;
|
149
|
-
(e: 'unselect'): void;
|
150
|
-
(e: 'update:is-cursor', value: {
|
151
|
-
previous: Model | null | undefined;
|
152
|
-
next: Model | null | undefined;
|
153
|
-
}): void;
|
154
|
-
(e: 'update:cursor'): void;
|
155
|
-
(e: 'update:previous', value: Model | null | undefined): void;
|
156
|
-
(e: 'update:next', value: Model | null | undefined): void;
|
157
|
-
(e: 'unmounted'): void;
|
158
|
-
(e: 'update:first'): void;
|
159
|
-
(e: 'update:last'): void;
|
160
|
-
};
|
161
|
-
} | undefined;
|
71
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
162
72
|
};
|
163
73
|
export default _default;
|
74
|
+
type __VLS_Prettify<T> = {
|
75
|
+
[K in keyof T]: T[K];
|
76
|
+
} & {};
|
164
77
|
//# sourceMappingURL=SelectOption.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOption.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOption.vue"],"names":[],"mappings":"yBAuIiB,KAAK,SAAS,MAAM,GAAG,MAAM,eAChC,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;WAsNxD,cAAc,CAAC;;;;;sBAjMmB,KAAK,GAAG,IAAI,GAAG,SAAS;kBAAQ,KAAK,GAAG,IAAI,GAAG,SAAS;;;;;;;;;;;;sBAAxD,KAAK,GAAG,IAAI,GAAG,SAAS;kBAAQ,KAAK,GAAG,IAAI,GAAG,SAAS;;;;;;;;oBAjBtF,OAAO;mBACR,OAAO;kBACR,OAAO;mBACN,OAAO;iBACT,OAAO;gBACR,OAAO;eACR,OAAO;mBACH,KAAK,GAAG,IAAI;eAChB,KAAK,GAAG,IAAI;qBACN,OAAO;yBACH,OAAO;KAwMwD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;iBAlIT,CAAC,KAAK,EAAE;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;iBAApC,CAAC,KAAK,EAAE;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;MAkIJ;UAClC;YAvMH,QAAQ,GAAG,IAAI;YACf,UAAU,GAAG,IAAI;YACjB,kBAAkB,SAAS;YAAC,QAAQ,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;YAAC,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;SAAC,GAAG,IAAI;YACtG,eAAe,GAAG,IAAI;YACtB,iBAAiB,SAAS,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;YACzD,aAAa,SAAS,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;YACrD,WAAW,GAAG,IAAI;YAClB,cAAc,GAAG,IAAI;YACrB,aAAa,GAAG,IAAI;UA+LiB;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAhOvE,wBAgO4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -27,50 +27,38 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
const emit = __emit;
|
28
28
|
const element = ref();
|
29
29
|
const toggle = () => {
|
30
|
-
if (props.skeleton || props.loading)
|
31
|
-
|
32
|
-
|
33
|
-
emit("unselect");
|
34
|
-
else
|
35
|
-
emit("select");
|
30
|
+
if (props.skeleton || props.loading) return;
|
31
|
+
if (props.isSelected) emit("unselect");
|
32
|
+
else emit("select");
|
36
33
|
};
|
37
34
|
const scrollIntoView = () => {
|
38
35
|
element.value?.scrollIntoView({ behavior: "auto", block: "center" });
|
39
36
|
};
|
40
37
|
watch(toRef(props, "isCursor"), (value) => {
|
41
|
-
if (!value)
|
42
|
-
return;
|
38
|
+
if (!value) return;
|
43
39
|
emit("update:is-cursor", { previous: props.previous, next: props.next });
|
44
|
-
if (props.scroll)
|
45
|
-
scrollIntoView();
|
40
|
+
if (props.scroll) scrollIntoView();
|
46
41
|
}, { immediate: true });
|
47
42
|
watch(toRef(props, "isNoCursor"), (value) => {
|
48
|
-
if (value && props.first && !props.skeleton)
|
49
|
-
emit("update:cursor");
|
43
|
+
if (value && props.first && !props.skeleton) emit("update:cursor");
|
50
44
|
}, { immediate: true });
|
51
45
|
watch(toRef(props, "previous"), (value) => {
|
52
|
-
if (props.isCursor && !props.skeleton)
|
53
|
-
emit("update:previous", value);
|
46
|
+
if (props.isCursor && !props.skeleton) emit("update:previous", value);
|
54
47
|
}, { immediate: true });
|
55
48
|
watch(toRef(props, "next"), (value) => {
|
56
|
-
if (props.isCursor && !props.skeleton)
|
57
|
-
emit("update:next", value);
|
49
|
+
if (props.isCursor && !props.skeleton) emit("update:next", value);
|
58
50
|
}, { immediate: true });
|
59
51
|
watch(toRef(props, "first"), (value) => {
|
60
|
-
if (value)
|
61
|
-
emit("update:first");
|
52
|
+
if (value) emit("update:first");
|
62
53
|
}, { immediate: true });
|
63
54
|
watch(toRef(props, "last"), (value) => {
|
64
|
-
if (value)
|
65
|
-
emit("update:last");
|
55
|
+
if (value) emit("update:last");
|
66
56
|
}, { immediate: true });
|
67
57
|
watch(toRef(props, "next"), (value) => {
|
68
|
-
if (props.isCursor && !props.skeleton)
|
69
|
-
emit("update:next", value);
|
58
|
+
if (props.isCursor && !props.skeleton) emit("update:next", value);
|
70
59
|
}, { immediate: true });
|
71
60
|
onUnmounted(() => {
|
72
|
-
if (props.isCursor)
|
73
|
-
emit("unmounted");
|
61
|
+
if (props.isCursor) emit("unmounted");
|
74
62
|
});
|
75
63
|
__expose({
|
76
64
|
scrollIntoView
|
@@ -1,63 +1,34 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
loading?: boolean | undefined;
|
6
|
-
onUnselect?: (() => any) | undefined;
|
7
|
-
optionComponent?: Component<{
|
8
|
-
option: Item;
|
9
|
-
selected?: boolean | undefined;
|
10
|
-
model?: boolean | undefined;
|
11
|
-
}> | undefined;
|
12
|
-
disableClear?: boolean | undefined;
|
13
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
14
|
-
attrs: any;
|
15
|
-
slots: {
|
16
|
-
option?(_: {}): any;
|
17
|
-
};
|
18
|
-
emit: (e: 'unselect') => void;
|
19
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
20
|
-
props: {
|
21
|
-
option: Item;
|
22
|
-
disabled?: boolean | undefined;
|
23
|
-
loading?: boolean | undefined;
|
1
|
+
import { Component } from 'vue';
|
2
|
+
|
3
|
+
declare const _default: <Item extends string | number = string>(__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<{
|
24
5
|
onUnselect?: (() => any) | undefined;
|
6
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
7
|
+
onUnselect?: (() => any) | undefined;
|
8
|
+
}, never>, "onUnselect"> & {
|
9
|
+
option: Item;
|
25
10
|
optionComponent?: Component<{
|
26
11
|
option: Item;
|
27
|
-
selected?: boolean
|
28
|
-
model?: boolean
|
29
|
-
}
|
30
|
-
|
31
|
-
|
12
|
+
selected?: boolean;
|
13
|
+
model?: boolean;
|
14
|
+
}>;
|
15
|
+
disabled?: boolean;
|
16
|
+
loading?: boolean;
|
17
|
+
disableClear?: boolean;
|
18
|
+
}> & import('vue').PublicProps;
|
32
19
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
33
20
|
attrs: any;
|
34
|
-
slots: {
|
21
|
+
slots: ReturnType<() => {
|
35
22
|
option?(_: {}): any;
|
36
|
-
}
|
37
|
-
emit: (e:
|
38
|
-
}>) => import(
|
23
|
+
}>;
|
24
|
+
emit: ((e: "unselect") => void) & {};
|
25
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
39
26
|
[key: string]: any;
|
40
27
|
}> & {
|
41
|
-
__ctx?:
|
42
|
-
props: {
|
43
|
-
option: Item;
|
44
|
-
disabled?: boolean | undefined;
|
45
|
-
loading?: boolean | undefined;
|
46
|
-
onUnselect?: (() => any) | undefined;
|
47
|
-
optionComponent?: Component<{
|
48
|
-
option: Item;
|
49
|
-
selected?: boolean | undefined;
|
50
|
-
model?: boolean | undefined;
|
51
|
-
}> | undefined;
|
52
|
-
disableClear?: boolean | undefined;
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
54
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
55
|
-
attrs: any;
|
56
|
-
slots: {
|
57
|
-
option?(_: {}): any;
|
58
|
-
};
|
59
|
-
emit: (e: 'unselect') => void;
|
60
|
-
} | undefined;
|
28
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
61
29
|
};
|
62
30
|
export default _default;
|
31
|
+
type __VLS_Prettify<T> = {
|
32
|
+
[K in keyof T]: T[K];
|
33
|
+
} & {};
|
63
34
|
//# sourceMappingURL=SelectOptionPrefix.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"AAAA,OAmEO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;yBAIjB,IAAI,SAAS,MAAM,GAAG,MAAM,wBAC/B,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+KxD,cAAc,CAAC;;;;;gBA3Kf,IAAI;0BACM,SAAS,CAAC;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;YAAC,KAAK,CAAC,EAAE,OAAO,CAAA;SAAC,CAAC;mBACrE,OAAO;kBACR,OAAO;uBACF,OAAO;KAuK0D,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;wBArBQ,GAAG;MAqBY;UAClC,KAtKH,UAAU,KAAG,IAAI,MAsK0B;;;;YAGL,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzLvE,wBAyL4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { InputSuggestProps } from '../Input/types';
|
2
|
+
import { Component } from 'vue';
|
3
|
+
|
4
|
+
export interface SelectProps<Option extends string | number> extends Omit<InputSuggestProps<'text'>, 'modelValue' | 'allowClear' | 'hideInput'> {
|
5
|
+
modelValue: Option[];
|
6
|
+
search: string;
|
7
|
+
options: Option[];
|
8
|
+
emptyStub?: string;
|
9
|
+
optionComponent?: Component<{
|
10
|
+
option: Option;
|
11
|
+
selected?: boolean;
|
12
|
+
model?: boolean;
|
13
|
+
}>;
|
14
|
+
disableClear?: boolean;
|
15
|
+
hidePrefix?: boolean;
|
16
|
+
allowCreate?: boolean;
|
17
|
+
hideOptionIcon?: boolean;
|
18
|
+
}
|
19
|
+
export interface SelectSingleProps<Option extends string | number, AllowClear extends boolean> extends Omit<SelectProps<Option>, 'modelValue' | 'disableClear'> {
|
20
|
+
modelValue: Option | null;
|
21
|
+
allowClear?: boolean & AllowClear;
|
22
|
+
searchModel?: boolean;
|
23
|
+
}
|
24
|
+
export interface SelectAsyncProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams> extends Omit<SelectProps<Model>, 'options' | 'optionComponent'> {
|
25
|
+
useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
|
26
|
+
useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams>;
|
27
|
+
isInvalidPage: (error: unknown) => boolean;
|
28
|
+
queryParams: QueryParams;
|
29
|
+
optionComponent?: Component<{
|
30
|
+
option: Data;
|
31
|
+
selected?: boolean;
|
32
|
+
model?: boolean;
|
33
|
+
}>;
|
34
|
+
previewData?: Data[];
|
35
|
+
createdData?: Data[];
|
36
|
+
valueGetter?: (data: Data) => Model;
|
37
|
+
valueQueryKey?: string;
|
38
|
+
queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
|
39
|
+
}
|
40
|
+
export interface SelectAsyncSingleProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, AllowClear extends boolean> extends Omit<SelectAsyncProps<Model, Data, ApiError, QueryParams>, 'modelValue' | 'disableClear' | 'previewData' | 'createdData'> {
|
41
|
+
modelValue: Model | null;
|
42
|
+
allowClear?: boolean & AllowClear;
|
43
|
+
searchModel?: boolean;
|
44
|
+
previewData?: Data;
|
45
|
+
createdData?: Data;
|
46
|
+
}
|
47
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"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"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
2
2
|
export default _default;
|
3
3
|
//# sourceMappingURL=WSkeleton.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/WSkeleton.vue"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"WSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/WSkeleton.vue"],"names":[],"mappings":";AAiDA,wBAKG"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
2
2
|
export default _default;
|
3
3
|
//# sourceMappingURL=WSpinner.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSpinner.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/WSpinner.vue"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"WSpinner.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/WSpinner.vue"],"names":[],"mappings":";AA8DA,wBAKG"}
|
@@ -1,41 +1,39 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
lessTransitions?: boolean
|
10
|
-
initTab?: number
|
1
|
+
import { VNode } from 'vue';
|
2
|
+
import { default as WForm } from '../Form/WForm.vue';
|
3
|
+
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
5
|
+
names?: string[] | Record<number, string>;
|
6
|
+
namesFrom?: string[] | Record<number, string>;
|
7
|
+
icons?: SVGComponent[] | Record<number, SVGComponent>;
|
8
|
+
slots?: VNode[];
|
9
|
+
lessTransitions?: boolean;
|
10
|
+
initTab?: number;
|
11
11
|
}>, {
|
12
12
|
updateIndex: (value: number) => void;
|
13
13
|
next: () => void;
|
14
14
|
previous: () => void;
|
15
|
-
validate: (index: number, silent?: boolean | undefined, path?: import(
|
15
|
+
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof WForm>["validate"]>;
|
16
16
|
invalidate: (index: number, payload: {
|
17
17
|
[x: string]: string | string[];
|
18
|
-
}) =>
|
19
|
-
initModel: (index: number) =>
|
20
|
-
}, unknown, {}, {}, import(
|
18
|
+
}) => ReturnType<ComponentInstance<typeof WForm>["invalidate"]>;
|
19
|
+
initModel: (index: number) => ReturnType<ComponentInstance<typeof WForm>["initModel"]>;
|
20
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
21
21
|
"update:current": (value: number) => void;
|
22
22
|
"update:has-changes": (value: boolean) => void;
|
23
|
-
}, string, import(
|
24
|
-
names?: string[] | Record<number, string
|
25
|
-
namesFrom?: string[] | Record<number, string
|
26
|
-
icons?: SVGComponent[] | Record<number, SVGComponent
|
27
|
-
slots?: VNode
|
28
|
-
|
29
|
-
|
30
|
-
lessTransitions?: boolean | undefined;
|
31
|
-
initTab?: number | undefined;
|
23
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
24
|
+
names?: string[] | Record<number, string>;
|
25
|
+
namesFrom?: string[] | Record<number, string>;
|
26
|
+
icons?: SVGComponent[] | Record<number, SVGComponent>;
|
27
|
+
slots?: VNode[];
|
28
|
+
lessTransitions?: boolean;
|
29
|
+
initTab?: number;
|
32
30
|
}>>> & {
|
33
31
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
34
32
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
35
33
|
}, {}, {}>;
|
36
34
|
export default _default;
|
37
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
38
|
-
type
|
36
|
+
type __VLS_TypePropsToOption<T> = {
|
39
37
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
40
38
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
41
39
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"AA4OA,OAAO,EAAkC,KAAK,KAAK,EAAoD,MAAM,KAAK,CAAA;AAElH,OAAO,KAAK,MAAM,6BAA6B,CAAA;;YAOrC,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACrC,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;YAC7C,KAAK,EAAE;sBACG,OAAO;cACf,MAAM;;yBAyCU,MAAM;gBAajB,IAAI;oBAIA,IAAI;sBAuBA,MAAM,6GAAqE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;wBAIhI,MAAM;;UAAuE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC;uBAIvI,MAAM,KAAsE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC;;;;;YA9FpJ,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACrC,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;YAC7C,KAAK,EAAE;sBACG,OAAO;cACf,MAAM;;;;;AAyZlB,wBAQG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
@@ -40,13 +40,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
40
|
const updateIsValidMap = (index, value) => {
|
41
41
|
isValidMap[index] = value;
|
42
42
|
nextTick().then(() => {
|
43
|
-
if (value === false && isValidMap[current.value] !== false)
|
44
|
-
switchTab(index);
|
43
|
+
if (value === false && isValidMap[current.value] !== false) switchTab(index);
|
45
44
|
});
|
46
45
|
};
|
47
46
|
const switchTab = throttle((index) => {
|
48
|
-
if (current.value === index)
|
49
|
-
return;
|
47
|
+
if (current.value === index) return;
|
50
48
|
updateIndex(index);
|
51
49
|
}, 200);
|
52
50
|
const updateIndex = (value) => {
|
@@ -54,8 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
54
52
|
setIndexDebounced(value);
|
55
53
|
};
|
56
54
|
const setIndexDebounced = debounce((value) => {
|
57
|
-
if (current.value === value || value < 0 || value > defaultSlots.value.length - 1)
|
58
|
-
return;
|
55
|
+
if (current.value === value || value < 0 || value > defaultSlots.value.length - 1) return;
|
59
56
|
isDirect.value = current.value < value;
|
60
57
|
current.value = value;
|
61
58
|
}, 100);
|
@@ -66,19 +63,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
63
|
switchTab(current.value - 1);
|
67
64
|
};
|
68
65
|
const updateIndicator = () => {
|
69
|
-
if (!props.names)
|
70
|
-
return;
|
66
|
+
if (!props.names) return;
|
71
67
|
const element = button.value[current.value];
|
72
|
-
if (!element || !element.offsetWidth)
|
73
|
-
return;
|
68
|
+
if (!element || !element.offsetWidth) return;
|
74
69
|
indicatorStyle.value = {
|
75
70
|
width: element.offsetWidth + "px",
|
76
71
|
left: element.offsetLeft + "px"
|
77
72
|
};
|
78
73
|
};
|
79
74
|
const updateHeight = (value) => {
|
80
|
-
if (minHeight.value >= value)
|
81
|
-
return;
|
75
|
+
if (minHeight.value >= value) return;
|
82
76
|
minHeight.value = value;
|
83
77
|
};
|
84
78
|
const validate = (index, ...args) => {
|
@@ -1,11 +1,11 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
names: string[];
|
3
|
-
}>, {}, unknown, {}, {}, import(
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
4
4
|
names: string[];
|
5
5
|
}>>>, {}, {}>;
|
6
6
|
export default _default;
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
8
|
-
type
|
8
|
+
type __VLS_TypePropsToOption<T> = {
|
9
9
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
10
10
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
11
11
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsColumns.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsColumns.vue"],"names":[],"mappings":";WA0CS,MAAM,EAAE;;WAAR,MAAM,EAAE;;AAqEjB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|