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,41 +1,64 @@
|
|
1
|
-
import { defineComponent, ref, computed, watch, toRef, openBlock,
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
|
2
2
|
import _sfc_main$1 from './WSelectAsync.vue.js';
|
3
3
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
...{ inheritAttrs: false },
|
5
6
|
__name: "WSelectAsyncSingle",
|
6
7
|
props: {
|
7
8
|
modelValue: {},
|
8
|
-
|
9
|
+
allowClear: { type: Boolean },
|
10
|
+
searchModel: { type: Boolean },
|
11
|
+
previewData: {},
|
12
|
+
createdData: {},
|
9
13
|
useQueryFn: {},
|
14
|
+
useQueryFnPrefix: {},
|
10
15
|
isInvalidPage: { type: Function },
|
11
16
|
queryParams: {},
|
12
|
-
title: {},
|
13
|
-
mobileTitle: {},
|
14
|
-
description: {},
|
15
|
-
loading: { type: Boolean },
|
16
|
-
emptyStub: {},
|
17
|
-
maxSearchLength: {},
|
18
17
|
optionComponent: {},
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
valueGetter: { type: Function },
|
19
|
+
valueQueryKey: {},
|
20
|
+
queryOptions: {},
|
21
|
+
search: {},
|
22
|
+
emptyStub: {},
|
23
|
+
hidePrefix: { type: Boolean },
|
22
24
|
allowCreate: { type: Boolean },
|
25
|
+
hideOptionIcon: { type: Boolean },
|
26
|
+
mobileTitle: {},
|
27
|
+
persist: { type: Boolean },
|
28
|
+
type: {},
|
29
|
+
textarea: { type: Boolean },
|
30
|
+
resize: { type: Boolean },
|
31
|
+
placeholder: {},
|
32
|
+
icon: {},
|
33
|
+
size: {},
|
34
|
+
maxLength: {},
|
35
|
+
name: {},
|
36
|
+
autocomplete: {},
|
37
|
+
autofocus: { type: Boolean },
|
38
|
+
readonly: { type: Boolean },
|
39
|
+
disabledActions: { type: Boolean },
|
40
|
+
loading: { type: Boolean },
|
41
|
+
spellcheck: { type: Boolean },
|
42
|
+
customBackspaceHandle: { type: Boolean },
|
43
|
+
textSecure: { type: Boolean },
|
44
|
+
placeholderSecure: { type: Boolean },
|
45
|
+
allowPaste: { type: Boolean },
|
46
|
+
title: {},
|
47
|
+
description: {},
|
23
48
|
errorMessage: {},
|
49
|
+
tooltipText: {},
|
50
|
+
mono: { type: Boolean },
|
24
51
|
hasChanges: { type: Boolean },
|
25
|
-
|
26
|
-
|
52
|
+
skeleton: { type: Boolean },
|
53
|
+
disabled: { type: Boolean },
|
27
54
|
required: { type: Boolean },
|
28
55
|
noMargin: { type: Boolean },
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
hideOptionIcon: { type: Boolean },
|
36
|
-
valueGetter: { type: Function },
|
37
|
-
valueQueryKey: {},
|
38
|
-
queryOptions: {}
|
56
|
+
allowCopy: { type: Boolean },
|
57
|
+
teleport: { type: Boolean },
|
58
|
+
noZIndex: { type: Boolean },
|
59
|
+
maxHeight: {},
|
60
|
+
maxWidth: {},
|
61
|
+
horizontalAlign: {}
|
39
62
|
},
|
40
63
|
emits: ["update:modelValue", "update:search", "create:option"],
|
41
64
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -58,66 +81,54 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
81
|
blur
|
59
82
|
});
|
60
83
|
return (_ctx, _cache) => {
|
61
|
-
return openBlock(),
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
renderSlot(_ctx.$slots, "
|
105
|
-
option,
|
106
|
-
selected,
|
107
|
-
model
|
108
|
-
})
|
84
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
85
|
+
ref_key: "selectComponent",
|
86
|
+
ref: selectComponent
|
87
|
+
}, {
|
88
|
+
...props,
|
89
|
+
modelValue: arrayValue.value,
|
90
|
+
disableClear: !_ctx.allowClear,
|
91
|
+
previewData: _ctx.previewData ? [_ctx.previewData] : void 0,
|
92
|
+
createdData: _ctx.createdData ? [_ctx.createdData] : void 0,
|
93
|
+
hidePrefix: true
|
94
|
+
}, {
|
95
|
+
class: _ctx.$attrs.class,
|
96
|
+
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
97
|
+
onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null)),
|
98
|
+
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
|
99
|
+
"onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
|
100
|
+
}), createSlots({
|
101
|
+
option: withCtx(({ option, selected, model }) => [
|
102
|
+
renderSlot(_ctx.$slots, "option", {
|
103
|
+
option,
|
104
|
+
selected,
|
105
|
+
model
|
106
|
+
})
|
107
|
+
]),
|
108
|
+
_: 2
|
109
|
+
}, [
|
110
|
+
_ctx.$slots.title ? {
|
111
|
+
name: "title",
|
112
|
+
fn: withCtx(() => [
|
113
|
+
renderSlot(_ctx.$slots, "title")
|
114
|
+
]),
|
115
|
+
key: "0"
|
116
|
+
} : void 0,
|
117
|
+
_ctx.$slots.subtitle ? {
|
118
|
+
name: "subtitle",
|
119
|
+
fn: withCtx(() => [
|
120
|
+
renderSlot(_ctx.$slots, "subtitle")
|
121
|
+
]),
|
122
|
+
key: "1"
|
123
|
+
} : void 0,
|
124
|
+
_ctx.$slots.right?.()?.length ? {
|
125
|
+
name: "right",
|
126
|
+
fn: withCtx(() => [
|
127
|
+
renderSlot(_ctx.$slots, "right")
|
109
128
|
]),
|
110
|
-
|
111
|
-
}
|
112
|
-
|
113
|
-
name: "right",
|
114
|
-
fn: withCtx(() => [
|
115
|
-
renderSlot(_ctx.$slots, "right")
|
116
|
-
]),
|
117
|
-
key: "0"
|
118
|
-
} : void 0
|
119
|
-
]), 1032, ["model-value", "search", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "query-params", "use-query-fn", "is-invalid-page", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "autofocus", "disable-clear", "preview-data", "created-data", "hide-option-icon", "value-getter", "value-query-key", "query-options"])
|
120
|
-
]);
|
129
|
+
key: "2"
|
130
|
+
} : void 0
|
131
|
+
]), 1040, ["class"]);
|
121
132
|
};
|
122
133
|
}
|
123
134
|
});
|
@@ -1,165 +1,41 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
modelValue: Item | null;
|
11
|
-
readonly?: boolean | undefined;
|
12
|
-
skeleton?: boolean | undefined;
|
13
|
-
description?: string | undefined;
|
14
|
-
placeholder?: string | undefined;
|
15
|
-
errorMessage?: string | undefined;
|
16
|
-
hasChanges?: boolean | undefined;
|
17
|
-
allowClear?: AllowClear | undefined;
|
18
|
-
autofocus?: boolean | undefined;
|
19
|
-
mono?: boolean | undefined;
|
20
|
-
noMargin?: boolean | undefined;
|
21
|
-
mobileTitle?: string | undefined;
|
22
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
23
|
-
emptyStub?: string | undefined;
|
24
|
-
hideOptionIcon?: boolean | undefined;
|
25
|
-
options: Item[];
|
26
|
-
maxSearchLength?: number | undefined;
|
27
|
-
optionComponent?: Component<{
|
28
|
-
option: Item;
|
29
|
-
selected?: boolean | undefined;
|
30
|
-
model?: boolean | undefined;
|
31
|
-
}> | undefined;
|
32
|
-
searchSize?: number | undefined;
|
33
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
34
|
-
allowCreate?: boolean | undefined;
|
35
|
-
searchModel?: boolean | undefined;
|
36
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
37
|
-
attrs: any;
|
38
|
-
slots: {
|
39
|
-
option?(_: {
|
40
|
-
option: string | Item;
|
41
|
-
selected: boolean;
|
42
|
-
model: boolean;
|
43
|
-
}): any;
|
44
|
-
right?(_: {}): any;
|
45
|
-
};
|
46
|
-
emit: {
|
47
|
-
(e: 'update:modelValue', value: AllowClear extends true ? Item | null : Item): void;
|
48
|
-
(e: 'update:search', value: string): void;
|
49
|
-
(e: 'create:option', value: string): void;
|
50
|
-
};
|
51
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
52
|
-
blur: () => void;
|
53
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
54
|
-
props: {
|
55
|
-
required?: boolean | undefined;
|
56
|
-
search: string;
|
57
|
-
title?: string | undefined;
|
58
|
-
icon?: SVGComponent | undefined;
|
59
|
-
disabled?: boolean | undefined;
|
60
|
-
loading?: boolean | undefined;
|
61
|
-
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Item | null : Item) => any) | undefined;
|
62
|
-
modelValue: Item | null;
|
63
|
-
readonly?: boolean | undefined;
|
64
|
-
skeleton?: boolean | undefined;
|
65
|
-
description?: string | undefined;
|
66
|
-
placeholder?: string | undefined;
|
67
|
-
errorMessage?: string | undefined;
|
68
|
-
hasChanges?: boolean | undefined;
|
69
|
-
allowClear?: AllowClear | undefined;
|
70
|
-
autofocus?: boolean | undefined;
|
71
|
-
mono?: boolean | undefined;
|
72
|
-
noMargin?: boolean | undefined;
|
73
|
-
mobileTitle?: string | undefined;
|
1
|
+
import { SelectSingleProps } from './types';
|
2
|
+
|
3
|
+
declare const _default: <Option extends string | number, AllowClear extends boolean = false>(__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<{
|
4
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
5
|
+
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
|
6
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
7
|
+
"onCreate:option"?: ((value: string) => any) | undefined;
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
9
|
+
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
|
74
10
|
"onUpdate:search"?: ((value: string) => any) | undefined;
|
75
|
-
emptyStub?: string | undefined;
|
76
|
-
hideOptionIcon?: boolean | undefined;
|
77
|
-
options: Item[];
|
78
|
-
maxSearchLength?: number | undefined;
|
79
|
-
optionComponent?: Component<{
|
80
|
-
option: Item;
|
81
|
-
selected?: boolean | undefined;
|
82
|
-
model?: boolean | undefined;
|
83
|
-
}> | undefined;
|
84
|
-
searchSize?: number | undefined;
|
85
11
|
"onCreate:option"?: ((value: string) => any) | undefined;
|
86
|
-
|
87
|
-
|
88
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
89
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
12
|
+
}, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectSingleProps<Option, AllowClear>> & import('vue').PublicProps;
|
13
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
90
14
|
blur: () => void;
|
91
15
|
}>): void;
|
92
16
|
attrs: any;
|
93
|
-
slots: {
|
17
|
+
slots: ReturnType<() => {
|
18
|
+
title?(_: {}): any;
|
19
|
+
subtitle?(_: {}): any;
|
94
20
|
option?(_: {
|
95
|
-
option: string |
|
21
|
+
option: string | Option;
|
96
22
|
selected: boolean;
|
97
23
|
model: boolean;
|
98
24
|
}): any;
|
99
25
|
right?(_: {}): any;
|
100
|
-
}
|
26
|
+
}>;
|
101
27
|
emit: {
|
102
|
-
(e:
|
103
|
-
(e:
|
104
|
-
(e:
|
105
|
-
};
|
106
|
-
}>) => import(
|
28
|
+
(e: "update:modelValue", value: AllowClear extends true ? Option | null : Option): void;
|
29
|
+
(e: "update:search", value: string): void;
|
30
|
+
(e: "create:option", value: string): void;
|
31
|
+
} & {};
|
32
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
107
33
|
[key: string]: any;
|
108
34
|
}> & {
|
109
|
-
__ctx?:
|
110
|
-
props: {
|
111
|
-
required?: boolean | undefined;
|
112
|
-
search: string;
|
113
|
-
title?: string | undefined;
|
114
|
-
icon?: SVGComponent | undefined;
|
115
|
-
disabled?: boolean | undefined;
|
116
|
-
loading?: boolean | undefined;
|
117
|
-
"onUpdate:modelValue"?: ((value: AllowClear extends true ? Item | null : Item) => any) | undefined;
|
118
|
-
modelValue: Item | null;
|
119
|
-
readonly?: boolean | undefined;
|
120
|
-
skeleton?: boolean | undefined;
|
121
|
-
description?: string | undefined;
|
122
|
-
placeholder?: string | undefined;
|
123
|
-
errorMessage?: string | undefined;
|
124
|
-
hasChanges?: boolean | undefined;
|
125
|
-
allowClear?: AllowClear | undefined;
|
126
|
-
autofocus?: boolean | undefined;
|
127
|
-
mono?: boolean | undefined;
|
128
|
-
noMargin?: boolean | undefined;
|
129
|
-
mobileTitle?: string | undefined;
|
130
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
131
|
-
emptyStub?: string | undefined;
|
132
|
-
hideOptionIcon?: boolean | undefined;
|
133
|
-
options: Item[];
|
134
|
-
maxSearchLength?: number | undefined;
|
135
|
-
optionComponent?: Component<{
|
136
|
-
option: Item;
|
137
|
-
selected?: boolean | undefined;
|
138
|
-
model?: boolean | undefined;
|
139
|
-
}> | undefined;
|
140
|
-
searchSize?: number | undefined;
|
141
|
-
"onCreate:option"?: ((value: string) => any) | undefined;
|
142
|
-
allowCreate?: boolean | undefined;
|
143
|
-
searchModel?: boolean | undefined;
|
144
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
145
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
146
|
-
blur: () => void;
|
147
|
-
}>): void;
|
148
|
-
attrs: any;
|
149
|
-
slots: {
|
150
|
-
option?(_: {
|
151
|
-
option: string | Item;
|
152
|
-
selected: boolean;
|
153
|
-
model: boolean;
|
154
|
-
}): any;
|
155
|
-
right?(_: {}): any;
|
156
|
-
};
|
157
|
-
emit: {
|
158
|
-
(e: 'update:modelValue', value: AllowClear extends true ? Item | null : Item): void;
|
159
|
-
(e: 'update:search', value: string): void;
|
160
|
-
(e: 'create:option', value: string): void;
|
161
|
-
};
|
162
|
-
} | undefined;
|
35
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
163
36
|
};
|
164
37
|
export default _default;
|
38
|
+
type __VLS_Prettify<T> = {
|
39
|
+
[K in keyof T]: T[K];
|
40
|
+
} & {};
|
165
41
|
//# sourceMappingURL=WSelectSingle.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAG7B,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,UAAU,SAAS,OAAO,uBAC7D,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;WAuOxD,cAAc,CAAC;;;;;;;;qHAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;uBA7BQ,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;MA0BY;UAClC;YAhOH,mBAAmB,4DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;UA8NA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAjPvE,wBAiP4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,35 +1,56 @@
|
|
1
|
-
import { defineComponent, ref, computed, watch, toRef, openBlock,
|
1
|
+
import { defineComponent, ref, computed, watch, toRef, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
|
2
2
|
import _sfc_main$1 from './WSelect.vue.js';
|
3
3
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
...{ inheritAttrs: false },
|
5
6
|
__name: "WSelectSingle",
|
6
7
|
props: {
|
7
8
|
modelValue: {},
|
9
|
+
allowClear: { type: Boolean },
|
10
|
+
searchModel: { type: Boolean },
|
8
11
|
search: {},
|
9
12
|
options: {},
|
10
|
-
title: {},
|
11
|
-
mobileTitle: {},
|
12
|
-
description: {},
|
13
|
-
loading: { type: Boolean },
|
14
13
|
emptyStub: {},
|
15
|
-
maxSearchLength: {},
|
16
14
|
optionComponent: {},
|
17
|
-
|
18
|
-
disabled: { type: Boolean },
|
19
|
-
skeleton: { type: Boolean },
|
15
|
+
hidePrefix: { type: Boolean },
|
20
16
|
allowCreate: { type: Boolean },
|
17
|
+
hideOptionIcon: { type: Boolean },
|
18
|
+
mobileTitle: {},
|
19
|
+
persist: { type: Boolean },
|
20
|
+
type: {},
|
21
|
+
textarea: { type: Boolean },
|
22
|
+
resize: { type: Boolean },
|
23
|
+
placeholder: {},
|
24
|
+
icon: {},
|
25
|
+
size: {},
|
26
|
+
maxLength: {},
|
27
|
+
name: {},
|
28
|
+
autocomplete: {},
|
29
|
+
autofocus: { type: Boolean },
|
30
|
+
readonly: { type: Boolean },
|
31
|
+
disabledActions: { type: Boolean },
|
32
|
+
loading: { type: Boolean },
|
33
|
+
spellcheck: { type: Boolean },
|
34
|
+
customBackspaceHandle: { type: Boolean },
|
35
|
+
textSecure: { type: Boolean },
|
36
|
+
placeholderSecure: { type: Boolean },
|
37
|
+
allowPaste: { type: Boolean },
|
38
|
+
title: {},
|
39
|
+
description: {},
|
21
40
|
errorMessage: {},
|
41
|
+
tooltipText: {},
|
42
|
+
mono: { type: Boolean },
|
22
43
|
hasChanges: { type: Boolean },
|
23
|
-
|
24
|
-
|
44
|
+
skeleton: { type: Boolean },
|
45
|
+
disabled: { type: Boolean },
|
25
46
|
required: { type: Boolean },
|
26
47
|
noMargin: { type: Boolean },
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
48
|
+
allowCopy: { type: Boolean },
|
49
|
+
teleport: { type: Boolean },
|
50
|
+
noZIndex: { type: Boolean },
|
51
|
+
maxHeight: {},
|
52
|
+
maxWidth: {},
|
53
|
+
horizontalAlign: {}
|
33
54
|
},
|
34
55
|
emits: ["update:modelValue", "update:search", "create:option"],
|
35
56
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -53,60 +74,53 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
74
|
blur
|
54
75
|
});
|
55
76
|
return (_ctx, _cache) => {
|
56
|
-
return openBlock(),
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
"
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
77
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
78
|
+
ref_key: "selectComponent",
|
79
|
+
ref: selectComponent
|
80
|
+
}, {
|
81
|
+
...props,
|
82
|
+
modelValue: arrayValue.value,
|
83
|
+
disableClear: !_ctx.allowClear,
|
84
|
+
hidePrefix: true
|
85
|
+
}, {
|
86
|
+
class: _ctx.$attrs.class,
|
87
|
+
onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
|
88
|
+
onUnselect: _cache[1] || (_cache[1] = ($event) => updateModelValue(_ctx.allowClear ? null : $event)),
|
89
|
+
"onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
|
90
|
+
"onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event)),
|
91
|
+
onFocus: _cache[4] || (_cache[4] = ($event) => _ctx.searchModel && typeof _ctx.modelValue === "string" ? _ctx.$emit("update:search", _ctx.modelValue) : void 0)
|
92
|
+
}), createSlots({
|
93
|
+
option: withCtx(({ option, selected, model }) => [
|
94
|
+
renderSlot(_ctx.$slots, "option", {
|
95
|
+
option,
|
96
|
+
selected,
|
97
|
+
model
|
98
|
+
})
|
99
|
+
]),
|
100
|
+
_: 2
|
101
|
+
}, [
|
102
|
+
_ctx.$slots.title ? {
|
103
|
+
name: "title",
|
104
|
+
fn: withCtx(() => [
|
105
|
+
renderSlot(_ctx.$slots, "title")
|
106
|
+
]),
|
107
|
+
key: "0"
|
108
|
+
} : void 0,
|
109
|
+
_ctx.$slots.subtitle ? {
|
110
|
+
name: "subtitle",
|
111
|
+
fn: withCtx(() => [
|
112
|
+
renderSlot(_ctx.$slots, "subtitle")
|
113
|
+
]),
|
114
|
+
key: "1"
|
115
|
+
} : void 0,
|
116
|
+
_ctx.$slots.right?.()?.length ? {
|
117
|
+
name: "right",
|
118
|
+
fn: withCtx(() => [
|
119
|
+
renderSlot(_ctx.$slots, "right")
|
98
120
|
]),
|
99
|
-
|
100
|
-
}
|
101
|
-
|
102
|
-
name: "right",
|
103
|
-
fn: withCtx(() => [
|
104
|
-
renderSlot(_ctx.$slots, "right")
|
105
|
-
]),
|
106
|
-
key: "0"
|
107
|
-
} : void 0
|
108
|
-
]), 1032, ["model-value", "search", "options", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "autofocus", "disable-clear", "hide-option-icon"])
|
109
|
-
]);
|
121
|
+
key: "2"
|
122
|
+
} : void 0
|
123
|
+
]), 1040, ["class"]);
|
110
124
|
};
|
111
125
|
}
|
112
126
|
});
|