eco-vue-js 0.5.26 → 0.6.1
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 +33 -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 → types.d.ts} +4 -3
- package/dist/components/Modal/types.d.ts.map +1 -0
- 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 +43 -19
- package/tailwind-base/plugins/default.cjs +6 -0
- package/tailwind-base/theme/sizes.cjs +2 -0
- package/dist/components/Modal/modals/Confirm/types.d.ts.map +0 -1
@@ -1,21 +1,21 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
title: string;
|
3
3
|
icon: SVGComponent;
|
4
|
-
disableMessage?: string
|
5
|
-
active?: boolean
|
6
|
-
}>, {}, unknown, {}, {}, import(
|
4
|
+
disableMessage?: string;
|
5
|
+
active?: boolean;
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
7
7
|
click: () => void;
|
8
|
-
}, string, import(
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
9
9
|
title: string;
|
10
10
|
icon: SVGComponent;
|
11
|
-
disableMessage?: string
|
12
|
-
active?: boolean
|
11
|
+
disableMessage?: string;
|
12
|
+
active?: boolean;
|
13
13
|
}>>> & {
|
14
14
|
onClick?: (() => any) | undefined;
|
15
15
|
}, {}, {}>;
|
16
16
|
export default _default;
|
17
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
18
|
-
type
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
19
19
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
20
20
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
21
21
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":";WAqDS,MAAM;UACP,YAAY;qBACD,MAAM;aACd,OAAO;;;;WAHT,MAAM;UACP,YAAY;qBACD,MAAM;aACd,OAAO;;;;AAyGlB,wBAOG;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"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { SemanticType } from '../../../utils/SemanticType';
|
2
|
+
|
2
3
|
export declare const semanticTypeButtonStylesMap: Record<SemanticType, string>;
|
3
4
|
export declare const semanticTypeButtonBorderStylesMap: Record<SemanticType, string>;
|
4
5
|
export declare const semanticTypeTextStylesMap: Record<SemanticType, string>;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { FieldWrapperProps } from '../FieldWrapper/types';
|
2
|
+
import { SemanticType } from '../../utils/SemanticType';
|
3
|
+
import { DropdownMenuProps } from '../DropdownMenu/types';
|
4
|
+
|
5
|
+
interface Props<Model extends number | string | null | boolean> extends Omit<FieldWrapperProps, 'modelValue'> {
|
6
|
+
modelValue: Model;
|
7
|
+
loading?: number | string;
|
8
|
+
minimize?: boolean;
|
9
|
+
wrap?: boolean;
|
10
|
+
col?: boolean;
|
11
|
+
semanticType?: SemanticType;
|
12
|
+
stretch?: boolean;
|
13
|
+
alwaysEmit?: boolean;
|
14
|
+
}
|
15
|
+
export interface ButtonGroupPropsForModel<Model extends number | string | null | boolean, Entity extends Record<string, unknown>, ValueGetter extends {
|
16
|
+
fn(value: Entity): Model;
|
17
|
+
}['fn'] | undefined = undefined> extends Props<Model> {
|
18
|
+
list: Model[];
|
19
|
+
valueGetter?: ValueGetter | undefined;
|
20
|
+
}
|
21
|
+
export interface ButtonGroupPropsForEntity<Model extends number | string | null | boolean, Entity extends Record<string, unknown>, ValueGetter extends {
|
22
|
+
fn(value: Entity): Model;
|
23
|
+
}['fn'] | undefined = undefined> extends Props<Model> {
|
24
|
+
list: Entity[];
|
25
|
+
valueGetter: ValueGetter | ((value: Entity) => Model);
|
26
|
+
}
|
27
|
+
export interface ButtonDropdownProps extends Omit<DropdownMenuProps, 'isOpen' | 'updateAlign' | 'emitUpdate'> {
|
28
|
+
semanticType?: SemanticType;
|
29
|
+
leftToggle?: boolean;
|
30
|
+
disabled?: boolean;
|
31
|
+
}
|
32
|
+
export {};
|
33
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AAEtE,UAAU,KAAK,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,CAC5D,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC;IAC7C,UAAU,EAAE,KAAK,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,wBAAwB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,CAC5M,SAAQ,KAAK,CAAC,KAAK,CAAC;IACpB,IAAI,EAAE,KAAK,EAAE,CAAA;IACb,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;CACtC;AAED,MAAM,WAAW,yBAAyB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,CAC7M,SAAQ,KAAK,CAAC,KAAK,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,WAAW,EAAE,WAAW,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,CAAA;CACtD;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,CAAC;IAC3G,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
@@ -1,39 +1,46 @@
|
|
1
|
-
declare
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
5
|
modelValue: boolean | null;
|
3
|
-
title?: string
|
4
|
-
disabled?: boolean
|
5
|
-
readonly?: boolean
|
6
|
-
icon?: SVGComponent
|
7
|
-
radio?: boolean
|
8
|
-
loading?: boolean
|
9
|
-
intermediate?: boolean
|
10
|
-
tooltipText?: string
|
11
|
-
allowShift?: boolean
|
12
|
-
alignTop?: boolean
|
13
|
-
}>, {}, unknown, {}, {}, import(
|
6
|
+
title?: string;
|
7
|
+
disabled?: boolean;
|
8
|
+
readonly?: boolean;
|
9
|
+
icon?: SVGComponent;
|
10
|
+
radio?: boolean;
|
11
|
+
loading?: boolean;
|
12
|
+
intermediate?: boolean;
|
13
|
+
tooltipText?: string;
|
14
|
+
allowShift?: boolean;
|
15
|
+
alignTop?: boolean;
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
17
|
"update:modelValue": (value: boolean) => void;
|
15
18
|
"update-shift:modelValue": (value: boolean) => void;
|
16
|
-
}, string, import(
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
17
20
|
modelValue: boolean | null;
|
18
|
-
title?: string
|
19
|
-
disabled?: boolean
|
20
|
-
readonly?: boolean
|
21
|
-
icon?: SVGComponent
|
22
|
-
radio?: boolean
|
23
|
-
loading?: boolean
|
24
|
-
intermediate?: boolean
|
25
|
-
tooltipText?: string
|
26
|
-
allowShift?: boolean
|
27
|
-
alignTop?: boolean
|
21
|
+
title?: string;
|
22
|
+
disabled?: boolean;
|
23
|
+
readonly?: boolean;
|
24
|
+
icon?: SVGComponent;
|
25
|
+
radio?: boolean;
|
26
|
+
loading?: boolean;
|
27
|
+
intermediate?: boolean;
|
28
|
+
tooltipText?: string;
|
29
|
+
allowShift?: boolean;
|
30
|
+
alignTop?: boolean;
|
28
31
|
}>>> & {
|
29
32
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
30
33
|
"onUpdate-shift:modelValue"?: ((value: boolean) => any) | undefined;
|
31
|
-
}, {}, {}
|
32
|
-
|
33
|
-
}>;
|
34
|
+
}, {}, {}>;
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
34
36
|
export default _default;
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
38
|
+
new (): {
|
39
|
+
$slots: S;
|
40
|
+
};
|
41
|
+
};
|
35
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
36
|
-
type
|
43
|
+
type __VLS_TypePropsToOption<T> = {
|
37
44
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
38
45
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
39
46
|
} : {
|
@@ -41,9 +48,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
48
|
required: true;
|
42
49
|
};
|
43
50
|
};
|
44
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
45
|
-
new (): {
|
46
|
-
$slots: S;
|
47
|
-
};
|
48
|
-
};
|
49
51
|
//# sourceMappingURL=WCheckbox.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AA6KA,iBAAS,cAAc;qBA8KO,GAAG;EAoBhC;AACD,QAAA,MAAM,eAAe;gBA1OP,OAAO,GAAG,IAAI;YAClB,MAAM;eACH,OAAO;eACP,OAAO;WACX,YAAY;YACX,OAAO;cACL,OAAO;mBACF,OAAO;kBACR,MAAM;iBACP,OAAO;eACT,OAAO;;;;;gBAVN,OAAO,GAAG,IAAI;YAClB,MAAM;eACH,OAAO;eACP,OAAO;WACX,YAAY;YACX,OAAO;cACL,OAAO;mBACF,OAAO;kBACR,MAAM;iBACP,OAAO;eACT,OAAO;;;;UAuOlB,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"}
|
@@ -29,8 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
const emit = __emit;
|
30
30
|
const element = ref();
|
31
31
|
const toggle = (e) => {
|
32
|
-
if (props.disabled || props.readonly || props.loading)
|
33
|
-
return;
|
32
|
+
if (props.disabled || props.readonly || props.loading) return;
|
34
33
|
if (props.allowShift && e.shiftKey) {
|
35
34
|
emit("update-shift:modelValue", !props.modelValue);
|
36
35
|
return;
|
@@ -1,18 +1,26 @@
|
|
1
1
|
import { SemanticType } from '../../utils/SemanticType';
|
2
|
-
|
3
|
-
|
4
|
-
semanticType?: SemanticType | undefined;
|
5
|
-
skeleton?: boolean | undefined;
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
7
|
-
text?: string | undefined;
|
8
|
-
semanticType?: SemanticType | undefined;
|
9
|
-
skeleton?: boolean | undefined;
|
10
|
-
}>>>, {}, {}>, {
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
11
4
|
default?(_: {}): any;
|
12
|
-
}
|
5
|
+
};
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
7
|
+
text?: string;
|
8
|
+
semanticType?: SemanticType;
|
9
|
+
skeleton?: boolean;
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
11
|
+
text?: string;
|
12
|
+
semanticType?: SemanticType;
|
13
|
+
skeleton?: boolean;
|
14
|
+
}>>>, {}, {}>;
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
13
16
|
export default _default;
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
18
|
+
new (): {
|
19
|
+
$slots: S;
|
20
|
+
};
|
21
|
+
};
|
14
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
15
|
-
type
|
23
|
+
type __VLS_TypePropsToOption<T> = {
|
16
24
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
17
25
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
18
26
|
} : {
|
@@ -20,9 +28,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
28
|
required: true;
|
21
29
|
};
|
22
30
|
};
|
23
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
24
|
-
new (): {
|
25
|
-
$slots: S;
|
26
|
-
};
|
27
|
-
};
|
28
31
|
//# sourceMappingURL=WChip.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WChip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/WChip.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WChip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/WChip.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AA2BjD,iBAAS,cAAc;qBA8CM,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;WArFZ,MAAM;mBACE,YAAY;eAChB,OAAO;;WAFX,MAAM;mBACE,YAAY;eAChB,OAAO;aAyFlB,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"}
|
@@ -1,10 +1,12 @@
|
|
1
|
-
declare
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
2
5
|
click: () => void;
|
3
|
-
}, string, import(
|
6
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
4
7
|
onClick?: (() => any) | undefined;
|
5
|
-
}, {}, {}
|
6
|
-
|
7
|
-
}>;
|
8
|
+
}, {}, {}>;
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
8
10
|
export default _default;
|
9
11
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
10
12
|
new (): {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WClickOutside.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ClickOutside/WClickOutside.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WClickOutside.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ClickOutside/WClickOutside.vue"],"names":[],"mappings":"AAwEA,iBAAS,cAAc;qBAqBM,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;;;;UAMnB,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"}
|
@@ -8,19 +8,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
const emit = __emit;
|
9
9
|
const element = ref();
|
10
10
|
const clickListener = (event) => {
|
11
|
-
if (element.value && event.target instanceof Element && !hasParent(element.value, event.target))
|
12
|
-
emit("click");
|
11
|
+
if (element.value && event.target instanceof Element && !hasParent(element.value, event.target)) emit("click");
|
13
12
|
};
|
14
13
|
onMounted(() => {
|
15
|
-
if (!isClientSide)
|
16
|
-
return;
|
14
|
+
if (!isClientSide) return;
|
17
15
|
setTimeout(() => {
|
18
16
|
document.addEventListener("click", clickListener);
|
19
17
|
});
|
20
18
|
});
|
21
19
|
onBeforeUnmount(() => {
|
22
|
-
if (!isClientSide)
|
23
|
-
return;
|
20
|
+
if (!isClientSide) return;
|
24
21
|
document.removeEventListener("click", clickListener);
|
25
22
|
});
|
26
23
|
return (_ctx, _cache) => {
|
@@ -1,28 +1,19 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
2
2
|
count: number;
|
3
|
-
trigger?: number
|
4
|
-
small?: boolean
|
3
|
+
trigger?: number;
|
4
|
+
small?: boolean;
|
5
5
|
}>, {
|
6
6
|
trigger: number;
|
7
|
-
}>, {}, unknown, {}, {}, import(
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
8
8
|
count: number;
|
9
|
-
trigger?: number
|
10
|
-
small?: boolean
|
9
|
+
trigger?: number;
|
10
|
+
small?: boolean;
|
11
11
|
}>, {
|
12
12
|
trigger: number;
|
13
13
|
}>>>, {
|
14
14
|
trigger: number;
|
15
15
|
}, {}>;
|
16
16
|
export default _default;
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
21
|
-
} : {
|
22
|
-
type: import('vue').PropType<T[K]>;
|
23
|
-
required: true;
|
24
|
-
};
|
25
|
-
};
|
26
17
|
type __VLS_WithDefaults<P, D> = {
|
27
18
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
28
19
|
default: D[K];
|
@@ -31,4 +22,13 @@ type __VLS_WithDefaults<P, D> = {
|
|
31
22
|
type __VLS_Prettify<T> = {
|
32
23
|
[K in keyof T]: T[K];
|
33
24
|
} & {};
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
29
|
+
} : {
|
30
|
+
type: import('vue').PropType<T[K]>;
|
31
|
+
required: true;
|
32
|
+
};
|
33
|
+
};
|
34
34
|
//# sourceMappingURL=WCounter.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WCounter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/WCounter.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WCounter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/WCounter.vue"],"names":[],"mappings":";WAuDW,MAAM;cACH,MAAM;YACR,OAAO;;;;WAFR,MAAM;cACH,MAAM;YACR,OAAO;;;;aADL,MAAM;;AAyFpB,wBAMG;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"}
|
@@ -15,8 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
watch(toRef(props, "count"), (value) => {
|
16
16
|
if (value >= props.trigger) {
|
17
17
|
isShake.value = true;
|
18
|
-
if (timeout)
|
19
|
-
clearTimeout(timeout);
|
18
|
+
if (timeout) clearTimeout(timeout);
|
20
19
|
timeout = setTimeout(() => {
|
21
20
|
isShake.value = false;
|
22
21
|
timeout = null;
|
@@ -1,16 +1,17 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import { DateRange } from './models/types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
3
4
|
modelValue: DateRange | undefined;
|
4
|
-
}>, {}, unknown, {}, {}, import(
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
6
|
"update:modelValue": (value: DateRange | undefined) => void;
|
6
|
-
}, string, import(
|
7
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
7
8
|
modelValue: DateRange | undefined;
|
8
9
|
}>>> & {
|
9
10
|
"onUpdate:modelValue"?: ((value: DateRange | undefined) => any) | undefined;
|
10
11
|
}, {}, {}>;
|
11
12
|
export default _default;
|
12
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
13
|
-
type
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
14
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
15
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
16
17
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePicker.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePicker.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;;gBAK/B,SAAS,GAAG,SAAS;;;;gBAArB,SAAS,GAAG,SAAS;;;;AA+UnC,wBAOG;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"}
|
@@ -63,8 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
63
|
};
|
64
64
|
watch(toRef(props, "modelValue"), (modelValue) => {
|
65
65
|
dateRange.value = modelValue;
|
66
|
-
if (!modelValue)
|
67
|
-
return;
|
66
|
+
if (!modelValue) return;
|
68
67
|
if (!isSameCalendarPage(modelValue.from) && !isSameCalendarPage(modelValue.to)) {
|
69
68
|
setCurrentDate(getStartOfMonth(modelValue.from));
|
70
69
|
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
modelValue: Date | undefined;
|
3
|
-
title?: string
|
4
|
-
}>, {}, unknown, {}, {}, import(
|
3
|
+
title?: string;
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
5
|
"update:modelValue": (value: Date | undefined) => void;
|
6
|
-
}, string, import(
|
6
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
7
7
|
modelValue: Date | undefined;
|
8
|
-
title?: string
|
8
|
+
title?: string;
|
9
9
|
}>>> & {
|
10
10
|
"onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
|
11
11
|
}, {}, {}>;
|
12
12
|
export default _default;
|
13
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
14
|
-
type
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
15
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
16
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
17
17
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDatePickerSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePickerSingle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WDatePickerSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePickerSingle.vue"],"names":[],"mappings":";gBAkHc,IAAI,GAAG,SAAS;YACpB,MAAM;;;;gBADF,IAAI,GAAG,SAAS;YACpB,MAAM;;;;AAgQhB,wBAOG;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"}
|
@@ -36,8 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
36
|
};
|
37
37
|
watch(toRef(props, "modelValue"), (modelValue) => {
|
38
38
|
dateRange.value = modelValue ? { from: modelValue, to: modelValue } : void 0;
|
39
|
-
if (!modelValue)
|
40
|
-
return;
|
39
|
+
if (!modelValue) return;
|
41
40
|
if (!isSameCalendarPage(modelValue)) {
|
42
41
|
setCurrentDate(getStartOfMonth(modelValue));
|
43
42
|
}
|
@@ -1,22 +1,23 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import { DateRange } from '../models/types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
3
4
|
startOfMonth: Date;
|
4
5
|
startOfDay: Date;
|
5
|
-
dateRange?: DateRange
|
6
|
+
dateRange?: DateRange;
|
6
7
|
isBetween: boolean;
|
7
8
|
isWeekOutOfMonth: boolean;
|
8
|
-
disabled?: boolean
|
9
|
+
disabled?: boolean;
|
9
10
|
isHoverEnabled: boolean;
|
10
|
-
}>, {}, unknown, {}, {}, import(
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
11
12
|
"click:day": (value: Date) => void;
|
12
13
|
"hover:day": (value: Date) => void;
|
13
|
-
}, string, import(
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
14
15
|
startOfMonth: Date;
|
15
16
|
startOfDay: Date;
|
16
|
-
dateRange?: DateRange
|
17
|
+
dateRange?: DateRange;
|
17
18
|
isBetween: boolean;
|
18
19
|
isWeekOutOfMonth: boolean;
|
19
|
-
disabled?: boolean
|
20
|
+
disabled?: boolean;
|
20
21
|
isHoverEnabled: boolean;
|
21
22
|
}>>> & {
|
22
23
|
"onClick:day"?: ((value: Date) => any) | undefined;
|
@@ -24,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
24
25
|
}, {}, {}>;
|
25
26
|
export default _default;
|
26
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
27
|
-
type
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
28
29
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
29
30
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
30
31
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarDay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarDay.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CalendarDay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarDay.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAK9B,IAAI;gBACN,IAAI;gBACJ,SAAS;eACV,OAAO;sBACA,OAAO;eACd,OAAO;oBACF,OAAO;;;;;kBANT,IAAI;gBACN,IAAI;gBACJ,SAAS;eACV,OAAO;sBACA,OAAO;eACd,OAAO;oBACF,OAAO;;;;;AAuKzB,wBAOG;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"}
|
@@ -17,44 +17,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
setup(__props) {
|
18
18
|
const props = __props;
|
19
19
|
const isOutOfMonth = computed(() => {
|
20
|
-
if (!props.isWeekOutOfMonth)
|
21
|
-
return false;
|
20
|
+
if (!props.isWeekOutOfMonth) return false;
|
22
21
|
return props.startOfDay.getMonth() !== props.startOfMonth.getMonth();
|
23
22
|
});
|
24
23
|
const isFrom = computed(() => {
|
25
|
-
if (!props.dateRange)
|
26
|
-
return false;
|
24
|
+
if (!props.dateRange) return false;
|
27
25
|
return isSameDate(props.startOfDay, props.dateRange.from);
|
28
26
|
});
|
29
27
|
const isTo = computed(() => {
|
30
|
-
if (!props.dateRange)
|
31
|
-
return false;
|
28
|
+
if (!props.dateRange) return false;
|
32
29
|
return isSameDate(props.startOfDay, props.dateRange.to);
|
33
30
|
});
|
34
31
|
const isSelected = computed(() => {
|
35
|
-
if (!props.dateRange)
|
36
|
-
return false;
|
32
|
+
if (!props.dateRange) return false;
|
37
33
|
return isFrom.value || isTo.value;
|
38
34
|
});
|
39
35
|
const isBeforeTo = computed(() => {
|
40
|
-
if (!props.dateRange)
|
41
|
-
|
42
|
-
if (isSelected.value)
|
43
|
-
return false;
|
36
|
+
if (!props.dateRange) return false;
|
37
|
+
if (isSelected.value) return false;
|
44
38
|
return props.dateRange.to > props.startOfDay;
|
45
39
|
});
|
46
40
|
const isAfterFrom = computed(() => {
|
47
|
-
if (!props.dateRange)
|
48
|
-
|
49
|
-
if (isSelected.value)
|
50
|
-
return false;
|
41
|
+
if (!props.dateRange) return false;
|
42
|
+
if (isSelected.value) return false;
|
51
43
|
return props.dateRange.from < props.startOfDay;
|
52
44
|
});
|
53
45
|
const isBetweenRange = computed(() => {
|
54
|
-
if (props.isBetween)
|
55
|
-
|
56
|
-
if (isSelected.value)
|
57
|
-
return false;
|
46
|
+
if (props.isBetween) return true;
|
47
|
+
if (isSelected.value) return false;
|
58
48
|
return isBeforeTo.value && isAfterFrom.value;
|
59
49
|
});
|
60
50
|
return (_ctx, _cache) => {
|
@@ -1,19 +1,20 @@
|
|
1
1
|
import { WeekDay } from '../../../utils/dateTime';
|
2
|
-
import
|
3
|
-
|
2
|
+
import { DateRange } from '../models/types';
|
3
|
+
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
4
5
|
startOfMonth: Date;
|
5
|
-
startDayOfWeek?: WeekDay
|
6
|
-
dateRange?: DateRange
|
7
|
-
isBetween?: boolean
|
6
|
+
startDayOfWeek?: WeekDay;
|
7
|
+
dateRange?: DateRange;
|
8
|
+
isBetween?: boolean;
|
8
9
|
isHoverEnabled: boolean;
|
9
|
-
}>, {}, unknown, {}, {}, import(
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
10
11
|
"click:day": (value: Date) => void;
|
11
12
|
"hover:day": (value: Date) => void;
|
12
|
-
}, string, import(
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
13
14
|
startOfMonth: Date;
|
14
|
-
startDayOfWeek?: WeekDay
|
15
|
-
dateRange?: DateRange
|
16
|
-
isBetween?: boolean
|
15
|
+
startDayOfWeek?: WeekDay;
|
16
|
+
dateRange?: DateRange;
|
17
|
+
isBetween?: boolean;
|
17
18
|
isHoverEnabled: boolean;
|
18
19
|
}>>> & {
|
19
20
|
"onClick:day"?: ((value: Date) => any) | undefined;
|
@@ -21,7 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
21
22
|
}, {}, {}>;
|
22
23
|
export default _default;
|
23
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
24
|
-
type
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
25
26
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
26
27
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
27
28
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarMonth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarMonth.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CalendarMonth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarMonth.vue"],"names":[],"mappings":"AA2HA,OAAO,EAAiB,OAAO,EAAwB,MAAM,kBAAkB,CAAA;AAC/E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAK9B,IAAI;qBACD,OAAO;gBACZ,SAAS;gBACT,OAAO;oBACH,OAAO;;;;;kBAJT,IAAI;qBACD,OAAO;gBACZ,SAAS;gBACT,OAAO;oBACH,OAAO;;;;;AAsLzB,wBAOG;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"}
|