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
@@ -38,35 +38,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
38
|
return date;
|
39
39
|
});
|
40
40
|
const isBeforeTo = computed(() => {
|
41
|
-
if (!props.dateRange)
|
42
|
-
return false;
|
41
|
+
if (!props.dateRange) return false;
|
43
42
|
return props.dateRange.to > endOfLastWeek.value;
|
44
43
|
});
|
45
44
|
const isAfterFrom = computed(() => {
|
46
|
-
if (!props.dateRange)
|
47
|
-
return false;
|
45
|
+
if (!props.dateRange) return false;
|
48
46
|
return props.dateRange.from < startOfFirstWeek.value;
|
49
47
|
});
|
50
48
|
const isBetweenRange = computed(() => {
|
51
|
-
if (props.isBetween)
|
52
|
-
return true;
|
49
|
+
if (props.isBetween) return true;
|
53
50
|
return isBeforeTo.value && isAfterFrom.value;
|
54
51
|
});
|
55
52
|
const isBeforeFrom = computed(() => {
|
56
|
-
if (!props.dateRange)
|
57
|
-
return false;
|
53
|
+
if (!props.dateRange) return false;
|
58
54
|
return props.dateRange.from > endOfLastWeek.value;
|
59
55
|
});
|
60
56
|
const isAfterTo = computed(() => {
|
61
|
-
if (!props.dateRange)
|
62
|
-
return false;
|
57
|
+
if (!props.dateRange) return false;
|
63
58
|
return props.dateRange.to < startOfFirstWeek.value;
|
64
59
|
});
|
65
60
|
const isEmpty = computed(() => {
|
66
|
-
if (props.isBetween)
|
67
|
-
|
68
|
-
if (!props.dateRange)
|
69
|
-
return true;
|
61
|
+
if (props.isBetween) return false;
|
62
|
+
if (!props.dateRange) return true;
|
70
63
|
return isBeforeFrom.value && isBeforeTo.value || isAfterFrom.value && isAfterTo.value;
|
71
64
|
});
|
72
65
|
return (_ctx, _cache) => {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
text: string;
|
3
|
-
}>, {}, unknown, {}, {}, import(
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
4
4
|
"click:next": () => void;
|
5
5
|
"click:previous": () => void;
|
6
|
-
}, string, import(
|
6
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
7
7
|
text: string;
|
8
8
|
}>>> & {
|
9
9
|
"onClick:next"?: (() => any) | undefined;
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
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":"CalendarToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarToggle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CalendarToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarToggle.vue"],"names":[],"mappings":";UA8DQ,MAAM;;;;;UAAN,MAAM;;;;;AAiJd,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,21 +1,21 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
title: string;
|
3
3
|
currentDate: Date;
|
4
|
-
value?: Date
|
5
|
-
autoFocus?: boolean
|
6
|
-
}>, {}, unknown, {}, {}, import(
|
4
|
+
value?: Date;
|
5
|
+
autoFocus?: boolean;
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
7
7
|
"update:currentDate": (value: Date) => void;
|
8
|
-
}, string, import(
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
9
9
|
title: string;
|
10
10
|
currentDate: Date;
|
11
|
-
value?: Date
|
12
|
-
autoFocus?: boolean
|
11
|
+
value?: Date;
|
12
|
+
autoFocus?: boolean;
|
13
13
|
}>>> & {
|
14
14
|
"onUpdate:currentDate"?: ((value: Date) => 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":"CalendarValue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarValue.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CalendarValue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarValue.vue"],"names":[],"mappings":";WAiES,MAAM;iBACA,IAAI;YACT,IAAI;gBACA,OAAO;;;;WAHZ,MAAM;iBACA,IAAI;YACT,IAAI;gBACA,OAAO;;;;AAoGrB,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"}
|
@@ -16,8 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
const emit = __emit;
|
17
17
|
const clickable = computed(() => props.value && !isSameMonth(props.value, props.currentDate));
|
18
18
|
const updateCurrentDate = () => {
|
19
|
-
if (!props.value || !clickable.value)
|
20
|
-
return;
|
19
|
+
if (!props.value || !clickable.value) return;
|
21
20
|
emit("update:currentDate", getStartOfMonth(props.value));
|
22
21
|
};
|
23
22
|
onBeforeMount(() => {
|
@@ -1,17 +1,18 @@
|
|
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
|
startOfWeek: Date;
|
5
|
-
dateRange?: DateRange
|
6
|
+
dateRange?: DateRange;
|
6
7
|
isBetween: boolean;
|
7
8
|
isHoverEnabled: boolean;
|
8
|
-
}>, {}, unknown, {}, {}, import(
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
9
10
|
"click:day": (value: Date) => void;
|
10
11
|
"hover:day": (value: Date) => void;
|
11
|
-
}, string, import(
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
12
13
|
startOfMonth: Date;
|
13
14
|
startOfWeek: Date;
|
14
|
-
dateRange?: DateRange
|
15
|
+
dateRange?: DateRange;
|
15
16
|
isBetween: boolean;
|
16
17
|
isHoverEnabled: boolean;
|
17
18
|
}>>> & {
|
@@ -20,7 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
20
21
|
}, {}, {}>;
|
21
22
|
export default _default;
|
22
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
23
|
-
type
|
24
|
+
type __VLS_TypePropsToOption<T> = {
|
24
25
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
25
26
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
26
27
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarWeek.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarWeek.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CalendarWeek.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarWeek.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAM9B,IAAI;iBACL,IAAI;gBACL,SAAS;eACV,OAAO;oBACF,OAAO;;;;;kBAJT,IAAI;iBACL,IAAI;gBACL,SAAS;eACV,OAAO;oBACF,OAAO;;;;;AAmJzB,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"}
|
@@ -25,35 +25,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
return props.startOfWeek.getMonth() !== month || endOfWeek.value.getMonth() !== month;
|
26
26
|
});
|
27
27
|
const isBeforeTo = computed(() => {
|
28
|
-
if (!props.dateRange)
|
29
|
-
return false;
|
28
|
+
if (!props.dateRange) return false;
|
30
29
|
return props.dateRange.to > endOfWeek.value;
|
31
30
|
});
|
32
31
|
const isAfterFrom = computed(() => {
|
33
|
-
if (!props.dateRange)
|
34
|
-
return false;
|
32
|
+
if (!props.dateRange) return false;
|
35
33
|
return props.dateRange.from < props.startOfWeek;
|
36
34
|
});
|
37
35
|
const isBetweenRange = computed(() => {
|
38
|
-
if (props.isBetween)
|
39
|
-
return true;
|
36
|
+
if (props.isBetween) return true;
|
40
37
|
return isBeforeTo.value && isAfterFrom.value;
|
41
38
|
});
|
42
39
|
const isBeforeFrom = computed(() => {
|
43
|
-
if (!props.dateRange)
|
44
|
-
return false;
|
40
|
+
if (!props.dateRange) return false;
|
45
41
|
return props.dateRange.from > endOfWeek.value;
|
46
42
|
});
|
47
43
|
const isAfterTo = computed(() => {
|
48
|
-
if (!props.dateRange)
|
49
|
-
return false;
|
44
|
+
if (!props.dateRange) return false;
|
50
45
|
return props.dateRange.to < props.startOfWeek;
|
51
46
|
});
|
52
47
|
const isEmpty = computed(() => {
|
53
|
-
if (props.isBetween)
|
54
|
-
|
55
|
-
if (!props.dateRange)
|
56
|
-
return true;
|
48
|
+
if (props.isBetween) return false;
|
49
|
+
if (!props.dateRange) return true;
|
57
50
|
return isBeforeFrom.value && isBeforeTo.value || isAfterFrom.value && isAfterTo.value;
|
58
51
|
});
|
59
52
|
return (_ctx, _cache) => {
|
@@ -1,34 +1,28 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
maxWidth: number;
|
5
|
-
horizontalAlign: HorizontalAlign;
|
6
|
-
parentElement: Element;
|
7
|
-
updateAlign?: boolean | undefined;
|
8
|
-
emitUpdate?: boolean | undefined;
|
9
|
-
}>, {
|
10
|
-
update: () => void;
|
11
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
12
|
-
"update:rect": () => void;
|
13
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
14
|
-
maxHeight: number;
|
15
|
-
maxWidth: number;
|
16
|
-
horizontalAlign: HorizontalAlign;
|
17
|
-
parentElement: Element;
|
18
|
-
updateAlign?: boolean | undefined;
|
19
|
-
emitUpdate?: boolean | undefined;
|
20
|
-
}>>> & {
|
21
|
-
"onUpdate:rect"?: (() => any) | undefined;
|
22
|
-
}, {}, {}>, {
|
1
|
+
import { DropdownProps } from './types';
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
23
4
|
default?(_: {
|
24
5
|
left: string;
|
25
6
|
right: string;
|
26
7
|
istop: boolean;
|
27
8
|
}): any;
|
28
|
-
}
|
9
|
+
};
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<DropdownProps>, {
|
11
|
+
update: () => void;
|
12
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
|
+
"update:rect": () => void;
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<DropdownProps>>> & {
|
15
|
+
"onUpdate:rect"?: (() => any) | undefined;
|
16
|
+
}, {}, {}>;
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
29
18
|
export default _default;
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
20
|
+
new (): {
|
21
|
+
$slots: S;
|
22
|
+
};
|
23
|
+
};
|
30
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
31
|
-
type
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
32
26
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
33
27
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
34
28
|
} : {
|
@@ -36,9 +30,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
30
|
required: true;
|
37
31
|
};
|
38
32
|
};
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
40
|
-
new (): {
|
41
|
-
$slots: S;
|
42
|
-
};
|
43
|
-
};
|
44
33
|
//# sourceMappingURL=WDropdown.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/WDropdown.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/WDropdown.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AAqH1C,iBAAS,cAAc;;;;;QA6BM,GAAG;EAkB/B;AACD,QAAA,MAAM,eAAe;;;;;;UAQnB,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"}
|
@@ -41,22 +41,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
41
|
const isTopChanged = newRect.top !== parentRect?.top || newRect.bottom !== parentRect?.bottom;
|
42
42
|
if (!horizontalGetter || isLeftChanged && (props.updateAlign || updateAlign)) {
|
43
43
|
horizontalGetter = searchStyleGetter(order.value, newRect, props.maxWidth);
|
44
|
-
if (updateSize)
|
45
|
-
widthStyle.value = horizontalGetter.widthStyleGetter(newRect, props.maxWidth);
|
44
|
+
if (updateSize) widthStyle.value = horizontalGetter.widthStyleGetter(newRect, props.maxWidth);
|
46
45
|
}
|
47
46
|
if (!verticalGetter || isTopChanged && (props.updateAlign || updateAlign)) {
|
48
47
|
const order2 = horizontalGetter.verticalGetterOrder;
|
49
48
|
verticalGetter = searchStyleGetter(order2, newRect, props.maxHeight);
|
50
49
|
isTop.value = verticalGetter.isTop;
|
51
|
-
if (updateSize)
|
52
|
-
heightStyle.value = verticalGetter.heightStyleGetter(newRect, props.maxHeight);
|
50
|
+
if (updateSize) heightStyle.value = verticalGetter.heightStyleGetter(newRect, props.maxHeight);
|
53
51
|
}
|
54
|
-
if (isLeftChanged)
|
55
|
-
|
56
|
-
if (isTopChanged)
|
57
|
-
verticalStyle.value = verticalGetter.styleGetter(newRect);
|
58
|
-
if (isLeftChanged || isTopChanged)
|
59
|
-
parentRect = newRect;
|
52
|
+
if (isLeftChanged) horizontalStyle.value = horizontalGetter.styleGetter(newRect);
|
53
|
+
if (isTopChanged) verticalStyle.value = verticalGetter.styleGetter(newRect);
|
54
|
+
if (isLeftChanged || isTopChanged) parentRect = newRect;
|
60
55
|
};
|
61
56
|
onBeforeMount(() => {
|
62
57
|
setParentRect(true);
|
@@ -64,14 +59,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
59
|
let domListenerContainer;
|
65
60
|
let requestAnimationFrameId = null;
|
66
61
|
onMounted(() => {
|
67
|
-
if (!isClientSide)
|
68
|
-
return;
|
62
|
+
if (!isClientSide) return;
|
69
63
|
domListenerContainer = new DOMListenerContainer(
|
70
64
|
[document, window, ...getAllScrollParents(dropdown.value)],
|
71
65
|
["scroll", "touchmove", "resize"],
|
72
66
|
() => {
|
73
|
-
if (requestAnimationFrameId)
|
74
|
-
window.cancelAnimationFrame(requestAnimationFrameId);
|
67
|
+
if (requestAnimationFrameId) window.cancelAnimationFrame(requestAnimationFrameId);
|
75
68
|
if (props.emitUpdate) {
|
76
69
|
emit("update:rect");
|
77
70
|
return;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { HorizontalAlign } from '../../utils/HorizontalAlign';
|
2
|
+
|
3
|
+
export interface DropdownProps {
|
4
|
+
maxHeight: number;
|
5
|
+
maxWidth: number;
|
6
|
+
horizontalAlign: HorizontalAlign;
|
7
|
+
parentElement: Element;
|
8
|
+
updateAlign?: boolean;
|
9
|
+
emitUpdate?: boolean;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,eAAe,CAAA;IAChC,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
|
@@ -132,10 +132,8 @@ function searchStyleGetter(order, parentRect, maxHeightOrWidth) {
|
|
132
132
|
}
|
133
133
|
function _maxHeightOrWidthGetter(getter, parentRect, maxHeightOrWidth) {
|
134
134
|
const margin = getter.marginGetter(parentRect, maxHeightOrWidth);
|
135
|
-
if (margin > 0)
|
136
|
-
|
137
|
-
else
|
138
|
-
return maxHeightOrWidth + margin;
|
135
|
+
if (margin > 0) return maxHeightOrWidth;
|
136
|
+
else return maxHeightOrWidth + margin;
|
139
137
|
}
|
140
138
|
|
141
139
|
export { HorizontalGetter, VerticalGetter, horizontalGetterOrderMap, searchStyleGetter };
|
@@ -1,29 +1,6 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
maxHeight: number;
|
5
|
-
maxWidth: number;
|
6
|
-
horizontalAlign: HorizontalAlign;
|
7
|
-
updateAlign?: boolean | undefined;
|
8
|
-
emitUpdate?: boolean | undefined;
|
9
|
-
teleport?: boolean | undefined;
|
10
|
-
noZIndex?: boolean | undefined;
|
11
|
-
}>, {
|
12
|
-
updateDropdown: () => void;
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
14
|
-
"update:rect": () => void;
|
15
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
16
|
-
isOpen: boolean;
|
17
|
-
maxHeight: number;
|
18
|
-
maxWidth: number;
|
19
|
-
horizontalAlign: HorizontalAlign;
|
20
|
-
updateAlign?: boolean | undefined;
|
21
|
-
emitUpdate?: boolean | undefined;
|
22
|
-
teleport?: boolean | undefined;
|
23
|
-
noZIndex?: boolean | undefined;
|
24
|
-
}>>> & {
|
25
|
-
"onUpdate:rect"?: (() => any) | undefined;
|
26
|
-
}, {}, {}>, {
|
1
|
+
import { DropdownMenuProps } from './types';
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
27
4
|
toggle?(_: {
|
28
5
|
unclickable: boolean;
|
29
6
|
}): any;
|
@@ -32,10 +9,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
32
9
|
right: string;
|
33
10
|
istop: boolean;
|
34
11
|
}): any;
|
35
|
-
}
|
12
|
+
};
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<DropdownMenuProps>, {
|
14
|
+
updateDropdown: () => void;
|
15
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
16
|
+
"update:rect": () => void;
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<DropdownMenuProps>>> & {
|
18
|
+
"onUpdate:rect"?: (() => any) | undefined;
|
19
|
+
}, {}, {}>;
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
36
21
|
export default _default;
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
23
|
+
new (): {
|
24
|
+
$slots: S;
|
25
|
+
};
|
26
|
+
};
|
37
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
38
|
-
type
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
39
29
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
40
30
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
41
31
|
} : {
|
@@ -43,9 +33,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
33
|
required: true;
|
44
34
|
};
|
45
35
|
};
|
46
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
47
|
-
new (): {
|
48
|
-
$slots: S;
|
49
|
-
};
|
50
|
-
};
|
51
36
|
//# sourceMappingURL=WDropdownMenu.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAgC9C,iBAAS,cAAc;;;QAoGK,GAAG;;;;;QACD,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;;;;;;UAQnB,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"}
|
@@ -5,13 +5,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "WDropdownMenu",
|
6
6
|
props: {
|
7
7
|
isOpen: { type: Boolean },
|
8
|
+
teleport: { type: Boolean },
|
9
|
+
noZIndex: { type: Boolean },
|
8
10
|
maxHeight: {},
|
9
11
|
maxWidth: {},
|
10
12
|
horizontalAlign: {},
|
11
13
|
updateAlign: { type: Boolean },
|
12
|
-
emitUpdate: { type: Boolean }
|
13
|
-
teleport: { type: Boolean },
|
14
|
-
noZIndex: { type: Boolean }
|
14
|
+
emitUpdate: { type: Boolean }
|
15
15
|
},
|
16
16
|
emits: ["update:rect"],
|
17
17
|
setup(__props, { expose: __expose }) {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC;IAC7E,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
@@ -1,31 +1,24 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
5
|
+
isOpen?: boolean;
|
6
|
+
isShown?: boolean;
|
4
7
|
}>, {
|
5
8
|
isOpen: boolean;
|
6
9
|
isShown: boolean;
|
7
|
-
}>, {}, unknown, {}, {}, import(
|
8
|
-
isOpen?: boolean
|
9
|
-
isShown?: boolean
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
11
|
+
isOpen?: boolean;
|
12
|
+
isShown?: boolean;
|
10
13
|
}>, {
|
11
14
|
isOpen: boolean;
|
12
15
|
isShown: boolean;
|
13
16
|
}>>>, {
|
14
17
|
isOpen: boolean;
|
15
18
|
isShown: boolean;
|
16
|
-
}, {}
|
17
|
-
|
18
|
-
}>;
|
19
|
+
}, {}>;
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
19
21
|
export default _default;
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
24
|
-
} : {
|
25
|
-
type: import('vue').PropType<T[K]>;
|
26
|
-
required: true;
|
27
|
-
};
|
28
|
-
};
|
29
22
|
type __VLS_WithDefaults<P, D> = {
|
30
23
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
31
24
|
default: D[K];
|
@@ -39,4 +32,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
32
|
$slots: S;
|
40
33
|
};
|
41
34
|
};
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
36
|
+
type __VLS_TypePropsToOption<T> = {
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
39
|
+
} : {
|
40
|
+
type: import('vue').PropType<T[K]>;
|
41
|
+
required: true;
|
42
|
+
};
|
43
|
+
};
|
42
44
|
//# sourceMappingURL=WExpansion.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WExpansion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansion.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WExpansion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansion.vue"],"names":[],"mappings":"AAiEA,iBAAS,cAAc;qBAuDO,GAAG;EAchC;AACD,QAAA,MAAM,eAAe;aA5FR,OAAO;cACN,OAAO;;;;;aADR,OAAO;cACN,OAAO;;;;;YADR,OAAO;aACN,OAAO;MAiGnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,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,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,25 +1,32 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
5
|
+
isOpen?: boolean;
|
6
|
+
title?: string;
|
7
|
+
icon?: SVGComponent;
|
8
|
+
hasFlag?: boolean;
|
9
|
+
minTitle?: boolean;
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
8
11
|
toggle: () => void;
|
9
|
-
}, string, import(
|
10
|
-
isOpen?: boolean
|
11
|
-
title?: string
|
12
|
-
icon?: SVGComponent
|
13
|
-
hasFlag?: boolean
|
14
|
-
minTitle?: boolean
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
13
|
+
isOpen?: boolean;
|
14
|
+
title?: string;
|
15
|
+
icon?: SVGComponent;
|
16
|
+
hasFlag?: boolean;
|
17
|
+
minTitle?: boolean;
|
15
18
|
}>>> & {
|
16
19
|
onToggle?: (() => any) | undefined;
|
17
|
-
}, {}, {}
|
18
|
-
|
19
|
-
}>;
|
20
|
+
}, {}, {}>;
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
20
22
|
export default _default;
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
24
|
+
new (): {
|
25
|
+
$slots: S;
|
26
|
+
};
|
27
|
+
};
|
21
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
22
|
-
type
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
23
30
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
24
31
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
25
32
|
} : {
|
@@ -27,9 +34,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
34
|
required: true;
|
28
35
|
};
|
29
36
|
};
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
31
|
-
new (): {
|
32
|
-
$slots: S;
|
33
|
-
};
|
34
|
-
};
|
35
37
|
//# sourceMappingURL=WExpansionItem.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WExpansionItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansionItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WExpansionItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansionItem.vue"],"names":[],"mappings":"AA6FA,iBAAS,cAAc;qBAqIO,GAAG;EAiBhC;AACD,QAAA,MAAM,eAAe;aA1KV,OAAO;YACR,MAAM;WACP,YAAY;cACT,OAAO;eACN,OAAO;;;;aAJT,OAAO;YACR,MAAM;WACP,YAAY;cACT,OAAO;eACN,OAAO;;;UA6KlB,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"}
|