yc-design-vue 2.2.2 → 2.2.4
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/index.umd.js +1 -1
- package/dist/lang-es/zh-cn.js +26 -26
- package/dist/style.css +1 -1
- package/es/Affix/index.vue.js +0 -4
- package/es/Alert/index.vue.js +0 -4
- package/es/Anchor/Anchor.vue.js +0 -4
- package/es/Anchor/AnchorLink.vue.js +0 -4
- package/es/Anchor/hooks/useContext.d.ts +1 -1
- package/es/Anchor/hooks/useContext.js +5 -13
- package/es/AutoComplete/index.vue.js +0 -4
- package/es/Avatar/Avatar.vue.js +0 -4
- package/es/Avatar/AvatarGroup.vue.js +0 -4
- package/es/BackTop/index.vue.js +0 -4
- package/es/Badge/index.vue.js +0 -4
- package/es/Breadcrumb/Breadcrumb.vue.js +0 -4
- package/es/Breadcrumb/BreadcrumbItem.vue.js +0 -4
- package/es/Breadcrumb/BreadcrumbMore.vue.js +0 -4
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +0 -4
- package/es/Button/hooks/useContext.js +0 -4
- package/es/Calendar/Calendar.vue.js +30 -49
- package/es/Calendar/CalendarMonth.vue.d.ts +4 -6
- package/es/Calendar/CalendarMonth.vue.js +34 -43
- package/es/Calendar/CalendarYear.vue.d.ts +3 -4
- package/es/Calendar/CalendarYear.vue.js +19 -38
- package/es/Calendar/hooks/useCalendar.d.ts +7 -0
- package/es/Calendar/hooks/useCalendar.js +36 -0
- package/es/Card/Card.vue.js +0 -4
- package/es/Card/CardMeta.vue.js +0 -4
- package/es/Carousel/Carousel.vue.js +0 -4
- package/es/Carousel/CarouselArrow.vue.js +0 -4
- package/es/Carousel/CarouselIndicator.vue.js +0 -4
- package/es/Carousel/hooks/useContext.d.ts +11 -2
- package/es/Carousel/hooks/useContext.js +4 -8
- package/es/Cascader/Cascader.vue.js +0 -4
- package/es/Cascader/CascaderIcon.vue.js +0 -4
- package/es/Cascader/CascaderOption.vue.js +0 -4
- package/es/Cascader/hooks/useContext.d.ts +69 -8
- package/es/Cascader/hooks/useContext.js +5 -17
- package/es/Cascader/index.css +1 -1
- package/es/Checkbox/Checkbox.vue.js +0 -4
- package/es/Checkbox/hooks/useContext.js +0 -4
- package/es/Collapse/CollapseItem.vue.js +0 -4
- package/es/Collapse/hooks/useContext.js +0 -4
- package/es/ColorPicker/ColorControl.vue.js +0 -4
- package/es/ColorPicker/ColorInput.vue.js +0 -4
- package/es/ColorPicker/ColorList.vue.js +0 -4
- package/es/ColorPicker/ColorPalette.vue.js +0 -4
- package/es/ColorPicker/ColorPanel.vue.js +0 -4
- package/es/ColorPicker/hooks/useContext.d.ts +12 -1
- package/es/ColorPicker/hooks/useContext.js +5 -9
- package/es/Comment/hooks/useContext.js +0 -4
- package/es/Comment/index.vue.js +0 -4
- package/es/ConfigProvider/index.vue.js +0 -4
- package/es/DatePicker/PickerRange.vue.d.ts +2 -0
- package/es/DatePicker/PickerRange.vue.js +15 -0
- package/es/DatePicker/PickerRange.vue2.js +4 -0
- package/es/DatePicker/YcDatePicker.vue.d.ts +2 -0
- package/es/DatePicker/YcDatePicker.vue.js +15 -0
- package/es/DatePicker/YcDatePicker.vue2.js +4 -0
- package/es/DatePicker/YcMonthPicker.vue.d.ts +66 -0
- package/es/DatePicker/YcMonthPicker.vue.js +230 -0
- package/es/DatePicker/YcMonthPicker.vue3.js +5 -0
- package/es/DatePicker/YcWeekPicker.vue.d.ts +67 -0
- package/es/DatePicker/YcWeekPicker.vue.js +7 -0
- package/es/DatePicker/YcWeekPicker.vue2.js +315 -0
- package/es/DatePicker/YcYearPicker.vue.d.ts +65 -0
- package/es/DatePicker/YcYearPicker.vue.js +196 -0
- package/es/DatePicker/YcYearPicker.vue3.js +5 -0
- package/es/DatePicker/component/PickerCell.vue.d.ts +36 -0
- package/es/DatePicker/component/PickerCell.vue.js +7 -0
- package/es/DatePicker/component/PickerCell.vue2.js +41 -0
- package/es/DatePicker/component/PickerInput.vue.d.ts +297 -0
- package/es/DatePicker/component/PickerInput.vue.js +7 -0
- package/es/DatePicker/component/PickerInput.vue2.js +121 -0
- package/es/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/es/DatePicker/component/PickerPanel.vue.js +104 -0
- package/es/DatePicker/component/PickerPanel.vue3.js +5 -0
- package/es/DatePicker/hooks/useContext.d.ts +19 -0
- package/es/DatePicker/hooks/useContext.js +37 -0
- package/es/DatePicker/hooks/userPicker.d.ts +44 -0
- package/es/DatePicker/hooks/userPicker.js +217 -0
- package/es/DatePicker/index.css +3 -0
- package/es/DatePicker/index.d.ts +38 -0
- package/es/DatePicker/index.js +23 -0
- package/es/DatePicker/type.d.ts +104 -0
- package/es/Descriptions/ReuseItem.vue.js +0 -4
- package/es/Descriptions/ReuseTd.vue.js +0 -4
- package/es/Descriptions/hooks/useContext.js +0 -4
- package/es/Divider/index.vue.js +0 -4
- package/es/Drawer/Drawer.vue.js +0 -4
- package/es/Drawer/DrawerService.vue.js +1 -5
- package/es/Dropdown/Dropdown.vue.js +0 -4
- package/es/Dropdown/DropdownButton.vue.js +0 -4
- package/es/Dropdown/Dsubmenu.vue.js +0 -4
- package/es/Dropdown/hooks/useContext.js +0 -4
- package/es/Empty/index.vue.js +0 -4
- package/es/Grid/Grid.vue.js +0 -4
- package/es/Grid/GridCol.vue.js +0 -4
- package/es/Grid/GridItem.vue.js +0 -4
- package/es/Grid/GridRow.vue.js +0 -4
- package/es/Grid/hooks/useContext.d.ts +6 -2
- package/es/Grid/hooks/useContext.js +5 -11
- package/es/Image/Image.vue.js +0 -4
- package/es/Image/ImagePreview.vue.js +0 -4
- package/es/Image/ImagePreviewArrow.vue.js +0 -4
- package/es/Image/ImagePreviewGroup.vue.js +0 -4
- package/es/Image/ImagePreviewToolbar.vue.js +0 -4
- package/es/Image/hooks/useContext.js +0 -4
- package/es/Input/Input.vue.js +0 -4
- package/es/Input/InputPassword.vue.js +0 -4
- package/es/Input/InputSearch.vue.js +0 -4
- package/es/Input/hooks/useLimitedInput.js +0 -4
- package/es/InputNumber/InputNumber.vue.js +0 -4
- package/es/InputNumber/InputOperaBtn.vue.js +0 -4
- package/es/InputTag/index.vue.js +0 -4
- package/es/Layout/Layout.vue.js +0 -4
- package/es/Layout/LayoutSider.vue.js +0 -4
- package/es/Layout/hooks/useSiderContext.js +0 -4
- package/es/Link/index.vue.js +0 -4
- package/es/List/List.vue.js +0 -4
- package/es/List/ListVirtual.vue.js +0 -4
- package/es/List/hooks/useScrollReach.js +0 -4
- package/es/Mention/index.vue.js +0 -4
- package/es/Menu/Menu.vue.js +0 -4
- package/es/Menu/MenuEllipsis.vue.js +0 -4
- package/es/Menu/MenuItem.vue.js +0 -4
- package/es/Menu/MenuItemGroup.vue.js +0 -4
- package/es/Menu/SubMenu.vue.js +0 -4
- package/es/Menu/hooks/useCalcMaxMenuItems.js +0 -4
- package/es/Menu/hooks/useContext.d.ts +17 -2
- package/es/Menu/hooks/useContext.js +5 -11
- package/es/Message/Message.vue.js +1 -5
- package/es/Message/index.js +0 -4
- package/es/Modal/Modal.vue.js +0 -4
- package/es/Modal/ModalService.vue.js +2 -6
- package/es/Modal/hooks/useModalClose.js +0 -4
- package/es/Modal/hooks/useModalDraggable.js +0 -4
- package/es/Modal/hooks/useOnBeforeClose.js +0 -4
- package/es/Notification/Notification.vue.js +2 -6
- package/es/Notification/index.js +0 -4
- package/es/OverflowList/index.vue.js +0 -4
- package/es/PageHeader/index.vue.js +0 -4
- package/es/Pagination/Pagination.vue.js +0 -4
- package/es/Pagination/PaginationItem.vue.js +0 -4
- package/es/Pagination/hooks/useContext.js +0 -4
- package/es/Popconfirm/index.vue.js +0 -4
- package/es/Popover/index.vue.js +0 -4
- package/es/Progress/Progress.vue.js +0 -4
- package/es/Progress/ProgressCircle.vue.js +0 -4
- package/es/Progress/ProgressLine.vue.js +0 -4
- package/es/Progress/ProgressSteps.vue.js +0 -4
- package/es/Radio/Radio.vue.js +0 -4
- package/es/Radio/hooks/useContext.js +0 -4
- package/es/Rate/index.vue.js +0 -4
- package/es/ResizeBox/index.vue.js +0 -4
- package/es/Scrollbar/Scrollbar.vue.js +0 -4
- package/es/Scrollbar/ScrollbarTrack.vue.js +0 -4
- package/es/Select/Option.vue.js +0 -4
- package/es/Select/Select.vue.js +0 -4
- package/es/Select/SelectIcon.vue.js +0 -4
- package/es/Select/SelectRealList.vue.js +0 -4
- package/es/Select/SelectView.vue.js +0 -4
- package/es/Select/SelectVirtualList.vue.js +0 -4
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useContext.js +0 -4
- package/es/Select/hooks/useSelectHotkeys.js +0 -4
- package/es/Select/hooks/useSelectOptions.d.ts +2 -2
- package/es/Select/hooks/useSelectOptions.js +0 -4
- package/es/Skeleton/SkeletonLine.vue.js +0 -4
- package/es/Skeleton/SkeletonShape.vue.js +0 -4
- package/es/Slider/SliderBtn.vue.js +0 -4
- package/es/Slider/hooks/useContext.d.ts +12 -6
- package/es/Slider/hooks/useContext.js +5 -16
- package/es/Slider/hooks/useSliderDraggable.js +0 -4
- package/es/Space/index.vue.js +0 -4
- package/es/Spin/index.vue.js +0 -4
- package/es/Split/index.vue.js +0 -4
- package/es/Statistic/Countdown.vue.js +0 -4
- package/es/Statistic/Statistic.vue.js +3 -7
- package/es/Steps/Step.vue.js +0 -4
- package/es/Steps/hooks/useContext.d.ts +9 -1
- package/es/Steps/hooks/useContext.js +3 -10
- package/es/Switch/index.vue.js +0 -4
- package/es/Tabs/TabButton.vue.js +0 -4
- package/es/Tabs/TabPane.vue.js +0 -4
- package/es/Tabs/Tabs.vue.js +0 -4
- package/es/Tabs/TabsNavInk.vue.js +0 -4
- package/es/Tabs/TabsTab.vue.js +0 -4
- package/es/Tabs/hooks/useContext.d.ts +9 -2
- package/es/Tabs/hooks/useContext.js +5 -13
- package/es/Tabs/hooks/useTabsScroll.js +0 -4
- package/es/Tag/index.vue.js +0 -4
- package/es/Textarea/hooks/useTextareaHeight.js +0 -4
- package/es/Textarea/index.vue.js +0 -4
- package/es/TimePicker/TimePicker.vue.js +1 -5
- package/es/TimePicker/TimePickerPanel.vue.js +0 -4
- package/es/TimePicker/hooks/useContext.d.ts +17 -7
- package/es/TimePicker/hooks/useContext.js +4 -13
- package/es/Timeline/TimelineItemPending.vue.js +0 -4
- package/es/Timeline/hooks/useContext.d.ts +4 -2
- package/es/Timeline/hooks/useContext.js +3 -10
- package/es/Tooltip/index.vue.js +0 -4
- package/es/Transfer/Transfer.vue.js +0 -4
- package/es/Transfer/TransferPanel.vue.js +1 -5
- package/es/Transfer/hooks/useContext.d.ts +1 -6
- package/es/Transfer/hooks/useContext.js +3 -11
- package/es/Trigger/hooks/useContext.js +0 -4
- package/es/Trigger/hooks/useTriggerPosition.js +0 -4
- package/es/Trigger/hooks/useTriggerVisible.js +0 -4
- package/es/Trigger/index.vue.js +0 -4
- package/es/Typography/TypographyBase.vue.js +2 -6
- package/es/Upload/Upload.vue.js +6 -4
- package/es/Upload/UploadButton.vue.js +0 -4
- package/es/Upload/UploadDrag.vue.js +0 -4
- package/es/Upload/UploadFileList.vue.js +125 -5
- package/es/Upload/UploadFileList.vue3.js +5 -0
- package/es/Upload/UploadPictureCard.vue.js +131 -5
- package/es/Upload/UploadPictureCard.vue3.js +5 -0
- package/es/Upload/hooks/useContext.js +0 -4
- package/es/Upload/hooks/useUpload.js +0 -4
- package/es/VerificationCode/index.vue.js +0 -4
- package/es/Watermark/index.vue.js +0 -4
- package/es/_shared/components/ExpandTransition/index.vue2.js +0 -4
- package/es/_shared/components/Icon/index.vue3.js +0 -4
- package/es/_shared/components/IconButton/index.vue.js +0 -4
- package/es/_shared/constants/index.js +0 -4
- package/es/_shared/icons/IconArrowDown.vue.js +0 -4
- package/es/_shared/icons/IconArrowRight.vue.js +0 -4
- package/es/_shared/icons/IconCalendar.vue.d.ts +2 -0
- package/es/_shared/icons/IconCalendar.vue.js +4 -0
- package/es/_shared/icons/IconCalendar.vue2.js +27 -0
- package/es/_shared/icons/IconCheck.vue.js +0 -4
- package/es/_shared/icons/IconCheckboxChecked.vue.js +0 -4
- package/es/_shared/icons/IconClose.vue.js +0 -4
- package/es/_shared/icons/IconCopy.vue.js +1 -28
- package/es/_shared/icons/IconCopy.vue2.js +24 -1
- package/es/_shared/icons/IconDelete.vue.js +1 -28
- package/es/_shared/icons/IconDelete.vue2.js +24 -1
- package/es/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleLeft.vue.js +27 -0
- package/es/_shared/icons/IconDoubleLeft.vue2.js +4 -0
- package/es/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleRight.vue.js +27 -0
- package/es/_shared/icons/IconDoubleRight.vue2.js +4 -0
- package/es/_shared/icons/IconDragDot.vue.js +0 -4
- package/es/_shared/icons/IconEdit.vue.js +1 -28
- package/es/_shared/icons/IconEdit.vue2.js +24 -1
- package/es/_shared/icons/IconEmpty.vue.js +0 -4
- package/es/_shared/icons/IconError.vue.js +0 -4
- package/es/_shared/icons/IconExclamation.vue2.js +0 -4
- package/es/_shared/icons/IconEyeClose.vue.js +0 -4
- package/es/_shared/icons/IconEyeOpen.vue.js +0 -4
- package/es/_shared/icons/IconFaceSmile.vue.js +0 -4
- package/es/_shared/icons/IconFile.vue2.js +0 -4
- package/es/_shared/icons/IconFullScreen.vue2.js +0 -4
- package/es/_shared/icons/IconImageClose.vue.js +0 -4
- package/es/_shared/icons/IconInfo.vue.js +0 -4
- package/es/_shared/icons/IconInfoLine.vue.js +0 -4
- package/es/_shared/icons/IconLink.vue.js +0 -4
- package/es/_shared/icons/IconLoading.vue.js +0 -4
- package/es/_shared/icons/IconMenuFold.vue.js +0 -4
- package/es/_shared/icons/IconMenuUnfold.vue.js +0 -4
- package/es/_shared/icons/IconMinus.vue2.js +0 -4
- package/es/_shared/icons/IconMore.vue.js +0 -4
- package/es/_shared/icons/IconOriginSize.vue2.js +0 -4
- package/es/_shared/icons/IconPlus.vue.js +0 -4
- package/es/_shared/icons/IconRight.vue.js +0 -4
- package/es/_shared/icons/IconRotateLeft.vue2.js +0 -4
- package/es/_shared/icons/IconRotateRight.vue2.js +0 -4
- package/es/_shared/icons/IconSearch.vue.js +0 -4
- package/es/_shared/icons/IconSeparator.vue2.js +0 -4
- package/es/_shared/icons/IconStar.vue.js +0 -4
- package/es/_shared/icons/IconSuccess.vue.js +0 -4
- package/es/_shared/icons/IconTime.vue.js +0 -4
- package/es/_shared/icons/IconToTop.vue.js +0 -4
- package/es/_shared/icons/IconUpload.vue2.js +0 -4
- package/es/_shared/icons/IconWarning.vue.js +0 -4
- package/es/_shared/icons/IconZoomIn.vue2.js +0 -4
- package/es/_shared/icons/IconZoomOut.vue2.js +0 -4
- package/es/_shared/icons/index.d.ts +3 -0
- package/es/_shared/type/index.d.ts +1 -1
- package/es/_shared/utils/color.js +0 -4
- package/es/_shared/utils/dependencies.d.ts +0 -4
- package/es/_shared/utils/dom.js +0 -4
- package/es/_shared/utils/hooks.js +1 -1
- package/es/_shared/utils/locale.d.ts +0 -5
- package/es/_shared/utils/time.d.ts +0 -9
- package/es/_shared/utils/time.js +0 -30
- package/es/_shared/utils/vue-utils.d.ts +1 -1
- package/es/_virtual/isoWeek.js +4 -0
- package/es/index.d.ts +307 -1
- package/es/index.js +42 -33
- package/es/lang-es/zh-cn.js +26 -26
- package/es/node_modules/dayjs/plugin/isoWeek.js +33 -0
- package/es/src/lang/lang-es/zh-cn.js +26 -26
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +4 -6
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.d.ts +3 -4
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Calendar/hooks/useCalendar.d.ts +7 -0
- package/lib/Calendar/hooks/useCalendar.js +1 -0
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +11 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.d.ts +69 -8
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.css +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +12 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/DatePicker/PickerRange.vue.d.ts +2 -0
- package/lib/DatePicker/PickerRange.vue.js +1 -0
- package/lib/DatePicker/PickerRange.vue2.js +1 -0
- package/lib/DatePicker/YcDatePicker.vue.d.ts +2 -0
- package/lib/DatePicker/YcDatePicker.vue.js +1 -0
- package/lib/DatePicker/YcDatePicker.vue2.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue.d.ts +66 -0
- package/lib/DatePicker/YcMonthPicker.vue.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue3.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue.d.ts +67 -0
- package/lib/DatePicker/YcWeekPicker.vue.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue2.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue.d.ts +65 -0
- package/lib/DatePicker/YcYearPicker.vue.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue3.js +1 -0
- package/lib/DatePicker/component/PickerCell.vue.d.ts +36 -0
- package/lib/DatePicker/component/PickerCell.vue.js +1 -0
- package/lib/DatePicker/component/PickerCell.vue2.js +1 -0
- package/lib/DatePicker/component/PickerInput.vue.d.ts +297 -0
- package/lib/DatePicker/component/PickerInput.vue.js +1 -0
- package/lib/DatePicker/component/PickerInput.vue2.js +1 -0
- package/lib/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/lib/DatePicker/component/PickerPanel.vue.js +1 -0
- package/lib/DatePicker/component/PickerPanel.vue3.js +1 -0
- package/lib/DatePicker/hooks/useContext.d.ts +19 -0
- package/lib/DatePicker/hooks/useContext.js +1 -0
- package/lib/DatePicker/hooks/userPicker.d.ts +44 -0
- package/lib/DatePicker/hooks/userPicker.js +1 -0
- package/lib/DatePicker/index.css +3 -0
- package/lib/DatePicker/index.d.ts +38 -0
- package/lib/DatePicker/index.js +1 -0
- package/lib/DatePicker/type.d.ts +104 -0
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.d.ts +6 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewGroup.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputPassword.vue.js +1 -1
- package/lib/Input/InputSearch.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/ListVirtual.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useCalcMaxMenuItems.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +17 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.d.ts +12 -6
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +9 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +9 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +17 -7
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +4 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +1 -6
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Upload/Upload.vue.js +1 -1
- package/lib/Upload/UploadButton.vue.js +1 -1
- package/lib/Upload/UploadDrag.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue3.js +1 -0
- package/lib/Upload/UploadPictureCard.vue.js +1 -1
- package/lib/Upload/UploadPictureCard.vue3.js +1 -0
- package/lib/Upload/hooks/useContext.js +1 -1
- package/lib/Upload/hooks/useUpload.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
- package/lib/_shared/components/Icon/index.vue3.js +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCalendar.vue.d.ts +2 -0
- package/lib/_shared/icons/IconCalendar.vue.js +1 -0
- package/lib/_shared/icons/IconCalendar.vue2.js +1 -0
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDoubleLeft.vue.js +1 -0
- package/lib/_shared/icons/IconDoubleLeft.vue2.js +1 -0
- package/lib/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDoubleRight.vue.js +1 -0
- package/lib/_shared/icons/IconDoubleRight.vue2.js +1 -0
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFile.vue2.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconUpload.vue2.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/icons/index.d.ts +3 -0
- package/lib/_shared/type/index.d.ts +1 -1
- package/lib/_shared/utils/color.js +1 -1
- package/lib/_shared/utils/dependencies.d.ts +0 -4
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/hooks.js +1 -1
- package/lib/_shared/utils/locale.d.ts +0 -5
- package/lib/_shared/utils/time.d.ts +0 -9
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +1 -1
- package/lib/_virtual/isoWeek.js +1 -0
- package/lib/index.d.ts +307 -1
- package/lib/index.js +1 -1
- package/lib/lang-es/zh-cn.js +26 -26
- package/lib/node_modules/dayjs/plugin/isoWeek.js +1 -0
- package/lib/src/lang/lang-es/zh-cn.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Upload/UploadFileList.vue2.js +0 -131
- package/es/Upload/UploadPictureCard.vue2.js +0 -137
- package/lib/Upload/UploadFileList.vue2.js +0 -1
- package/lib/Upload/UploadPictureCard.vue2.js +0 -1
@@ -9,11 +9,15 @@ export type SpanMap = Map<string, {
|
|
9
9
|
export type GutterValue = GridRowGutter | [GridRowGutter, GridRowGutter];
|
10
10
|
export default function useGridContext(): {
|
11
11
|
provide: (props: RecordType) => {
|
12
|
+
rowGap: import('vue').ComputedRef<string | number | undefined>;
|
12
13
|
breakpoint: Ref<BreakpointName, BreakpointName>;
|
14
|
+
gutter: import('vue').ComputedRef<number[]>;
|
15
|
+
div: Ref<any, any>;
|
16
|
+
spanMap: any;
|
13
17
|
cols: import('vue').ComputedRef<number>;
|
14
18
|
colGap: import('vue').ComputedRef<number>;
|
15
|
-
|
16
|
-
|
19
|
+
collapsed: Ref<any, any>;
|
20
|
+
collapsedRows: Ref<any, any>;
|
17
21
|
};
|
18
22
|
inject: () => {
|
19
23
|
collectSpan: (span: Ref<number>, suffix: Ref<boolean>) => {
|
@@ -3,10 +3,6 @@ import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { getBreakpointValue } from "../../_shared/utils/dom.js";
|
11
7
|
import { isArray } from "../../_shared/utils/is.js";
|
12
8
|
import "../../_shared/utils/locale.js";
|
@@ -40,7 +36,7 @@ function useGridContext() {
|
|
40
36
|
) : [getBreakpointValue(breakpoint.value, _gutter.value, 0), 0];
|
41
37
|
return result;
|
42
38
|
});
|
43
|
-
|
39
|
+
const context = {
|
44
40
|
breakpoint,
|
45
41
|
gutter,
|
46
42
|
div,
|
@@ -49,13 +45,11 @@ function useGridContext() {
|
|
49
45
|
colGap,
|
50
46
|
collapsed,
|
51
47
|
collapsedRows
|
52
|
-
}
|
48
|
+
};
|
49
|
+
provide(GRID_CONTEXT_KEY, context);
|
53
50
|
return {
|
54
|
-
|
55
|
-
|
56
|
-
colGap,
|
57
|
-
rowGap,
|
58
|
-
gutter
|
51
|
+
...context,
|
52
|
+
rowGap
|
59
53
|
};
|
60
54
|
};
|
61
55
|
const inject$1 = () => {
|
package/es/Image/Image.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, ref, watch, createElementBlock, open
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
11
7
|
import { useI18n } from "../_shared/utils/locale.js";
|
@@ -3,10 +3,6 @@ import { useEventListener, onKeyStroke } from "../node_modules/@vueuse/core/inde
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
12
8
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeClass, createV
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import { onKeyStroke } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, createElementBlock, createCommentVNode, openBlock, ren
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { toRefs, useSlots, computed, provide, ref, inject } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
package/es/Input/Input.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, ref, createElementBlock, openBlock, normaliz
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, ref, createBlock, openBlock, mergeProps, unref
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -4,10 +4,6 @@ import _sfc_main$3 from "../_shared/components/IconButton/index.vue.js";
|
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
7
|
import { sleep } from "../_shared/utils/dom.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
13
9
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { toRefs, computed, ref, nextTick } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { isNumber, isFunction, isUndefined } from "../../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, ref, computed, createBlock, openBloc
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { isString, isFunction, isNumber } from "../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
@@ -3,10 +3,6 @@ import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
package/es/InputTag/index.vue.js
CHANGED
@@ -4,10 +4,6 @@ import { nanoid } from "../node_modules/nanoid/index.browser.js";
|
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
7
|
import { valueToPx } from "../_shared/utils/dom.js";
|
12
8
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
13
9
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
package/es/Layout/Layout.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBl
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, ref, computed, createBlock, createElementBlock
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { toRefs, computed, provide, inject, ref } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
package/es/Link/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBl
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
package/es/List/List.vue.js
CHANGED
@@ -3,10 +3,6 @@ import { unrefElement } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
12
8
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
@@ -3,10 +3,6 @@ import { useVirtualList } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { useScroll } from "../../node_modules/@vueuse/core/index.js";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { debounce } from "../../_shared/utils/dom.js";
|
10
6
|
import "vue";
|
11
7
|
import "../../_shared/utils/locale.js";
|
package/es/Mention/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, ref, computed, onMounted, createBloc
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { isArray, isNull } from "../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
package/es/Menu/Menu.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, no
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { mediaQueryHandler } from "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
package/es/Menu/MenuItem.vue.js
CHANGED
@@ -3,10 +3,6 @@ import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import { isUndefined } from "../_shared/utils/is.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref,
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
package/es/Menu/SubMenu.vue.js
CHANGED
@@ -4,10 +4,6 @@ import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
|
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
7
|
import "../_shared/utils/dom.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
13
9
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import { useResizeObserver, unrefElement } from "../../node_modules/@vueuse/core
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { throttle } from "../../_shared/utils/dom.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
12
8
|
import "../../_shared/utils/time.js";
|
@@ -39,12 +39,27 @@ export declare function isMenuItemActive(menuTree: MenuTreeNode[], currentPath:
|
|
39
39
|
export declare const getPopupMaxHeight: (popupMaxHeight: PopupMaxHeight) => number | undefined;
|
40
40
|
export default function useMenuContext(): {
|
41
41
|
provide: (props: RecordType, emits: MenuEmits, menuRef: Ref<HTMLDivElement | undefined>) => {
|
42
|
-
theme: import('vue').ComputedRef<import('../../_shared/type').Theme>;
|
43
|
-
computedCollapsed: import('vue').WritableComputedRef<boolean, boolean>;
|
44
42
|
breakpoint: Ref<import('../../_shared/type').BreakpointName, import('../../_shared/type').BreakpointName>;
|
45
43
|
collapsedWidth: import('vue').ComputedRef<string>;
|
44
|
+
computedSelectedKeys: import('vue').WritableComputedRef<string, string>;
|
45
|
+
computedOpenKeys: import('vue').WritableComputedRef<string[], string[]>;
|
46
|
+
computedCollapsed: import('vue').WritableComputedRef<boolean, boolean>;
|
47
|
+
levelIndent: Ref<number, number>;
|
48
|
+
accordion: Ref<boolean, boolean>;
|
49
|
+
autoOpen: Ref<boolean, boolean>;
|
50
|
+
triggerProps: Ref<TriggerProps, TriggerProps>;
|
51
|
+
tooltipProps: Ref<TooltipProps, TooltipProps>;
|
52
|
+
mode: Ref<Direction, Direction>;
|
53
|
+
autoOpenSelected: Ref<boolean, boolean>;
|
54
|
+
popupMaxHeight: import('vue').ComputedRef<number | undefined>;
|
55
|
+
autoScrollIntoView: Ref<boolean, boolean>;
|
56
|
+
scrollConfig: Ref<ScrollIntoViewOptions, ScrollIntoViewOptions>;
|
57
|
+
theme: import('vue').ComputedRef<import('../../_shared/type').Theme>;
|
58
|
+
menuTreeNodes: import('vue').ComputedRef<MenuTreeNode[]>;
|
46
59
|
menuTree: import('vue').ComputedRef<MenuTreeNode[]>;
|
47
60
|
max: Ref<number, number>;
|
61
|
+
menuItemWidths: Ref<number[], number[]>;
|
62
|
+
emits: MenuEmits;
|
48
63
|
};
|
49
64
|
inject: () => MenuContext;
|
50
65
|
};
|
@@ -3,10 +3,6 @@ import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../../_shared/utils/dom.js";
|
11
7
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
|
12
8
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -193,7 +189,7 @@ function useMenuContext() {
|
|
193
189
|
menuTree,
|
194
190
|
mode
|
195
191
|
});
|
196
|
-
|
192
|
+
const context = {
|
197
193
|
computedSelectedKeys,
|
198
194
|
computedOpenKeys,
|
199
195
|
computedCollapsed,
|
@@ -213,14 +209,12 @@ function useMenuContext() {
|
|
213
209
|
max,
|
214
210
|
menuItemWidths,
|
215
211
|
emits
|
216
|
-
}
|
212
|
+
};
|
213
|
+
provide(MENU_CONTEXT_KEY, context);
|
217
214
|
return {
|
218
|
-
|
219
|
-
computedCollapsed,
|
215
|
+
...context,
|
220
216
|
breakpoint,
|
221
|
-
collapsedWidth: computed(() => valueToPx(collapsedWidth.value))
|
222
|
-
menuTree,
|
223
|
-
max
|
217
|
+
collapsedWidth: computed(() => valueToPx(collapsedWidth.value))
|
224
218
|
};
|
225
219
|
};
|
226
220
|
const inject$1 = () => {
|
@@ -3,10 +3,6 @@ import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import { isUndefined } from "../_shared/utils/is.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -28,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
24
|
__name: "Message",
|
29
25
|
props: {
|
30
26
|
type: { default: "info" },
|
31
|
-
content: { type: [String, Array, Function], default: "" },
|
27
|
+
content: { type: [String, Number, Array, Function], default: "" },
|
32
28
|
id: { default: "" },
|
33
29
|
icon: { type: Function, default: void 0 },
|
34
30
|
showIcon: { type: Boolean, default: true },
|
package/es/Message/index.js
CHANGED
@@ -2,10 +2,6 @@ import { reactive, render, h, nextTick } from "vue";
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { isString } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Telepor
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
7
|
import { useI18n } from "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, ref, onMounted, createBlock, openBlock, mergeProps, wi
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -25,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
21
|
width: { default: 520 },
|
26
22
|
top: { default: 100 },
|
27
23
|
mask: { type: Boolean, default: true },
|
28
|
-
title: { type: [String, Array, Function], default: "" },
|
24
|
+
title: { type: [String, Number, Array, Function], default: "" },
|
29
25
|
titleAlign: { default: "center" },
|
30
26
|
alignCenter: { type: Boolean, default: true },
|
31
27
|
unmountOnClose: { type: Boolean, default: false },
|
@@ -67,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
67
63
|
onBeforeOk: { type: Function, default: () => {
|
68
64
|
return true;
|
69
65
|
} },
|
70
|
-
content: { type: [String, Array, Function], default: "" },
|
66
|
+
content: { type: [String, Number, Array, Function], default: "" },
|
71
67
|
type: {},
|
72
68
|
onOk: {},
|
73
69
|
onCancel: {},
|
@@ -3,10 +3,6 @@ import { onKeyStroke } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../../_shared/utils/dom.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
12
8
|
import "../../_shared/utils/locale.js";
|
@@ -3,10 +3,6 @@ import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
12
8
|
import "../../_shared/utils/time.js";
|
@@ -1,10 +1,6 @@
|
|
1
1
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
2
2
|
import "../../node_modules/dayjs/dayjs.min.js";
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
8
4
|
import "../../_shared/utils/dom.js";
|
9
5
|
import "vue";
|
10
6
|
import { isBoolean } from "../../_shared/utils/is.js";
|
@@ -3,10 +3,6 @@ import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -42,8 +38,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
38
|
__name: "Notification",
|
43
39
|
props: {
|
44
40
|
type: { default: "info" },
|
45
|
-
content: { type: [String, Array, Function], default: "" },
|
46
|
-
title: { type: [String, Array, Function], default: "" },
|
41
|
+
content: { type: [String, Number, Array, Function], default: "" },
|
42
|
+
title: { type: [String, Number, Array, Function], default: "" },
|
47
43
|
icon: { type: Function, default: void 0 },
|
48
44
|
id: { default: "" },
|
49
45
|
style: { default: () => {
|
package/es/Notification/index.js
CHANGED
@@ -6,10 +6,6 @@ import _sfc_main$1 from "./NotificationList.vue.js";
|
|
6
6
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
7
7
|
import "../node_modules/dayjs/dayjs.min.js";
|
8
8
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
9
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
10
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
11
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
12
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
13
9
|
import "../_shared/utils/dom.js";
|
14
10
|
import { isString } from "../_shared/utils/is.js";
|
15
11
|
import "../_shared/utils/locale.js";
|