eco-vue-js 0.8.40 → 0.8.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/default/IconAvatar.svg.js +1 -1
- package/dist/assets/icons/default/IconCheck.svg.js +1 -1
- package/dist/assets/icons/default/IconDanger.svg.js +2 -2
- package/dist/assets/icons/default/IconEdit.svg.js +2 -2
- package/dist/assets/icons/default/IconFalsePositive.svg.js +1 -1
- package/dist/assets/icons/default/IconFeedback.svg.js +1 -1
- package/dist/assets/icons/default/IconFilter.svg.js +1 -1
- package/dist/assets/icons/default/IconInProgress.svg.js +2 -2
- package/dist/assets/icons/default/IconJira.svg.js +1 -1
- package/dist/assets/icons/default/IconLogout.svg.js +1 -1
- package/dist/assets/icons/default/IconMore.svg.js +1 -1
- package/dist/assets/icons/default/IconNotification.svg.js +1 -1
- package/dist/assets/icons/default/IconProfile.svg.js +1 -1
- package/dist/assets/icons/default/IconSearch.svg.js +1 -1
- package/dist/assets/icons/default/IconSettings.svg.js +1 -1
- package/dist/assets/icons/default/IconStar.svg.js +1 -1
- package/dist/assets/icons/default/IconSuccess.svg.js +1 -1
- package/dist/assets/icons/default/IconTask.svg.js +1 -1
- package/dist/assets/icons/default/IconTime.svg.js +1 -1
- package/dist/assets/icons/sax/IconAddCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconAddSquare.svg.js +1 -1
- package/dist/assets/icons/sax/IconAlarm.svg.js +1 -1
- package/dist/assets/icons/sax/IconArchiveBook.svg.js +2 -2
- package/dist/assets/icons/sax/IconCandle.svg.js +1 -1
- package/dist/assets/icons/sax/IconCelery.svg.js +1 -1
- package/dist/assets/icons/sax/IconChart.svg.js +1 -1
- package/dist/assets/icons/sax/IconCheckCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconCloseCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconCopy.svg.js +2 -2
- package/dist/assets/icons/sax/IconCopySuccess.svg.js +2 -2
- package/dist/assets/icons/sax/IconCopyright.svg.js +1 -1
- package/dist/assets/icons/sax/IconDedupe.svg.js +2 -2
- package/dist/assets/icons/sax/IconEdit.svg.js +1 -1
- package/dist/assets/icons/sax/IconEditCircle.svg.js +2 -2
- package/dist/assets/icons/sax/IconElement.svg.js +1 -1
- package/dist/assets/icons/sax/IconEye.svg.js +2 -2
- package/dist/assets/icons/sax/IconEyeSlash.svg.js +1 -1
- package/dist/assets/icons/sax/IconFilter.svg.js +1 -1
- package/dist/assets/icons/sax/IconFilterRemove.svg.js +2 -2
- package/dist/assets/icons/sax/IconFinding.svg.js +1 -1
- package/dist/assets/icons/sax/IconJira.svg.js +1 -1
- package/dist/assets/icons/sax/IconKey.svg.js +2 -2
- package/dist/assets/icons/sax/IconKeySquare.svg.js +2 -2
- package/dist/assets/icons/sax/IconLayer.svg.js +1 -1
- package/dist/assets/icons/sax/IconLink.svg.js +2 -2
- package/dist/assets/icons/sax/IconLinkBold.svg.js +1 -1
- package/dist/assets/icons/sax/IconLinkOutline.svg.js +2 -2
- package/dist/assets/icons/sax/IconLogout.svg.js +4 -4
- package/dist/assets/icons/sax/IconMinusCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconNegate.svg.js +1 -1
- package/dist/assets/icons/sax/IconNegativeInfo.svg.js +1 -1
- package/dist/assets/icons/sax/IconNote.svg.js +2 -2
- package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineEdit.svg.js +2 -2
- package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +1 -1
- package/dist/assets/icons/sax/IconOutlineStar.svg.js +1 -1
- package/dist/assets/icons/sax/IconPaste.svg.js +2 -2
- package/dist/assets/icons/sax/IconProfile.svg.js +2 -2
- package/dist/assets/icons/sax/IconRadar.svg.js +1 -1
- package/dist/assets/icons/sax/IconSearch.svg.js +1 -1
- package/dist/assets/icons/sax/IconSettings.svg.js +2 -2
- package/dist/assets/icons/sax/IconSlash.svg.js +1 -1
- package/dist/assets/icons/sax/IconStar.svg.js +1 -1
- package/dist/assets/icons/sax/IconSummary.svg.js +1 -1
- package/dist/assets/icons/sax/IconTableSettings.svg.js +3 -3
- package/dist/assets/icons/sax/IconTag.svg.js +1 -1
- package/dist/assets/icons/sax/IconTime.svg.js +1 -1
- package/dist/assets/icons/sax/IconTrash.svg.js +1 -1
- package/dist/assets/icons/sax/IconUser.svg.js +1 -1
- package/dist/assets/icons/sax/IconVersionControl.svg.js +1 -1
- package/dist/assets/icons/sax/IconWeight.svg.js +2 -2
- package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +8 -8
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +4 -4
- package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
- package/dist/components/BottomSheet/WBottomSheet.vue.js +28 -39
- package/dist/components/Button/WButton.vue.d.ts +1 -1
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +7 -7
- package/dist/components/Button/WButtonAction.vue.d.ts +1 -1
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue.js +3 -3
- package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonCopy.vue.js +2 -2
- package/dist/components/Button/WButtonDropdown.vue.d.ts +1 -1
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +3 -3
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +2 -2
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +4 -4
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMoreItem.vue.js +1 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.js +8 -8
- package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionAction.vue.js +3 -3
- package/dist/components/Button/types.d.ts +1 -1
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +3 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +11 -12
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/Chip/WChip.vue.js +2 -2
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts +3 -1
- package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
- package/dist/components/ClickOutside/WClickOutside.vue.js +5 -7
- package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
- package/dist/components/Counter/WCounter.vue.js +3 -3
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +2 -2
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +1 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarDay.vue.js +6 -6
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarMonth.vue.js +3 -3
- package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarToggle.vue.js +6 -6
- package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -1
- package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/models/types.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts +3 -1
- package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/WDropdown.vue.js +6 -7
- package/dist/components/Dropdown/utils/DropdownStyle.js +2 -2
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +4 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansion.vue.js +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
- package/dist/components/Expansion/WExpansionItem.vue.js +5 -5
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +10 -10
- package/dist/components/FieldWrapper/types.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +4 -1
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +24 -26
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerItem.vue.js +3 -3
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +3 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerSvg.vue.js +4 -5
- package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
- package/dist/components/FilterWrapper/WFilterWrapper.vue.js +4 -4
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.d.ts +1 -1
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +7 -7
- package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -1
- package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncInput.vue.js +2 -2
- package/dist/components/FormAsync/WFormAsyncSelect.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +2 -2
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +2 -2
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +2 -2
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +2 -2
- package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncToggle.vue.js +1 -1
- package/dist/components/FormAsync/types.d.ts +2 -2
- package/dist/components/FormAsync/types.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.js +14 -16
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +6 -6
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/components/ImageModal.vue2.js +3 -3
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +2 -2
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +9 -10
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +2 -1
- package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +2 -2
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +15 -16
- package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +17 -18
- package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/models/utils.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts.map +1 -1
- package/dist/components/InfiniteList/use/useSelected.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCard.vue.js +3 -3
- package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
- package/dist/components/InfoCard/WInfoCardNegative.vue.js +5 -5
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +15 -16
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputAsync.vue.js +12 -15
- package/dist/components/Input/WInputDate.vue.d.ts +9 -2
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.js +6 -9
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.js +9 -12
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +16 -23
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.js +3 -3
- package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActionsButton.vue.js +2 -2
- package/dist/components/Input/types.d.ts +1 -1
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/Link/WLink.vue.d.ts +1 -1
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLink.vue.js +4 -4
- package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
- package/dist/components/Link/WLinkArrow.vue.js +1 -1
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +6 -5
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +19 -19
- package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeader.vue.js +8 -8
- package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeaderItem.vue.js +4 -4
- package/dist/components/List/components/HeaderFieldNested.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.js +1 -1
- package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettings.vue.js +4 -4
- package/dist/components/List/components/HeaderSettingsItem.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettingsItem.vue.js +4 -4
- package/dist/components/List/components/ListCardFieldNested.vue.d.ts.map +1 -1
- package/dist/components/List/components/ListCardFieldNested.vue.js +1 -1
- package/dist/components/List/components/ListCardFieldNestedItem.vue.d.ts.map +1 -1
- package/dist/components/List/use/useFieldConfigMap.d.ts +1 -1
- package/dist/components/List/use/useFieldConfigMap.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.js +2 -2
- package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModal.vue.js +2 -2
- package/dist/components/Modal/WModalStepper.vue.d.ts +203 -3
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue.js +11 -12
- package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalWrapper.vue.js +4 -4
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +3 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.js +5 -6
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
- package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +2 -2
- package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavBar.vue.js +4 -4
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +9 -9
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.js +3 -3
- package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
- package/dist/components/Notify/WNotify.vue.js +1 -1
- package/dist/components/Notify/components/NotifyCard.vue.d.ts +4 -2
- package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
- package/dist/components/Notify/components/NotifyCard.vue.js +17 -18
- package/dist/components/Notify/models/NotifyType.d.ts.map +1 -1
- package/dist/components/Notify/models/types.d.ts +1 -1
- package/dist/components/Notify/models/types.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.d.ts +1 -1
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +13 -16
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +13 -17
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncList.vue.js +11 -11
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.d.ts +1 -1
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +5 -8
- package/dist/components/Select/WSelectStringified.vue.d.ts +1 -1
- package/dist/components/Select/WSelectStringified.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectStringified.vue.js +4 -7
- package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncList.vue.js +2 -2
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefix.vue.js +5 -5
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +5 -5
- package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOption.vue.js +8 -9
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +1 -1
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOptionPrefix.vue.js +5 -5
- package/dist/components/Spinner/WSpinner.vue.js +1 -1
- package/dist/components/Tabs/WTabs.vue.d.ts +5 -3
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +25 -28
- package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabsColumns.vue.js +3 -3
- package/dist/components/Tabs/components/TabItem.vue.d.ts +3 -1
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +6 -8
- package/dist/components/Tabs/use/useIsInsideTab.d.ts.map +1 -1
- package/dist/components/Tabs/use/useTabActiveListener.d.ts.map +1 -1
- package/dist/components/Tabs/use/useTabItemActiveListener.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +8 -8
- package/dist/components/Toggle/types.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltip.vue.js +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.js +1 -1
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +3 -1
- package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/components/TooltipContainer.vue.js +14 -15
- package/dist/components/Tooltip/models/utils.d.ts.map +1 -1
- package/dist/imports/componentsPlugin.d.ts +1 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/imports/iconsSax.d.ts +2 -0
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/imports/iconsSax.js +2 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +2 -1
- package/dist/types/global.d.ts +1 -0
- package/dist/types/types.d.ts +1 -0
- package/dist/utils/DOMListenerContainer.d.ts.map +1 -1
- package/dist/utils/DOMListenerContainer.js +2 -2
- package/dist/utils/HorizontalAlign.d.ts.map +1 -1
- package/dist/utils/Modal.d.ts +1 -1
- package/dist/utils/Modal.d.ts.map +1 -1
- package/dist/utils/Notify.d.ts.map +1 -1
- package/dist/utils/SemanticType.d.ts.map +1 -1
- package/dist/utils/api.d.ts.map +1 -1
- package/dist/utils/order.d.ts.map +1 -1
- package/dist/utils/useCopy.d.ts.map +1 -1
- package/dist/utils/useCopy.js +1 -1
- package/dist/utils/useDefaultQuery.d.ts +6 -4
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/dist/utils/useDefaultQuery.js +20 -24
- package/dist/utils/useQueryUpdater.d.ts.map +1 -1
- package/dist/utils/useSelected.d.ts.map +1 -1
- package/eslint/plugin.js +43 -0
- package/eslint/recommended.js +171 -0
- package/eslint/rules/modal-declaration.js +33 -0
- package/eslint/rules/modal-import-async.js +38 -0
- package/eslint/rules/modal-import.js +44 -0
- package/eslint/rules/ui-kit-imports.js +65 -0
- package/package.json +28 -21
- package/tailwind-base/index.cjs +2 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useTemplateRef, computed, 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({
|
@@ -64,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
64
|
setup(__props, { expose: __expose, emit: __emit }) {
|
65
65
|
const props = __props;
|
66
66
|
const emit = __emit;
|
67
|
-
const
|
67
|
+
const selectComponentRef = useTemplateRef("selectComponent");
|
68
68
|
const arrayValue = computed(() => props.modelValue !== null ? props.modelValue.split(props.divider) : []);
|
69
69
|
const updateModelValue = (value, isSelect) => {
|
70
70
|
const valueList = value.split(props.divider);
|
@@ -78,16 +78,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
78
78
|
emit("update:model-value", newValue || null);
|
79
79
|
};
|
80
80
|
const blur = () => {
|
81
|
-
|
81
|
+
selectComponentRef.value?.blur();
|
82
82
|
};
|
83
83
|
__expose({
|
84
84
|
blur
|
85
85
|
});
|
86
86
|
return (_ctx, _cache) => {
|
87
|
-
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
88
|
-
ref_key: "selectComponent",
|
89
|
-
ref: selectComponent
|
90
|
-
}, {
|
87
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "selectComponent" }, {
|
91
88
|
...props,
|
92
89
|
modelValue: arrayValue.value
|
93
90
|
}, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"yBAgOiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAigBxD,mBAAmB,CAAC;;;;;;;oBA7fhB,KAAK,EAAE;oBACP,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;2BACL,OAAO,GAAG,IAAI;kBACvB,OAAO;mBACN,OAAO;qBACL,OAAO;wBACJ,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,OAAO;oBACP,MAAM;qBACL,OAAO;uBACL,OAAO;sBACR,OAAO;yBACJ,OAAO;qBACX,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;uBACnB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC3D,OAAO;KA6e8D,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;kBAjZD,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;kBAA5E,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YAzFlF,QAAQ,SAAS,KAAK,GAAG,IAAI;YAC7B,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,GAAG,IAAI;;;;;YA2egB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA3gBvE,wBA2gB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, renderSlot, createBlock, createElementVNode, createCommentVNode } from 'vue';
|
2
|
-
import _sfc_main$2 from './SelectOption.vue.js';
|
3
2
|
import _sfc_main$1 from '../../InfiniteList/WInfiniteList.vue.js';
|
4
3
|
import { debounce } from '../../../utils/utils.js';
|
4
|
+
import _sfc_main$2 from './SelectOption.vue.js';
|
5
5
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
7
|
__name: "SelectAsyncList",
|
@@ -181,7 +181,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
181
181
|
onUnmounted: _cache[10] || (_cache[10] = ($event) => updateCursor(void 0))
|
182
182
|
}, {
|
183
183
|
prefix: withCtx(() => _cache[11] || (_cache[11] = [
|
184
|
-
createElementVNode("span", { class: "w-select-field
|
184
|
+
createElementVNode("span", { class: "w-select-field sm-not:px-3 pr-2" }, " Create: ", -1)
|
185
185
|
])),
|
186
186
|
default: withCtx(() => [
|
187
187
|
renderSlot(_ctx.$slots, "default", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAA6B,MAAM,UAAU,CAAA;yBAWtF,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC5H,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAiLxD,mBAAmB,CAAC;;;;oPAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBA5JD,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;kBAAjE,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;;YAdvE,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,iBAAiB,SAAS,OAAO,GAAG,IAAI;YACxC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;;;;;YA6KJ,OAAO,CAAC,OAAO,WAAW,CAAC;;AA3LvE,wBA2L4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent, ref, computed, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderSlot, createElementVNode, toDisplayString, unref, normalizeClass, withModifiers, createCommentVNode } from 'vue';
|
2
|
-
import _sfc_main$1 from './SelectAsyncPrefixPage.vue.js';
|
3
|
-
import { numberFormatter } from '../../../utils/utils.js';
|
4
2
|
import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
|
3
|
+
import { numberFormatter } from '../../../utils/utils.js';
|
4
|
+
import _sfc_main$1 from './SelectAsyncPrefixPage.vue.js';
|
5
5
|
|
6
6
|
const _hoisted_1 = {
|
7
7
|
key: 0,
|
8
|
-
class: "flex
|
8
|
+
class: "text-accent flex items-center gap-1 overflow-hidden px-1"
|
9
9
|
};
|
10
10
|
const PAGE_LENGTH = 8;
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -64,9 +64,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
64
|
createElementVNode("div", null, "... " + toDisplayString(unref(numberFormatter).format(_ctx.modelValue.length)) + " items", 1),
|
65
65
|
!_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
66
66
|
key: 0,
|
67
|
-
class: normalizeClass(["
|
67
|
+
class: normalizeClass(["square-5 relative flex items-center justify-center rounded-full outline-none", {
|
68
68
|
"cursor-progress": _ctx.loading,
|
69
|
-
"
|
69
|
+
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading
|
70
70
|
}]),
|
71
71
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
72
72
|
}, ["stop", "prevent"])),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAC,0BAA0B,EAAE,qBAAqB,EAA6B,MAAM,UAAU,CAAA;yBAO1F,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC5H,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAgMxD,mBAAmB,CAAC;;;;yPAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBAjJD,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;kBAAjE,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;;YA1CvE,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;;;;;YA8LF,OAAO,CAAC,OAAO,WAAW,CAAC;;AA1MvE,wBA0M4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
52
|
return openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (option, index) => {
|
53
53
|
return openBlock(), createElementBlock("div", {
|
54
54
|
key: _ctx.valueGetter(option),
|
55
|
-
class: normalizeClass(["relative flex
|
55
|
+
class: normalizeClass(["text-description relative flex items-center overflow-hidden", {
|
56
56
|
"cursor-pointer": !_ctx.disabled,
|
57
57
|
"cursor-not-allowed": _ctx.disabled
|
58
58
|
}])
|
@@ -76,9 +76,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76
76
|
name: "default",
|
77
77
|
fn: withCtx(() => [
|
78
78
|
createElementVNode("button", {
|
79
|
-
class: normalizeClass(["
|
79
|
+
class: normalizeClass(["square-5 relative -my-1 -mr-2 ml-1 flex items-center justify-center rounded-full outline-none", {
|
80
80
|
"cursor-progress": _ctx.loading,
|
81
|
-
"
|
81
|
+
"w-ripple w-ripple-hover cursor-pointer": !_ctx.loading
|
82
82
|
}]),
|
83
83
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
84
84
|
}, ["stop", "prevent"])),
|
@@ -93,9 +93,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
93
93
|
]),
|
94
94
|
!_ctx.optionComponent && !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
|
95
95
|
key: 0,
|
96
|
-
class: normalizeClass(["
|
96
|
+
class: normalizeClass(["square-5 relative flex items-center justify-center rounded-full outline-none", {
|
97
97
|
"cursor-progress": _ctx.loading,
|
98
|
-
"
|
98
|
+
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading
|
99
99
|
}]),
|
100
100
|
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {
|
101
101
|
}, ["stop", "prevent"])),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOption.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOption.vue"],"names":[],"mappings":"yBA+IiB,KAAK,SAAS,MAAM,GAAG,MAAM,eAChC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqOxD,mBAAmB,CAAC;oBAjOhB,OAAO;mBACR,OAAO;kBACR,OAAO;mBACN,OAAO;iBACT,OAAO;gBACR,OAAO;eACR,OAAO;mBACH,KAAK,GAAG,IAAI;eAChB,KAAK,GAAG,IAAI;qBACN,OAAO;yBACH,OAAO;KAuN6D,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;iBA9IF,CAAC,KAAK,EAAE;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;gBACrC,MAAM,IAAI;;iBADT,CAAC,KAAK,EAAE;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;gBACrC,MAAM,IAAI;;;YAvEd,QAAQ,GAAG,IAAI;YACf,UAAU,GAAG,IAAI;YACjB,kBAAkB,SAAS;YAAC,QAAQ,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;YAAC,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;SAAC,GAAG,IAAI;YACtG,eAAe,GAAG,IAAI;YACtB,iBAAiB,SAAS,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;YACzD,aAAa,SAAS,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;YACrD,WAAW,GAAG,IAAI;YAClB,cAAc,GAAG,IAAI;YACrB,aAAa,GAAG,IAAI;;;;;YAiNkB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/OvE,wBA+O4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { defineComponent,
|
2
|
-
import IconCheck from '../../../assets/icons/default/IconCheck.svg.js';
|
1
|
+
import { defineComponent, useTemplateRef, watch, watchEffect, onUnmounted, openBlock, createElementBlock, normalizeClass, withModifiers, renderSlot, createElementVNode, createVNode, Transition, withCtx, createBlock, unref, createCommentVNode } from 'vue';
|
3
2
|
import WSpinner from '../../Spinner/WSpinner.vue.js';
|
3
|
+
import IconCheck from '../../../assets/icons/default/IconCheck.svg.js';
|
4
4
|
|
5
5
|
const _hoisted_1 = {
|
6
6
|
key: 0,
|
7
|
-
class: "
|
7
|
+
class: "text-primary-default dark:text-primary-dark col-start-3 flex items-center justify-center [--spinner-size:1.5rem]"
|
8
8
|
};
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
10
|
__name: "SelectOption",
|
@@ -25,14 +25,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
setup(__props, { expose: __expose, emit: __emit }) {
|
26
26
|
const props = __props;
|
27
27
|
const emit = __emit;
|
28
|
-
const
|
28
|
+
const elementRef = useTemplateRef("element");
|
29
29
|
const toggle = () => {
|
30
30
|
if (props.skeleton || props.loading) return;
|
31
31
|
if (props.isSelected) emit("unselect");
|
32
32
|
else emit("select");
|
33
33
|
};
|
34
34
|
const scrollIntoView = () => {
|
35
|
-
|
35
|
+
elementRef.value?.scrollIntoView({ behavior: "auto", block: "center" });
|
36
36
|
};
|
37
37
|
watch(() => props.isCursor, (value) => {
|
38
38
|
if (!value) return;
|
@@ -67,9 +67,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
67
67
|
});
|
68
68
|
return (_ctx, _cache) => {
|
69
69
|
return openBlock(), createElementBlock("div", {
|
70
|
-
|
71
|
-
|
72
|
-
class: normalizeClass(["relative grid grid-cols-[auto,1fr,2.5rem] w-full py-2 px-[1.0625rem]", {
|
70
|
+
ref: "element",
|
71
|
+
class: normalizeClass(["relative grid w-full grid-cols-[auto,1fr,2.5rem] px-[1.0625rem] py-2", {
|
73
72
|
"bg-primary-light dark:bg-primary-darkest": _ctx.isSelected,
|
74
73
|
"before:opacity-5": !_ctx.loading && _ctx.isCursor && !_ctx.skeleton,
|
75
74
|
"cursor-progress": _ctx.loading || _ctx.skeleton,
|
@@ -81,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
81
80
|
}, [
|
82
81
|
renderSlot(_ctx.$slots, "prefix"),
|
83
82
|
createElementVNode("div", {
|
84
|
-
class: normalizeClass(["flex items-center overflow-hidden
|
83
|
+
class: normalizeClass(["col-start-2 flex items-center overflow-hidden", {
|
85
84
|
"col-span-2": _ctx.hideOptionIcon
|
86
85
|
}])
|
87
86
|
}, [
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { SelectOptionComponent, SelectPrefixProps } from '../types';
|
2
2
|
declare const _default: <Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
4
4
|
readonly onUnselect?: (() => any) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAC,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAA;yBAKrD,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAChF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqJxD,mBAAmB,CAAC;;6KAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;wBA3Be,GAAG;;cArHzB,UAAU,KAAG,IAAI;;;;YAqJqB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/JvE,wBA+J4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
setup(__props) {
|
17
17
|
return (_ctx, _cache) => {
|
18
18
|
return openBlock(), createElementBlock("div", {
|
19
|
-
class: normalizeClass(["relative grid grid-cols-[1fr,auto] items-center
|
19
|
+
class: normalizeClass(["text-description group/model relative grid grid-cols-[1fr,auto] items-center", {
|
20
20
|
"cursor-pointer": !_ctx.disabled,
|
21
21
|
"cursor-not-allowed opacity-50": _ctx.disabled
|
22
22
|
}])
|
@@ -31,10 +31,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
default: withCtx(() => [
|
32
32
|
!_ctx.disableClear ? (openBlock(), createElementBlock("button", {
|
33
33
|
key: 0,
|
34
|
-
class: normalizeClass(["
|
34
|
+
class: normalizeClass(["square-5 relative -my-1 -mr-2 ml-1 flex items-center justify-center rounded-full outline-none", {
|
35
35
|
"cursor-not-allowed": _ctx.disabled,
|
36
36
|
"cursor-progress": _ctx.loading,
|
37
|
-
"
|
37
|
+
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
38
38
|
}]),
|
39
39
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
40
40
|
}, ["stop", "prevent"])),
|
@@ -48,10 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
48
|
]),
|
49
49
|
!_ctx.optionComponent && !_ctx.disableClear ? (openBlock(), createElementBlock("button", {
|
50
50
|
key: 0,
|
51
|
-
class: normalizeClass(["
|
51
|
+
class: normalizeClass(["square-5 relative flex items-center justify-center rounded-full outline-none", {
|
52
52
|
"cursor-not-allowed": _ctx.disabled,
|
53
53
|
"cursor-progress": _ctx.loading,
|
54
|
-
"
|
54
|
+
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
55
55
|
}]),
|
56
56
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
57
57
|
}, ["stop", "prevent"])),
|
@@ -4,7 +4,7 @@ import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
|
|
4
4
|
const _sfc_main = {};
|
5
5
|
|
6
6
|
const _hoisted_1 = {
|
7
|
-
class: "
|
7
|
+
class: "square-[var(--spinner-size,2rem)] animate-spin",
|
8
8
|
width: "20",
|
9
9
|
height: "20",
|
10
10
|
viewBox: "25 25 50 50"
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { VNode, nextTick } from 'vue';
|
2
2
|
import { default as WForm } from '../Form/WForm.vue';
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
4
4
|
names?: string[] | Record<number, string>;
|
5
5
|
namesForm?: string[] | Record<number, string>;
|
6
6
|
icons?: SVGComponent[] | Record<number, SVGComponent>;
|
7
|
-
|
7
|
+
customSlots?: VNode[];
|
8
8
|
lessTransitions?: boolean;
|
9
9
|
initTab?: number;
|
10
10
|
side?: boolean;
|
@@ -25,7 +25,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
25
25
|
names?: string[] | Record<number, string>;
|
26
26
|
namesForm?: string[] | Record<number, string>;
|
27
27
|
icons?: SVGComponent[] | Record<number, SVGComponent>;
|
28
|
-
|
28
|
+
customSlots?: VNode[];
|
29
29
|
lessTransitions?: boolean;
|
30
30
|
initTab?: number;
|
31
31
|
side?: boolean;
|
@@ -48,6 +48,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
48
48
|
};
|
49
49
|
$refs: {
|
50
50
|
[x: string]: unknown;
|
51
|
+
} & {
|
52
|
+
element: HTMLDivElement;
|
51
53
|
};
|
52
54
|
$slots: Readonly<{
|
53
55
|
[name: string]: import('vue').Slot<any> | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WTabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabs.vue"],"names":[],"mappings":"AA6QA,OAAO,EAAC,KAAK,KAAK,EAAoB,QAAQ,EAAyE,MAAM,KAAK,CAAA;AAElI,OAAO,KAAK,MAAM,6BAA6B,CAAA;;YAUrC,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACrC,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;kBACvC,KAAK,EAAE;sBACH,OAAO;cACf,MAAM;WACT,OAAO;uBACK,OAAO;;yBA0CA,MAAM;gBAajB,IAAI;oBAIA,IAAI;sBAkCA,MAAM,6GAAqE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;wBAIhI,MAAM;;UAAuE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC;uBAIvI,MAAM,KAAsE,UAAU,CAAC,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC;;;;;YA5GpJ,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;YACrC,YAAY,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC;kBACvC,KAAK,EAAE;sBACH,OAAO;cACf,MAAM;WACT,OAAO;uBACK,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA6VW,GAAG,8CAEvC,GAAG,yBAAyB,GAAG,6DACN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHQ,GAAG,8CAEvC,GAAG,yBAAyB,GAAG,6DACN,GAAG;;;;;;;;;;;;;;;;;;;;;AAuF/B,wBAYG"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, useSlots, computed, ref, useTemplateRef, reactive, inject, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, Fragment, renderList, unref, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, Transition, withCtx, normalizeStyle, TransitionGroup, nextTick } from 'vue';
|
2
|
-
import _sfc_main$1 from './components/TabItem.vue.js';
|
3
2
|
import _sfc_main$2 from '../Form/WForm.vue.js';
|
4
3
|
import { throttle, debounce } from '../../utils/utils.js';
|
4
|
+
import _sfc_main$1 from './components/TabItem.vue.js';
|
5
5
|
import { wTabItemListener, wTabItemUnlistener } from './models/injection.js';
|
6
6
|
|
7
7
|
const _hoisted_1 = ["onClick"];
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
names: {},
|
13
13
|
namesForm: {},
|
14
14
|
icons: {},
|
15
|
-
|
15
|
+
customSlots: {},
|
16
16
|
lessTransitions: { type: Boolean },
|
17
17
|
initTab: {},
|
18
18
|
side: { type: Boolean },
|
@@ -22,15 +22,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
setup(__props, { expose: __expose, emit: __emit }) {
|
23
23
|
const props = __props;
|
24
24
|
const emit = __emit;
|
25
|
-
const
|
26
|
-
const defaultSlots = computed(() => (props.
|
25
|
+
const slots = useSlots();
|
26
|
+
const defaultSlots = computed(() => (props.customSlots ?? slots.default?.() ?? []).filter((item) => typeof item.type !== "symbol"));
|
27
27
|
const current = ref(props.initTab ?? 0);
|
28
28
|
const isDirect = ref(true);
|
29
|
-
const
|
29
|
+
const buttonRef = useTemplateRef("button");
|
30
30
|
const indicatorStyle = ref(void 0);
|
31
31
|
const minHeight = ref(0);
|
32
|
-
const
|
33
|
-
const
|
32
|
+
const tabItemRef = useTemplateRef("tabItem");
|
33
|
+
const formRef = useTemplateRef("form");
|
34
34
|
const buttonContainerRef = useTemplateRef("buttonContainer");
|
35
35
|
const isValidMap = reactive({});
|
36
36
|
const hasChangesMap = reactive({});
|
@@ -46,7 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
46
|
updateIndex(index);
|
47
47
|
}, 200);
|
48
48
|
const updateIndex = (value) => {
|
49
|
-
|
49
|
+
tabItemRef.value?.[current.value]?.emitHeight?.();
|
50
50
|
setIndexDebounced(value);
|
51
51
|
};
|
52
52
|
const setIndexDebounced = debounce((value) => {
|
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
};
|
63
63
|
const updateIndicator = () => {
|
64
64
|
if (!props.names) return;
|
65
|
-
const element =
|
65
|
+
const element = buttonRef.value?.[current.value];
|
66
66
|
if (!element || !element.offsetWidth) return;
|
67
67
|
if (props.side) {
|
68
68
|
indicatorStyle.value = {
|
@@ -85,24 +85,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
85
85
|
minHeight.value = value;
|
86
86
|
};
|
87
87
|
const validate = (index, ...args) => {
|
88
|
-
return
|
88
|
+
return formRef.value?.[index]?.validate(...args);
|
89
89
|
};
|
90
90
|
const invalidate = (index, ...args) => {
|
91
|
-
return
|
91
|
+
return formRef.value?.[index]?.invalidate(...args);
|
92
92
|
};
|
93
93
|
const initModel = (index, ...args) => {
|
94
|
-
return
|
94
|
+
return formRef.value?.[index]?.initModel(...args);
|
95
95
|
};
|
96
96
|
const tabItemListenerInjected = inject(wTabItemListener, null);
|
97
97
|
const tabItemUnlistenerInjected = inject(wTabItemUnlistener, null);
|
98
98
|
watch(current, (value) => {
|
99
99
|
emit("update:current", value);
|
100
100
|
updateIndicator();
|
101
|
-
if (buttonContainerRef.value &&
|
101
|
+
if (buttonContainerRef.value && buttonRef.value?.[value]) {
|
102
102
|
if (props.side) {
|
103
|
-
buttonContainerRef.value.scrollTo({ top: (
|
103
|
+
buttonContainerRef.value.scrollTo({ top: (buttonRef.value[value].offsetTop - buttonContainerRef.value.offsetTop) / 2, behavior: "smooth" });
|
104
104
|
} else {
|
105
|
-
buttonContainerRef.value.scrollTo({ left: (
|
105
|
+
buttonContainerRef.value.scrollTo({ left: (buttonRef.value[value].offsetLeft - buttonContainerRef.value.offsetLeft) / 2, behavior: "smooth" });
|
106
106
|
}
|
107
107
|
}
|
108
108
|
}, { immediate: true });
|
@@ -134,29 +134,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
134
134
|
_ctx.names ? (openBlock(), createElementBlock("div", {
|
135
135
|
key: 0,
|
136
136
|
ref: "buttonContainer",
|
137
|
-
class: normalizeClass(["relative flex
|
137
|
+
class: normalizeClass(["no-scrollbar relative flex snap-x snap-mandatory snap-always overflow-x-auto overscroll-x-contain", {
|
138
138
|
"flex-col": _ctx.side
|
139
139
|
}])
|
140
140
|
}, [
|
141
141
|
(openBlock(true), createElementBlock(Fragment, null, renderList(defaultSlots.value, (_, index) => {
|
142
142
|
return openBlock(), createElementBlock("button", {
|
143
143
|
ref_for: true,
|
144
|
-
|
145
|
-
ref: button,
|
144
|
+
ref: "button",
|
146
145
|
key: index,
|
147
|
-
class: normalizeClass(["
|
146
|
+
class: normalizeClass(["w-ripple w-ripple-hover relative flex flex-1 cursor-pointer select-none snap-center items-center font-semibold outline-none transition-colors duration-500", {
|
148
147
|
"text-description": current.value !== index && isValidMap[index] !== false,
|
149
148
|
"text-primary-default dark:text-primary-dark": current.value === index && isValidMap[index] !== false,
|
150
149
|
"text-negative dark:text-negative-dark": isValidMap[index] === false,
|
151
|
-
"h-10
|
152
|
-
"py-3 text-start
|
150
|
+
"h-10 justify-center text-center": !_ctx.side,
|
151
|
+
"py-3 pr-4 text-start": _ctx.side
|
153
152
|
}]),
|
154
153
|
onClick: ($event) => unref(switchTab)(index)
|
155
154
|
}, [
|
156
155
|
createElementVNode("div", _hoisted_2, [
|
157
156
|
_ctx.icons?.[index] ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icons?.[index]), {
|
158
157
|
key: 0,
|
159
|
-
class: "
|
158
|
+
class: "-mt-1 inline"
|
160
159
|
})) : createCommentVNode("", true),
|
161
160
|
createTextVNode(" " + toDisplayString(_ctx.names[index]) + " ", 1),
|
162
161
|
createVNode(Transition, {
|
@@ -168,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
168
167
|
default: withCtx(() => [
|
169
168
|
hasChangesMap[index] ? (openBlock(), createElementBlock("div", {
|
170
169
|
key: 0,
|
171
|
-
class: normalizeClass(["absolute
|
170
|
+
class: normalizeClass(["square-2 absolute right-0 top-0 rounded-full transition-colors duration-500", {
|
172
171
|
"bg-info dark:bg-info-dark": isValidMap[index] !== false,
|
173
172
|
"bg-negative dark:bg-negative-dark": isValidMap[index] === false
|
174
173
|
}])
|
@@ -190,7 +189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
190
189
|
}, null, 6)
|
191
190
|
], 2)) : createCommentVNode("", true),
|
192
191
|
createElementVNode("div", {
|
193
|
-
class: "relative transition-[min-height]
|
192
|
+
class: "relative h-full transition-[min-height] duration-300",
|
194
193
|
style: normalizeStyle({ minHeight: minHeight.value ? minHeight.value + "px" : "auto", "--direction-factor": isDirect.value ? "1" : "-1" })
|
195
194
|
}, [
|
196
195
|
createVNode(TransitionGroup, {
|
@@ -203,8 +202,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
203
202
|
(openBlock(true), createElementBlock(Fragment, null, renderList(defaultSlots.value, (slot, index) => {
|
204
203
|
return openBlock(), createBlock(_sfc_main$1, {
|
205
204
|
ref_for: true,
|
206
|
-
|
207
|
-
ref: tabItem,
|
205
|
+
ref: "tabItem",
|
208
206
|
key: index,
|
209
207
|
"is-active": index === current.value,
|
210
208
|
class: "width-full",
|
@@ -213,8 +211,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
213
211
|
default: withCtx(() => [
|
214
212
|
createVNode(_sfc_main$2, {
|
215
213
|
ref_for: true,
|
216
|
-
|
217
|
-
ref: form,
|
214
|
+
ref: "form",
|
218
215
|
name: _ctx.namesForm?.[index] ?? index.toString(),
|
219
216
|
title: _ctx.names?.[index],
|
220
217
|
"onUpdate:isValid": ($event) => updateIsValidMap(index, $event),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsColumns.vue"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsColumns.vue"],"names":[],"mappings":";WA2CS,MAAM,EAAE;;WAAR,MAAM,EAAE;;AA0EjB,wBAMG"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, unref, openBlock, createBlock, createElementBlock, normalizeStyle, Fragment, renderList, resolveDynamicComponent } from 'vue';
|
2
|
-
import { getIsMobile } from '../../utils/mobile.js';
|
3
2
|
import _sfc_main$1 from './WTabs.vue.js';
|
3
|
+
import { getIsMobile } from '../../utils/mobile.js';
|
4
4
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
6
6
|
__name: "WTabsColumns",
|
@@ -13,8 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
return unref(isMobile) ? (openBlock(), createBlock(_sfc_main$1, {
|
14
14
|
key: 0,
|
15
15
|
names: _ctx.names,
|
16
|
-
slots: _ctx.$slots.default?.()
|
17
|
-
}, null, 8, ["names", "slots"])) : (openBlock(), createElementBlock("div", {
|
16
|
+
"custom-slots": _ctx.$slots.default?.()
|
17
|
+
}, null, 8, ["names", "custom-slots"])) : (openBlock(), createElementBlock("div", {
|
18
18
|
key: 1,
|
19
19
|
class: "grid grid-cols-[repeat(var(--w-columns-length),calc(50%-((var(--w-columns-length)-1)*var(--modal-wrapper-padding,2rem)/2)))] gap-[var(--modal-wrapper-padding,2rem)]",
|
20
20
|
style: normalizeStyle({ "--w-columns-length": _ctx.$slots.default?.().length })
|
@@ -18,7 +18,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
18
18
|
isActive: boolean;
|
19
19
|
}> & Readonly<{
|
20
20
|
"onUpdate:height"?: ((value: number) => any) | undefined;
|
21
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
22
|
+
element: HTMLDivElement;
|
23
|
+
}, any>;
|
22
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
23
25
|
export default _default;
|
24
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabItem.vue"],"names":[],"mappings":"AA4FA,iBAAS,cAAc;;yBA6BM,GAAG;;;;;WAUlB,OAAO,IAA6B;EAEjD;
|
1
|
+
{"version":3,"file":"TabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabItem.vue"],"names":[],"mappings":"AA4FA,iBAAS,cAAc;;yBA6BM,GAAG;;;;;WAUlB,OAAO,IAA6B;EAEjD;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cA7FT,OAAO;;sBAYI,IAAI;;;;cAZf,OAAO;;;;;OAwGjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useTemplateRef, watch, toRef, nextTick, withDirectives, openBlock, createElementBlock, renderSlot, vShow } from 'vue';
|
2
2
|
import { useTabItemActiveListener } from '../use/useTabItemActiveListener.js';
|
3
3
|
|
4
|
+
const _hoisted_1 = { ref: "element" };
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
6
|
__name: "TabItem",
|
6
7
|
props: {
|
@@ -11,10 +12,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
12
|
const props = __props;
|
12
13
|
const emit = __emit;
|
13
14
|
const { callListeners } = useTabItemActiveListener();
|
14
|
-
const
|
15
|
+
const elementRef = useTemplateRef("element");
|
15
16
|
const emitHeight = () => {
|
16
|
-
if (!
|
17
|
-
emit("update:height",
|
17
|
+
if (!elementRef.value) return;
|
18
|
+
emit("update:height", elementRef.value.offsetHeight);
|
18
19
|
};
|
19
20
|
watch(toRef(props, "isActive"), async (value) => {
|
20
21
|
if (value) await nextTick();
|
@@ -25,10 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
26
|
emitHeight
|
26
27
|
});
|
27
28
|
return (_ctx, _cache) => {
|
28
|
-
return withDirectives((openBlock(), createElementBlock("div",
|
29
|
-
ref_key: "element",
|
30
|
-
ref: element
|
31
|
-
}, [
|
29
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
32
30
|
renderSlot(_ctx.$slots, "default")
|
33
31
|
], 512)), [
|
34
32
|
[vShow, _ctx.isActive]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useIsInsideTab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/use/useIsInsideTab.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useIsInsideTab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/use/useIsInsideTab.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;CAM1B,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useTabActiveListener.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/use/useTabActiveListener.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useTabActiveListener.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/use/useTabActiveListener.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,aAAc,MAAM,IAAI,SAWxD,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useTabItemActiveListener.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/use/useTabItemActiveListener.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useTabItemActiveListener.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/use/useTabItemActiveListener.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;CA8BpC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/WToggle.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/WToggle.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;yBAKvB,KAAK,SAAS,OAAO,GAAG,IAAI,yBAC/B,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAyMxD,mBAAmB,CAAC;;gKAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA3LP,mBAAmB,SAAS,KAAK,KAAG,IAAI;;;;YAgMF,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnNvE,wBAmN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|