eco-vue-js 0.5.25 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/sax/IconClose.svg.js +26 -0
- package/dist/assets/icons/sax/IconEdit.svg.js +24 -0
- package/dist/assets/icons/sax/IconSlash.svg.js +27 -0
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts +129 -2
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +1 -2
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +20 -15
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +2 -4
- package/dist/components/Button/WButton.vue.d.ts +20 -17
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +1 -2
- package/dist/components/Button/WButtonAction.vue.d.ts +21 -18
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.d.ts +3 -3
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.js +9 -43
- package/dist/components/Button/WButtonDropdown.vue.d.ts +33 -25
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +12 -9
- package/dist/components/Button/WButtonGroup.vue.d.ts +17 -110
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +68 -44
- package/dist/components/Button/WButtonMore.vue.d.ts +14 -12
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +1 -2
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +19 -16
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts +16 -16
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts +8 -8
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
- package/dist/components/Button/models/semanticTypeStylesMap.d.ts +1 -0
- package/dist/components/Button/types.d.ts +36 -0
- package/dist/components/Button/types.d.ts.map +1 -0
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +34 -32
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +1 -2
- package/dist/components/Chip/WChip.vue.d.ts +19 -16
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +7 -5
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.js +3 -6
- package/dist/components/Counter/WCounter.vue.d.ts +15 -15
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
- package/dist/components/Counter/WCounter.vue.js +1 -2
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +6 -5
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +1 -2
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +6 -6
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +1 -2
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +10 -9
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.js +10 -20
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +12 -11
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.js +7 -14
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +4 -4
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +8 -8
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -2
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +8 -7
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarWeek.vue.js +7 -14
- package/dist/components/Dropdown/WDropdown.vue.d.ts +18 -29
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +7 -14
- package/dist/components/Dropdown/types.d.ts +11 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -0
- package/dist/components/Dropdown/utils/DropdownStyle.d.ts +1 -0
- package/dist/components/Dropdown/utils/DropdownStyle.js +2 -4
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +18 -33
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +3 -3
- package/dist/components/DropdownMenu/types.d.ts +8 -0
- package/dist/components/DropdownMenu/types.d.ts.map +1 -0
- package/dist/components/Expansion/WExpansion.vue.d.ts +20 -18
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts +24 -22
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +29 -21
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +148 -18
- package/dist/components/FieldWrapper/types.d.ts +16 -0
- package/dist/components/FieldWrapper/types.d.ts.map +1 -0
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +36 -32
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +3 -6
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +19 -17
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +7 -7
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts +16 -14
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.d.ts +21 -19
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.d.ts +28 -26
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +12 -24
- package/dist/components/Form/models/injection.d.ts +2 -1
- package/dist/components/Form/models/injection.d.ts.map +1 -1
- package/dist/components/Form/models/utils.d.ts.map +1 -1
- package/dist/components/Form/models/utils.js +5 -4
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts +4 -3
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormHasChangesMap.d.ts +3 -2
- package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts +2 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts +2 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts +2 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts +2 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValidateMap.js +1 -2
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +27 -24
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.js +2 -4
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts +9 -9
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +1 -2
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +6 -6
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +67 -237
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +50 -187
- package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListPages.vue.js +20 -40
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts +4 -2
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +2 -2
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +57 -209
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +21 -42
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts +18 -16
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +19 -43
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +2 -4
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +13 -23
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +14 -12
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +1 -2
- package/dist/components/InfiniteList/models/injection.d.ts +8 -7
- package/dist/components/InfiniteList/models/injection.d.ts.map +1 -1
- package/dist/components/InfiniteList/models/utils.js +2 -4
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +5 -5
- package/dist/components/InfiniteList/use/useInfiniteListHeader.js +4 -2
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +1 -1
- package/dist/components/InfiniteList/use/useRefetchNextPages.js +1 -2
- package/dist/components/InfiniteList/use/useSelected.d.ts +6 -5
- package/dist/components/InfiniteList/use/useSelected.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useSelected.js +13 -26
- package/dist/components/InfoCard/WInfoCard.vue.d.ts +16 -14
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +16 -13
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.d.ts +41 -199
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +137 -227
- package/dist/components/Input/WInputAsync.vue.d.ts +16 -94
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputAsync.vue.js +118 -104
- package/dist/components/Input/WInputDate.vue.d.ts +41 -8
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.js +66 -14
- package/dist/components/Input/WInputOptions.vue.d.ts +18 -125
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.js +64 -53
- package/dist/components/Input/WInputSuggest.vue.d.ts +49 -207
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +71 -57
- package/dist/components/Input/components/InputActions.vue.d.ts +34 -28
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.js +49 -84
- package/dist/components/Input/components/InputActionsButton.vue.d.ts +35 -0
- package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -0
- package/dist/components/Input/components/InputActionsButton.vue.js +41 -0
- package/dist/components/Input/components/InputActionsButton.vue2.js +5 -0
- package/dist/components/Input/types.d.ts +45 -0
- package/dist/components/Input/types.d.ts.map +1 -0
- package/dist/components/Link/WLink.vue.d.ts +19 -16
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLinkArrow.vue.d.ts +12 -9
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
- package/dist/components/ListCard/WListCard.vue.d.ts +27 -25
- package/dist/components/ListCard/WListCard.vue.d.ts.map +1 -1
- package/dist/components/ListCard/WListCardField.vue.d.ts +17 -14
- package/dist/components/ListCard/WListCardField.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +19 -16
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.d.ts +1 -1
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.js +2 -4
- package/dist/components/Modal/WModalStepper.vue.d.ts +18 -16
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.d.ts +14 -12
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +2 -2
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +19 -18
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +2 -4
- package/dist/components/Modal/modals/Confirm/types.d.ts +2 -1
- package/dist/components/Nav/WNavBar.vue.d.ts +7 -5
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.d.ts +16 -13
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +1 -2
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +15 -12
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.js +3 -0
- package/dist/components/Nav/WNavItemTransition.vue.d.ts +4 -2
- package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
- package/dist/components/Notify/WNotify.vue.d.ts +1 -1
- package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
- package/dist/components/Notify/WNotify.vue.js +1 -2
- package/dist/components/Notify/components/NotifyCard.vue.d.ts +15 -14
- package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
- package/dist/components/Notify/components/NotifyCard.vue.js +2 -4
- package/dist/components/Notify/models/types.d.ts +3 -2
- package/dist/components/Select/WSelect.vue.d.ts +41 -188
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +74 -66
- package/dist/components/Select/WSelectAsync.vue.d.ts +32 -207
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +78 -60
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +33 -111
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +24 -166
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +93 -82
- package/dist/components/Select/WSelectSingle.vue.d.ts +25 -149
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +84 -70
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts +43 -133
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.js +7 -14
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +37 -104
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +37 -102
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +1 -2
- package/dist/components/Select/components/SelectOption.vue.d.ts +45 -132
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOption.vue.js +12 -24
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +23 -52
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/types.d.ts +47 -0
- package/dist/components/Select/types.d.ts.map +1 -0
- package/dist/components/Skeleton/WSkeleton.vue.d.ts +1 -1
- package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
- package/dist/components/Spinner/WSpinner.vue.d.ts +1 -1
- package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.d.ts +22 -24
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +6 -12
- package/dist/components/Tabs/WTabsColumns.vue.d.ts +3 -3
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.d.ts +14 -12
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +3 -6
- package/dist/components/Tabs/models/injection.d.ts +2 -1
- package/dist/components/Tabs/models/injection.d.ts.map +1 -1
- package/dist/components/Tabs/use/useTabItemActiveListener.js +1 -2
- package/dist/components/Toggle/WToggle.vue.d.ts +19 -50
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +1 -2
- package/dist/components/Tooltip/WTooltip.vue.d.ts +15 -15
- package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltip.vue.js +4 -8
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.js +1 -2
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +22 -19
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/components/TooltipContainer.vue.js +5 -10
- package/dist/imports/componentsPlugin.d.ts +64 -63
- package/dist/imports/iconsSax.d.ts +3 -0
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/imports/iconsSax.js +3 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -0
- package/dist/utils/DOMListenerContainer.js +2 -4
- package/dist/utils/Modal.d.ts +4 -3
- package/dist/utils/Modal.d.ts.map +1 -1
- package/dist/utils/Notify.d.ts +5 -4
- package/dist/utils/Notify.d.ts.map +1 -1
- package/dist/utils/Tooltip.d.ts +2 -1
- package/dist/utils/dateTime.d.ts.map +1 -1
- package/dist/utils/dateTime.js +28 -56
- package/dist/utils/useCopy.d.ts +8 -0
- package/dist/utils/useCopy.d.ts.map +1 -0
- package/dist/utils/useCopy.js +56 -0
- package/dist/utils/useDefaultQuery.d.ts +4 -3
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +10 -20
- package/package.json +40 -19
- package/tailwind-base/plugins/default.cjs +6 -0
- package/tailwind-base/theme/sizes.cjs +2 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPageSelectItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPageSelectItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPageSelectItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPageSelectItem.vue"],"names":[],"mappings":"AA+DA,iBAAS,cAAc;qBAgBM,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;eA3DR,OAAO;sBACA,OAAO;;;;;;eADd,OAAO;sBACA,OAAO;;;;;UAiEzB,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,53 +1,29 @@
|
|
1
|
-
declare const _default: <Model extends
|
2
|
-
|
3
|
-
disabled?: boolean | undefined;
|
4
|
-
valueGetter: (data: Data) => Model;
|
5
|
-
"onUpdate:selected"?: ((values: Model[]) => any) | undefined;
|
6
|
-
selected: Model[];
|
7
|
-
items: Data[];
|
8
|
-
tooltipTextPersisted?: boolean | undefined;
|
9
|
-
selectOnly?: boolean | undefined;
|
10
|
-
unselectOnly?: boolean | undefined;
|
11
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
12
|
-
attrs: any;
|
13
|
-
slots: {};
|
14
|
-
emit: (e: 'update:selected', values: Model[]) => void;
|
15
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
16
|
-
props: {
|
17
|
-
reverse?: boolean | undefined;
|
18
|
-
disabled?: boolean | undefined;
|
19
|
-
valueGetter: (data: Data) => Model;
|
1
|
+
declare const _default: <Model extends number | string, Data extends DefaultData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
20
3
|
"onUpdate:selected"?: ((values: Model[]) => any) | undefined;
|
4
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
5
|
+
"onUpdate:selected"?: ((values: Model[]) => any) | undefined;
|
6
|
+
}, never>, "onUpdate:selected"> & {
|
21
7
|
selected: Model[];
|
22
8
|
items: Data[];
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
9
|
+
disabled?: boolean;
|
10
|
+
tooltipTextPersisted?: boolean;
|
11
|
+
selectOnly?: boolean;
|
12
|
+
unselectOnly?: boolean;
|
13
|
+
reverse?: boolean;
|
14
|
+
valueGetter: (data: Data) => Model;
|
15
|
+
}> & import('vue').PublicProps;
|
27
16
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
28
17
|
attrs: any;
|
29
|
-
slots: {}
|
30
|
-
emit: (e:
|
31
|
-
}>) => import(
|
18
|
+
slots: ReturnType<() => {}>;
|
19
|
+
emit: ((e: "update:selected", values: Model[]) => void) & {};
|
20
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
32
21
|
[key: string]: any;
|
33
22
|
}> & {
|
34
|
-
__ctx?:
|
35
|
-
props: {
|
36
|
-
reverse?: boolean | undefined;
|
37
|
-
disabled?: boolean | undefined;
|
38
|
-
valueGetter: (data: Data) => Model;
|
39
|
-
"onUpdate:selected"?: ((values: Model[]) => any) | undefined;
|
40
|
-
selected: Model[];
|
41
|
-
items: Data[];
|
42
|
-
tooltipTextPersisted?: boolean | undefined;
|
43
|
-
selectOnly?: boolean | undefined;
|
44
|
-
unselectOnly?: boolean | undefined;
|
45
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
46
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
47
|
-
attrs: any;
|
48
|
-
slots: {};
|
49
|
-
emit: (e: 'update:selected', values: Model[]) => void;
|
50
|
-
} | undefined;
|
23
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
51
24
|
};
|
52
25
|
export default _default;
|
26
|
+
type __VLS_Prettify<T> = {
|
27
|
+
[K in keyof T]: T[K];
|
28
|
+
} & {};
|
53
29
|
//# sourceMappingURL=InfiniteListPageSelection.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPageSelection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPageSelection.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPageSelection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPageSelection.vue"],"names":[],"mappings":"yBA4EiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,eAC1D,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAsJxD,cAAc,CAAC;;;;;kBAlJb,KAAK,EAAE;eACV,IAAI,EAAE;mBACF,OAAO;+BACK,OAAO;qBACjB,OAAO;uBACL,OAAO;kBACZ,OAAO;qBACJ,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;KA2I8C,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU,UAAuB;UAClC,KA1IH,iBAAiB,UAAU,KAAK,EAAE,KAAG,IAAI,MA0IJ;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAhKvE,wBAgK4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -21,10 +21,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
21
|
const selectedItems = computed(() => models.value.filter((item) => props.selected.includes(item)));
|
22
22
|
const hasSelected = computed(() => selectedItems.value.length !== 0);
|
23
23
|
const chekboxValue = computed(() => {
|
24
|
-
if (props.selectOnly)
|
25
|
-
|
26
|
-
if (props.unselectOnly)
|
27
|
-
return true;
|
24
|
+
if (props.selectOnly) return false;
|
25
|
+
if (props.unselectOnly) return true;
|
28
26
|
if (selectedItems.value.length === props.items.length) {
|
29
27
|
return hasSelected.value;
|
30
28
|
} else {
|
@@ -1,32 +1,22 @@
|
|
1
|
-
declare const _default: <QueryParams>(__VLS_props: {
|
2
|
-
|
3
|
-
|
4
|
-
} & import(
|
5
|
-
attrs: any;
|
6
|
-
slots: {};
|
7
|
-
emit: (e: 'update:selected', value: boolean) => void;
|
8
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
9
|
-
props: {
|
1
|
+
declare const _default: <QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
3
|
+
"onUpdate:selected"?: ((value: boolean) => any) | undefined;
|
4
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
10
5
|
"onUpdate:selected"?: ((value: boolean) => any) | undefined;
|
6
|
+
}, never>, "onUpdate:selected"> & {
|
11
7
|
queryParams: QueryParams;
|
12
|
-
} & import(
|
8
|
+
}> & import('vue').PublicProps;
|
13
9
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
14
10
|
attrs: any;
|
15
|
-
slots: {}
|
16
|
-
emit: (e:
|
17
|
-
}>) => import(
|
11
|
+
slots: ReturnType<() => {}>;
|
12
|
+
emit: ((e: "update:selected", value: boolean) => void) & {};
|
13
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
18
14
|
[key: string]: any;
|
19
15
|
}> & {
|
20
|
-
__ctx?:
|
21
|
-
props: {
|
22
|
-
"onUpdate:selected"?: ((value: boolean) => any) | undefined;
|
23
|
-
queryParams: QueryParams;
|
24
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
25
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
26
|
-
attrs: any;
|
27
|
-
slots: {};
|
28
|
-
emit: (e: 'update:selected', value: boolean) => void;
|
29
|
-
} | undefined;
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
30
17
|
};
|
31
18
|
export default _default;
|
19
|
+
type __VLS_Prettify<T> = {
|
20
|
+
[K in keyof T]: T[K];
|
21
|
+
} & {};
|
32
22
|
//# sourceMappingURL=InfiniteListPageTitle.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPageTitle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPageTitle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPageTitle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPageTitle.vue"],"names":[],"mappings":"yBAwCiB,WAAW,eACd,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAiGxD,cAAc,CAAC;;;;;qBA7FV,WAAW;KA6FwD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU,UAAuB;UAClC,KA5FH,iBAAiB,SAAS,OAAO,KAAG,IAAI,MA4FG;;;;YAGL,OAAO,CAAC,OAAO,WAAW,CAAC;;AA3GvE,wBA2G4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,22 +1,29 @@
|
|
1
|
-
declare
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
5
|
scrollingElement: Element | null;
|
3
6
|
}>, {
|
4
7
|
checkIsScrollUp: () => void;
|
5
8
|
checkIsScrollDown: () => void;
|
6
|
-
}, unknown, {}, {}, import(
|
9
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
7
10
|
"scroll:up": () => void;
|
8
11
|
"scroll:down": () => void;
|
9
|
-
}, string, import(
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
10
13
|
scrollingElement: Element | null;
|
11
14
|
}>>> & {
|
12
15
|
"onScroll:up"?: (() => any) | undefined;
|
13
16
|
"onScroll:down"?: (() => any) | undefined;
|
14
|
-
}, {}, {}
|
15
|
-
|
16
|
-
}>;
|
17
|
+
}, {}, {}>;
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
17
19
|
export default _default;
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
21
|
+
new (): {
|
22
|
+
$slots: S;
|
23
|
+
};
|
24
|
+
};
|
18
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
19
|
-
type
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
20
27
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
21
28
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
22
29
|
} : {
|
@@ -24,9 +31,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
31
|
required: true;
|
25
32
|
};
|
26
33
|
};
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
28
|
-
new (): {
|
29
|
-
$slots: S;
|
30
|
-
};
|
31
|
-
};
|
32
34
|
//# sourceMappingURL=InfiniteListScroll.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListScroll.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListScroll.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListScroll.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListScroll.vue"],"names":[],"mappings":"AA0IA,iBAAS,cAAc;qBAiBM,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;sBAlGD,OAAO,GAAG,IAAI;;;;;;;;sBAAd,OAAO,GAAG,IAAI;;;;UA0GhC,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"}
|
@@ -12,8 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
const emit = __emit;
|
13
13
|
const element = computed(() => props.scrollingElement ?? document);
|
14
14
|
const listener = (event) => {
|
15
|
-
if (event.target !== element.value)
|
16
|
-
return;
|
15
|
+
if (event.target !== element.value) return;
|
17
16
|
if (getIsScrollUp(props.scrollingElement ?? document.scrollingElement)) {
|
18
17
|
emit("scroll:up");
|
19
18
|
return;
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
2
|
+
|
2
3
|
export declare const wInfiniteListSelection: InjectionKey<{
|
3
|
-
allowSelect?: Ref<boolean
|
4
|
-
allowSelectRange?: Ref<boolean
|
5
|
-
allowSelectHover?: Ref<boolean
|
6
|
-
selectedCount?: Ref<number
|
4
|
+
allowSelect?: Ref<boolean>;
|
5
|
+
allowSelectRange?: Ref<boolean>;
|
6
|
+
allowSelectHover?: Ref<boolean>;
|
7
|
+
selectedCount?: Ref<number>;
|
7
8
|
clearSelected?(): void;
|
8
9
|
}>;
|
9
10
|
export declare const wInfiniteListSelectionItem: InjectionKey<{
|
10
|
-
selected?: Ref<boolean
|
11
|
-
selectedBetween?: Ref<boolean
|
11
|
+
selected?: Ref<boolean>;
|
12
|
+
selectedBetween?: Ref<boolean>;
|
12
13
|
updateSelected?(value: boolean): void;
|
13
14
|
updateSelectedRange?(): void;
|
14
15
|
updateSelectedRangeHover?(): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAE,GAAG,EAAC,MAAM,KAAK,CAAA;AAE1C,eAAO,MAAM,sBAAsB
|
1
|
+
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAE,GAAG,EAAC,MAAM,KAAK,CAAA;AAE1C,eAAO,MAAM,sBAAsB,EAAuC,YAAY,CAAC;IACrF,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC1B,gBAAgB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC/B,gBAAgB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC/B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAE3B,aAAa,CAAC,IAAI,IAAI,CAAA;CACvB,CAAC,CAAA;AAEF,eAAO,MAAM,0BAA0B,EAA2C,YAAY,CAAC;IAC7F,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACvB,eAAe,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAE9B,cAAc,CAAC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;IACrC,mBAAmB,CAAC,IAAI,IAAI,CAAA;IAC5B,wBAAwB,CAAC,IAAI,IAAI,CAAA;CAClC,CAAC,CAAA"}
|
@@ -1,12 +1,10 @@
|
|
1
1
|
const TRIGGER_FACTOR = 200;
|
2
2
|
const getIsScrollUp = (element) => {
|
3
|
-
if (!element)
|
4
|
-
return false;
|
3
|
+
if (!element) return false;
|
5
4
|
return element.scrollTop < TRIGGER_FACTOR;
|
6
5
|
};
|
7
6
|
const getIsScrollDown = (element) => {
|
8
|
-
if (!element)
|
9
|
-
return false;
|
7
|
+
if (!element) return false;
|
10
8
|
return element.scrollTop > element.scrollHeight - element.clientHeight - TRIGGER_FACTOR;
|
11
9
|
};
|
12
10
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare const useInfiniteListHeader: (scrollingElement?: Element | null) => {
|
2
|
-
indicator: import(
|
3
|
-
header: import(
|
4
|
-
headerHeight: import(
|
5
|
-
headerTop: import(
|
6
|
-
isIntersecting: import(
|
2
|
+
indicator: import('vue').Ref<HTMLDivElement | undefined>;
|
3
|
+
header: import('vue').Ref<HTMLDivElement | undefined>;
|
4
|
+
headerHeight: import('vue').Ref<number>;
|
5
|
+
headerTop: import('vue').Ref<number>;
|
6
|
+
isIntersecting: import('vue').Ref<boolean>;
|
7
7
|
};
|
8
8
|
//# sourceMappingURL=useInfiniteListHeader.d.ts.map
|
@@ -2,10 +2,13 @@ import { ref, onMounted, onBeforeUnmount } from 'vue';
|
|
2
2
|
import '../../Button/WButtonAction.vue.js';
|
3
3
|
import '../../Button/WButton.vue.js';
|
4
4
|
import { isClientSide } from '../../../utils/utils.js';
|
5
|
+
import '../../Button/WButtonDropdown.vue.js';
|
5
6
|
import '../../../utils/supportsPassive.js';
|
6
7
|
import '../../Dropdown/utils/DropdownStyle.js';
|
7
8
|
import 'vue-router';
|
8
9
|
import '../../../utils/Modal.js';
|
10
|
+
import '../../Input/WInputSuggest.vue.js';
|
11
|
+
import '../../Input/WInputDate.vue.js';
|
9
12
|
import '../../Link/WLink.vue.js';
|
10
13
|
import '@tanstack/vue-query';
|
11
14
|
|
@@ -35,8 +38,7 @@ const useInfiniteListHeader = (scrollingElement = document.scrollingElement) =>
|
|
35
38
|
});
|
36
39
|
};
|
37
40
|
onMounted(() => {
|
38
|
-
if (!isClientSide)
|
39
|
-
return;
|
41
|
+
if (!isClientSide) return;
|
40
42
|
if (header.value) {
|
41
43
|
const rect = header.value.getBoundingClientRect();
|
42
44
|
headerHeight.value = rect.height;
|
@@ -17,8 +17,7 @@ const useRefetchNextPages = () => {
|
|
17
17
|
});
|
18
18
|
}, 50);
|
19
19
|
const refetchNextPages = (index) => {
|
20
|
-
if (refetchLastPage !== null && index >= refetchLastPage)
|
21
|
-
return;
|
20
|
+
if (refetchLastPage !== null && index >= refetchLastPage) return;
|
22
21
|
refetchLastPage = index;
|
23
22
|
refetchNextPagesDebounced(index);
|
24
23
|
};
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import {
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
|
2
3
|
export declare const useSelected: <Value>(count: Ref<number | undefined>, pageLength: Ref<number>, selected: Ref<Value[]>, reverse: Ref<boolean>, selectedRange: Ref<SelectedRange<Value> | undefined>, select: (value: Value[]) => void, selectReverse: (value: Value[]) => void, selectRange: (value: SelectedRange<Value>) => void) => {
|
3
4
|
setSelectedRange: (value: SelectedPage<Value>) => void;
|
4
5
|
getIsSelected: (id: Value) => boolean;
|
5
6
|
getIsSelectedBetween: (id: Value, page: number, index: number) => boolean;
|
6
7
|
setRangeHover: (value: SelectedPage<Value>) => void;
|
7
|
-
allowSelectHover: import(
|
8
|
-
selectionRangeCount: import(
|
8
|
+
allowSelectHover: import('vue').ComputedRef<boolean>;
|
9
|
+
selectionRangeCount: import('vue').ComputedRef<number | undefined>;
|
9
10
|
setSelectedCursor: (value: SelectedPage<Value> | null) => void;
|
10
11
|
toggleSelected: (id: Value, value: boolean) => void;
|
11
|
-
selectedCount: import(
|
12
|
-
selectAllValue: import(
|
12
|
+
selectedCount: import('vue').ComputedRef<number>;
|
13
|
+
selectAllValue: import('vue').ComputedRef<boolean | null>;
|
13
14
|
};
|
14
15
|
//# sourceMappingURL=useSelected.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useSelected.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/use/useSelected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AA6BlD,eAAO,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"useSelected.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/use/useSelected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AA6BlD,eAAO,MAAM,WAAW,GAAI,KAAK,SACxB,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,cAClB,GAAG,CAAC,MAAM,CAAC,YACb,GAAG,CAAC,KAAK,EAAE,CAAC,WACb,GAAG,CAAC,OAAO,CAAC,iBACN,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,UAE5C,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,iBACjB,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,eAC1B,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI;8BAoBjB,YAAY,CAAC,KAAK,CAAC;wBA4CzB,KAAK;+BAYE,KAAK,QAAQ,MAAM,SAAS,MAAM;2BAhBtC,YAAY,CAAC,KAAK,CAAC;;;+BAsCf,YAAY,CAAC,KAAK,CAAC,GAAG,IAAI;yBAIhC,KAAK,SAAS,OAAO,KAAG,IAAI;;;CAsEzD,CAAA"}
|
@@ -4,10 +4,8 @@ const isRightOrder = (value) => {
|
|
4
4
|
return value[0].page < value[1].page || value[0].page === value[1].page && value[0].index <= value[1].index;
|
5
5
|
};
|
6
6
|
const isSelectedBetween = (range, page, index) => {
|
7
|
-
if (range[0].page < page && range[1].page > page)
|
8
|
-
|
9
|
-
if (range[0].page === range[1].page && range[0].page === page)
|
10
|
-
return range[0].index < index && range[1].index > index;
|
7
|
+
if (range[0].page < page && range[1].page > page) return true;
|
8
|
+
if (range[0].page === range[1].page && range[0].page === page) return range[0].index < index && range[1].index > index;
|
11
9
|
return range[0].page === page && range[0].index < index || range[1].page === page && range[1].index > index;
|
12
10
|
};
|
13
11
|
const isWrongId = (selectionPage, id, page, index) => {
|
@@ -17,8 +15,7 @@ const isWrongIdRange = (range, id, page, index) => {
|
|
17
15
|
return isWrongId(range[0], id, page, index) || isWrongId(range[1], id, page, index);
|
18
16
|
};
|
19
17
|
const getCount = (range, pageLength) => {
|
20
|
-
if (range[1].page === range[0].page)
|
21
|
-
return range[1].index - range[0].index + 1;
|
18
|
+
if (range[1].page === range[0].page) return range[1].index - range[0].index + 1;
|
22
19
|
return (range[1].page - range[0].page) * pageLength + range[1].index - range[0].index + 1;
|
23
20
|
};
|
24
21
|
const useSelected = (count, pageLength, selected, reverse, selectedRange, select, selectReverse, selectRange) => {
|
@@ -27,8 +24,7 @@ const useSelected = (count, pageLength, selected, reverse, selectedRange, select
|
|
27
24
|
const rangeHover = ref(null);
|
28
25
|
const allowSelectHover = computed(() => rangeCursor.value !== null && isSelecting.value);
|
29
26
|
const selectionRangeCount = computed(() => {
|
30
|
-
if (!selectedRange.value)
|
31
|
-
return void 0;
|
27
|
+
if (!selectedRange.value) return void 0;
|
32
28
|
return getCount(selectedRange.value, unref(pageLength));
|
33
29
|
});
|
34
30
|
const cursorReset = () => {
|
@@ -50,8 +46,7 @@ const useSelected = (count, pageLength, selected, reverse, selectedRange, select
|
|
50
46
|
return;
|
51
47
|
}
|
52
48
|
const result = [value, rangeCursor.value];
|
53
|
-
if (!isRightOrder(result))
|
54
|
-
result.reverse();
|
49
|
+
if (!isRightOrder(result)) result.reverse();
|
55
50
|
if (getCount(result, unref(pageLength)) === unref(count)) {
|
56
51
|
cursorReset();
|
57
52
|
selectReverse([]);
|
@@ -81,16 +76,13 @@ const useSelected = (count, pageLength, selected, reverse, selectedRange, select
|
|
81
76
|
let is = false;
|
82
77
|
if (selectedRange.value) {
|
83
78
|
is = isSelectedBetween(selectedRange.value, page, index);
|
84
|
-
if (!is && isWrongIdRange(selectedRange.value, id, page, index))
|
85
|
-
resetSelectionRange();
|
79
|
+
if (!is && isWrongIdRange(selectedRange.value, id, page, index)) resetSelectionRange();
|
86
80
|
}
|
87
81
|
if (rangeCursor.value && rangeHover.value) {
|
88
82
|
const range = [rangeCursor.value, rangeHover.value];
|
89
|
-
if (!isRightOrder(range))
|
90
|
-
range.reverse();
|
83
|
+
if (!isRightOrder(range)) range.reverse();
|
91
84
|
is = isSelectedBetween(range, page, index);
|
92
|
-
if (!is && isWrongIdRange(range, id, page, index))
|
93
|
-
resetSelectionRange();
|
85
|
+
if (!is && isWrongIdRange(range, id, page, index)) resetSelectionRange();
|
94
86
|
}
|
95
87
|
return is;
|
96
88
|
};
|
@@ -112,10 +104,8 @@ const useSelected = (count, pageLength, selected, reverse, selectedRange, select
|
|
112
104
|
}
|
113
105
|
if (reverse.value) {
|
114
106
|
if (count?.value !== void 0 && count.value <= newSelected.length) {
|
115
|
-
if (newSelected.length === 0)
|
116
|
-
|
117
|
-
else
|
118
|
-
select([]);
|
107
|
+
if (newSelected.length === 0) selectReverse([]);
|
108
|
+
else select([]);
|
119
109
|
cursorReset();
|
120
110
|
return;
|
121
111
|
}
|
@@ -125,17 +115,14 @@ const useSelected = (count, pageLength, selected, reverse, selectedRange, select
|
|
125
115
|
}
|
126
116
|
};
|
127
117
|
const selectedCount = computed(() => {
|
128
|
-
if (selectedRange.value)
|
129
|
-
return getCount(selectedRange.value, unref(pageLength));
|
118
|
+
if (selectedRange.value) return getCount(selectedRange.value, unref(pageLength));
|
130
119
|
const _count = unref(count);
|
131
120
|
return reverse.value && _count !== void 0 ? Math.max(_count - selected.value.length, 0) : selected.value.length;
|
132
121
|
});
|
133
122
|
const selectAllValue = computed(() => {
|
134
|
-
if (selectedRange.value)
|
135
|
-
return null;
|
123
|
+
if (selectedRange.value) return null;
|
136
124
|
const _count = unref(count);
|
137
|
-
if (_count === 0)
|
138
|
-
return false;
|
125
|
+
if (_count === 0) return false;
|
139
126
|
if (reverse.value) {
|
140
127
|
return selected.value.length === 0 ? true : null;
|
141
128
|
} else {
|
@@ -1,15 +1,22 @@
|
|
1
|
-
declare
|
2
|
-
noBg?: boolean | undefined;
|
3
|
-
noIcon?: boolean | undefined;
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
5
|
-
noBg?: boolean | undefined;
|
6
|
-
noIcon?: boolean | undefined;
|
7
|
-
}>>>, {}, {}>, {
|
1
|
+
declare function __VLS_template(): {
|
8
2
|
default?(_: {}): any;
|
9
|
-
}
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
5
|
+
noBg?: boolean;
|
6
|
+
noIcon?: boolean;
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
8
|
+
noBg?: boolean;
|
9
|
+
noIcon?: boolean;
|
10
|
+
}>>>, {}, {}>;
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
10
12
|
export default _default;
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
14
|
+
new (): {
|
15
|
+
$slots: S;
|
16
|
+
};
|
17
|
+
};
|
11
18
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
12
|
-
type
|
19
|
+
type __VLS_TypePropsToOption<T> = {
|
13
20
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
14
21
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
15
22
|
} : {
|
@@ -17,9 +24,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
24
|
required: true;
|
18
25
|
};
|
19
26
|
};
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
21
|
-
new (): {
|
22
|
-
$slots: S;
|
23
|
-
};
|
24
|
-
};
|
25
27
|
//# sourceMappingURL=WInfoCard.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfoCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfoCard/WInfoCard.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfoCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfoCard/WInfoCard.vue"],"names":[],"mappings":"AA4CA,iBAAS,cAAc;qBAqDM,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;WAhFZ,OAAO;aACL,OAAO;;WADT,OAAO;aACL,OAAO;aAqFhB,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,16 +1,24 @@
|
|
1
1
|
import { SemanticType } from '../../utils/SemanticType';
|
2
|
-
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
4
|
+
default?(_: {}): any;
|
5
|
+
};
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
3
7
|
title: string;
|
4
|
-
semanticType?: SemanticType
|
5
|
-
}>, {}, unknown, {}, {}, import(
|
8
|
+
semanticType?: SemanticType;
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
6
10
|
title: string;
|
7
|
-
semanticType?: SemanticType
|
8
|
-
}>>>, {}, {}
|
9
|
-
|
10
|
-
}>;
|
11
|
+
semanticType?: SemanticType;
|
12
|
+
}>>>, {}, {}>;
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
11
14
|
export default _default;
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
16
|
+
new (): {
|
17
|
+
$slots: S;
|
18
|
+
};
|
19
|
+
};
|
12
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
13
|
-
type
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
14
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
15
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
16
24
|
} : {
|
@@ -18,9 +26,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
26
|
required: true;
|
19
27
|
};
|
20
28
|
};
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
22
|
-
new (): {
|
23
|
-
$slots: S;
|
24
|
-
};
|
25
|
-
};
|
26
29
|
//# sourceMappingURL=WInfoCardNegative.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfoCardNegative.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfoCard/WInfoCardNegative.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfoCardNegative.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfoCard/WInfoCardNegative.vue"],"names":[],"mappings":"AAmCA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AA0BjD,iBAAS,cAAc;qBAoDM,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;WAjFZ,MAAM;mBACE,YAAY;;WADpB,MAAM;mBACE,YAAY;aAsF3B,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"}
|