antdv-next 1.8.3 → 1.8.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.
Files changed (79) hide show
  1. package/dist/_util/hooks/index.d.ts +2 -1
  2. package/dist/_util/hooks/index.js +2 -1
  3. package/dist/_util/hooks/useScopeId.d.ts +7 -0
  4. package/dist/_util/hooks/useScopeId.js +15 -0
  5. package/dist/_util/scrollTo.js +1 -1
  6. package/dist/_util/statusUtils.js +1 -1
  7. package/dist/_util/vueNode.d.ts +2 -6
  8. package/dist/anchor/Anchor.js +4 -2
  9. package/dist/antd-with-locales.esm.js +8501 -8316
  10. package/dist/antd-with-locales.js +80 -80
  11. package/dist/antd.css +1 -1
  12. package/dist/antd.esm.js +11314 -11133
  13. package/dist/antd.js +80 -80
  14. package/dist/badge/SingleNumber.js +11 -2
  15. package/dist/calendar/generateCalendar.d.ts +5 -4
  16. package/dist/calendar/generateCalendar.js +3 -6
  17. package/dist/card/Card.d.ts +4 -1
  18. package/dist/card/Card.js +24 -18
  19. package/dist/card/index.d.ts +2 -2
  20. package/dist/cascader/index.d.ts +5 -2
  21. package/dist/cascader/index.js +10 -7
  22. package/dist/checkbox/Checkbox.js +2 -0
  23. package/dist/checkbox/Group.d.ts +2 -1
  24. package/dist/checkbox/Group.js +3 -7
  25. package/dist/components.d.ts +2 -2
  26. package/dist/date-picker/generatePicker/generateRangePicker.js +4 -5
  27. package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -6
  28. package/dist/float-button/FloatButtonGroup.js +3 -1
  29. package/dist/float-button/style/button.js +2 -2
  30. package/dist/form/FormItem/ItemHolder.js +1 -1
  31. package/dist/form/FormItem/index.js +4 -0
  32. package/dist/form/context.d.ts +1 -1
  33. package/dist/image/hooks/usePreviewConfig.d.ts +2 -2
  34. package/dist/index.d.ts +2 -2
  35. package/dist/input/Group.d.ts +3 -2
  36. package/dist/input/Group.js +23 -19
  37. package/dist/input/Input.d.ts +8 -1
  38. package/dist/input/Input.js +4 -0
  39. package/dist/input/OTP/OTPInput.js +4 -0
  40. package/dist/input/Password.js +4 -0
  41. package/dist/input/Search.js +4 -0
  42. package/dist/input/TextArea.d.ts +2 -0
  43. package/dist/input/TextArea.js +8 -0
  44. package/dist/input/index.d.ts +2 -2
  45. package/dist/listy/index.js +4 -3
  46. package/dist/locale/ko_KR.js +25 -23
  47. package/dist/locale/pt_BR.js +9 -7
  48. package/dist/mentions/index.js +8 -0
  49. package/dist/menu/menu.js +2 -0
  50. package/dist/package.js +1 -1
  51. package/dist/pagination/Pagination.js +3 -1
  52. package/dist/radio/group.d.ts +1 -0
  53. package/dist/radio/group.js +2 -5
  54. package/dist/radio/interface.d.ts +1 -1
  55. package/dist/select/index.js +2 -6
  56. package/dist/select/useIcons.d.ts +3 -1
  57. package/dist/select/useIcons.js +5 -2
  58. package/dist/splitter/Splitter.d.ts +2 -3
  59. package/dist/splitter/Splitter.js +18 -34
  60. package/dist/splitter/interface.d.ts +17 -8
  61. package/dist/table/util.d.ts +1 -1
  62. package/dist/tag/hooks/useColor.d.ts +1 -1
  63. package/dist/theme/themes/dark/colors.d.ts +2 -1
  64. package/dist/theme/themes/dark/colors.js +19 -3
  65. package/dist/theme/themes/dark/index.js +2 -3
  66. package/dist/tour/style/index.js +6 -6
  67. package/dist/transfer/ListItem.js +1 -0
  68. package/dist/transfer/Section.js +1 -0
  69. package/dist/tree/DirectoryTree.js +7 -3
  70. package/dist/typography/Base/EllipsisTooltip.js +5 -1
  71. package/dist/typography/Base/index.js +8 -7
  72. package/dist/upload/Dragger.js +0 -8
  73. package/dist/upload/Upload.d.ts +2 -0
  74. package/dist/upload/Upload.js +9 -12
  75. package/dist/upload/UploadList/index.js +6 -1
  76. package/dist/upload/interface.d.ts +4 -2
  77. package/package.json +19 -19
  78. package/web-tags.json +7 -3
  79. package/web-types.json +33 -14
package/dist/index.d.ts CHANGED
@@ -64,7 +64,7 @@ import { CalendarMode, CalendarProps, CalendarRef } from "./calendar/generateCal
64
64
  import _default$4 from "./calendar/index.js";
65
65
  import TabPane, { TabPaneProps } from "./tabs/TabPane.js";
66
66
  import Tabs, { TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
67
- import { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
67
+ import { CardEmits, CardProps, CardRef, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
68
68
  import CardMeta, { CardMetaProps, CardMetaRef } from "./card/CardMeta.js";
69
69
  import CascaderPanel, { CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots } from "./cascader/Panel.js";
70
70
  import Cascader, { CascaderEmits, CascaderProps, CascaderSlots } from "./cascader/index.js";
@@ -177,4 +177,4 @@ declare function setPrefix(newPrefix: string): void;
177
177
  declare function install(app: App): void;
178
178
  declare const _default$18: Plugin;
179
179
  //#endregion
180
- export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, type BadgeRef, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamItem, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, type Breakpoint, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, Form, type FormConstructor, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type FormValues, type GlobalToken, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, type MappingAlgorithm, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, type MenuTheme, type ArgsProps as MessageArgsProps, _default$11 as Modal, type ModalEmits, type ModalFuncProps, type ModalLocale, type ModalProps, type ModalSlots, type MonthPickerProps, type ArgsProps$1 as NotificationArgsProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, type SiderProps, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, StyleProvider, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, type ThemeConfig, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkContent, type WatermarkEmits, type WatermarkFont, type WatermarkProps, type WatermarkRef, type WatermarkSlots, type WatermarkText, type WeekPickerProps, _default$18 as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, _default$19 as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, useTree, _version2 as version };
180
+ export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, type BadgeRef, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamItem, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, type Breakpoint, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardRef, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, Form, type FormConstructor, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type FormValues, type GlobalToken, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, type MappingAlgorithm, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, type MenuTheme, type ArgsProps as MessageArgsProps, _default$11 as Modal, type ModalEmits, type ModalFuncProps, type ModalLocale, type ModalProps, type ModalSlots, type MonthPickerProps, type ArgsProps$1 as NotificationArgsProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, type SiderProps, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, StyleProvider, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, type ThemeConfig, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkContent, type WatermarkEmits, type WatermarkFont, type WatermarkProps, type WatermarkRef, type WatermarkSlots, type WatermarkText, type WeekPickerProps, _default$18 as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, _default$19 as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, useTree, _version2 as version };
@@ -1,11 +1,12 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
- import { SizeType } from "../config-provider/SizeContext.js";
3
2
  import { ComponentBaseProps } from "../config-provider/context.js";
4
3
  import { SlotsType } from "vue";
5
4
  //#region src/input/Group.d.ts
6
5
  interface InputGroupProps extends ComponentBaseProps {
7
- size?: SizeType;
6
+ size?: 'large' | 'small' | 'default';
7
+ compact?: boolean;
8
8
  }
9
+ /** @deprecated Please use `Space.Compact` */
9
10
  declare const InputGroup: import("vue").DefineSetupFnComponent<InputGroupProps, EmptyEmit, SlotsType<{
10
11
  default?: () => any;
11
12
  }>, InputGroupProps, import("vue").PublicProps>;
@@ -2,41 +2,45 @@ import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
2
2
  import { useComponentBaseConfig } from "../config-provider/context.js";
3
3
  import { devUseWarning, isDev } from "../_util/warning.js";
4
4
  import { useFormItemInputContext, useFormItemInputContextProvider } from "../form/context.js";
5
- import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
6
- import style_default, { useSharedStyle } from "./style/index.js";
5
+ import style_default from "./style/index.js";
7
6
  import { SpaceCompact } from "../space/index.js";
8
7
  import { computed, createVNode, defineComponent, mergeProps } from "vue";
9
8
  import { clsx } from "@v-c/util";
10
9
  //#region src/input/Group.tsx
10
+ /** @deprecated Please use `Space.Compact` */
11
11
  const InputGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
12
12
  if (isDev) devUseWarning("Input.Group").deprecated(false, "Input.Group", "Space.Compact");
13
- const { getPrefixCls, direction } = useComponentBaseConfig("input", props);
14
- const prefixCls = computed(() => getPrefixCls("input-group", props.prefixCls));
15
- const rootCls = useCSSVarCls(prefixCls);
16
- const [hashId, cssVarCls] = useSharedStyle(prefixCls, computed(() => props.rootClass));
17
- style_default(prefixCls, rootCls);
13
+ const { prefixCls, direction, getPrefixCls } = useComponentBaseConfig("input", props, [], "input-group");
14
+ const [hashId, cssVarCls] = style_default(computed(() => getPrefixCls("input")));
18
15
  const formItemContext = useFormItemInputContext();
19
16
  useFormItemInputContextProvider(computed(() => ({
20
17
  ...formItemContext.value,
21
18
  isFormItemInput: false
22
19
  })));
23
- const { style, restAttrs } = getAttrStyleAndClass(attrs);
24
- return createVNode(SpaceCompact, mergeProps(restAttrs, {
25
- "class": clsx(prefixCls.value, cssVarCls.value, hashId.value, {
26
- [`${prefixCls.value}-rtl`]: direction.value === "rtl",
27
- [`${prefixCls.value}-lg`]: props.size === "large",
28
- [`${prefixCls.value}-sm`]: props.size === "small",
29
- [`${prefixCls.value}-compact`]: true
30
- }, props.rootClass, attrs.class),
31
- "style": style,
32
- "size": props.size
33
- }), { default: () => [slots.default?.()] });
20
+ return () => {
21
+ const { size, compact, rootClass } = props;
22
+ const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
23
+ return createVNode(SpaceCompact, mergeProps(restAttrs, {
24
+ "class": clsx(prefixCls.value, cssVarCls.value, {
25
+ [`${prefixCls.value}-lg`]: size === "large",
26
+ [`${prefixCls.value}-sm`]: size === "small",
27
+ [`${prefixCls.value}-compact`]: compact,
28
+ [`${prefixCls.value}-rtl`]: direction.value === "rtl"
29
+ }, hashId.value, rootClass, className),
30
+ "style": style
31
+ }), { default: () => [slots.default?.()] });
32
+ };
34
33
  }, {
35
34
  props: {
36
35
  size: {
37
- type: [String, null],
36
+ type: String,
38
37
  required: false
39
38
  },
39
+ compact: {
40
+ type: Boolean,
41
+ required: false,
42
+ default: void 0
43
+ },
40
44
  rootClass: {
41
45
  type: String,
42
46
  required: false
@@ -28,6 +28,12 @@ interface InputSemanticStyles {
28
28
  type InputClassNamesType = SemanticClassNamesType<InputProps, InputSemanticClassNames>;
29
29
  type InputStylesType = SemanticStylesType<InputProps, InputSemanticStyles>;
30
30
  type InputRef = InputRef$1;
31
+ interface InputValueModifiers {
32
+ trim?: boolean;
33
+ number?: boolean;
34
+ lazy?: boolean;
35
+ [key: string]: boolean | undefined;
36
+ }
31
37
  interface BaseVcInputProps {
32
38
  value?: any;
33
39
  defaultValue?: any;
@@ -47,6 +53,7 @@ interface BaseVcInputProps {
47
53
  suffix?: VueNode;
48
54
  allowClear?: AllowClear;
49
55
  changeOnComposing?: InputProps$1['changeOnComposing'];
56
+ valueModifiers?: InputValueModifiers;
50
57
  autoFocus?: boolean;
51
58
  inputMode?: string;
52
59
  }
@@ -98,4 +105,4 @@ interface InputSlots {
98
105
  }
99
106
  declare const InternalInput: import("vue").DefineSetupFnComponent<InputProps, InputEmits, SlotsType<InputSlots>, InputProps, import("vue").PublicProps>;
100
107
  //#endregion
101
- export { InputClassNamesType, InputEmits, InputEmitsProps, InputProps, InputRef, InputSemanticClassNames, InputSemanticName, InputSemanticStyles, InputSlots, InputStylesType, InternalInput as default };
108
+ export { InputClassNamesType, InputEmits, InputEmitsProps, InputProps, InputRef, InputSemanticClassNames, InputSemanticName, InputSemanticStyles, InputSlots, InputStylesType, InputValueModifiers, InternalInput as default };
@@ -360,6 +360,10 @@ const InternalInput = /* @__PURE__ */ defineComponent((props, { slots, expose, e
360
360
  required: false,
361
361
  default: void 0
362
362
  },
363
+ valueModifiers: {
364
+ type: Object,
365
+ required: false
366
+ },
363
367
  autoFocus: {
364
368
  type: Boolean,
365
369
  required: false,
@@ -239,6 +239,10 @@ const OTPInput = /* @__PURE__ */ defineComponent((props, { attrs, expose, slots
239
239
  required: false,
240
240
  default: void 0
241
241
  },
242
+ valueModifiers: {
243
+ type: Object,
244
+ required: false
245
+ },
242
246
  autoFocus: {
243
247
  type: Boolean,
244
248
  required: false,
@@ -283,6 +283,10 @@ const InternalPassword = /* @__PURE__ */ defineComponent((props, { slots, attrs,
283
283
  required: false,
284
284
  default: void 0
285
285
  },
286
+ valueModifiers: {
287
+ type: Object,
288
+ required: false
289
+ },
286
290
  autoFocus: {
287
291
  type: Boolean,
288
292
  required: false,
@@ -343,6 +343,10 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
343
343
  required: false,
344
344
  default: void 0
345
345
  },
346
+ valueModifiers: {
347
+ type: Object,
348
+ required: false
349
+ },
346
350
  autoFocus: {
347
351
  type: Boolean,
348
352
  required: false,
@@ -3,6 +3,7 @@ import "../_util/hooks/index.js";
3
3
  import { SizeType } from "../config-provider/SizeContext.js";
4
4
  import { InputStatus } from "../_util/statusUtils.js";
5
5
  import { AllowClear } from "../_util/hooks/useAllowClear.js";
6
+ import { InputValueModifiers } from "./Input.js";
6
7
  import { ComponentBaseProps, Variant } from "../config-provider/context.js";
7
8
  import { CSSProperties, SlotsType } from "vue";
8
9
  import { InputProps } from "@v-c/input";
@@ -38,6 +39,7 @@ interface TextAreaProps extends ComponentBaseProps, Omit<TextAreaProps$1, 'class
38
39
  maxlength?: number;
39
40
  minlength?: number;
40
41
  readonly?: boolean;
42
+ valueModifiers?: InputValueModifiers;
41
43
  showCount?: InputProps['showCount'];
42
44
  allowClear?: AllowClear;
43
45
  }
@@ -202,6 +202,10 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
202
202
  required: false,
203
203
  default: void 0
204
204
  },
205
+ valueModifiers: {
206
+ type: Object,
207
+ required: false
208
+ },
205
209
  showCount: {
206
210
  type: [Boolean, Object],
207
211
  required: false,
@@ -253,6 +257,10 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
253
257
  type: Function,
254
258
  required: false
255
259
  },
260
+ onInput: {
261
+ type: Function,
262
+ required: false
263
+ },
256
264
  hidden: {
257
265
  type: Boolean,
258
266
  required: false,
@@ -1,5 +1,5 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
- import InternalInput, { InputEmits, InputProps, InputRef, InputSlots } from "./Input.js";
2
+ import InternalInput, { InputEmits, InputProps, InputRef, InputSlots, InputValueModifiers } from "./Input.js";
3
3
  import OTP, { OTPEmits, OTPProps, OTPSlots } from "./OTP/index.js";
4
4
  import InternalPassword, { InputPasswordRef, PasswordEmits, PasswordProps, PasswordSlots } from "./Password.js";
5
5
  import InternalSearch, { InputSearchRef, SearchEmits, SearchProps, SearchSlots } from "./Search.js";
@@ -23,4 +23,4 @@ declare const InputOTP: import("vue").DefineSetupFnComponent<OTPProps, OTPEmits,
23
23
  declare const InputPassword: import("vue").DefineSetupFnComponent<PasswordProps, PasswordEmits, import("vue").SlotsType<PasswordSlots>, PasswordProps, import("vue").PublicProps>;
24
24
  declare const InputSearch: import("vue").DefineSetupFnComponent<SearchProps, SearchEmits, import("vue").SlotsType<SearchSlots>, SearchProps, import("vue").PublicProps>;
25
25
  //#endregion
26
- export { type InputEmits, InputGroup, type InputGroupProps, InputOTP, InputPassword, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type InputSearchRef, type InputSlots, type InputTextAreaRef, type OTPEmits, type OTPProps, type OTPSlots, type PasswordProps, type SearchProps, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, CompoundedInput as default };
26
+ export { type InputEmits, InputGroup, type InputGroupProps, InputOTP, InputPassword, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type InputSearchRef, type InputSlots, type InputTextAreaRef, type InputValueModifiers, type OTPEmits, type OTPProps, type OTPSlots, type PasswordProps, type SearchProps, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, CompoundedInput as default };
@@ -9,20 +9,21 @@ import VcListy from "@v-c/listy";
9
9
  //#region src/listy/index.tsx
10
10
  const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots, emit }) => {
11
11
  const listyRef = shallowRef();
12
- const { style, className, restAttrs } = getAttrStyleAndClass(useAttrs());
12
+ const attrs = useAttrs();
13
13
  const { getPrefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, virtual: contextVirtual } = useComponentBaseConfig("listy");
14
14
  const prefixCls = computed(() => getPrefixCls("listy", props.prefixCls));
15
15
  const rootCls = useCSSVarCls(prefixCls);
16
16
  const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
17
17
  const [, token] = useToken();
18
18
  const contextStyleRoot = useSemanticRootStyle(contextStyle);
19
- const styleRoot = useSemanticRootStyle(computed(() => style));
19
+ const styleRoot = useSemanticRootStyle(computed(() => getAttrStyleAndClass(attrs, void 0, props).style));
20
20
  const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, computed(() => props.classes)), useToArr(contextStyles, contextStyleRoot, computed(() => props.styles), styleRoot), useToProps(computed(() => props)));
21
21
  expose({ scrollTo: (config) => {
22
22
  listyRef.value?.scrollTo(config);
23
23
  } });
24
24
  return () => {
25
- const { classes, styles, rootClass, virtual, rowHoverable = true, itemRender = slots.itemRender, ...restProps } = props;
25
+ const { classes, styles, rootClass, virtual, rowHoverable = true, itemRender = slots.itemRender, class: _class, style: _style, ...restProps } = props;
26
+ const { className, restAttrs } = getAttrStyleAndClass(attrs, void 0, props);
26
27
  const rootClassNames = clsx(contextClassName.value, mergedClassNames.value.root, rootClass, className, { [`${prefixCls.value}-hoverable`]: rowHoverable }, hashId.value, cssVarCls.value, rootCls.value);
27
28
  const listyToken = {
28
29
  ...token.value,
@@ -3,7 +3,7 @@ import locale$1 from "../date-picker/locale/ko_KR.js";
3
3
  import ko_KR_default from "../calendar/locale/ko_KR.js";
4
4
  import Pagination from "@v-c/pagination/locale/ko_KR";
5
5
  //#region src/locale/ko_KR.ts
6
- const typeTemplate = "${label} 유효하지 않은 ${type}";
6
+ const typeTemplate = "${label}은(는) 유효한 ${type}이(가) 아닙니다";
7
7
  const localeValues = {
8
8
  locale: "ko",
9
9
  Pagination,
@@ -15,7 +15,8 @@ const localeValues = {
15
15
  close: "닫기",
16
16
  sortable: "정렬 가능",
17
17
  show: "표시",
18
- hide: "숨기기"
18
+ hide: "숨기기",
19
+ clear: "지우기"
19
20
  },
20
21
  Table: {
21
22
  filterTitle: "필터 메뉴",
@@ -95,14 +96,14 @@ const localeValues = {
95
96
  Form: {
96
97
  optional: "(선택사항)",
97
98
  defaultValidateMessages: {
98
- default: "필드 유효성 검사 오류 ${label}",
99
- required: "${label} 값을 입력해 주세요",
100
- enum: "${label} [${enum}] 중에 하나여야 합니다",
101
- whitespace: "${label} 비워둘 수 없습니다",
99
+ default: "${label} 필드의 유효성 검사 오류입니다",
100
+ required: "${label}을(를) 입력해 주세요",
101
+ enum: "${label}은(는) [${enum}] 중 하나여야 합니다",
102
+ whitespace: "${label}은(는) 공백일 수 없습니다",
102
103
  date: {
103
- format: "${label} 유효하지 않은 날짜 형식입니다",
104
- parse: "${label} 날짜 형식으로 변환될 수 없습니다",
105
- invalid: "${label} 유효하지 않은 날짜입니다"
104
+ format: "${label}의 날짜 형식이 올바르지 않습니다",
105
+ parse: "${label}을(를) 날짜로 변환할 수 없습니다",
106
+ invalid: "${label}은(는) 유효하지 않은 날짜입니다"
106
107
  },
107
108
  types: {
108
109
  string: typeTemplate,
@@ -120,24 +121,24 @@ const localeValues = {
120
121
  hex: typeTemplate
121
122
  },
122
123
  string: {
123
- len: "${label} ${len}글자여야 합니다",
124
- min: "${label} 적어도 ${min}글자 이상이어야 합니다",
125
- max: "${label} ${max}글자 이하여야 합니다",
126
- range: "${label} ${min}-${max}글자 사이어야 합니다"
124
+ len: "${label}은(는) ${len}자여야 합니다",
125
+ min: "${label}은(는) ${min}자 이상이어야 합니다",
126
+ max: "${label}은(는) ${max}자 이하여야 합니다",
127
+ range: "${label}은(는) ${min}~${max}자 사이여야 합니다"
127
128
  },
128
129
  number: {
129
- len: "${label} 값은 ${len}이어야 합니다",
130
- min: "${label} 최솟값은 ${min}입니다",
131
- max: "${label} 최댓값은 ${max}입니다",
132
- range: "${label} 값은 ${min}-${max} 사이어야 합니다"
130
+ len: "${label}은(는) ${len}과(와) 같아야 합니다",
131
+ min: "${label}은(는) ${min} 이상이어야 합니다",
132
+ max: "${label}은(는) ${max} 이하여야 합니다",
133
+ range: "${label}은(는) ${min}~${max} 사이여야 합니다"
133
134
  },
134
135
  array: {
135
- len: "${len}이어야 합니다 ${label}",
136
- min: "최소 ${min}이어야 합니다 ${label}",
137
- max: "최대 ${max}이어야 합니다 ${label}",
138
- range: "${label} ${min}-${max} 사이어야 합니다"
136
+ len: "${label}은(는) ${len}개여야 합니다",
137
+ min: "${label}은(는) 최소 ${min}개여야 합니다",
138
+ max: "${label}은(는) 최대 ${max}개여야 합니다",
139
+ range: "${label}의 개수는 ${min}~${max}개 사이여야 합니다"
139
140
  },
140
- pattern: { mismatch: "${label} ${pattern} 패턴과 일치하지 않습니다" }
141
+ pattern: { mismatch: "${label}이(가) ${pattern} 패턴과 일치하지 않습니다" }
141
142
  }
142
143
  },
143
144
  QRCode: {
@@ -150,7 +151,8 @@ const localeValues = {
150
151
  transparent: "투명",
151
152
  singleColor: "단색",
152
153
  gradientColor: "그라데이션"
153
- }
154
+ },
155
+ Input: { otpCell: "${total}자 중 ${index}번째 문자" }
154
156
  };
155
157
  //#endregion
156
158
  export { localeValues as default };
@@ -15,7 +15,8 @@ const localeValues = {
15
15
  close: "Fechar",
16
16
  sortable: "classificável",
17
17
  show: "Mostrar",
18
- hide: "Ocultar"
18
+ hide: "Ocultar",
19
+ clear: "Limpar"
19
20
  },
20
21
  Table: {
21
22
  filterTitle: "Menu de Filtro",
@@ -63,7 +64,7 @@ const localeValues = {
63
64
  titles: ["", ""],
64
65
  searchPlaceholder: "Procurar",
65
66
  itemUnit: "item",
66
- itemsUnit: "items",
67
+ itemsUnit: "itens",
67
68
  remove: "Remover",
68
69
  selectCurrent: "Selecionar página atual",
69
70
  removeCurrent: "Remover página atual",
@@ -97,10 +98,10 @@ const localeValues = {
97
98
  defaultValidateMessages: {
98
99
  default: "Erro ${label} na validação de campo",
99
100
  required: "Por favor, insira ${label}",
100
- enum: "${label} deve ser um dos seguinte: [${enum}]",
101
- whitespace: "${label} não pode ser um carácter vazio",
101
+ enum: "${label} deve ser um dos seguintes: [${enum}]",
102
+ whitespace: "${label} não pode ser um caractere vazio",
102
103
  date: {
103
- format: " O formato de data ${label} é inválido",
104
+ format: "O formato de data ${label} é inválido",
104
105
  parse: "${label} não pode ser convertido para uma data",
105
106
  invalid: "${label} é uma data inválida"
106
107
  },
@@ -126,7 +127,7 @@ const localeValues = {
126
127
  range: "${label} deve possuir entre ${min} e ${max} caracteres"
127
128
  },
128
129
  number: {
129
- len: "${label} deve ser igual à ${len}",
130
+ len: "${label} deve ser igual a ${len}",
130
131
  min: "O valor mínimo de ${label} é ${min}",
131
132
  max: "O valor máximo de ${label} é ${max}",
132
133
  range: "${label} deve estar entre ${min} e ${max}"
@@ -150,7 +151,8 @@ const localeValues = {
150
151
  transparent: "Transparente",
151
152
  singleColor: "Único",
152
153
  gradientColor: "Gradiente"
153
- }
154
+ },
155
+ Input: { otpCell: "Caractere ${index} de ${total}" }
154
156
  };
155
157
  //#endregion
156
158
  export { localeValues as default };
@@ -350,6 +350,10 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
350
350
  type: Function,
351
351
  required: false
352
352
  },
353
+ onInput: {
354
+ type: Function,
355
+ required: false
356
+ },
353
357
  maxLength: {
354
358
  type: Number,
355
359
  required: false
@@ -376,6 +380,10 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
376
380
  type: Function,
377
381
  required: false
378
382
  },
383
+ valueModifiers: {
384
+ type: Object,
385
+ required: false
386
+ },
379
387
  changeOnComposing: {
380
388
  type: Boolean,
381
389
  required: false,
package/dist/menu/menu.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
2
+ import { useScopeIdOnElement } from "../_util/hooks/useScopeId.js";
2
3
  import { useComponentBaseConfig } from "../config-provider/context.js";
3
4
  import { devUseWarning, isDev } from "../_util/warning.js";
4
5
  import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
@@ -99,6 +100,7 @@ const InternalMenu = /* @__PURE__ */ defineComponent((props, { slots, emit, attr
99
100
  styles: mergedStyles.value
100
101
  }));
101
102
  const menuRef = shallowRef();
103
+ useScopeIdOnElement(() => menuRef.value?.list);
102
104
  expose({ menu: menuRef });
103
105
  function getMergedExpandIcon() {
104
106
  const expandIcon = slots?.expandIcon ?? props?.expandIcon;
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "1.8.3";
2
+ var version = "1.8.4";
3
3
  //#endregion
4
4
  export { version };
@@ -1,4 +1,5 @@
1
1
  import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
2
+ import { useScopeIdAttrs } from "../_util/hooks/useScopeId.js";
2
3
  import { useComponentBaseConfig } from "../config-provider/context.js";
3
4
  import useToken from "../theme/useToken.js";
4
5
  import { devUseWarning, isDev } from "../_util/warning.js";
@@ -30,6 +31,7 @@ const omitKeys = [
30
31
  "components"
31
32
  ];
32
33
  const Pagination = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) => {
34
+ const scopeIdAttrs = useScopeIdAttrs();
33
35
  const { getPrefixCls, prefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, showSizeChanger: contextShowSizeChangerConfig } = useComponentBaseConfig("pagination", props, ["showSizeChanger"]);
34
36
  const { size, responsive, classes, styles, showSizeChanger } = toPropsRefs(props, "size", "responsive", "classes", "styles", "showSizeChanger");
35
37
  const [hashId, cssVarCls] = style_default(prefixCls, prefixCls);
@@ -152,7 +154,7 @@ const Pagination = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
152
154
  ...style
153
155
  };
154
156
  const restProps = omit$1(props, omitKeys);
155
- return createVNode(Fragment, null, [token.value.wireframe && createVNode(bordered_default, { "prefixCls": prefixCls.value }, null), createVNode(VcPagination, mergeProps(restProps, restAttrs, {
157
+ return createVNode(Fragment, null, [token.value.wireframe && createVNode(bordered_default, { "prefixCls": prefixCls.value }, null), createVNode(VcPagination, mergeProps(scopeIdAttrs, restProps, restAttrs, {
156
158
  "prefixCls": prefixCls.value,
157
159
  "selectPrefixCls": selectPrefixCls.value,
158
160
  "class": extendedClassName,
@@ -4,6 +4,7 @@ import { SlotsType } from "vue";
4
4
  interface InternalRadioGroupProps extends RadioGroupProps, RadioGroupEmitsProps {}
5
5
  interface RadioGroupEmitsProps {
6
6
  onChange?: RadioGroupEmits['change'];
7
+ 'onUpdate:value'?: RadioGroupEmits['update:value'];
7
8
  onMouseenter?: RadioGroupEmits['mouseenter'];
8
9
  onMouseleave?: RadioGroupEmits['mouseleave'];
9
10
  onFocus?: RadioGroupEmits['focus'];
@@ -30,7 +30,7 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
30
30
  const onRadioChange = (e) => {
31
31
  const lastValue = value.value;
32
32
  const val = e.target.value;
33
- props?.["onUpdate:value"]?.(val);
33
+ emit("update:value", val);
34
34
  if (val !== lastValue) emit("change", e);
35
35
  if (props.value === void 0) value.value = val;
36
36
  };
@@ -199,10 +199,6 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
199
199
  type: [Object, Function],
200
200
  required: false
201
201
  },
202
- "onUpdate:value": {
203
- type: Function,
204
- required: false
205
- },
206
202
  options: {
207
203
  type: Array,
208
204
  required: false
@@ -221,6 +217,7 @@ const RadioGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
221
217
  }),
222
218
  emits: [
223
219
  "change",
220
+ "update:value",
224
221
  "mouseenter",
225
222
  "mouseleave",
226
223
  "focus",
@@ -40,10 +40,10 @@ interface RadioGroupProps extends AbstractCheckboxGroupProps {
40
40
  }) => any;
41
41
  classes?: RadioGroupClassNamesType;
42
42
  styles?: RadioGroupStylesType;
43
- 'onUpdate:value'?: (value: any) => void;
44
43
  }
45
44
  interface RadioGroupEmits {
46
45
  'change': (e: RadioChangeEvent) => void;
46
+ 'update:value': (value: any) => void;
47
47
  'mouseenter': (e: MouseEvent) => void;
48
48
  'mouseleave': (e: MouseEvent) => void;
49
49
  'focus': (e: FocusEvent) => void;
@@ -21,7 +21,7 @@ import style_default from "./style/index.js";
21
21
  import useIcons, { getCustomSuffix } from "./useIcons.js";
22
22
  import usePopupRender from "./usePopupRender.js";
23
23
  import useShowArrow from "./useShowArrow.js";
24
- import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
24
+ import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef } from "vue";
25
25
  import { clsx } from "@v-c/util";
26
26
  import { getTransitionName } from "@v-c/util/dist/utils/transition";
27
27
  import VcSelect, { OptGroup, Option } from "@v-c/select";
@@ -65,10 +65,6 @@ const Select = /* @__PURE__ */ defineComponent((props, { slots, emit, expose, at
65
65
  const configCtx = useConfig();
66
66
  const { listItemHeight: customListItemHeight, direction: propDirection, variant: customizeVariant, bordered, size: customizeSize, classes, styles } = toPropsRefs(props, "listItemHeight", "direction", "variant", "bordered", "size", "classes", "styles");
67
67
  const [, token] = useToken();
68
- const value = shallowRef(props.value ?? props?.defaultValue);
69
- watch(() => props.value, () => {
70
- value.value = props.value;
71
- });
72
68
  const listItemHeight = computed(() => customListItemHeight.value ?? token?.value?.controlHeight);
73
69
  const rootPrefixCls = computed(() => getPrefixCls());
74
70
  const direction = computed(() => propDirection.value ?? contextDirection.value);
@@ -277,7 +273,7 @@ const Select = /* @__PURE__ */ defineComponent((props, { slots, emit, expose, at
277
273
  "placement": memoPlacement.value,
278
274
  "direction": direction.value,
279
275
  "prefix": prefix,
280
- "value": value.value,
276
+ "value": props.value,
281
277
  "suffix": mergedSuffix,
282
278
  "menuItemSelectedIcon": itemIcon,
283
279
  "removeIcon": removeIcon,
@@ -16,7 +16,7 @@ interface SelectSuffixRenderInfo {
16
16
  declare function getCustomSuffix(slots: Record<string, any>, props: {
17
17
  suffix?: any;
18
18
  }): any;
19
- declare function useIcons({ suffix, contextSuffix, clearIcon, menuItemSelectedIcon, removeIcon, loading, loadingIcon, multiple, hasFeedback, showSuffix, feedbackIcon, showArrow, componentName }: {
19
+ declare function useIcons({ suffix, contextSuffix, clearIcon, menuItemSelectedIcon, removeIcon, loading, loadingIcon, searchIcon, contextSearchIcon, multiple, hasFeedback, showSuffix, feedbackIcon, showArrow, componentName }: {
20
20
  suffix?: RenderNode;
21
21
  contextSuffix?: RenderNode;
22
22
  clearIcon?: RenderNode;
@@ -24,6 +24,8 @@ declare function useIcons({ suffix, contextSuffix, clearIcon, menuItemSelectedIc
24
24
  removeIcon?: RenderNode;
25
25
  loading?: boolean;
26
26
  loadingIcon?: any;
27
+ searchIcon?: RenderNode;
28
+ contextSearchIcon?: RenderNode;
27
29
  multiple?: boolean;
28
30
  hasFeedback?: boolean;
29
31
  feedbackIcon?: VueNode;
@@ -20,7 +20,7 @@ function getCustomSuffix(slots, props) {
20
20
  };
21
21
  return props.suffix;
22
22
  }
23
- function useIcons({ suffix, contextSuffix, clearIcon, menuItemSelectedIcon, removeIcon, loading, loadingIcon, multiple, hasFeedback, showSuffix, feedbackIcon, showArrow, componentName }) {
23
+ function useIcons({ suffix, contextSuffix, clearIcon, menuItemSelectedIcon, removeIcon, loading, loadingIcon, searchIcon, contextSearchIcon, multiple, hasFeedback, showSuffix, feedbackIcon, showArrow, componentName }) {
24
24
  if (isDev) devUseWarning(componentName).deprecated(!clearIcon, "clearIcon", "allowClear={{ clearIcon: VueNode }}");
25
25
  const mergedClearIcon = clearIcon ?? createVNode(CloseCircleFilled, null, null);
26
26
  const getSuffixNode = (suffixNode) => {
@@ -35,7 +35,10 @@ function useIcons({ suffix, contextSuffix, clearIcon, menuItemSelectedIcon, remo
35
35
  }, null));
36
36
  else mergedSuffix = (props) => {
37
37
  const { open, showSearch } = props;
38
- if (open && showSearch) return getSuffixNode(createVNode(SearchOutlined, { "aria-hidden": "true" }, null));
38
+ if (open && showSearch) {
39
+ const mergedSearchIcon = fallbackProp(searchIcon, contextSearchIcon, createVNode(SearchOutlined, { "aria-hidden": "true" }, null));
40
+ return getSuffixNode(isFunction(mergedSearchIcon) ? mergedSearchIcon() : mergedSearchIcon);
41
+ }
39
42
  const fallbackSuffix = fallbackProp(contextSuffix, createVNode(DownOutlined, { "aria-hidden": "true" }, null));
40
43
  return getSuffixNode(isFunction(fallbackSuffix) ? fallbackSuffix(props) : fallbackSuffix);
41
44
  };