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,5 @@
|
|
1
|
-
import
|
1
|
+
import { LinkProps } from '../../types/types';
|
2
|
+
|
2
3
|
interface Props extends LinkProps {
|
3
4
|
icon?: SVGComponent;
|
4
5
|
title: string;
|
@@ -10,17 +11,24 @@ interface Props extends LinkProps {
|
|
10
11
|
indent?: boolean;
|
11
12
|
queryFields?: string[];
|
12
13
|
}
|
13
|
-
declare
|
14
|
-
"update:isActive": (value: [string, boolean]) => void;
|
15
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
16
|
-
"onUpdate:isActive"?: ((value: [string, boolean]) => any) | undefined;
|
17
|
-
}, {}, {}>, {
|
14
|
+
declare function __VLS_template(): {
|
18
15
|
icon?(_: {}): any;
|
19
16
|
right?(_: {}): any;
|
20
|
-
}
|
17
|
+
};
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
19
|
+
"update:isActive": (value: [string, boolean]) => void;
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
21
|
+
"onUpdate:isActive"?: ((value: [string, boolean]) => any) | undefined;
|
22
|
+
}, {}, {}>;
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
21
24
|
export default _default;
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
26
|
+
new (): {
|
27
|
+
$slots: S;
|
28
|
+
};
|
29
|
+
};
|
22
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
23
|
-
type
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
24
32
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
25
33
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
26
34
|
} : {
|
@@ -28,9 +36,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
36
|
required: true;
|
29
37
|
};
|
30
38
|
};
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
32
|
-
new (): {
|
33
|
-
$slots: S;
|
34
|
-
};
|
35
|
-
};
|
36
39
|
//# sourceMappingURL=WNavItem.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAkJA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAqCD,iBAAS,cAAc;kBA+LI,GAAG;mBACF,GAAG;EAsB9B;AACD,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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"}
|
@@ -48,8 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
const router = useRouter();
|
49
49
|
const routeTo = computed(() => router.resolve(props.to));
|
50
50
|
const isActive = computed(() => {
|
51
|
-
if (routeTo.value?.name !== route.name)
|
52
|
-
return false;
|
51
|
+
if (routeTo.value?.name !== route.name) return false;
|
53
52
|
return isEqualObj(route.query, routeTo.value.query, EXCLUDE_QUERY_FIELDS, props.queryFields);
|
54
53
|
});
|
55
54
|
const isTextColor = computed(() => props.hasActive ? !props.indent : isActive.value);
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import { LinkProps } from '../../types/types';
|
2
|
+
|
2
3
|
interface Props extends Partial<LinkProps> {
|
3
4
|
icon?: SVGComponent;
|
4
5
|
title: string;
|
@@ -8,16 +9,23 @@ interface Props extends Partial<LinkProps> {
|
|
8
9
|
indent?: boolean;
|
9
10
|
queryFields?: string[];
|
10
11
|
}
|
11
|
-
declare
|
12
|
+
declare function __VLS_template(): {
|
13
|
+
icon?(_: {}): any;
|
14
|
+
};
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
12
16
|
"update:isActive": (value: [string, boolean]) => void;
|
13
|
-
}, string, import(
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
14
18
|
"onUpdate:isActive"?: ((value: [string, boolean]) => any) | undefined;
|
15
|
-
}, {}, {}
|
16
|
-
|
17
|
-
}>;
|
19
|
+
}, {}, {}>;
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
18
21
|
export default _default;
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
23
|
+
new (): {
|
24
|
+
$slots: S;
|
25
|
+
};
|
26
|
+
};
|
19
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
20
|
-
type
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
21
29
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
22
30
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
23
31
|
} : {
|
@@ -25,9 +33,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
33
|
required: true;
|
26
34
|
};
|
27
35
|
};
|
28
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
29
|
-
new (): {
|
30
|
-
$slots: S;
|
31
|
-
};
|
32
|
-
};
|
33
36
|
//# sourceMappingURL=WNavItemExpand.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"AAoGA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAK5C,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAqCD,iBAAS,cAAc;kBA+HG,GAAG;EAuB5B;AACD,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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"}
|
@@ -6,10 +6,13 @@ import WNavItemTransition from './WNavItemTransition.vue.js';
|
|
6
6
|
import '../Button/WButtonAction.vue.js';
|
7
7
|
import '../Button/WButton.vue.js';
|
8
8
|
import { debounce } from '../../utils/utils.js';
|
9
|
+
import '../Button/WButtonDropdown.vue.js';
|
9
10
|
import '../../utils/supportsPassive.js';
|
10
11
|
import '../Dropdown/utils/DropdownStyle.js';
|
11
12
|
import 'vue-router';
|
12
13
|
import '../../utils/Modal.js';
|
14
|
+
import '../Input/WInputSuggest.vue.js';
|
15
|
+
import '../Input/WInputDate.vue.js';
|
13
16
|
import '../Link/WLink.vue.js';
|
14
17
|
import '@tanstack/vue-query';
|
15
18
|
|
@@ -1,6 +1,8 @@
|
|
1
|
-
declare
|
1
|
+
declare function __VLS_template(): {
|
2
2
|
default?(_: {}): any;
|
3
|
-
}
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
4
6
|
export default _default;
|
5
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
6
8
|
new (): {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItemTransition.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItemTransition.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WNavItemTransition.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItemTransition.vue"],"names":[],"mappings":"AAqBA,iBAAS,cAAc;qBA8BM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -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=WNotify.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNotify.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Notify/WNotify.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WNotify.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Notify/WNotify.vue"],"names":[],"mappings":";AAkOA,wBAKG"}
|
@@ -30,8 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
30
30
|
};
|
31
31
|
const removeNotify = (config) => {
|
32
32
|
const index = list.value.indexOf(config);
|
33
|
-
if (index === -1)
|
34
|
-
return;
|
33
|
+
if (index === -1) return;
|
35
34
|
list.value.splice(index, 1);
|
36
35
|
};
|
37
36
|
onBeforeMount(() => {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { NotifyType } from '../models/NotifyType';
|
2
|
-
import
|
2
|
+
import { LinkProps } from '../../../types/types';
|
3
|
+
|
3
4
|
interface Props extends LinkProps {
|
4
5
|
title: string;
|
5
6
|
caption?: string;
|
@@ -7,13 +8,13 @@ interface Props extends LinkProps {
|
|
7
8
|
type: NotifyType;
|
8
9
|
count: number;
|
9
10
|
}
|
10
|
-
declare const _default: import(
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
11
12
|
caption: undefined;
|
12
13
|
userInput: undefined;
|
13
14
|
to: undefined;
|
14
|
-
}>, {}, unknown, {}, {}, import(
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
15
16
|
"click:close": () => void;
|
16
|
-
}, string, import(
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
17
18
|
caption: undefined;
|
18
19
|
userInput: undefined;
|
19
20
|
to: undefined;
|
@@ -21,19 +22,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
21
22
|
"onClick:close"?: (() => any) | undefined;
|
22
23
|
}, {
|
23
24
|
caption: string;
|
24
|
-
to: import(
|
25
|
+
to: import('vue-router').RouterLinkProps["to"];
|
25
26
|
userInput: string;
|
26
27
|
}, {}>;
|
27
28
|
export default _default;
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
32
|
-
} : {
|
33
|
-
type: import('vue').PropType<T[K]>;
|
34
|
-
required: true;
|
35
|
-
};
|
36
|
-
};
|
37
29
|
type __VLS_WithDefaults<P, D> = {
|
38
30
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
39
31
|
default: D[K];
|
@@ -42,4 +34,13 @@ type __VLS_WithDefaults<P, D> = {
|
|
42
34
|
type __VLS_Prettify<T> = {
|
43
35
|
[K in keyof T]: T[K];
|
44
36
|
} & {};
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
41
|
+
} : {
|
42
|
+
type: import('vue').PropType<T[K]>;
|
43
|
+
required: true;
|
44
|
+
};
|
45
|
+
};
|
45
46
|
//# sourceMappingURL=NotifyCard.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotifyCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Notify/components/NotifyCard.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"NotifyCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Notify/components/NotifyCard.vue"],"names":[],"mappings":"AA6HA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAA;AAS/C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAI5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;;;;;;;;;;;;;;aAJW,MAAM;;eACJ,MAAM;;AA+QpB,wBAOG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,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"}
|
@@ -38,15 +38,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
38
|
const router = useRouter();
|
39
39
|
const linkText = computed(() => props.to ? router.resolve(props.to).meta.title : void 0);
|
40
40
|
const elementStyles = computed(() => {
|
41
|
-
if (!height.value)
|
42
|
-
return void 0;
|
41
|
+
if (!height.value) return void 0;
|
43
42
|
return {
|
44
43
|
"--list-item-height": height.value + "px"
|
45
44
|
};
|
46
45
|
});
|
47
46
|
watch(element, (value) => {
|
48
|
-
if (!value)
|
49
|
-
return;
|
47
|
+
if (!value) return;
|
50
48
|
height.value = value.getBoundingClientRect().height || void 0;
|
51
49
|
});
|
52
50
|
return (_ctx, _cache) => {
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import
|
2
|
-
import
|
1
|
+
import { LinkProps } from '../../../types/types';
|
2
|
+
import { NotifyType } from './NotifyType';
|
3
|
+
|
3
4
|
export interface NotifyConfig extends Partial<LinkProps> {
|
4
5
|
title: string;
|
5
6
|
caption?: string;
|
@@ -1,207 +1,60 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
modelValue: Item[];
|
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: Item) => 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
|
-
emptyStub?: string | undefined;
|
26
|
-
hideOptionIcon?: boolean | undefined;
|
27
|
-
options: Item[];
|
28
|
-
maxSearchLength?: number | undefined;
|
29
|
-
optionComponent?: Component<{
|
30
|
-
option: Item;
|
31
|
-
selected?: boolean | undefined;
|
32
|
-
model?: boolean | undefined;
|
33
|
-
}> | undefined;
|
34
|
-
disableClear?: boolean | undefined;
|
35
|
-
searchSize?: number | undefined;
|
36
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
37
|
-
hidePrefix?: boolean | undefined;
|
38
|
-
allowCreate?: boolean | undefined;
|
39
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
40
|
-
attrs: any;
|
41
|
-
slots: Readonly<{
|
42
|
-
option?: ((props: {
|
43
|
-
option: Item | string;
|
44
|
-
selected: boolean;
|
45
|
-
model: boolean;
|
46
|
-
}) => void) | undefined;
|
47
|
-
right?: (() => void) | undefined;
|
48
|
-
}> & {
|
49
|
-
option?: ((props: {
|
50
|
-
option: Item | string;
|
51
|
-
selected: boolean;
|
52
|
-
model: boolean;
|
53
|
-
}) => void) | undefined;
|
54
|
-
right?: (() => void) | undefined;
|
55
|
-
};
|
56
|
-
emit: {
|
57
|
-
(e: 'select', item: Item): void;
|
58
|
-
(e: 'unselect', item: Item): void;
|
59
|
-
(e: 'update:search', value: string): void;
|
60
|
-
(e: 'create:option', value: string): void;
|
61
|
-
(e: 'focus', value: FocusEvent): void;
|
62
|
-
(e: 'blur', value: FocusEvent): void;
|
63
|
-
};
|
64
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
65
|
-
focus: () => void;
|
66
|
-
blur: () => void;
|
67
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
68
|
-
props: {
|
69
|
-
required?: boolean | undefined;
|
70
|
-
search: string;
|
71
|
-
title?: string | undefined;
|
1
|
+
import { SelectProps } from './types';
|
2
|
+
|
3
|
+
declare const _default: <Option 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<{
|
5
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
6
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
7
|
+
onSelect?: ((item: Option) => any) | undefined;
|
8
|
+
onUnselect?: ((item: Option) => any) | undefined;
|
9
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
10
|
+
"onCreate:option"?: ((value: string) => any) | undefined;
|
11
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
72
12
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
73
13
|
onBlur?: ((value: FocusEvent) => any) | undefined;
|
74
|
-
onSelect?: ((item:
|
75
|
-
|
76
|
-
disabled?: boolean | undefined;
|
77
|
-
loading?: boolean | undefined;
|
78
|
-
modelValue: Item[];
|
79
|
-
readonly?: boolean | undefined;
|
80
|
-
skeleton?: boolean | undefined;
|
81
|
-
description?: string | undefined;
|
82
|
-
placeholder?: string | undefined;
|
83
|
-
errorMessage?: string | undefined;
|
84
|
-
hasChanges?: boolean | undefined;
|
85
|
-
onUnselect?: ((item: Item) => any) | undefined;
|
86
|
-
autofocus?: boolean | undefined;
|
87
|
-
mono?: boolean | undefined;
|
88
|
-
noMargin?: boolean | undefined;
|
89
|
-
mobileTitle?: string | undefined;
|
14
|
+
onSelect?: ((item: Option) => any) | undefined;
|
15
|
+
onUnselect?: ((item: Option) => any) | undefined;
|
90
16
|
"onUpdate:search"?: ((value: string) => any) | undefined;
|
91
|
-
emptyStub?: string | undefined;
|
92
|
-
hideOptionIcon?: boolean | undefined;
|
93
|
-
options: Item[];
|
94
|
-
maxSearchLength?: number | undefined;
|
95
|
-
optionComponent?: Component<{
|
96
|
-
option: Item;
|
97
|
-
selected?: boolean | undefined;
|
98
|
-
model?: boolean | undefined;
|
99
|
-
}> | undefined;
|
100
|
-
disableClear?: boolean | undefined;
|
101
|
-
searchSize?: number | undefined;
|
102
17
|
"onCreate:option"?: ((value: string) => any) | undefined;
|
103
|
-
|
104
|
-
|
105
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
106
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
18
|
+
}, never>, "onFocus" | "onBlur" | "onSelect" | "onUnselect" | "onUpdate:search" | "onCreate:option"> & SelectProps<Option>> & import('vue').PublicProps;
|
19
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
107
20
|
focus: () => void;
|
108
21
|
blur: () => void;
|
109
22
|
}>): void;
|
110
23
|
attrs: any;
|
111
|
-
slots: Readonly<{
|
112
|
-
|
113
|
-
|
24
|
+
slots: ReturnType<() => Readonly<{
|
25
|
+
title?: () => void;
|
26
|
+
subtitle?: () => void;
|
27
|
+
option?: (props: {
|
28
|
+
option: Option | string;
|
114
29
|
selected: boolean;
|
115
30
|
model: boolean;
|
116
|
-
}) => void
|
117
|
-
right?: (
|
31
|
+
}) => void;
|
32
|
+
right?: () => void;
|
118
33
|
}> & {
|
119
|
-
|
120
|
-
|
34
|
+
title?: () => void;
|
35
|
+
subtitle?: () => void;
|
36
|
+
option?: (props: {
|
37
|
+
option: Option | string;
|
121
38
|
selected: boolean;
|
122
39
|
model: boolean;
|
123
|
-
}) => void
|
124
|
-
right?: (
|
125
|
-
}
|
40
|
+
}) => void;
|
41
|
+
right?: () => void;
|
42
|
+
}>;
|
126
43
|
emit: {
|
127
|
-
(e:
|
128
|
-
(e:
|
129
|
-
(e:
|
130
|
-
(e:
|
131
|
-
(e:
|
132
|
-
(e:
|
133
|
-
};
|
134
|
-
}>) => import(
|
44
|
+
(e: "select", item: Option): void;
|
45
|
+
(e: "unselect", item: Option): void;
|
46
|
+
(e: "update:search", value: string): void;
|
47
|
+
(e: "create:option", value: string): void;
|
48
|
+
(e: "focus", value: FocusEvent): void;
|
49
|
+
(e: "blur", value: FocusEvent): void;
|
50
|
+
} & {};
|
51
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
135
52
|
[key: string]: any;
|
136
53
|
}> & {
|
137
|
-
__ctx?:
|
138
|
-
props: {
|
139
|
-
required?: boolean | undefined;
|
140
|
-
search: string;
|
141
|
-
title?: string | undefined;
|
142
|
-
onFocus?: ((value: FocusEvent) => any) | undefined;
|
143
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
144
|
-
onSelect?: ((item: Item) => any) | undefined;
|
145
|
-
icon?: SVGComponent | undefined;
|
146
|
-
disabled?: boolean | undefined;
|
147
|
-
loading?: boolean | undefined;
|
148
|
-
modelValue: Item[];
|
149
|
-
readonly?: boolean | undefined;
|
150
|
-
skeleton?: boolean | undefined;
|
151
|
-
description?: string | undefined;
|
152
|
-
placeholder?: string | undefined;
|
153
|
-
errorMessage?: string | undefined;
|
154
|
-
hasChanges?: boolean | undefined;
|
155
|
-
onUnselect?: ((item: Item) => any) | undefined;
|
156
|
-
autofocus?: boolean | undefined;
|
157
|
-
mono?: boolean | undefined;
|
158
|
-
noMargin?: boolean | undefined;
|
159
|
-
mobileTitle?: string | undefined;
|
160
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
161
|
-
emptyStub?: string | undefined;
|
162
|
-
hideOptionIcon?: boolean | undefined;
|
163
|
-
options: Item[];
|
164
|
-
maxSearchLength?: number | undefined;
|
165
|
-
optionComponent?: Component<{
|
166
|
-
option: Item;
|
167
|
-
selected?: boolean | undefined;
|
168
|
-
model?: boolean | undefined;
|
169
|
-
}> | undefined;
|
170
|
-
disableClear?: boolean | undefined;
|
171
|
-
searchSize?: number | undefined;
|
172
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
173
|
-
hidePrefix?: boolean | undefined;
|
174
|
-
allowCreate?: boolean | undefined;
|
175
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
176
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
177
|
-
focus: () => void;
|
178
|
-
blur: () => void;
|
179
|
-
}>): void;
|
180
|
-
attrs: any;
|
181
|
-
slots: Readonly<{
|
182
|
-
option?: ((props: {
|
183
|
-
option: Item | string;
|
184
|
-
selected: boolean;
|
185
|
-
model: boolean;
|
186
|
-
}) => void) | undefined;
|
187
|
-
right?: (() => void) | undefined;
|
188
|
-
}> & {
|
189
|
-
option?: ((props: {
|
190
|
-
option: Item | string;
|
191
|
-
selected: boolean;
|
192
|
-
model: boolean;
|
193
|
-
}) => void) | undefined;
|
194
|
-
right?: (() => void) | undefined;
|
195
|
-
};
|
196
|
-
emit: {
|
197
|
-
(e: 'select', item: Item): void;
|
198
|
-
(e: 'unselect', item: Item): void;
|
199
|
-
(e: 'update:search', value: string): void;
|
200
|
-
(e: 'create:option', value: string): void;
|
201
|
-
(e: 'focus', value: FocusEvent): void;
|
202
|
-
(e: 'blur', value: FocusEvent): void;
|
203
|
-
};
|
204
|
-
} | undefined;
|
54
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
205
55
|
};
|
206
56
|
export default _default;
|
57
|
+
type __VLS_Prettify<T> = {
|
58
|
+
[K in keyof T]: T[K];
|
59
|
+
} & {};
|
207
60
|
//# sourceMappingURL=WSelect.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AA2TA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;yBAGvB,MAAM,SAAS,MAAM,GAAG,MAAM,wBACjC,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;WAulBxD,cAAc,CAAC;;;;;;;;;;;;;;8HAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;gBA9bV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;YACvB,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;SACf,KAAK,IAAI;gBACF,MAAM,IAAI;;gBAPV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;YACvB,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;SACf,KAAK,IAAI;gBACF,MAAM,IAAI;MAubuB;UAClC;YAllBH,QAAQ,QAAQ,MAAM,GAAG,IAAI;YAC7B,UAAU,QAAQ,MAAM,GAAG,IAAI;YAC/B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;UA6kBK;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAjmBvE,wBAimB4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|