eco-vue-js 0.5.26 → 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,21 +1,34 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
1
|
+
import { FieldWrapperProps } from './types';
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
4
|
+
title?(_: {}): any;
|
5
|
+
subtitle?(_: {}): any;
|
6
|
+
field?(_: {
|
7
|
+
id: string;
|
8
|
+
setFocused: (value: boolean) => void;
|
9
|
+
focused: boolean;
|
10
|
+
}): any;
|
11
|
+
default?(_: {
|
12
|
+
id: string;
|
13
|
+
setFocused: (value: boolean) => void;
|
14
|
+
focused: boolean;
|
15
|
+
}): any;
|
16
|
+
right?(_: {}): any;
|
17
|
+
};
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<FieldWrapperProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
19
|
+
click: (value: MouseEvent) => void;
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<FieldWrapperProps>>> & {
|
21
|
+
onClick?: ((value: MouseEvent) => any) | undefined;
|
22
|
+
}, {}, {}>;
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
16
24
|
export default _default;
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
26
|
+
new (): {
|
27
|
+
$slots: S;
|
28
|
+
};
|
29
|
+
};
|
17
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
18
|
-
type
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
19
32
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
20
33
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
21
34
|
} : {
|
@@ -23,9 +36,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
36
|
required: true;
|
24
37
|
};
|
25
38
|
};
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
27
|
-
new (): {
|
28
|
-
$slots: S;
|
29
|
-
};
|
30
|
-
};
|
31
39
|
//# sourceMappingURL=WFieldWrapper.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAwLA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AA4B9C,iBAAS,cAAc;mBAyRI,GAAG;sBACC,GAAG;;;4BArSP,OAAO,KAAG,IAAI;;QAsSb,GAAG;;;4BAtSJ,OAAO,KAAG,IAAI;;QAuSX,GAAG;mBACL,GAAG;EAsB9B;AACD,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
@@ -1,36 +1,166 @@
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createElementVNode,
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderSlot, createTextVNode, toDisplayString, createVNode, Transition, withCtx, createCommentVNode, createBlock, normalizeProps, guardReactiveProps, unref } from 'vue';
|
2
2
|
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
3
|
+
import _sfc_main$2 from '../Tooltip/WTooltip.vue.js';
|
4
|
+
import _sfc_main$1 from '../Button/WButtonCopy.vue.js';
|
5
|
+
import { numberFormatter, genId } from '../../utils/utils.js';
|
3
6
|
|
4
|
-
const _hoisted_1 = {
|
5
|
-
|
7
|
+
const _hoisted_1 = {
|
8
|
+
key: 0,
|
9
|
+
class: "text-negative dark:text-negative-dark"
|
10
|
+
};
|
11
|
+
const _hoisted_2 = { class: "grid grid-cols-[1fr,auto]" };
|
6
12
|
const _hoisted_3 = {
|
7
13
|
key: 0,
|
8
|
-
class: "
|
14
|
+
class: "square-2 rounded-full transition-colors absolute top-0 right-0 bg-[var(--has-changes-bg)]"
|
15
|
+
};
|
16
|
+
const _hoisted_4 = {
|
17
|
+
key: 0,
|
18
|
+
class: "text-xs font-normal text-negative dark:text-negative-dark absolute right-0 top-full pt-0.5 text-end"
|
19
|
+
};
|
20
|
+
const _hoisted_5 = {
|
21
|
+
key: 1,
|
22
|
+
class: "text-xs font-normal text-description absolute right-0 top-full pt-0.5 whitespace-nowrap"
|
23
|
+
};
|
24
|
+
const _hoisted_6 = {
|
25
|
+
key: 2,
|
26
|
+
ref: "rightContainer",
|
27
|
+
class: "pl-4 flex gap-4 sm-not:flex-col"
|
9
28
|
};
|
10
29
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
30
|
+
...{ inheritAttrs: false },
|
11
31
|
__name: "WFieldWrapper",
|
12
32
|
props: {
|
13
|
-
modelValue: {},
|
33
|
+
modelValue: { type: [String, Number, Boolean, null] },
|
14
34
|
title: {},
|
15
35
|
description: {},
|
36
|
+
errorMessage: {},
|
37
|
+
tooltipText: {},
|
38
|
+
maxLength: {},
|
39
|
+
mono: { type: Boolean },
|
40
|
+
hasChanges: { type: Boolean },
|
16
41
|
skeleton: { type: Boolean },
|
17
|
-
disabled: { type: Boolean }
|
42
|
+
disabled: { type: Boolean },
|
43
|
+
required: { type: Boolean },
|
44
|
+
noMargin: { type: Boolean },
|
45
|
+
allowCopy: { type: Boolean }
|
18
46
|
},
|
47
|
+
emits: ["click"],
|
19
48
|
setup(__props) {
|
49
|
+
const id = `field_${genId()}`;
|
50
|
+
const focused = ref(false);
|
51
|
+
const setFocused = (value) => {
|
52
|
+
focused.value = value;
|
53
|
+
};
|
20
54
|
return (_ctx, _cache) => {
|
21
|
-
return openBlock(), createElementBlock("div",
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
55
|
+
return openBlock(), createElementBlock("div", {
|
56
|
+
class: normalizeClass(["relative", {
|
57
|
+
"mt-1 mb-[1.125rem]": !_ctx.noMargin,
|
58
|
+
[typeof _ctx.$attrs.class === "string" ? _ctx.$attrs.class : ""]: true
|
59
|
+
}]),
|
60
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
61
|
+
}, [
|
62
|
+
createElementVNode("label", {
|
63
|
+
for: id,
|
64
|
+
class: normalizeClass({
|
65
|
+
"cursor-not-allowed": _ctx.disabled && !_ctx.skeleton
|
66
|
+
})
|
67
|
+
}, [
|
68
|
+
_ctx.title || _ctx.$slots.title?.()?.length ? (openBlock(), createElementBlock("div", {
|
69
|
+
key: 0,
|
70
|
+
class: normalizeClass(["text-xs font-semibold text-accent mb-2 duration-500", {
|
71
|
+
"opacity-50": _ctx.disabled && !_ctx.skeleton
|
72
|
+
}])
|
73
|
+
}, [
|
74
|
+
!_ctx.skeleton ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
75
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
76
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
77
|
+
]),
|
78
|
+
createVNode(Transition, {
|
79
|
+
"enter-active-class": "transition-opacity",
|
80
|
+
"leave-active-class": "transition-opacity",
|
81
|
+
"enter-from-class": "opacity-0",
|
82
|
+
"leave-to-class": "opacity-0"
|
83
|
+
}, {
|
84
|
+
default: withCtx(() => [
|
85
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_1, " * ")) : createCommentVNode("", true)
|
86
|
+
]),
|
87
|
+
_: 1
|
88
|
+
})
|
89
|
+
], 64)) : (openBlock(), createBlock(WSkeleton, {
|
90
|
+
key: 1,
|
91
|
+
class: "h-4 w-16"
|
92
|
+
}))
|
93
|
+
], 2)) : createCommentVNode("", true),
|
94
|
+
renderSlot(_ctx.$slots, "subtitle"),
|
95
|
+
createElementVNode("div", _hoisted_2, [
|
96
|
+
!_ctx.skeleton ? (openBlock(), createElementBlock("div", {
|
97
|
+
key: 0,
|
98
|
+
class: normalizeClass(["relative grid grid-cols-1 w-has-changes-color-info dark:w-has-changes-color-info-dark", {
|
99
|
+
"focus-within-not:w-has-changes-color-negative dark:focus-within-not:w-has-changes-color-negative-dark": _ctx.errorMessage
|
100
|
+
}])
|
101
|
+
}, [
|
102
|
+
renderSlot(_ctx.$slots, "field", normalizeProps(guardReactiveProps({ id, setFocused, focused: focused.value })), () => [
|
103
|
+
createElementVNode("div", {
|
104
|
+
class: normalizeClass(["text-base font-normal min-h-[2.75rem] flex items-center border-t -mt-px border-solid border-gray-300 dark:border-gray-700", {
|
105
|
+
"font-mono": _ctx.mono
|
106
|
+
}])
|
107
|
+
}, [
|
108
|
+
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id, setFocused, focused: focused.value })), () => [
|
109
|
+
createTextVNode(toDisplayString(typeof _ctx.modelValue === "number" ? unref(numberFormatter).format(_ctx.modelValue) : _ctx.modelValue === null ? "N / A" : _ctx.modelValue), 1)
|
110
|
+
]),
|
111
|
+
_ctx.allowCopy && _ctx.modelValue ? (openBlock(), createBlock(_sfc_main$1, {
|
112
|
+
key: 0,
|
113
|
+
value: `${_ctx.modelValue}`,
|
114
|
+
class: "ml-2"
|
115
|
+
}, null, 8, ["value"])) : createCommentVNode("", true)
|
116
|
+
], 2)
|
117
|
+
]),
|
118
|
+
createVNode(Transition, {
|
119
|
+
"enter-active-class": "transition-opacity",
|
120
|
+
"leave-active-class": "transition-opacity",
|
121
|
+
"enter-from-class": "opacity-0",
|
122
|
+
"leave-to-class": "opacity-0"
|
123
|
+
}, {
|
124
|
+
default: withCtx(() => [
|
125
|
+
_ctx.hasChanges ? (openBlock(), createElementBlock("span", _hoisted_3)) : createCommentVNode("", true)
|
126
|
+
]),
|
127
|
+
_: 1
|
128
|
+
}),
|
129
|
+
createVNode(Transition, {
|
130
|
+
"enter-active-class": "transition-opacity",
|
131
|
+
"leave-active-class": "transition-opacity",
|
132
|
+
"enter-from-class": "opacity-0",
|
133
|
+
"leave-to-class": "opacity-0"
|
134
|
+
}, {
|
135
|
+
default: withCtx(() => [
|
136
|
+
_ctx.errorMessage ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(_ctx.errorMessage), 1)) : _ctx.maxLength !== void 0 && focused.value ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(unref(numberFormatter).format(`${typeof _ctx.modelValue === "number" ? _ctx.modelValue : _ctx.modelValue || ""}`.length)) + " / " + toDisplayString(unref(numberFormatter).format(_ctx.maxLength)), 1)) : createCommentVNode("", true)
|
137
|
+
]),
|
138
|
+
_: 1
|
139
|
+
})
|
140
|
+
], 2)) : (openBlock(), createBlock(WSkeleton, {
|
141
|
+
key: 1,
|
142
|
+
class: "min-w-full w-skeleton-rounded-xl h-[calc(var(--field-height,2.125rem)+0.625rem)]"
|
143
|
+
})),
|
144
|
+
_ctx.$slots.right?.()?.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
145
|
+
renderSlot(_ctx.$slots, "right")
|
146
|
+
], 512)) : createCommentVNode("", true)
|
30
147
|
])
|
31
|
-
]),
|
32
|
-
_ctx.description ? (openBlock(), createElementBlock("div",
|
33
|
-
|
148
|
+
], 2),
|
149
|
+
_ctx.description ? (openBlock(), createElementBlock("div", {
|
150
|
+
key: 0,
|
151
|
+
class: normalizeClass(["text-xs font-normal text-description pt-4 whitespace-pre-wrap break-words text-pretty", {
|
152
|
+
"opacity-50": _ctx.disabled && !_ctx.skeleton
|
153
|
+
}])
|
154
|
+
}, [
|
155
|
+
_ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
156
|
+
createTextVNode(toDisplayString(_ctx.description), 1)
|
157
|
+
], 64))
|
158
|
+
], 2)) : createCommentVNode("", true),
|
159
|
+
_ctx.tooltipText && !_ctx.skeleton ? (openBlock(), createBlock(_sfc_main$2, {
|
160
|
+
key: 1,
|
161
|
+
text: _ctx.tooltipText
|
162
|
+
}, null, 8, ["text"])) : createCommentVNode("", true)
|
163
|
+
], 2);
|
34
164
|
};
|
35
165
|
}
|
36
166
|
});
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export interface FieldWrapperProps {
|
2
|
+
modelValue?: string | number | boolean | null;
|
3
|
+
title?: string;
|
4
|
+
description?: string;
|
5
|
+
errorMessage?: string;
|
6
|
+
tooltipText?: string;
|
7
|
+
maxLength?: number;
|
8
|
+
mono?: boolean;
|
9
|
+
hasChanges?: boolean;
|
10
|
+
skeleton?: boolean;
|
11
|
+
disabled?: boolean;
|
12
|
+
required?: boolean;
|
13
|
+
noMargin?: boolean;
|
14
|
+
allowCopy?: boolean;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FieldWrapper/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
@@ -1,39 +1,48 @@
|
|
1
|
-
declare
|
2
|
-
modelValue: File[];
|
3
|
-
placeholder?: string | undefined;
|
4
|
-
multiple?: boolean | undefined;
|
5
|
-
accept?: string | undefined;
|
6
|
-
errorMessage?: string | undefined;
|
7
|
-
title?: string | undefined;
|
8
|
-
skeleton?: boolean | undefined;
|
9
|
-
required?: boolean | undefined;
|
10
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
11
|
-
"update:modelValue": (value: File[]) => void;
|
12
|
-
"clear:placeholder": () => void;
|
13
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
14
|
-
modelValue: File[];
|
15
|
-
placeholder?: string | undefined;
|
16
|
-
multiple?: boolean | undefined;
|
17
|
-
accept?: string | undefined;
|
18
|
-
errorMessage?: string | undefined;
|
19
|
-
title?: string | undefined;
|
20
|
-
skeleton?: boolean | undefined;
|
21
|
-
required?: boolean | undefined;
|
22
|
-
}>>> & {
|
23
|
-
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
24
|
-
"onClear:placeholder"?: (() => any) | undefined;
|
25
|
-
}, {}, {}>, {
|
1
|
+
declare function __VLS_template(): {
|
26
2
|
title?(_: {}): any;
|
3
|
+
positive?(_: {}): any;
|
27
4
|
positive?(_: {
|
28
5
|
file: File;
|
29
6
|
}): any;
|
7
|
+
negative?(_: {}): any;
|
30
8
|
negative?(_: {
|
31
9
|
file: File;
|
32
10
|
}): any;
|
33
|
-
}
|
11
|
+
};
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
13
|
+
modelValue: File[];
|
14
|
+
placeholder?: string;
|
15
|
+
multiple?: boolean;
|
16
|
+
accept?: string;
|
17
|
+
errorMessage?: string;
|
18
|
+
title?: string;
|
19
|
+
skeleton?: boolean;
|
20
|
+
required?: boolean;
|
21
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
22
|
+
"update:modelValue": (value: File[]) => void;
|
23
|
+
"clear:placeholder": () => void;
|
24
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
25
|
+
modelValue: File[];
|
26
|
+
placeholder?: string;
|
27
|
+
multiple?: boolean;
|
28
|
+
accept?: string;
|
29
|
+
errorMessage?: string;
|
30
|
+
title?: string;
|
31
|
+
skeleton?: boolean;
|
32
|
+
required?: boolean;
|
33
|
+
}>>> & {
|
34
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
35
|
+
"onClear:placeholder"?: (() => any) | undefined;
|
36
|
+
}, {}, {}>;
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
34
38
|
export default _default;
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
40
|
+
new (): {
|
41
|
+
$slots: S;
|
42
|
+
};
|
43
|
+
};
|
35
44
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
36
|
-
type
|
45
|
+
type __VLS_TypePropsToOption<T> = {
|
37
46
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
38
47
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
39
48
|
} : {
|
@@ -41,9 +50,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
50
|
required: true;
|
42
51
|
};
|
43
52
|
};
|
44
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
45
|
-
new (): {
|
46
|
-
$slots: S;
|
47
|
-
};
|
48
|
-
};
|
49
53
|
//# sourceMappingURL=WFilePicker.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFilePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/WFilePicker.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFilePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/WFilePicker.vue"],"names":[],"mappings":"AA4UA,iBAAS,cAAc;mBA6QI,GAAG;sBACC,GAAG;;;QAEH,GAAG;sBADH,GAAG;;;QAEH,GAAG;EA6BjC;AACD,QAAA,MAAM,eAAe;gBAvYP,IAAI,EAAE;kBACJ,MAAM;eACT,OAAO;aACT,MAAM;mBACA,MAAM;YACb,MAAM;eACH,OAAO;eACP,OAAO;;;;;gBAPN,IAAI,EAAE;kBACJ,MAAM;eACT,OAAO;aACT,MAAM;mBACA,MAAM;YACb,MAAM;eACH,OAAO;eACP,OAAO;;;;UAuYlB,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"}
|
@@ -71,8 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
71
|
const newFiles = props.modelValue.slice();
|
72
72
|
newFiles.splice(index, 1);
|
73
73
|
emit("update:modelValue", newFiles);
|
74
|
-
if (newFiles.length === 0 && input.value)
|
75
|
-
input.value.value = "";
|
74
|
+
if (newFiles.length === 0 && input.value) input.value.value = "";
|
76
75
|
};
|
77
76
|
const preventDefaults = (e) => {
|
78
77
|
e.preventDefault();
|
@@ -84,8 +83,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
84
83
|
};
|
85
84
|
useTabActiveListener(updateSize);
|
86
85
|
onMounted(() => {
|
87
|
-
if (!isClientSide)
|
88
|
-
return;
|
86
|
+
if (!isClientSide) return;
|
89
87
|
updateSize();
|
90
88
|
events.forEach((eventName) => {
|
91
89
|
document.body.addEventListener(eventName, preventDefaults);
|
@@ -93,8 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
93
91
|
window.addEventListener("resize", updateSize);
|
94
92
|
});
|
95
93
|
onUnmounted(() => {
|
96
|
-
if (!isClientSide)
|
97
|
-
return;
|
94
|
+
if (!isClientSide) return;
|
98
95
|
events.forEach((eventName) => {
|
99
96
|
document.body.removeEventListener(eventName, preventDefaults);
|
100
97
|
});
|
@@ -1,20 +1,27 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
|
4
|
-
}
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
positive?(_: {}): any;
|
3
|
+
negative?(_: {}): any;
|
4
|
+
};
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
6
|
+
name?: string;
|
7
|
+
hasError?: boolean;
|
8
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
9
|
"click:cancel": () => void;
|
6
|
-
}, string, import(
|
7
|
-
name?: string
|
8
|
-
hasError?: boolean
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
11
|
+
name?: string;
|
12
|
+
hasError?: boolean;
|
9
13
|
}>>> & {
|
10
14
|
"onClick:cancel"?: (() => any) | undefined;
|
11
|
-
}, {}, {}
|
12
|
-
|
13
|
-
negative?(_: {}): any;
|
14
|
-
}>;
|
15
|
+
}, {}, {}>;
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
15
17
|
export default _default;
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
19
|
+
new (): {
|
20
|
+
$slots: S;
|
21
|
+
};
|
22
|
+
};
|
16
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
17
|
-
type
|
24
|
+
type __VLS_TypePropsToOption<T> = {
|
18
25
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
19
26
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
20
27
|
} : {
|
@@ -22,9 +29,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
29
|
required: true;
|
23
30
|
};
|
24
31
|
};
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
26
|
-
new (): {
|
27
|
-
$slots: S;
|
28
|
-
};
|
29
|
-
};
|
30
32
|
//# sourceMappingURL=FilePickerItem.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"AAyEA,iBAAS,cAAc;sBA+GO,GAAG;sBACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;WAnJZ,MAAM;eACF,OAAO;;;;WADX,MAAM;eACF,OAAO;;;UAyJlB,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,17 +1,17 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
svgWidth: number;
|
3
3
|
svgHeight: number;
|
4
|
-
isActive?: boolean
|
5
|
-
hasError?: boolean
|
6
|
-
}>, {}, unknown, {}, {}, import(
|
4
|
+
isActive?: boolean;
|
5
|
+
hasError?: boolean;
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
7
7
|
svgWidth: number;
|
8
8
|
svgHeight: number;
|
9
|
-
isActive?: boolean
|
10
|
-
hasError?: boolean
|
9
|
+
isActive?: boolean;
|
10
|
+
hasError?: boolean;
|
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":"FilePickerSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerSvg.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilePickerSvg.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/components/FilePickerSvg.vue"],"names":[],"mappings":";cA4FY,MAAM;eACL,MAAM;eACN,OAAO;eACP,OAAO;;cAHR,MAAM;eACL,MAAM;eACN,OAAO;eACP,OAAO;;AA8GpB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
@@ -1,17 +1,24 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
}
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
bottom?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
5
|
+
defaultQueryFields?: string[];
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
4
7
|
"update:count": (value: number) => void;
|
5
|
-
}, string, import(
|
6
|
-
defaultQueryFields?: string[]
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
9
|
+
defaultQueryFields?: string[];
|
7
10
|
}>>> & {
|
8
11
|
"onUpdate:count"?: ((value: number) => any) | undefined;
|
9
|
-
}, {}, {}
|
10
|
-
|
11
|
-
}>;
|
12
|
+
}, {}, {}>;
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
12
14
|
export default _default;
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
16
|
+
new (): {
|
17
|
+
$slots: S;
|
18
|
+
};
|
19
|
+
};
|
13
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
14
|
-
type
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
15
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
16
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
17
24
|
} : {
|
@@ -19,9 +26,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
26
|
required: true;
|
20
27
|
};
|
21
28
|
};
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
23
|
-
new (): {
|
24
|
-
$slots: S;
|
25
|
-
};
|
26
|
-
};
|
27
29
|
//# sourceMappingURL=WFilterWrapper.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFilterWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilterWrapper/WFilterWrapper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFilterWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FilterWrapper/WFilterWrapper.vue"],"names":[],"mappings":"AAkLA,iBAAS,cAAc;oBAiHK,GAAG;EAuB9B;AACD,QAAA,MAAM,eAAe;yBA1ME,MAAM,EAAE;;;;yBAAR,MAAM,EAAE;;;UAiN7B,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,29 +1,36 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
5
|
+
name?: string;
|
6
|
+
title?: string;
|
4
7
|
}>, {
|
5
|
-
isValid: import(
|
6
|
-
validate: (silent?: boolean
|
8
|
+
isValid: import('vue').ComputedRef<boolean>;
|
9
|
+
validate: (silent?: boolean, path?: import('./use/useFormValidateMap').ValidatePath) => string | undefined;
|
7
10
|
invalidate: (payload: {
|
8
11
|
[x: string]: string | string[];
|
9
12
|
}) => void;
|
10
13
|
initModel: () => void;
|
11
|
-
errorMessage: import(
|
12
|
-
}, unknown, {}, {}, import(
|
14
|
+
errorMessage: import('vue').ComputedRef<string>;
|
15
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
16
|
"update:is-valid": (value: boolean | undefined) => void;
|
14
17
|
"update:has-changes": (value: boolean) => void;
|
15
|
-
}, string, import(
|
16
|
-
name?: string
|
17
|
-
title?: string
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
19
|
+
name?: string;
|
20
|
+
title?: string;
|
18
21
|
}>>> & {
|
19
22
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
20
23
|
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
21
|
-
}, {}, {}
|
22
|
-
|
23
|
-
}>;
|
24
|
+
}, {}, {}>;
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
24
26
|
export default _default;
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
28
|
+
new (): {
|
29
|
+
$slots: S;
|
30
|
+
};
|
31
|
+
};
|
25
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
26
|
-
type
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
27
34
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
28
35
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
29
36
|
} : {
|
@@ -31,9 +38,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
38
|
required: true;
|
32
39
|
};
|
33
40
|
};
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
35
|
-
new (): {
|
36
|
-
$slots: S;
|
37
|
-
};
|
38
|
-
};
|
39
41
|
//# sourceMappingURL=WForm.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WForm.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WForm.vue"],"names":[],"mappings":"AAqJA,iBAAS,cAAc;qBAiBM,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;WAnGZ,MAAM;YACL,MAAM;;;;;;;;;;;;;WADP,MAAM;YACL,MAAM;;;;UA0Gd,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"}
|