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,35 +1,42 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
declare function __VLS_template(): Readonly<{
|
2
|
+
default: () => void;
|
3
|
+
}> & {
|
4
|
+
default: () => void;
|
5
|
+
};
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
7
|
+
name?: string;
|
8
|
+
title?: string;
|
9
|
+
validate?: ValidateFn | ValidateFn[];
|
10
|
+
forbiddenRegexp?: RegExp;
|
11
|
+
requiredSymbols?: string;
|
12
|
+
noChanges?: boolean;
|
8
13
|
}>, {
|
9
14
|
validateOnUpdate(): string | undefined;
|
10
15
|
invalidate(message: string): void;
|
11
16
|
initModel: () => void;
|
12
|
-
}, unknown, {}, {}, import(
|
17
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
18
|
"update:has-changes": (value: boolean) => void;
|
14
19
|
"update:is-valid": (value: boolean) => void;
|
15
|
-
}, string, import(
|
16
|
-
name?: string
|
17
|
-
title?: string
|
18
|
-
validate?: ValidateFn | ValidateFn[]
|
19
|
-
forbiddenRegexp?: RegExp
|
20
|
-
requiredSymbols?: string
|
21
|
-
noChanges?: boolean
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
21
|
+
name?: string;
|
22
|
+
title?: string;
|
23
|
+
validate?: ValidateFn | ValidateFn[];
|
24
|
+
forbiddenRegexp?: RegExp;
|
25
|
+
requiredSymbols?: string;
|
26
|
+
noChanges?: boolean;
|
22
27
|
}>>> & {
|
23
28
|
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
24
29
|
"onUpdate:is-valid"?: ((value: boolean) => any) | undefined;
|
25
|
-
}, {}, {}
|
26
|
-
|
27
|
-
}> & {
|
28
|
-
default: () => void;
|
29
|
-
}>;
|
30
|
+
}, {}, {}>;
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
30
32
|
export default _default;
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
34
|
+
new (): {
|
35
|
+
$slots: S;
|
36
|
+
};
|
37
|
+
};
|
31
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
32
|
-
type
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
33
40
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
34
41
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
35
42
|
} : {
|
@@ -37,9 +44,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
44
|
required: true;
|
38
45
|
};
|
39
46
|
};
|
40
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
41
|
-
new (): {
|
42
|
-
$slots: S;
|
43
|
-
};
|
44
|
-
};
|
45
47
|
//# sourceMappingURL=WFormValidator.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WFormValidator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/WFormValidator.vue"],"names":[],"mappings":"AA6iBA,iBAAS,cAAc;aAVZ,MAAM,IAAI;;aAAV,MAAM,IAAI;EA8FpB;AACD,QAAA,MAAM,eAAe;WAnWZ,MAAM;YACL,MAAM;eACH,UAAU,GAAG,UAAU,EAAE;sBAClB,MAAM;sBACN,MAAM;gBACZ,OAAO;;;wBA+OC,MAAM;qBA/DN,IAAI;;;;;WArLjB,MAAM;YACL,MAAM;eACH,UAAU,GAAG,UAAU,EAAE;sBAClB,MAAM;sBACN,MAAM;gBACZ,OAAO;;;;UAsWnB,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"}
|
@@ -31,8 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
const componentRef = ref();
|
32
32
|
const modelValue = computed(() => {
|
33
33
|
const props2 = component.value?.props;
|
34
|
-
if (!props2)
|
35
|
-
return void 0;
|
34
|
+
if (!props2) return void 0;
|
36
35
|
if ("modelValue" in props2) {
|
37
36
|
return props2.modelValue;
|
38
37
|
}
|
@@ -95,8 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
95
94
|
return `${item}`;
|
96
95
|
}
|
97
96
|
}).join(", ");
|
98
|
-
if (match.length)
|
99
|
-
return "Please include the required symbols: " + match;
|
97
|
+
if (match.length) return "Please include the required symbols: " + match;
|
100
98
|
}
|
101
99
|
let message;
|
102
100
|
if (props.validate instanceof Array) {
|
@@ -124,46 +122,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
124
122
|
const _validateOnUnselect = (value) => {
|
125
123
|
const newValue = modelValue.value instanceof Array ? modelValue.value.slice() : [];
|
126
124
|
const index = newValue.indexOf(value);
|
127
|
-
if (index !== -1)
|
128
|
-
newValue.splice(index, 1);
|
125
|
+
if (index !== -1) newValue.splice(index, 1);
|
129
126
|
validateOnUpdate(newValue);
|
130
127
|
};
|
131
128
|
const doValidate = (silent, path) => {
|
132
|
-
if (props.name && path && !path[props.name])
|
133
|
-
return;
|
129
|
+
if (props.name && path && !path[props.name]) return;
|
134
130
|
const message = _validate(modelValue.value);
|
135
131
|
if (!silent) {
|
136
132
|
errorMessage.value = message;
|
137
133
|
hasBeenValidated.value = true;
|
138
|
-
if (!isInsideTab)
|
139
|
-
scrollTo();
|
134
|
+
if (!isInsideTab) scrollTo();
|
140
135
|
}
|
141
136
|
return message;
|
142
137
|
};
|
143
138
|
const invalidate = (messages) => {
|
144
|
-
if (!props.name)
|
145
|
-
return;
|
139
|
+
if (!props.name) return;
|
146
140
|
const message = messages[props.name];
|
147
|
-
if (typeof message === "string")
|
148
|
-
|
149
|
-
else if (message instanceof Array)
|
150
|
-
errorMessage.value = message.join(", ");
|
141
|
+
if (typeof message === "string") errorMessage.value = message;
|
142
|
+
else if (message instanceof Array) errorMessage.value = message.join(", ");
|
151
143
|
};
|
152
144
|
const initModel = () => {
|
153
145
|
initModelValue.value = modelValue.value;
|
154
146
|
hasChanges.value = false;
|
155
147
|
};
|
156
148
|
const scrollTo = () => {
|
157
|
-
if (!errorMessage.value)
|
158
|
-
return;
|
149
|
+
if (!errorMessage.value) return;
|
159
150
|
const element = componentRef.value.$el;
|
160
|
-
if (element instanceof HTMLDivElement)
|
161
|
-
scrollToValidator(element);
|
151
|
+
if (element instanceof HTMLDivElement) scrollToValidator(element);
|
162
152
|
};
|
163
153
|
useTabActiveListener(scrollTo);
|
164
154
|
watch(errorMessage, (value) => {
|
165
|
-
if (value === null)
|
166
|
-
return;
|
155
|
+
if (value === null) return;
|
167
156
|
if (props.name) {
|
168
157
|
errorMessageUpdater?.(props.name, value);
|
169
158
|
}
|
@@ -181,8 +170,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
181
170
|
}
|
182
171
|
}, { immediate: true });
|
183
172
|
watch(required, () => {
|
184
|
-
if (hasBeenValidated.value)
|
185
|
-
doValidate();
|
173
|
+
if (hasBeenValidated.value) doValidate();
|
186
174
|
});
|
187
175
|
onBeforeMount(() => {
|
188
176
|
if (props.name) {
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import { InjectionKey } from 'vue';
|
2
|
+
|
2
3
|
export declare const wFormTitleUpdater: InjectionKey<(key: string, value: string | undefined) => void>;
|
3
4
|
export declare const wFormErrorMessageUpdater: InjectionKey<(key: string, value: string | undefined) => void>;
|
4
5
|
export declare const wFormHasChangesUpdater: InjectionKey<(key: string, value: boolean) => void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,KAAK,CAAA;AAErC,eAAO,MAAM,iBAAiB,
|
1
|
+
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,KAAK,CAAA;AAErC,eAAO,MAAM,iBAAiB,EAAkC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC,CAAA;AAE9H,eAAO,MAAM,wBAAwB,EAAyC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC,CAAA;AAE5I,eAAO,MAAM,sBAAsB,EAAuC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC,CAAA;AAE7H,eAAO,MAAM,oBAAoB,EAAqC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC,CAAA;AAE1I,eAAO,MAAM,sBAAsB,EAAqC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,KAAK,IAAI,KAAK,IAAI,CAAC,CAAA;AAEzK,eAAO,MAAM,qBAAqB,EAAsC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC,CAAA;AAE9H,eAAO,MAAM,eAAe,EAAgC,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/models/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/models/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,MAAM,KAAG,CAMrF,CAAA;AAKD,eAAO,MAAM,cAAc,UAAW,MAAM,GAAG,SAAS,WAAW,MAAM,GAAG,SAAS,KAAG,MAAM,GAAG,SAShG,CAAA;AAED,eAAO,MAAM,iBAAiB,YAAsB,WAAW,KAAG,IAM3D,CAAA"}
|
@@ -2,10 +2,13 @@ import 'vue';
|
|
2
2
|
import '../../Button/WButtonAction.vue.js';
|
3
3
|
import '../../Button/WButton.vue.js';
|
4
4
|
import { throttle } 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
|
|
@@ -17,10 +20,8 @@ const removeKey = (entity, key) => {
|
|
17
20
|
const fieldMessageStart = " - ";
|
18
21
|
const subformMessageStart = " ";
|
19
22
|
const compileMessage = (title, message) => {
|
20
|
-
if (message === void 0)
|
21
|
-
|
22
|
-
if (title === void 0)
|
23
|
-
return message;
|
23
|
+
if (message === void 0) return void 0;
|
24
|
+
if (title === void 0) return message;
|
24
25
|
if (message.startsWith(subformMessageStart)) {
|
25
26
|
return `${subformMessageStart}${title}
|
26
27
|
${message}`;
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
|
2
3
|
export declare const useFormErrorMessageMap: (name: Ref<string | undefined>, titleGetter: (key: string) => string) => {
|
3
4
|
errorMessageMapUnlistener: (key: string) => void;
|
4
|
-
isValid: import(
|
5
|
-
errorMessage: import(
|
5
|
+
isValid: import('vue').ComputedRef<boolean>;
|
6
|
+
errorMessage: import('vue').ComputedRef<string>;
|
6
7
|
errorMessageMap: Ref<Record<string, string>>;
|
7
8
|
};
|
8
9
|
//# sourceMappingURL=useFormErrorMessageMap.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFormErrorMessageMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormErrorMessageMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAInE,eAAO,MAAM,sBAAsB,SAAU,
|
1
|
+
{"version":3,"file":"useFormErrorMessageMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormErrorMessageMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAInE,eAAO,MAAM,sBAAsB,SAAU,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM;qCAQhE,MAAM;;;;CAwB/C,CAAA"}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
|
2
3
|
export declare const useFormHasChangesMap: (name: Ref<string | undefined>) => {
|
3
4
|
hasChangesMapUnlistener: (key: string) => void;
|
4
|
-
hasChanges: import(
|
5
|
+
hasChanges: import('vue').ComputedRef<boolean>;
|
5
6
|
};
|
6
7
|
//# sourceMappingURL=useFormHasChangesMap.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFormHasChangesMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormHasChangesMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAInE,eAAO,MAAM,oBAAoB,SAAU,
|
1
|
+
{"version":3,"file":"useFormHasChangesMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormHasChangesMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAInE,eAAO,MAAM,oBAAoB,SAAU,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC;mCAQ1B,MAAM;;CAkB7C,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFormInitModelMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormInitModelMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,eAAO,MAAM,mBAAmB,SAAU,
|
1
|
+
{"version":3,"file":"useFormInitModelMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormInitModelMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,eAAO,MAAM,mBAAmB,SAAU,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC;kCAO1B,MAAM;qBAIrB,IAAI;CAoB3B,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFormInvalidateMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormInvalidateMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AAE1D,eAAO,MAAM,oBAAoB,SAAU,
|
1
|
+
{"version":3,"file":"useFormInvalidateMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormInvalidateMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AAE1D,eAAO,MAAM,oBAAoB,SAAU,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC;mCAO1B,MAAM;0BAIf,iBAAiB,KAAG,IAAI;CAoBtD,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFormTitleMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormTitleMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIzD,eAAO,MAAM,eAAe,SAAU,
|
1
|
+
{"version":3,"file":"useFormTitleMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormTitleMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIzD,eAAO,MAAM,eAAe,SAAU,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC;uBAWjE,MAAM;8BAJC,MAAM;CAsBxC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFormValidateMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormValidateMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,MAAM,MAAM,YAAY,GAAG;KACxB,GAAG,IAAI,MAAM,GAAG,OAAO,GAAG,YAAY;CACxC,CAAA;AAED,eAAO,MAAM,kBAAkB,SAAU,
|
1
|
+
{"version":3,"file":"useFormValidateMap.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/use/useFormValidateMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAIjE,MAAM,MAAM,YAAY,GAAG;KACxB,GAAG,IAAI,MAAM,GAAG,OAAO,GAAG,YAAY;CACxC,CAAA;AAED,eAAO,MAAM,kBAAkB,SAAU,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,eAAe,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;iCAOvG,MAAM;wBAIf,OAAO,SAAS,YAAY,KAAG,MAAM,GAAG,SAAS;CAoC7E,CAAA"}
|
@@ -20,8 +20,7 @@ const useFormValidateMap = (name, titleGetter, emitIsValid) => {
|
|
20
20
|
)
|
21
21
|
);
|
22
22
|
}).filter((item) => item);
|
23
|
-
if (!silent)
|
24
|
-
emitIsValid(messages.length === 0);
|
23
|
+
if (!silent) emitIsValid(messages.length === 0);
|
25
24
|
return messages.length === 0 ? void 0 : messages.join("\n");
|
26
25
|
};
|
27
26
|
provide(wFormValidateUpdater, validateMapUpdater);
|
@@ -1,19 +1,24 @@
|
|
1
|
-
declare
|
2
|
-
title
|
3
|
-
search
|
4
|
-
|
5
|
-
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
title?(_: {}): any;
|
3
|
+
search?(_: {}): any;
|
4
|
+
search?(_: {}): any;
|
5
|
+
};
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
7
|
+
title?: string;
|
8
|
+
search?: string;
|
9
|
+
searchEnabled?: boolean;
|
10
|
+
headerPadding?: number;
|
6
11
|
}>, {
|
7
12
|
title: undefined;
|
8
13
|
search: undefined;
|
9
14
|
headerPadding: number;
|
10
|
-
}>, {}, unknown, {}, {}, import(
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
11
16
|
"update:search": (value: string | undefined) => void;
|
12
|
-
}, string, import(
|
13
|
-
title?: string
|
14
|
-
search?: string
|
15
|
-
searchEnabled?: boolean
|
16
|
-
headerPadding?: number
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
18
|
+
title?: string;
|
19
|
+
search?: string;
|
20
|
+
searchEnabled?: boolean;
|
21
|
+
headerPadding?: number;
|
17
22
|
}>, {
|
18
23
|
title: undefined;
|
19
24
|
search: undefined;
|
@@ -24,20 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
24
29
|
search: string;
|
25
30
|
title: string;
|
26
31
|
headerPadding: number;
|
27
|
-
}, {}
|
28
|
-
|
29
|
-
search?(_: {}): any;
|
30
|
-
}>;
|
32
|
+
}, {}>;
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
31
34
|
export default _default;
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
36
|
-
} : {
|
37
|
-
type: import('vue').PropType<T[K]>;
|
38
|
-
required: true;
|
39
|
-
};
|
40
|
-
};
|
41
35
|
type __VLS_WithDefaults<P, D> = {
|
42
36
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
43
37
|
default: D[K];
|
@@ -51,4 +45,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
45
|
$slots: S;
|
52
46
|
};
|
53
47
|
};
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
49
|
+
type __VLS_TypePropsToOption<T> = {
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
51
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
52
|
+
} : {
|
53
|
+
type: import('vue').PropType<T[K]>;
|
54
|
+
required: true;
|
55
|
+
};
|
56
|
+
};
|
54
57
|
//# sourceMappingURL=WHeaderBar.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"AAqOA,iBAAS,cAAc;mBA6PI,GAAG;oBACD,GAAG;oBACH,GAAG;EAyB/B;AACD,QAAA,MAAM,eAAe;YA9VT,MAAM;aACL,MAAM;oBACC,OAAO;oBACP,MAAM;;;;;;;;YAHd,MAAM;aACL,MAAM;oBACC,OAAO;oBACP,MAAM;;;;;;;;YAFb,MAAM;WADP,MAAM;mBAGE,MAAM;MAkWxB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
@@ -34,8 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
isSearchVisible.value = false;
|
35
35
|
};
|
36
36
|
watch(toRef(props, "searchEnabled"), (value) => {
|
37
|
-
if (value)
|
38
|
-
return;
|
37
|
+
if (value) return;
|
39
38
|
isSearchVisible.value = false;
|
40
39
|
});
|
41
40
|
let timeout;
|
@@ -46,8 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
45
|
}, 1500);
|
47
46
|
});
|
48
47
|
onBeforeUnmount(() => {
|
49
|
-
if (!timeout)
|
50
|
-
return;
|
48
|
+
if (!timeout) return;
|
51
49
|
clearTimeout(timeout);
|
52
50
|
timeout = void 0;
|
53
51
|
});
|
@@ -1,15 +1,15 @@
|
|
1
|
-
declare const _default: import(
|
2
|
-
modelValue?: string
|
3
|
-
title?: string
|
4
|
-
skeleton?: boolean
|
5
|
-
}>, {}, unknown, {}, {}, import(
|
6
|
-
modelValue?: string
|
7
|
-
title?: string
|
8
|
-
skeleton?: boolean
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
|
+
modelValue?: string;
|
3
|
+
title?: string;
|
4
|
+
skeleton?: boolean;
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
6
|
+
modelValue?: string;
|
7
|
+
title?: string;
|
8
|
+
skeleton?: boolean;
|
9
9
|
}>>>, {}, {}>;
|
10
10
|
export default _default;
|
11
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
12
|
-
type
|
12
|
+
type __VLS_TypePropsToOption<T> = {
|
13
13
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
14
14
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
15
15
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImageViewer/WImageViewer.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImageViewer/WImageViewer.vue"],"names":[],"mappings":";iBAsFe,MAAM;YACX,MAAM;eACH,OAAO;;iBAFL,MAAM;YACX,MAAM;eACH,OAAO;;AAiJpB,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"}
|
@@ -21,8 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
21
|
const props = __props;
|
22
22
|
let closeModal = null;
|
23
23
|
const openModal = () => {
|
24
|
-
if (!props.modelValue)
|
25
|
-
return;
|
24
|
+
if (!props.modelValue) return;
|
26
25
|
closeModal?.();
|
27
26
|
closeModal = Modal.addAutoclosable(
|
28
27
|
markRaw(ImageModal),
|
@@ -1,17 +1,17 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
2
2
|
modelValue: string;
|
3
|
-
resolve?: (
|
4
|
-
}>, {}, unknown, {}, {}, import(
|
3
|
+
resolve?: () => void;
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
5
|
"close:modal": () => void;
|
6
|
-
}, string, import(
|
6
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
7
7
|
modelValue: string;
|
8
|
-
resolve?: (
|
8
|
+
resolve?: () => void;
|
9
9
|
}>>> & {
|
10
10
|
"onClose:modal"?: (() => any) | undefined;
|
11
11
|
}, {}, {}>;
|
12
12
|
export default _default;
|
13
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
14
|
-
type
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
15
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
16
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
17
17
|
} : {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/components/ImageModal.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/components/ImageModal.vue"],"names":[],"mappings":";gBA6Cc,MAAM;cACR,MAAM,IAAI;;;;gBADR,MAAM;cACR,MAAM,IAAI;;;;AAgGtB,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|