@rhino-design/vue 0.2.1 → 0.2.2

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 (158) hide show
  1. package/README.md +3 -5
  2. package/dist/components/XAffix.vue.d.ts +1 -1
  3. package/dist/components/XAnchor.vue.d.ts +2 -2
  4. package/dist/components/XAutoComplete.vue.d.ts +649 -15
  5. package/dist/components/XAvatar.vue.d.ts +2 -2
  6. package/dist/components/XBackTop.vue.d.ts +23 -7
  7. package/dist/components/XBadge.vue.d.ts +3 -3
  8. package/dist/components/XBaseMenu.vue.d.ts +5 -5
  9. package/dist/components/XBreadcrumb.vue.d.ts +24 -4
  10. package/dist/components/XBreadcrumbItem.vue.d.ts +14 -2
  11. package/dist/components/XButton.vue.d.ts +4 -4
  12. package/dist/components/XButtonG.vue.d.ts +2 -2
  13. package/dist/components/XButtonGroup.vue.d.ts +1 -1
  14. package/dist/components/XCalendar.vue.d.ts +5 -2
  15. package/dist/components/XCard.vue.d.ts +1 -1
  16. package/dist/components/XCarousel.vue.d.ts +2 -2
  17. package/dist/components/XCascader.vue.d.ts +19 -19
  18. package/dist/components/XCascaderPanel.vue.d.ts +6 -6
  19. package/dist/components/XChatInput.vue.d.ts +5 -5
  20. package/dist/components/XCheckbox.vue.d.ts +14 -8
  21. package/dist/components/XCheckboxGroup.vue.d.ts +36 -13
  22. package/dist/components/XCollapse.vue.d.ts +14 -7
  23. package/dist/components/XCollapseItem.vue.d.ts +16 -4
  24. package/dist/components/XColorGroup.vue.d.ts +1 -1
  25. package/dist/components/XConfigProvider.vue.d.ts +17 -4
  26. package/dist/components/XCountdown.vue.d.ts +2 -2
  27. package/dist/components/XCropper.vue.d.ts +2 -2
  28. package/dist/components/XDatePicker.vue.d.ts +17 -17
  29. package/dist/components/XDescriptions.vue.d.ts +4 -4
  30. package/dist/components/XDescriptionsItem.vue.d.ts +2 -1
  31. package/dist/components/{XScrollbar.vue.d.ts → XDgroup.vue.d.ts} +4 -4
  32. package/dist/components/XDoption.vue.d.ts +38 -0
  33. package/dist/components/XDrawer.vue.d.ts +7 -7
  34. package/dist/components/XDropdown.vue.d.ts +38 -13
  35. package/dist/components/XDropdownButton.vue.d.ts +65 -0
  36. package/dist/components/XDropdownItem.vue.d.ts +29 -0
  37. package/dist/components/XDropdownPanel.vue.d.ts +33 -0
  38. package/dist/components/XDsubmenu.vue.d.ts +48 -0
  39. package/dist/components/XEmpty.vue.d.ts +2 -2
  40. package/dist/components/XForm.vue.d.ts +2 -2
  41. package/dist/components/XFormItem.vue.d.ts +21 -5
  42. package/dist/components/XGrid.vue.d.ts +1 -1
  43. package/dist/components/XGridItem.vue.d.ts +3 -3
  44. package/dist/components/XGridLayoutItem.vue.d.ts +1 -1
  45. package/dist/components/XIcon.d.ts +1 -1
  46. package/dist/components/XIconLite.d.ts +1 -1
  47. package/dist/components/XImage.vue.d.ts +7 -3
  48. package/dist/components/XInput.vue.d.ts +5 -5
  49. package/dist/components/XInputComposite.vue.d.ts +12 -12
  50. package/dist/components/XInputNumber.vue.d.ts +9 -9
  51. package/dist/components/XInputPassword.vue.d.ts +24 -24
  52. package/dist/components/XInputSearch.vue.d.ts +26 -26
  53. package/dist/components/XInputTag.vue.d.ts +10 -10
  54. package/dist/components/XLink.vue.d.ts +1 -1
  55. package/dist/components/XList.vue.d.ts +8 -5
  56. package/dist/components/XListItem.vue.d.ts +2 -3
  57. package/dist/components/XMention.vue.d.ts +899 -0
  58. package/dist/components/XMenu.vue.d.ts +7 -7
  59. package/dist/components/XMenuItem.vue.d.ts +43 -43
  60. package/dist/components/XMessage.vue.d.ts +1 -1
  61. package/dist/components/XMessageList.d.ts +1 -1
  62. package/dist/components/XMessageService.d.ts +2 -0
  63. package/dist/components/XModal.vue.d.ts +8 -8
  64. package/dist/components/XModalService.d.ts +2 -0
  65. package/dist/components/XNotification.vue.d.ts +31 -20
  66. package/dist/components/XNotificationList.d.ts +39 -0
  67. package/dist/components/XNotificationService.d.ts +54 -15
  68. package/dist/components/XOptgroup.vue.d.ts +1 -0
  69. package/dist/components/XOption.vue.d.ts +1 -0
  70. package/dist/components/XOverflowList.vue.d.ts +38 -8
  71. package/dist/components/XPageHeader.vue.d.ts +11 -5
  72. package/dist/components/XPopconfirm.vue.d.ts +82 -77
  73. package/dist/components/XPopover.vue.d.ts +3 -3
  74. package/dist/components/XProgress.vue.d.ts +2 -2
  75. package/dist/components/XQRCode.vue.d.ts +3 -3
  76. package/dist/components/XRadio.vue.d.ts +1 -1
  77. package/dist/components/XRadioButton.vue.d.ts +1 -1
  78. package/dist/components/XRadioGroup.vue.d.ts +3 -3
  79. package/dist/components/XRangePicker.vue.d.ts +45 -0
  80. package/dist/components/XRate.vue.d.ts +3 -3
  81. package/dist/components/XResizeBox.vue.d.ts +41 -9
  82. package/dist/components/XRichTextEditor.vue.d.ts +2 -2
  83. package/dist/components/XScrollbarThumb.vue.d.ts +26 -0
  84. package/dist/components/XSelect.vue.d.ts +27 -27
  85. package/dist/components/XSkeleton.vue.d.ts +100 -29
  86. package/dist/components/XSkeletonLine.vue.d.ts +15 -0
  87. package/dist/components/XSkeletonShape.vue.d.ts +9 -0
  88. package/dist/components/XSlider.vue.d.ts +86 -86
  89. package/dist/components/XSpace.vue.d.ts +59 -28
  90. package/dist/components/XSplit.vue.d.ts +3 -3
  91. package/dist/components/XStatistic.vue.d.ts +5 -5
  92. package/dist/components/XStep.vue.d.ts +3 -3
  93. package/dist/components/XSteps.vue.d.ts +2 -2
  94. package/dist/components/XSubMenu.vue.d.ts +30 -30
  95. package/dist/components/XSubMenuPop.vue.d.ts +29 -29
  96. package/dist/components/XSwitch.vue.d.ts +5 -5
  97. package/dist/components/XTabPane.vue.d.ts +4 -4
  98. package/dist/components/XTable.vue.d.ts +5 -5
  99. package/dist/components/XTabs.vue.d.ts +53 -25
  100. package/dist/components/XTag.vue.d.ts +5 -3
  101. package/dist/components/XTextarea.vue.d.ts +9 -9
  102. package/dist/components/XTimePicker.vue.d.ts +13 -13
  103. package/dist/components/XTimeline.vue.d.ts +2 -2
  104. package/dist/components/XTimelineItem.vue.d.ts +3 -3
  105. package/dist/components/XTooltip.vue.d.ts +76 -76
  106. package/dist/components/XTree.vue.d.ts +3 -1
  107. package/dist/components/XTreeSelect.vue.d.ts +175 -29
  108. package/dist/components/XTrigger.vue.d.ts +6 -6
  109. package/dist/components/XTypography.vue.d.ts +4 -4
  110. package/dist/components/XTypographyParagraph.vue.d.ts +2 -2
  111. package/dist/components/XTypographyText.vue.d.ts +3 -3
  112. package/dist/components/XTypographyTitle.vue.d.ts +2 -2
  113. package/dist/components/XUpload.vue.d.ts +7 -5
  114. package/dist/components/XVerificationCode.vue.d.ts +3 -3
  115. package/dist/components/XWatermark.vue.d.ts +30 -4
  116. package/dist/components/__tests__/XAutoComplete.test.d.ts +1 -0
  117. package/dist/components/__tests__/XBackTop.test.d.ts +1 -0
  118. package/dist/components/__tests__/XBreadcrumb.test.d.ts +1 -0
  119. package/dist/components/__tests__/XCheckbox.test.d.ts +1 -0
  120. package/dist/components/__tests__/XCollapse.test.d.ts +1 -0
  121. package/dist/components/__tests__/XComplexTriggerTheme.test.d.ts +1 -0
  122. package/dist/components/__tests__/XDropdown.test.d.ts +1 -0
  123. package/dist/components/__tests__/XImage.test.d.ts +1 -0
  124. package/dist/components/__tests__/XOverflowList.test.d.ts +1 -0
  125. package/dist/components/__tests__/XOverlayServiceTheme.test.d.ts +1 -0
  126. package/dist/components/__tests__/XPageHeader.test.d.ts +1 -0
  127. package/dist/components/__tests__/XRadioGroup.test.d.ts +1 -0
  128. package/dist/components/__tests__/XResizeBox.test.d.ts +1 -0
  129. package/dist/components/__tests__/XSkeleton.test.d.ts +1 -0
  130. package/dist/components/__tests__/XSteps.test.d.ts +1 -0
  131. package/dist/components/__tests__/XTabs.test.d.ts +1 -0
  132. package/dist/components/__tests__/XThemeAttrAllComponentsSmoke.test.d.ts +1 -0
  133. package/dist/components/__tests__/XThemeAttrsForwarding.test.d.ts +1 -0
  134. package/dist/components/__tests__/XTour.test.d.ts +1 -0
  135. package/dist/components/__tests__/XTreeSelect.test.d.ts +1 -0
  136. package/dist/components/__tests__/XTriggerWrappersTheme.test.d.ts +1 -0
  137. package/dist/components/__tests__/XWatermark.test.d.ts +1 -0
  138. package/dist/components/index.d.ts +500 -1
  139. package/dist/components/x-breadcrumb-context.d.ts +9 -0
  140. package/dist/components/x-checkbox-context.d.ts +19 -0
  141. package/dist/components/x-dropdown-context.d.ts +7 -0
  142. package/dist/components/x-icon-shared.d.ts +1 -1
  143. package/dist/components/x-list-shared.d.ts +20 -8
  144. package/dist/composables/collapse.d.ts +8 -5
  145. package/dist/composables/config-provider.d.ts +29 -0
  146. package/dist/composables/i18n.d.ts +4 -2
  147. package/dist/composables/scrollbar-visibility.d.ts +1 -0
  148. package/dist/composables/steps.d.ts +1 -0
  149. package/dist/composables/tabs.d.ts +19 -8
  150. package/dist/composables/theme-context.d.ts +9 -0
  151. package/dist/index.cjs +10 -10
  152. package/dist/index.cjs.map +1 -1
  153. package/dist/index.js +21426 -17973
  154. package/dist/index.js.map +1 -1
  155. package/dist/locales/da-DK.d.ts +381 -0
  156. package/dist/locales/nl-NL.d.ts +381 -0
  157. package/dist/style.css +1 -1
  158. package/package.json +1 -1
@@ -17,10 +17,10 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- backgroundColor: string;
21
- color: string;
22
20
  size: number | "mini" | "small" | "default" | "large";
21
+ color: string;
23
22
  shape: "circle" | "square";
23
+ backgroundColor: string;
24
24
  autoFixFontSize: boolean;
25
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
26
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,11 +1,27 @@
1
1
  type __VLS_Props = {
2
- visibilityHeight?: number;
3
- right?: number;
4
- bottom?: number;
2
+ visibleHeight?: number;
3
+ targetContainer?: string | HTMLElement;
4
+ easing?: string;
5
+ duration?: number;
5
6
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
- bottom: number;
8
- right: number;
9
- visibilityHeight: number;
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ duration: number;
18
+ visibleHeight: number;
19
+ easing: string;
10
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
22
  export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -22,13 +22,13 @@ declare function __VLS_template(): {
22
22
  };
23
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
24
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
- color: BadgeColor;
26
- offset: [number, number];
27
25
  text: string;
26
+ color: BadgeColor;
28
27
  dot: boolean;
28
+ offset: [number, number];
29
+ status: BadgeStatus;
29
30
  maxCount: number;
30
31
  count: string | number;
31
- status: BadgeStatus;
32
32
  showZero: boolean;
33
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -193,15 +193,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
193
193
  "onMenu-item-click"?: ((...args: any[]) => any) | undefined;
194
194
  "onSub-menu-click"?: ((...args: any[]) => any) | undefined;
195
195
  }>, {
196
- mode: "horizontal" | "vertical" | "pop" | "popButton";
196
+ mode: "pop" | "horizontal" | "vertical" | "popButton";
197
+ popupMaxHeight: number | boolean;
198
+ prefixCls: string;
199
+ theme: "dark" | "light";
197
200
  collapsed: boolean;
198
201
  accordion: boolean;
199
- theme: "dark" | "light";
200
202
  defaultCollapsed: boolean;
201
203
  autoScrollIntoView: boolean;
202
204
  inTrigger: boolean;
203
- popupMaxHeight: number | boolean;
204
- prefixCls: string;
205
205
  siderCollapsed: boolean;
206
206
  isRoot: boolean;
207
207
  autoOpen: boolean;
@@ -255,9 +255,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
255
255
  default: boolean;
256
256
  };
257
257
  }>> & Readonly<{}>, {
258
+ size: string | number;
258
259
  color: string;
259
260
  strokeWidth: string | number;
260
- size: string | number;
261
261
  spin: boolean;
262
262
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
263
263
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,16 +1,36 @@
1
+ interface XBreadcrumbRoute {
2
+ label: string;
3
+ path: string;
4
+ children?: Array<{
5
+ label: string;
6
+ path: string;
7
+ }>;
8
+ }
1
9
  type __VLS_Props = {
2
- separator?: string;
10
+ maxCount?: number;
11
+ routes?: XBreadcrumbRoute[];
12
+ separator?: string | number;
13
+ customUrl?: (paths: string[]) => string;
3
14
  };
4
15
  declare function __VLS_template(): {
5
16
  attrs: Partial<{}>;
6
17
  slots: {
7
- default?(_: {}): any;
18
+ 'item-render'?(_: {
19
+ route: XBreadcrumbRoute;
20
+ routes: XBreadcrumbRoute[];
21
+ paths: string[];
22
+ }): any;
8
23
  };
9
24
  refs: {};
10
- rootEl: HTMLElement;
25
+ rootEl: HTMLDivElement;
11
26
  };
12
27
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
28
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
29
+ separator: string | number;
30
+ maxCount: number;
31
+ routes: XBreadcrumbRoute[];
32
+ customUrl: (paths: string[]) => string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
35
  export default _default;
16
36
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,12 @@
1
+ type XBreadcrumbDroplist = Array<{
2
+ label: string;
3
+ path: string;
4
+ }>;
1
5
  type __VLS_Props = {
2
- href?: string;
6
+ separator?: string | number;
7
+ droplist?: XBreadcrumbDroplist;
8
+ dropdownProps?: Record<string, unknown>;
9
+ index?: number;
3
10
  };
4
11
  declare function __VLS_template(): {
5
12
  attrs: Partial<{}>;
@@ -11,7 +18,12 @@ declare function __VLS_template(): {
11
18
  rootEl: any;
12
19
  };
13
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
+ separator: string | number;
23
+ index: number;
24
+ droplist: XBreadcrumbDroplist;
25
+ dropdownProps: Record<string, unknown>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
28
  export default _default;
17
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -42,16 +42,16 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
42
42
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
43
43
  onClick?: ((event: MouseEvent) => any) | undefined;
44
44
  }>, {
45
- disabled: boolean;
46
45
  circle: boolean;
46
+ size: ButtonSize;
47
+ disabled: boolean;
48
+ icon: string;
47
49
  round: boolean;
48
50
  dashed: boolean;
49
51
  block: boolean;
50
- size: ButtonSize;
51
- icon: string;
52
+ plain: boolean;
52
53
  shape: ButtonShape;
53
54
  status: ButtonStatus;
54
- plain: boolean;
55
55
  variant: ButtonVariant;
56
56
  loading: boolean;
57
57
  long: boolean;
@@ -28,11 +28,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
29
  onClick?: ((event: MouseEvent) => any) | undefined;
30
30
  }>, {
31
- disabled: boolean;
32
31
  circle: boolean;
32
+ size: ButtonSize;
33
+ disabled: boolean;
33
34
  round: boolean;
34
35
  block: boolean;
35
- size: ButtonSize;
36
36
  variant: ButtonVariant;
37
37
  loading: boolean;
38
38
  long: boolean;
@@ -20,8 +20,8 @@ declare function __VLS_template(): {
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
23
- disabled: boolean;
24
23
  type: ButtonType;
24
+ disabled: boolean;
25
25
  shape: ButtonShape;
26
26
  status: ButtonStatus;
27
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -28,6 +28,9 @@ declare function __VLS_template(): {
28
28
  'date-cell'?(_: {
29
29
  cell: CalendarCell;
30
30
  }): any;
31
+ 'date-extra'?(_: {
32
+ cell: CalendarCell;
33
+ }): any;
31
34
  'month-cell'?(_: {
32
35
  cell: CalendarCell;
33
36
  }): any;
@@ -39,11 +42,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
42
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
43
  change: (value: CalendarValue) => any;
41
44
  "update:modelValue": (value: CalendarValue) => any;
42
- panelChange: (value: string, mode: "year" | "month") => any;
45
+ panelChange: (value: string, mode: "month" | "year") => any;
43
46
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
44
47
  onChange?: ((value: CalendarValue) => any) | undefined;
45
48
  "onUpdate:modelValue"?: ((value: CalendarValue) => any) | undefined;
46
- onPanelChange?: ((value: string, mode: "year" | "month") => any) | undefined;
49
+ onPanelChange?: ((value: string, mode: "month" | "year") => any) | undefined;
47
50
  }>, {
48
51
  mode: "month" | "year";
49
52
  modelValue: CalendarValue;
@@ -23,8 +23,8 @@ declare function __VLS_template(): {
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
- cover: string;
27
26
  size: CardSize;
27
+ cover: string;
28
28
  loading: boolean;
29
29
  bordered: boolean;
30
30
  hoverable: boolean;
@@ -80,12 +80,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
80
80
  onChange?: ((current: number, prev: number) => any) | undefined;
81
81
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
82
82
  }>, {
83
+ type: "" | "card";
83
84
  direction: "horizontal" | "vertical";
84
85
  height: string;
85
- type: "" | "card";
86
+ trigger: "click" | "hover";
86
87
  modelValue: number;
87
88
  initialIndex: number;
88
- trigger: "click" | "hover";
89
89
  autoplay: boolean;
90
90
  interval: number;
91
91
  indicatorPosition: "outside" | "none" | "";
@@ -123,46 +123,55 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
123
123
  clear: typeof clear;
124
124
  pickSearchResult: typeof pickSearchResult;
125
125
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
126
- change: (value: XCasModelValue, options?: XCasOption[] | undefined) => any;
127
- clear: () => any;
128
126
  search: (value: string) => any;
129
127
  blur: (event: FocusEvent) => any;
128
+ change: (value: XCasModelValue, options?: XCasOption[] | undefined) => any;
130
129
  focus: (event: FocusEvent) => any;
131
- "update:modelValue": (value: XCasModelValue) => any;
130
+ clear: () => any;
132
131
  "update:popupVisible": (value: boolean) => any;
133
132
  popupVisibleChange: (value: boolean) => any;
134
133
  "popup-visible-change": (value: boolean) => any;
135
134
  "update:open": (value: boolean) => any;
135
+ "update:modelValue": (value: XCasModelValue) => any;
136
136
  "update:inputValue": (value: string) => any;
137
137
  inputValueChange: (value: string) => any;
138
138
  "input-value-change": (value: string) => any;
139
139
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
140
- onChange?: ((value: XCasModelValue, options?: XCasOption[] | undefined) => any) | undefined;
141
- onClear?: (() => any) | undefined;
142
140
  onSearch?: ((value: string) => any) | undefined;
143
141
  onBlur?: ((event: FocusEvent) => any) | undefined;
142
+ onChange?: ((value: XCasModelValue, options?: XCasOption[] | undefined) => any) | undefined;
144
143
  onFocus?: ((event: FocusEvent) => any) | undefined;
145
- "onUpdate:modelValue"?: ((value: XCasModelValue) => any) | undefined;
144
+ onClear?: (() => any) | undefined;
146
145
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
147
146
  onPopupVisibleChange?: ((value: boolean) => any) | undefined;
148
147
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
149
148
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
149
+ "onUpdate:modelValue"?: ((value: XCasModelValue) => any) | undefined;
150
150
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
151
151
  onInputValueChange?: ((value: string) => any) | undefined;
152
152
  "onInput-value-change"?: ((value: string) => any) | undefined;
153
153
  }>, {
154
- disabled: boolean;
154
+ error: boolean;
155
155
  size: XSize;
156
+ disabled: boolean;
156
157
  open: boolean;
157
158
  multiple: boolean;
158
- error: boolean;
159
159
  placeholder: string;
160
- options: Array<Record<string, unknown> | XCasOption>;
161
- loading: boolean;
162
160
  align: "left" | "center";
163
161
  popupVisible: boolean;
164
162
  defaultPopupVisible: boolean;
165
163
  popupContainer: string | HTMLElement;
164
+ defaultOpen: boolean;
165
+ options: Array<Record<string, unknown> | XCasOption>;
166
+ loading: boolean;
167
+ clearable: boolean;
168
+ filterOption: (inputValue: string, option: XCasOption) => boolean;
169
+ triggerProps: Record<string, any>;
170
+ virtualListProps: {
171
+ height?: number;
172
+ itemHeight?: number;
173
+ buffer?: number;
174
+ };
166
175
  allowSearch: boolean;
167
176
  defaultInputValue: string;
168
177
  expandTrigger: "click" | "hover";
@@ -172,20 +181,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
172
181
  fieldNames: XCasFieldNames;
173
182
  valueKey: string;
174
183
  expandChild: boolean;
175
- virtualListProps: {
176
- height?: number;
177
- itemHeight?: number;
178
- buffer?: number;
179
- };
180
184
  maxTagCount: number;
181
185
  tagNowrap: boolean;
182
186
  searchOptionOnlyLabel: boolean;
183
187
  searchDelay: number;
184
- filterOption: (inputValue: string, option: XCasOption) => boolean;
185
- triggerProps: Record<string, any>;
186
- defaultOpen: boolean;
187
188
  filterable: boolean;
188
- clearable: boolean;
189
189
  changeOnSelect: boolean;
190
190
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
191
191
  searchInputRef: HTMLInputElement;
@@ -53,9 +53,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
53
53
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
54
54
  }>, {
55
55
  multiple: boolean;
56
- modelValue: XCasValue | XCasPathValue | XCasModelItem[];
57
56
  options: Array<Record<string, unknown> | XCasOption>;
57
+ modelValue: XCasValue | XCasPathValue | XCasModelItem[];
58
58
  defaultValue: XCasValue | XCasPathValue | XCasModelItem[];
59
+ virtualListProps: {
60
+ height?: number;
61
+ itemHeight?: number;
62
+ buffer?: number;
63
+ };
59
64
  expandTrigger: "click" | "hover";
60
65
  checkStrictly: boolean;
61
66
  pathMode: boolean;
@@ -63,11 +68,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
63
68
  fieldNames: XCasFieldNames;
64
69
  valueKey: string;
65
70
  expandChild: boolean;
66
- virtualListProps: {
67
- height?: number;
68
- itemHeight?: number;
69
- buffer?: number;
70
- };
71
71
  changeOnSelect: boolean;
72
72
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
73
73
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -69,9 +69,9 @@ declare const __VLS_component: import('vue').DefineComponent<ChatInputProps, {
69
69
  insertImage: typeof handleImageUpload;
70
70
  editor: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
71
71
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
72
- clear: () => any;
73
72
  blur: (event: FocusEvent) => any;
74
73
  focus: (event: FocusEvent) => any;
74
+ clear: () => any;
75
75
  "update:modelValue": (value: string) => any;
76
76
  "update:fileList": (files: ChatFile[]) => any;
77
77
  "update:images": (images: ChatImage[]) => any;
@@ -83,9 +83,9 @@ declare const __VLS_component: import('vue').DefineComponent<ChatInputProps, {
83
83
  "image-remove": (image: ChatImage, images: ChatImage[]) => any;
84
84
  "image-upload": (file: File, onProgress: (percent: number) => void, onSuccess: (url: string) => void, onError: (error: any) => void) => any;
85
85
  }, string, import('vue').PublicProps, Readonly<ChatInputProps> & Readonly<{
86
- onClear?: (() => any) | undefined;
87
86
  onBlur?: ((event: FocusEvent) => any) | undefined;
88
87
  onFocus?: ((event: FocusEvent) => any) | undefined;
88
+ onClear?: (() => any) | undefined;
89
89
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
90
90
  "onUpdate:fileList"?: ((files: ChatFile[]) => any) | undefined;
91
91
  "onUpdate:images"?: ((images: ChatImage[]) => any) | undefined;
@@ -97,17 +97,17 @@ declare const __VLS_component: import('vue').DefineComponent<ChatInputProps, {
97
97
  "onImage-remove"?: ((image: ChatImage, images: ChatImage[]) => any) | undefined;
98
98
  "onImage-upload"?: ((file: File, onProgress: (percent: number) => void, onSuccess: (url: string) => void, onError: (error: any) => void) => any) | undefined;
99
99
  }>, {
100
- disabled: boolean;
101
100
  size: XSize;
101
+ disabled: boolean;
102
102
  placeholder: string;
103
- modelValue: string;
104
103
  loading: boolean;
105
104
  maxLength: number;
105
+ modelValue: string;
106
+ allowClear: boolean;
106
107
  autoSize: boolean | {
107
108
  minRows?: number;
108
109
  maxRows?: number;
109
110
  };
110
- allowClear: boolean;
111
111
  sendOnEnter: boolean;
112
112
  draggable: boolean;
113
113
  accept: string;
@@ -1,8 +1,11 @@
1
+ import { XCheckboxValue } from './x-checkbox-context';
1
2
  type __VLS_Props = {
2
- modelValue?: boolean;
3
- value?: string | number | boolean;
3
+ modelValue?: boolean | XCheckboxValue[];
4
+ defaultChecked?: boolean;
5
+ value?: XCheckboxValue;
4
6
  disabled?: boolean;
5
7
  indeterminate?: boolean;
8
+ uninjectGroupContext?: boolean;
6
9
  };
7
10
  declare function focus(): void;
8
11
  declare function blur(): void;
@@ -21,15 +24,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
21
24
  focus: typeof focus;
22
25
  blur: typeof blur;
23
26
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
- change: (value: boolean) => any;
25
- "update:modelValue": (value: boolean) => any;
27
+ change: (value: boolean | XCheckboxValue[], ev: Event) => any;
28
+ "update:modelValue": (value: boolean | XCheckboxValue[]) => any;
26
29
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
- onChange?: ((value: boolean) => any) | undefined;
28
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
30
+ onChange?: ((value: boolean | XCheckboxValue[], ev: Event) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: boolean | XCheckboxValue[]) => any) | undefined;
29
32
  }>, {
30
- value: string | number | boolean;
31
- modelValue: boolean;
33
+ value: XCheckboxValue;
34
+ disabled: boolean;
35
+ modelValue: boolean | XCheckboxValue[];
36
+ defaultChecked: boolean;
32
37
  indeterminate: boolean;
38
+ uninjectGroupContext: boolean;
33
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
34
40
  inputRef: HTMLInputElement;
35
41
  }, HTMLLabelElement>;
@@ -1,19 +1,42 @@
1
+ import { XCheckboxDirection, XCheckboxOption, XCheckboxValue } from './x-checkbox-context';
1
2
  type __VLS_Props = {
2
- modelValue?: Array<string | number | boolean>;
3
- options: Array<{
4
- label: string;
5
- value: string | number | boolean;
6
- disabled?: boolean;
7
- }>;
3
+ modelValue?: XCheckboxValue[];
4
+ defaultValue?: XCheckboxValue[];
5
+ max?: number;
6
+ options?: Array<string | number | XCheckboxOption>;
7
+ direction?: XCheckboxDirection;
8
8
  disabled?: boolean;
9
9
  };
10
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- change: (value: (string | number | boolean)[]) => any;
12
- "update:modelValue": (value: (string | number | boolean)[]) => any;
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ label?(_: {
14
+ data: XCheckboxOption;
15
+ }): any;
16
+ default?(_: {}): any;
17
+ };
18
+ refs: {};
19
+ rootEl: HTMLSpanElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ change: (value: XCheckboxValue[], ev: Event) => any;
24
+ "update:modelValue": (value: XCheckboxValue[]) => any;
13
25
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
- onChange?: ((value: (string | number | boolean)[]) => any) | undefined;
15
- "onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
26
+ onChange?: ((value: XCheckboxValue[], ev: Event) => any) | undefined;
27
+ "onUpdate:modelValue"?: ((value: XCheckboxValue[]) => any) | undefined;
16
28
  }>, {
17
- modelValue: Array<string | number | boolean>;
18
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
29
+ disabled: boolean;
30
+ direction: XCheckboxDirection;
31
+ options: Array<string | number | XCheckboxOption>;
32
+ max: number;
33
+ modelValue: XCheckboxValue[];
34
+ defaultValue: XCheckboxValue[];
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
37
  export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -1,8 +1,12 @@
1
- import { XCollapseKey } from '../composables/collapse';
1
+ import { XCollapseExpandIconPosition, XCollapseKey } from '../composables/collapse';
2
2
  type __VLS_Props = {
3
- modelValue?: XCollapseKey[] | XCollapseKey | null;
3
+ activeKey?: XCollapseKey[];
4
+ defaultActiveKey?: XCollapseKey[];
4
5
  accordion?: boolean;
6
+ showExpandIcon?: boolean;
7
+ expandIconPosition?: XCollapseExpandIconPosition;
5
8
  bordered?: boolean;
9
+ destroyOnHide?: boolean;
6
10
  };
7
11
  declare function __VLS_template(): {
8
12
  attrs: Partial<{}>;
@@ -14,15 +18,18 @@ declare function __VLS_template(): {
14
18
  };
15
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
20
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- change: (value: XCollapseKey | XCollapseKey[] | null) => any;
18
- "update:modelValue": (value: XCollapseKey | XCollapseKey[] | null) => any;
21
+ change: (value: XCollapseKey[], event: Event) => any;
22
+ "update:activeKey": (value: XCollapseKey[]) => any;
19
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onChange?: ((value: XCollapseKey | XCollapseKey[] | null) => any) | undefined;
21
- "onUpdate:modelValue"?: ((value: XCollapseKey | XCollapseKey[] | null) => any) | undefined;
24
+ onChange?: ((value: XCollapseKey[], event: Event) => any) | undefined;
25
+ "onUpdate:activeKey"?: ((value: XCollapseKey[]) => any) | undefined;
22
26
  }>, {
23
- modelValue: XCollapseKey[] | XCollapseKey | null;
24
27
  bordered: boolean;
28
+ defaultActiveKey: XCollapseKey[];
25
29
  accordion: boolean;
30
+ showExpandIcon: boolean;
31
+ expandIconPosition: XCollapseExpandIconPosition;
32
+ destroyOnHide: boolean;
26
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
27
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
35
  export default _default;
@@ -1,19 +1,31 @@
1
- import { XCollapseKey } from '../composables/collapse';
2
1
  type __VLS_Props = {
3
- itemKey: XCollapseKey;
4
- title: string;
2
+ header?: string;
5
3
  disabled?: boolean;
4
+ showExpandIcon?: boolean;
5
+ destroyOnHide?: boolean;
6
6
  };
7
7
  declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
9
9
  slots: {
10
+ 'expand-icon'?(_: {
11
+ active: boolean;
12
+ disabled: boolean;
13
+ position: import('../composables/collapse').XCollapseExpandIconPosition;
14
+ }): any;
15
+ header?(_: {}): any;
16
+ extra?(_: {}): any;
10
17
  default?(_: {}): any;
11
18
  };
12
19
  refs: {};
13
20
  rootEl: HTMLElement;
14
21
  };
15
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
23
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
+ header: string;
25
+ disabled: boolean;
26
+ showExpandIcon: boolean;
27
+ destroyOnHide: boolean;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
17
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
30
  export default _default;
19
31
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -22,8 +22,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
22
22
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
23
23
  }>, {
24
24
  disabled: boolean;
25
- modelValue: string;
26
25
  max: number;
26
+ modelValue: string;
27
27
  plus: boolean;
28
28
  angle: number;
29
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1,9 +1,16 @@
1
1
  import { XSize, XThemeTokens } from '../composables/config';
2
+ import { XConfigProviderLocale } from '../composables/config-provider';
2
3
  import { XLocaleMessages, XTranslate } from '../composables/i18n';
3
4
  type __VLS_Props = {
5
+ prefixCls?: string;
6
+ locale?: XConfigProviderLocale;
4
7
  size?: XSize;
8
+ global?: boolean;
9
+ updateAtScroll?: boolean;
10
+ scrollToClose?: boolean;
11
+ exchangeTime?: boolean;
12
+ rtl?: boolean;
5
13
  theme?: Partial<XThemeTokens>;
6
- locale?: string;
7
14
  messages?: XLocaleMessages;
8
15
  translate?: XTranslate;
9
16
  };
@@ -11,14 +18,20 @@ declare function __VLS_template(): {
11
18
  attrs: Partial<{}>;
12
19
  slots: {
13
20
  default?(_: {}): any;
21
+ default?(_: {}): any;
14
22
  };
15
23
  refs: {};
16
- rootEl: HTMLDivElement;
24
+ rootEl: any;
17
25
  };
18
26
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
27
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- size: XSize;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
+ rtl: boolean;
29
+ prefixCls: string;
30
+ updateAtScroll: boolean;
31
+ scrollToClose: boolean;
32
+ exchangeTime: boolean;
33
+ global: boolean;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
36
  export default _default;
24
37
  type __VLS_WithTemplateSlots<T, S> = T & {