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,28 +1,41 @@
|
|
1
|
-
import { HorizontalAlign
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
contentMaxWidth?: number | undefined;
|
6
|
-
horizontalAlign?: HorizontalAlign | undefined;
|
7
|
-
leftToggle?: boolean | undefined;
|
8
|
-
disabled?: boolean | undefined;
|
9
|
-
teleport?: boolean | undefined;
|
10
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
11
|
-
semanticType?: SemanticType | undefined;
|
12
|
-
contentMaxHeight?: number | undefined;
|
13
|
-
contentMaxWidth?: number | undefined;
|
14
|
-
horizontalAlign?: HorizontalAlign | undefined;
|
15
|
-
leftToggle?: boolean | undefined;
|
16
|
-
disabled?: boolean | undefined;
|
17
|
-
teleport?: boolean | undefined;
|
18
|
-
}>>>, {}, {}>, {
|
1
|
+
import { HorizontalAlign } from '../../main';
|
2
|
+
import { ButtonDropdownProps } from './types';
|
3
|
+
|
4
|
+
declare function __VLS_template(): {
|
19
5
|
content?(_: {
|
20
6
|
close: () => void;
|
21
7
|
}): any;
|
22
|
-
}
|
8
|
+
};
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonDropdownProps>, {
|
10
|
+
maxHeight: number;
|
11
|
+
maxWidth: number;
|
12
|
+
horizontalAlign: HorizontalAlign;
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonDropdownProps>, {
|
14
|
+
maxHeight: number;
|
15
|
+
maxWidth: number;
|
16
|
+
horizontalAlign: HorizontalAlign;
|
17
|
+
}>>>, {
|
18
|
+
maxHeight: number;
|
19
|
+
maxWidth: number;
|
20
|
+
horizontalAlign: HorizontalAlign;
|
21
|
+
}, {}>;
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
23
23
|
export default _default;
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
26
|
+
default: D[K];
|
27
|
+
}> : P[K];
|
28
|
+
};
|
29
|
+
type __VLS_Prettify<T> = {
|
30
|
+
[K in keyof T]: T[K];
|
31
|
+
} & {};
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
33
|
+
new (): {
|
34
|
+
$slots: S;
|
35
|
+
};
|
36
|
+
};
|
24
37
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
25
|
-
type
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
26
39
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
27
40
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
28
41
|
} : {
|
@@ -30,9 +43,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
43
|
required: true;
|
31
44
|
};
|
32
45
|
};
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
34
|
-
new (): {
|
35
|
-
$slots: S;
|
36
|
-
};
|
37
|
-
};
|
38
46
|
//# sourceMappingURL=WButtonDropdown.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"AA0FA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAA;AAMtC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AA+BhD,iBAAS,cAAc;;;QA6KO,GAAG;EAoBhC;AACD,QAAA,MAAM,eAAe;;;;;;;;;;;;MAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
@@ -1,14 +1,16 @@
|
|
1
|
-
import { defineComponent, ref, openBlock, createBlock,
|
1
|
+
import { defineComponent, ref, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, normalizeClass, createCommentVNode, createElementBlock, Fragment, renderList, resolveDynamicComponent, renderSlot } from 'vue';
|
2
2
|
import IconArrow from '../../assets/icons/default/IconArrow.svg.js';
|
3
3
|
import './WButtonAction.vue.js';
|
4
4
|
import _sfc_main$2 from './WButton.vue.js';
|
5
5
|
import _sfc_main$1 from '../DropdownMenu/WDropdownMenu.vue.js';
|
6
|
-
import _sfc_main$3 from '../ClickOutside/WClickOutside.vue.js';
|
7
6
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
7
|
+
import _sfc_main$3 from '../ClickOutside/WClickOutside.vue.js';
|
8
8
|
import 'vue-router';
|
9
9
|
import '../../utils/supportsPassive.js';
|
10
10
|
import '../Dropdown/utils/DropdownStyle.js';
|
11
11
|
import '../../utils/Modal.js';
|
12
|
+
import '../Input/WInputSuggest.vue.js';
|
13
|
+
import '../Input/WInputDate.vue.js';
|
12
14
|
import '../Link/WLink.vue.js';
|
13
15
|
import '@tanstack/vue-query';
|
14
16
|
|
@@ -17,12 +19,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
19
|
__name: "WButtonDropdown",
|
18
20
|
props: {
|
19
21
|
semanticType: {},
|
20
|
-
contentMaxHeight: {},
|
21
|
-
contentMaxWidth: {},
|
22
|
-
horizontalAlign: {},
|
23
22
|
leftToggle: { type: Boolean },
|
24
23
|
disabled: { type: Boolean },
|
25
|
-
teleport: { type: Boolean }
|
24
|
+
teleport: { type: Boolean },
|
25
|
+
noZIndex: { type: Boolean },
|
26
|
+
maxHeight: { default: 200 },
|
27
|
+
maxWidth: { default: 320 },
|
28
|
+
horizontalAlign: { default: HorizontalAlign.LEFT_INNER }
|
26
29
|
},
|
27
30
|
setup(__props) {
|
28
31
|
const isOpen = ref(false);
|
@@ -32,9 +35,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
35
|
return (_ctx, _cache) => {
|
33
36
|
return openBlock(), createBlock(_sfc_main$1, {
|
34
37
|
"is-open": isOpen.value,
|
35
|
-
"max-height": _ctx.
|
36
|
-
"max-width": _ctx.
|
37
|
-
"horizontal-align": _ctx.horizontalAlign
|
38
|
+
"max-height": _ctx.maxHeight,
|
39
|
+
"max-width": _ctx.maxWidth,
|
40
|
+
"horizontal-align": _ctx.horizontalAlign,
|
38
41
|
"update-align": "",
|
39
42
|
teleport: _ctx.teleport
|
40
43
|
}, {
|
@@ -1,123 +1,30 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
loading?: string | number | undefined;
|
8
|
-
minimize?: boolean | undefined;
|
9
|
-
"onUpdate:modelValue"?: ((value: Model) => any) | undefined;
|
10
|
-
list: Entity[];
|
11
|
-
valueGetter: ValueGetter | ((value: Entity) => Model);
|
12
|
-
modelValue: Model;
|
13
|
-
wrap?: boolean | undefined;
|
14
|
-
stretch?: boolean | undefined;
|
15
|
-
alwaysEmit?: boolean | undefined;
|
16
|
-
} | {
|
17
|
-
col?: boolean | undefined;
|
18
|
-
title?: string | undefined;
|
19
|
-
semanticType?: SemanticType | undefined;
|
20
|
-
disabled?: boolean | undefined;
|
21
|
-
loading?: string | number | undefined;
|
22
|
-
minimize?: boolean | undefined;
|
23
|
-
"onUpdate:modelValue"?: ((value: Model) => any) | undefined;
|
24
|
-
list: Model[];
|
25
|
-
valueGetter?: ValueGetter | undefined;
|
26
|
-
modelValue: Model;
|
27
|
-
wrap?: boolean | undefined;
|
28
|
-
stretch?: boolean | undefined;
|
29
|
-
alwaysEmit?: boolean | undefined;
|
30
|
-
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
31
|
-
attrs: any;
|
32
|
-
slots: {
|
33
|
-
title?(_: {}): any;
|
34
|
-
default?(_: {
|
35
|
-
item: ValueGetter extends undefined ? Model : Entity;
|
36
|
-
}): any;
|
37
|
-
};
|
38
|
-
emit: (e: 'update:modelValue', value: Model) => void;
|
39
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
40
|
-
props: ({
|
41
|
-
col?: boolean | undefined;
|
42
|
-
title?: string | undefined;
|
43
|
-
semanticType?: SemanticType | undefined;
|
44
|
-
disabled?: boolean | undefined;
|
45
|
-
loading?: string | number | undefined;
|
46
|
-
minimize?: boolean | undefined;
|
1
|
+
import { ButtonGroupProps } from './types';
|
2
|
+
|
3
|
+
declare const _default: <Model extends number | string | null | boolean, Entity extends Record<string, unknown>, ValueGetter extends {
|
4
|
+
fn(value: Entity): Model;
|
5
|
+
}["fn"] | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
6
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
47
7
|
"onUpdate:modelValue"?: ((value: Model) => any) | undefined;
|
48
|
-
|
49
|
-
valueGetter: ValueGetter | ((value: Entity) => Model);
|
50
|
-
modelValue: Model;
|
51
|
-
wrap?: boolean | undefined;
|
52
|
-
stretch?: boolean | undefined;
|
53
|
-
alwaysEmit?: boolean | undefined;
|
54
|
-
} | {
|
55
|
-
col?: boolean | undefined;
|
56
|
-
title?: string | undefined;
|
57
|
-
semanticType?: SemanticType | undefined;
|
58
|
-
disabled?: boolean | undefined;
|
59
|
-
loading?: string | number | undefined;
|
60
|
-
minimize?: boolean | undefined;
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
61
9
|
"onUpdate:modelValue"?: ((value: Model) => any) | undefined;
|
62
|
-
|
63
|
-
valueGetter?: ValueGetter | undefined;
|
64
|
-
modelValue: Model;
|
65
|
-
wrap?: boolean | undefined;
|
66
|
-
stretch?: boolean | undefined;
|
67
|
-
alwaysEmit?: boolean | undefined;
|
68
|
-
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
10
|
+
}, never>, "onUpdate:modelValue"> & ButtonGroupProps<Model, Entity, ValueGetter>> & import('vue').PublicProps;
|
69
11
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
70
12
|
attrs: any;
|
71
|
-
slots: {
|
13
|
+
slots: ReturnType<() => {
|
72
14
|
title?(_: {}): any;
|
73
15
|
default?(_: {
|
74
16
|
item: ValueGetter extends undefined ? Model : Entity;
|
75
17
|
}): any;
|
76
|
-
|
77
|
-
|
78
|
-
|
18
|
+
right?(_: {}): any;
|
19
|
+
}>;
|
20
|
+
emit: ((e: "update:modelValue", value: Model) => void) & {};
|
21
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
79
22
|
[key: string]: any;
|
80
23
|
}> & {
|
81
|
-
__ctx?:
|
82
|
-
props: ({
|
83
|
-
col?: boolean | undefined;
|
84
|
-
title?: string | undefined;
|
85
|
-
semanticType?: SemanticType | undefined;
|
86
|
-
disabled?: boolean | undefined;
|
87
|
-
loading?: string | number | undefined;
|
88
|
-
minimize?: boolean | undefined;
|
89
|
-
"onUpdate:modelValue"?: ((value: Model) => any) | undefined;
|
90
|
-
list: Entity[];
|
91
|
-
valueGetter: ValueGetter | ((value: Entity) => Model);
|
92
|
-
modelValue: Model;
|
93
|
-
wrap?: boolean | undefined;
|
94
|
-
stretch?: boolean | undefined;
|
95
|
-
alwaysEmit?: boolean | undefined;
|
96
|
-
} | {
|
97
|
-
col?: boolean | undefined;
|
98
|
-
title?: string | undefined;
|
99
|
-
semanticType?: SemanticType | undefined;
|
100
|
-
disabled?: boolean | undefined;
|
101
|
-
loading?: string | number | undefined;
|
102
|
-
minimize?: boolean | undefined;
|
103
|
-
"onUpdate:modelValue"?: ((value: Model) => any) | undefined;
|
104
|
-
list: Model[];
|
105
|
-
valueGetter?: ValueGetter | undefined;
|
106
|
-
modelValue: Model;
|
107
|
-
wrap?: boolean | undefined;
|
108
|
-
stretch?: boolean | undefined;
|
109
|
-
alwaysEmit?: boolean | undefined;
|
110
|
-
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
111
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
112
|
-
attrs: any;
|
113
|
-
slots: {
|
114
|
-
title?(_: {}): any;
|
115
|
-
default?(_: {
|
116
|
-
item: ValueGetter extends undefined ? Model : Entity;
|
117
|
-
}): any;
|
118
|
-
};
|
119
|
-
emit: (e: 'update:modelValue', value: Model) => void;
|
120
|
-
} | undefined;
|
24
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
121
25
|
};
|
122
26
|
export default _default;
|
27
|
+
type __VLS_Prettify<T> = {
|
28
|
+
[K in keyof T]: T[K];
|
29
|
+
} & {};
|
123
30
|
//# sourceMappingURL=WButtonGroup.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;yBAG5B,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,2BAC3J,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAkJxD,cAAc,CAAC;;;;oFAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;uBA1BO,GAAG;;;YACA,GAAG;uBACL,GAAG;MAwBY;UAClC,KA7IH,mBAAmB,SAAS,KAAK,KAAG,IAAI,MA6IG;;;;YAGL,OAAO,CAAC,OAAO,WAAW,CAAC;;AA5JvE,wBA4J4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,22 +1,34 @@
|
|
1
|
-
import { defineComponent, openBlock,
|
2
|
-
import _sfc_main$
|
1
|
+
import { defineComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, normalizeClass, createElementBlock, Fragment, renderList, unref, renderSlot } from 'vue';
|
2
|
+
import _sfc_main$2 from './WButton.vue.js';
|
3
3
|
import { SemanticType } from '../../utils/SemanticType.js';
|
4
|
+
import _sfc_main$1 from '../FieldWrapper/WFieldWrapper.vue.js';
|
4
5
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
|
+
...{ inheritAttrs: false },
|
6
8
|
__name: "WButtonGroup",
|
7
9
|
props: {
|
8
10
|
list: {},
|
9
11
|
valueGetter: { type: Function },
|
10
12
|
modelValue: {},
|
11
|
-
title: {},
|
12
|
-
disabled: { type: Boolean },
|
13
13
|
loading: {},
|
14
14
|
minimize: { type: Boolean },
|
15
15
|
wrap: { type: Boolean },
|
16
16
|
col: { type: Boolean },
|
17
17
|
semanticType: {},
|
18
18
|
stretch: { type: Boolean },
|
19
|
-
alwaysEmit: { type: Boolean }
|
19
|
+
alwaysEmit: { type: Boolean },
|
20
|
+
title: {},
|
21
|
+
description: {},
|
22
|
+
errorMessage: {},
|
23
|
+
tooltipText: {},
|
24
|
+
maxLength: {},
|
25
|
+
mono: { type: Boolean },
|
26
|
+
hasChanges: { type: Boolean },
|
27
|
+
skeleton: { type: Boolean },
|
28
|
+
disabled: { type: Boolean },
|
29
|
+
required: { type: Boolean },
|
30
|
+
noMargin: { type: Boolean },
|
31
|
+
allowCopy: { type: Boolean }
|
20
32
|
},
|
21
33
|
emits: ["update:modelValue"],
|
22
34
|
setup(__props) {
|
@@ -29,45 +41,57 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
41
|
}
|
30
42
|
};
|
31
43
|
return (_ctx, _cache) => {
|
32
|
-
return openBlock(),
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
44
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps(props, {
|
45
|
+
class: _ctx.$attrs.class
|
46
|
+
}), createSlots({
|
47
|
+
field: withCtx(() => [
|
48
|
+
createElementVNode("div", {
|
49
|
+
class: normalizeClass(["flex", {
|
50
|
+
"flex-wrap gap-2": _ctx.wrap,
|
51
|
+
"flex-col gap-2": _ctx.col,
|
52
|
+
"items-start": _ctx.col && !_ctx.stretch
|
53
|
+
}])
|
54
|
+
}, [
|
55
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item, index) => {
|
56
|
+
return openBlock(), createBlock(_sfc_main$2, {
|
57
|
+
key: index,
|
58
|
+
"semantic-type": getValue(item) === _ctx.modelValue ? _ctx.semanticType ?? unref(SemanticType).PRIMARY : unref(SemanticType).SECONDARY,
|
59
|
+
loading: getValue(item) === _ctx.loading,
|
60
|
+
disabled: _ctx.disabled || _ctx.loading !== void 0 && getValue(item) !== _ctx.loading,
|
61
|
+
minimize: _ctx.minimize,
|
62
|
+
join: !_ctx.wrap && !_ctx.col,
|
63
|
+
class: normalizeClass({
|
64
|
+
"flex-1": _ctx.stretch
|
65
|
+
}),
|
66
|
+
onClick: ($event) => (_ctx.alwaysEmit || getValue(item) !== _ctx.modelValue) && _ctx.$emit("update:modelValue", getValue(item))
|
67
|
+
}, {
|
68
|
+
default: withCtx(() => [
|
69
|
+
renderSlot(_ctx.$slots, "default", {
|
70
|
+
item
|
71
|
+
})
|
72
|
+
]),
|
73
|
+
_: 2
|
74
|
+
}, 1032, ["semantic-type", "loading", "disabled", "minimize", "join", "class", "onClick"]);
|
75
|
+
}), 128))
|
76
|
+
], 2)
|
77
|
+
]),
|
78
|
+
_: 2
|
79
|
+
}, [
|
80
|
+
_ctx.$slots.title ? {
|
81
|
+
name: "title",
|
82
|
+
fn: withCtx(() => [
|
83
|
+
renderSlot(_ctx.$slots, "title")
|
84
|
+
]),
|
85
|
+
key: "0"
|
86
|
+
} : void 0,
|
87
|
+
_ctx.$slots.right ? {
|
88
|
+
name: "right",
|
89
|
+
fn: withCtx(() => [
|
90
|
+
renderSlot(_ctx.$slots, "right")
|
91
|
+
]),
|
92
|
+
key: "1"
|
93
|
+
} : void 0
|
94
|
+
]), 1040, ["class"]);
|
71
95
|
};
|
72
96
|
}
|
73
97
|
});
|
@@ -1,13 +1,20 @@
|
|
1
|
-
declare
|
2
|
-
disabled?: boolean | undefined;
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
4
|
-
disabled?: boolean | undefined;
|
5
|
-
}>>>, {}, {}>, {
|
1
|
+
declare function __VLS_template(): {
|
6
2
|
default?(_: {}): any;
|
7
|
-
}
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
5
|
+
disabled?: boolean;
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
7
|
+
disabled?: boolean;
|
8
|
+
}>>>, {}, {}>;
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
8
10
|
export default _default;
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
12
|
+
new (): {
|
13
|
+
$slots: S;
|
14
|
+
};
|
15
|
+
};
|
9
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
10
|
-
type
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
11
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
12
19
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
13
20
|
} : {
|
@@ -15,9 +22,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
22
|
required: true;
|
16
23
|
};
|
17
24
|
};
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
19
|
-
new (): {
|
20
|
-
$slots: S;
|
21
|
-
};
|
22
|
-
};
|
23
25
|
//# sourceMappingURL=WButtonMore.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"AAoGA,iBAAS,cAAc;qBA6GO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;eAzJR,OAAO;;eAAP,OAAO;aA+JlB,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"}
|
@@ -14,8 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
const props = __props;
|
15
15
|
const isOpen = ref(false);
|
16
16
|
const toggle = () => {
|
17
|
-
if (props.disabled)
|
18
|
-
return;
|
17
|
+
if (props.disabled) return;
|
19
18
|
isOpen.value = !isOpen.value;
|
20
19
|
};
|
21
20
|
const close = () => {
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import { LinkProps } from '../../types/types';
|
2
|
+
|
2
3
|
interface Props extends LinkProps {
|
3
4
|
text: string;
|
4
5
|
icon?: SVGComponent;
|
@@ -6,34 +7,27 @@ interface Props extends LinkProps {
|
|
6
7
|
href?: string;
|
7
8
|
download?: string;
|
8
9
|
}
|
9
|
-
declare
|
10
|
+
declare function __VLS_template(): {
|
11
|
+
icon?(_: {}): any;
|
12
|
+
};
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
10
14
|
icon: undefined;
|
11
15
|
href: undefined;
|
12
16
|
download: undefined;
|
13
17
|
to: undefined;
|
14
|
-
}>, {}, unknown, {}, {}, import(
|
18
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
15
19
|
icon: undefined;
|
16
20
|
href: undefined;
|
17
21
|
download: undefined;
|
18
22
|
to: undefined;
|
19
23
|
}>>>, {
|
20
24
|
icon: SVGComponent;
|
21
|
-
to: import(
|
25
|
+
to: import('vue-router').RouterLinkProps["to"];
|
22
26
|
href: string;
|
23
27
|
download: string;
|
24
|
-
}, {}
|
25
|
-
|
26
|
-
}>;
|
28
|
+
}, {}>;
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
27
30
|
export default _default;
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
32
|
-
} : {
|
33
|
-
type: import('vue').PropType<T[K]>;
|
34
|
-
required: true;
|
35
|
-
};
|
36
|
-
};
|
37
31
|
type __VLS_WithDefaults<P, D> = {
|
38
32
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
39
33
|
default: D[K];
|
@@ -47,4 +41,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
41
|
$slots: S;
|
48
42
|
};
|
49
43
|
};
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
45
|
+
type __VLS_TypePropsToOption<T> = {
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
48
|
+
} : {
|
49
|
+
type: import('vue').PropType<T[K]>;
|
50
|
+
required: true;
|
51
|
+
};
|
52
|
+
};
|
50
53
|
//# sourceMappingURL=WButtonMoreItem.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAI5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAyBD,iBAAS,cAAc;kBA0CG,GAAG;EAe5B;AACD,QAAA,MAAM,eAAe;;;;;;;;;;;UAvFZ,YAAY;;UAEZ,MAAM;cACF,MAAM;MA0FjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
declare const _default: import(
|
2
|
-
title?: string
|
3
|
-
disableMessage?: string
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
2
|
+
title?: string;
|
3
|
+
disableMessage?: string;
|
4
4
|
}>, {
|
5
5
|
title: string;
|
6
6
|
disableMessage: string;
|
7
7
|
}>, {
|
8
8
|
clearSelected: (() => void) | undefined;
|
9
|
-
}, unknown, {}, {}, import(
|
9
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
10
10
|
"update:selectionCount": (value: number) => void;
|
11
|
-
}, string, import(
|
12
|
-
title?: string
|
13
|
-
disableMessage?: string
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
12
|
+
title?: string;
|
13
|
+
disableMessage?: string;
|
14
14
|
}>, {
|
15
15
|
title: string;
|
16
16
|
disableMessage: string;
|
@@ -21,15 +21,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
21
21
|
disableMessage: string;
|
22
22
|
}, {}>;
|
23
23
|
export default _default;
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
28
|
-
} : {
|
29
|
-
type: import('vue').PropType<T[K]>;
|
30
|
-
required: true;
|
31
|
-
};
|
32
|
-
};
|
33
24
|
type __VLS_WithDefaults<P, D> = {
|
34
25
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
35
26
|
default: D[K];
|
@@ -38,4 +29,13 @@ type __VLS_WithDefaults<P, D> = {
|
|
38
29
|
type __VLS_Prettify<T> = {
|
39
30
|
[K in keyof T]: T[K];
|
40
31
|
} & {};
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
33
|
+
type __VLS_TypePropsToOption<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
41
|
//# sourceMappingURL=WButtonSelection.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":";YAiIY,MAAM;qBACG,MAAM;;;;;;;;;YADf,MAAM;qBACG,MAAM;;;;;;;WADf,MAAM;oBACG,MAAM;;AAqR3B,wBAQG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|