straw-ui-vue 0.1.21 → 0.1.22

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 (135) hide show
  1. package/dist/components/st-cascade/index.d.ts +3 -11
  2. package/dist/components/st-cascade/st-cascade-panel.d.ts +2 -5
  3. package/dist/components/st-cascade/st-cascade.d.ts +2 -7
  4. package/dist/components/st-cascade/types.d.ts +10 -0
  5. package/dist/components/st-checkbox/useCheckboxGroupState.d.ts +2 -0
  6. package/dist/components/st-color-picker/index.d.ts +94 -12
  7. package/dist/components/st-color-picker/st-color-picker-panel.d.ts +9 -2
  8. package/dist/components/st-color-picker/st-color-picker.d.ts +9 -2
  9. package/dist/components/st-color-picker/types.d.ts +16 -0
  10. package/dist/components/st-date-picker/index.d.ts +85 -19
  11. package/dist/components/st-date-picker/st-date-picker-panel.d.ts +9 -4
  12. package/dist/components/st-date-picker/st-date-picker.d.ts +2 -5
  13. package/dist/components/st-date-picker/types.d.ts +18 -4
  14. package/dist/components/st-datetime-picker/index.d.ts +89 -19
  15. package/dist/components/st-datetime-picker/st-datetime-picker-panel.d.ts +9 -4
  16. package/dist/components/st-datetime-picker/st-datetime-picker.d.ts +2 -5
  17. package/dist/components/st-datetime-picker/types.d.ts +18 -4
  18. package/dist/components/st-dialog/useDialogState.d.ts +2 -0
  19. package/dist/components/st-divider/useDividerState.d.ts +2 -0
  20. package/dist/components/st-drawer/useDrawerState.d.ts +2 -0
  21. package/dist/components/st-empty/types.d.ts +5 -0
  22. package/dist/components/st-form-control/types.d.ts +6 -8
  23. package/dist/components/st-form-description/index.d.ts +1 -3
  24. package/dist/components/st-form-description/st-form-description.d.ts +2 -5
  25. package/dist/components/st-form-description/types.d.ts +5 -0
  26. package/dist/components/st-form-field/index.d.ts +1 -11
  27. package/dist/components/st-form-field/st-form-field.d.ts +2 -9
  28. package/dist/components/st-form-field/types.d.ts +5 -6
  29. package/dist/components/st-form-item/index.d.ts +1 -3
  30. package/dist/components/st-form-item/st-form-item.d.ts +2 -5
  31. package/dist/components/st-form-item/types.d.ts +6 -8
  32. package/dist/components/st-form-label/index.d.ts +1 -3
  33. package/dist/components/st-form-label/st-form-label.d.ts +2 -5
  34. package/dist/components/st-form-label/types.d.ts +5 -0
  35. package/dist/components/st-form-message/index.d.ts +1 -3
  36. package/dist/components/st-form-message/st-form-message.d.ts +2 -5
  37. package/dist/components/st-form-message/types.d.ts +5 -0
  38. package/dist/components/st-input/index.d.ts +1863 -607
  39. package/dist/components/st-input/st-input-group-input.d.ts +9 -2
  40. package/dist/components/st-input/st-input-group-textarea.d.ts +9 -2
  41. package/dist/components/st-input/st-input-number.d.ts +10 -3
  42. package/dist/components/st-input/st-input.d.ts +165 -57
  43. package/dist/components/st-input/st-textarea.d.ts +167 -57
  44. package/dist/components/st-input/types.d.ts +50 -0
  45. package/dist/components/st-label/index.d.ts +1 -3
  46. package/dist/components/st-label/st-label.d.ts +2 -5
  47. package/dist/components/st-label/types.d.ts +5 -0
  48. package/dist/components/st-menu/index.d.ts +14 -82
  49. package/dist/components/st-menu/st-menu-content.d.ts +1 -6
  50. package/dist/components/st-menu/st-menu-divider.d.ts +1 -4
  51. package/dist/components/st-menu/st-menu-group.d.ts +0 -4
  52. package/dist/components/st-menu/st-menu-item.d.ts +0 -4
  53. package/dist/components/st-menu/st-menu-trigger.d.ts +1 -6
  54. package/dist/components/st-menu/types.d.ts +54 -0
  55. package/dist/components/st-menu/useMenuState.d.ts +60 -0
  56. package/dist/components/st-pagination/index.d.ts +1 -7
  57. package/dist/components/st-pagination/st-pagination.d.ts +2 -9
  58. package/dist/components/st-popover/index.d.ts +17 -47
  59. package/dist/components/st-popover/st-popover-arrow.d.ts +1 -8
  60. package/dist/components/st-popover/st-popover-content.d.ts +0 -6
  61. package/dist/components/st-popover/st-popover-trigger.d.ts +0 -6
  62. package/dist/components/st-popover/st-popover.d.ts +11 -12
  63. package/dist/components/st-popover/types.d.ts +45 -14
  64. package/dist/components/st-popover/usePopoverState.d.ts +62 -0
  65. package/dist/components/st-progress/index.d.ts +1 -5
  66. package/dist/components/st-progress/st-progress.d.ts +2 -7
  67. package/dist/components/st-progress/types.d.ts +5 -0
  68. package/dist/components/st-radio/useRadioGroupState.d.ts +2 -0
  69. package/dist/components/st-scrollbar/index.d.ts +1 -3
  70. package/dist/components/st-scrollbar/st-scrollbar.d.ts +2 -5
  71. package/dist/components/st-scrollbar/types.d.ts +0 -6
  72. package/dist/components/st-segmented/index.d.ts +43 -8
  73. package/dist/components/st-segmented/st-segmented.d.ts +9 -2
  74. package/dist/components/st-select/index.d.ts +19 -93
  75. package/dist/components/st-select/st-select-content.d.ts +1 -8
  76. package/dist/components/st-select/st-select-empty.d.ts +1 -8
  77. package/dist/components/st-select/st-select-group.d.ts +1 -8
  78. package/dist/components/st-select/st-select-item.d.ts +0 -6
  79. package/dist/components/st-select/st-select-trigger.d.ts +6 -12
  80. package/dist/components/st-select/st-select.d.ts +2 -7
  81. package/dist/components/st-select/types.d.ts +68 -0
  82. package/dist/components/st-select/useSelectState.d.ts +55 -0
  83. package/dist/components/st-sidebar/index.d.ts +13 -3
  84. package/dist/components/st-sidebar/st-sidebar.d.ts +5 -1
  85. package/dist/components/st-sidebar/useSidebarState.d.ts +2 -0
  86. package/dist/components/st-sidebar-item/index.d.ts +13 -3
  87. package/dist/components/st-sidebar-item/st-sidebar-item.d.ts +5 -1
  88. package/dist/components/st-skeleton/index.d.ts +3 -11
  89. package/dist/components/st-skeleton/st-skeleton-item.d.ts +2 -5
  90. package/dist/components/st-skeleton/st-skeleton.d.ts +2 -7
  91. package/dist/components/st-skeleton/types.d.ts +10 -6
  92. package/dist/components/st-slider/index.d.ts +1 -17
  93. package/dist/components/st-slider/st-slider.d.ts +2 -19
  94. package/dist/components/st-slider/types.d.ts +8 -0
  95. package/dist/components/st-splitter/index.d.ts +14 -6
  96. package/dist/components/st-splitter/st-splitter.d.ts +7 -6
  97. package/dist/components/st-splitter/useSplitter.d.ts +0 -8
  98. package/dist/components/st-splitter/useSplitterState.d.ts +2 -0
  99. package/dist/components/st-splitter-panel/index.d.ts +6 -3
  100. package/dist/components/st-splitter-panel/st-splitter-panel.d.ts +4 -5
  101. package/dist/components/st-tabs/index.d.ts +26 -6
  102. package/dist/components/st-tabs/st-tabs-pane.d.ts +5 -1
  103. package/dist/components/st-tabs/useTabsState.d.ts +12 -0
  104. package/dist/components/st-tag/index.d.ts +1 -20
  105. package/dist/components/st-tag/st-tag.d.ts +3 -13
  106. package/dist/components/st-tag/types.d.ts +40 -51
  107. package/dist/components/st-time-picker/index.d.ts +102 -14
  108. package/dist/components/st-time-picker/st-time-picker-panel.d.ts +9 -2
  109. package/dist/components/st-time-picker/st-time-picker.d.ts +9 -2
  110. package/dist/components/st-time-picker/types.d.ts +18 -6
  111. package/dist/components/st-toggle/index.d.ts +15 -13
  112. package/dist/components/st-toggle/st-toggle.d.ts +11 -10
  113. package/dist/components/st-tooltip/index.d.ts +27 -352
  114. package/dist/components/st-tooltip/st-tooltip.d.ts +14 -10
  115. package/dist/components/st-tooltip/types.d.ts +10 -97
  116. package/dist/components/st-tree/index.d.ts +48 -73
  117. package/dist/components/st-tree/st-tree-node.d.ts +9 -2
  118. package/dist/components/st-tree/st-tree.d.ts +15 -69
  119. package/dist/components/st-tree/types.d.ts +6 -1
  120. package/dist/components/st-tree/useTreeStyleState.d.ts +2 -0
  121. package/dist/directive/v-intersection.d.ts +3 -15
  122. package/dist/directive/v-resize.d.ts +3 -15
  123. package/dist/dist--ubF9h1Q.js +335 -0
  124. package/dist/global.d.ts +0 -3
  125. package/dist/index.d.ts +2 -8
  126. package/dist/straw-ui.js +3767 -4269
  127. package/dist/useDialogState-Cs1mp3-Y.js +5 -0
  128. package/dist/utils/device.d.ts +20 -21
  129. package/dist/utils/z-index.d.ts +9 -39
  130. package/package.json +5 -5
  131. package/dist/components/st-tooltip/st-tooltip-container.d.ts +0 -44
  132. package/dist/components/st-tooltip/st-tooltip-content.d.ts +0 -30
  133. package/dist/components/st-tooltip/st-tooltip-trigger.d.ts +0 -23
  134. package/dist/context-B_FwxbY6.js +0 -4
  135. package/dist/utils/id.d.ts +0 -4
@@ -1,5 +1,6 @@
1
- import { StDateTimePickerPanelProps } from './types.d.ts';
2
- declare const __VLS_export: import('vue').DefineComponent<StDateTimePickerPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { StDateTimePickerPanelProps, StDateTimePickerPanelSlots } from './types.d.ts';
2
+ type __VLS_Slots = StDateTimePickerPanelSlots;
3
+ declare const __VLS_base: import('vue').DefineComponent<StDateTimePickerPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
4
  select: (dateTime: Date) => any;
4
5
  close: () => any;
5
6
  selectRange: (range: import('./types.d.ts').StDateTimeRange) => any;
@@ -9,12 +10,16 @@ declare const __VLS_export: import('vue').DefineComponent<StDateTimePickerPanelP
9
10
  onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
10
11
  }>, {
11
12
  type: import('./types.d.ts').StDateTimePickerType;
12
- style: import('vue').StyleValue;
13
- class: any;
14
13
  selectedRange: import('./types.d.ts').StDateTimeRange;
15
14
  disabledDate: (date: Date) => boolean;
16
15
  showSeconds: boolean;
17
16
  selectedDateTime: Date | null;
18
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -1,13 +1,10 @@
1
- import { StDateTimePickerExpose, StDateTimePickerProps, StDateTimeRangeValue } from './types.d.ts';
1
+ import { StDateTimePickerExpose, StDateTimePickerProps, StDateTimePickerSlots, StDateTimeRangeValue } from './types.d.ts';
2
2
  type __VLS_Props = StDateTimePickerProps;
3
+ type __VLS_Slots = StDateTimePickerSlots;
3
4
  type __VLS_ModelProps = {
4
5
  modelValue?: string | Date | StDateTimeRangeValue | null;
5
6
  };
6
7
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
- declare var __VLS_25: {};
8
- type __VLS_Slots = {} & {
9
- prefix?: (props: typeof __VLS_25) => any;
10
- };
11
8
  declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDateTimePickerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
9
  clear: () => any;
13
10
  change: (value: string | Date | StDateTimeRangeValue) => any;
@@ -70,6 +70,16 @@ export interface StDateTimePickerProps {
70
70
  panelStyle?: StyleValue;
71
71
  }
72
72
 
73
+ /**
74
+ * StDateTimePicker 主组件插槽接口
75
+ */
76
+ export interface StDateTimePickerSlots {
77
+ /** 默认插槽(触发元素) */
78
+ default?: () => unknown;
79
+ /** 前缀插槽 */
80
+ prefix?: () => unknown;
81
+ }
82
+
73
83
  /**
74
84
  * StDateTimePicker 主组件事件接口
75
85
  */
@@ -110,10 +120,14 @@ export interface StDateTimePickerPanelProps {
110
120
  disabledDate?: (date: Date) => boolean;
111
121
  /** 是否显示秒 */
112
122
  showSeconds?: boolean;
113
- /** 自定义类名 */
114
- class?: ClassValue;
115
- /** 自定义样式 */
116
- style?: StyleValue;
123
+ }
124
+
125
+ /**
126
+ * DateTimePickerPanel 面板组件插槽接口
127
+ */
128
+ export interface StDateTimePickerPanelSlots {
129
+ /** 默认插槽 */
130
+ default?: () => unknown;
117
131
  }
118
132
 
119
133
  /**
@@ -0,0 +1,2 @@
1
+ import { StDialogGroupContext } from './types.d.ts';
2
+ export declare const useProvideDialog: (context: StDialogGroupContext) => StDialogGroupContext, useInjectDialog: () => StDialogGroupContext;
@@ -0,0 +1,2 @@
1
+ import { StDividerContext } from './types.d.ts';
2
+ export declare const useProvideDivider: (context: StDividerContext) => StDividerContext, useInjectDivider: () => StDividerContext;
@@ -0,0 +1,2 @@
1
+ import { StDrawerGroupContext } from './types.d.ts';
2
+ export declare const useProvideDrawer: (context: StDrawerGroupContext) => StDrawerGroupContext, useInjectDrawer: () => StDrawerGroupContext;
@@ -36,4 +36,9 @@ export interface StEmptySlots {
36
36
  description?: () => unknown;
37
37
  }
38
38
 
39
+ /**
40
+ * 空状态组件事件类型
41
+ * */
42
+ export interface StEmptyEmits {}
43
+
39
44
  export {};
@@ -1,14 +1,7 @@
1
- import type { ClassValue, StyleValue } from 'vue';
2
-
3
1
  /**
4
2
  * 表单控制组件属性接口
5
3
  * */
6
- export interface StFormControlProps {
7
- /** 自定义类名 */
8
- class?: ClassValue;
9
- /** 自定义样式 */
10
- style?: StyleValue;
11
- }
4
+ export interface StFormControlProps {}
12
5
 
13
6
  /**
14
7
  * 表单控制组件插槽接口
@@ -18,4 +11,9 @@ export interface StFormControlSlots {
18
11
  default?: () => unknown;
19
12
  }
20
13
 
14
+ /**
15
+ * 表单控制组件事件接口
16
+ * */
17
+ export interface StFormControlEmits {}
18
+
21
19
  export {};
@@ -11,9 +11,7 @@ export declare const StFormDescription: {
11
11
  __isTeleport?: never;
12
12
  __isSuspense?: never;
13
13
  } & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StFormDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
- $slots: {
15
- default?: (props: {}) => any;
16
- };
14
+ $slots: import('./types.d.ts').StFormDescriptionSlots;
17
15
  });
18
16
  export default StFormDescription;
19
17
  export type * from './types.d.ts';
@@ -1,8 +1,5 @@
1
- import { StFormDescriptionProps } from './types.d.ts';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
1
+ import { StFormDescriptionProps, StFormDescriptionSlots } from './types.d.ts';
2
+ type __VLS_Slots = StFormDescriptionSlots;
6
3
  declare const __VLS_base: import('vue').DefineComponent<StFormDescriptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StFormDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
4
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
5
  declare const _default: typeof __VLS_export;
@@ -18,4 +18,9 @@ export interface StFormDescriptionSlots {
18
18
  default?: () => unknown;
19
19
  }
20
20
 
21
+ /**
22
+ * 表单描述组件事件类型
23
+ * */
24
+ export interface StFormDescriptionEmits {}
25
+
21
26
  export {};
@@ -13,8 +13,6 @@ export declare const StFormField: {
13
13
  "update:error": (value: boolean) => any;
14
14
  }, import('vue').PublicProps, {
15
15
  name: string;
16
- style: import('vue').StyleValue;
17
- class: any;
18
16
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
19
17
  P: {};
20
18
  B: {};
@@ -32,8 +30,6 @@ export declare const StFormField: {
32
30
  "onUpdate:error"?: (value: boolean) => any;
33
31
  }>, {}, {}, {}, {}, {
34
32
  name: string;
35
- style: import('vue').StyleValue;
36
- class: any;
37
33
  }>;
38
34
  __isFragment?: never;
39
35
  __isTeleport?: never;
@@ -52,14 +48,8 @@ export declare const StFormField: {
52
48
  "update:error": (value: boolean) => any;
53
49
  }, string, {
54
50
  name: string;
55
- style: import('vue').StyleValue;
56
- class: any;
57
51
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
58
- $slots: {
59
- default?: (props: {
60
- componentField: import('./types.d.ts').StComponentField;
61
- }) => any;
62
- };
52
+ $slots: import('./types.d.ts').StFormFieldSlots;
63
53
  });
64
54
  export default StFormField;
65
55
  export type * from './types.d.ts';
@@ -1,17 +1,12 @@
1
- import { StComponentField, StFormFieldProps } from './types';
1
+ import { StFormFieldProps, StFormFieldSlots } from './types';
2
2
  type __VLS_Props = StFormFieldProps;
3
+ type __VLS_Slots = StFormFieldSlots;
3
4
  type __VLS_ModelProps = {
4
5
  modelValue?: unknown;
5
6
  'disabled'?: boolean;
6
7
  'error'?: boolean;
7
8
  };
8
9
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare var __VLS_1: {
10
- componentField: StComponentField;
11
- };
12
- type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_1) => any;
14
- };
15
10
  declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
11
  "update:modelValue": (value: unknown) => any;
17
12
  "update:disabled": (value: boolean) => any;
@@ -22,8 +17,6 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
22
17
  "onUpdate:error"?: (value: boolean) => any;
23
18
  }>, {
24
19
  name: string;
25
- style: import('vue').StyleValue;
26
- class: any;
27
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
28
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
22
  declare const _default: typeof __VLS_export;
@@ -1,15 +1,9 @@
1
- import type { ClassValue, StyleValue } from 'vue';
2
-
3
1
  /**
4
2
  * 表单字段组件属性接口
5
3
  * */
6
4
  export interface StFormFieldProps {
7
5
  /** 字段名称 */
8
6
  name?: string;
9
- /** 自定义类名 */
10
- class?: ClassValue;
11
- /** 自定义样式 */
12
- style?: StyleValue;
13
7
  }
14
8
 
15
9
  /**
@@ -56,6 +50,11 @@ export interface StFormFieldSlots {
56
50
  default?: (props: { componentField: StComponentField }) => unknown;
57
51
  }
58
52
 
53
+ /**
54
+ * 表单字段组件事件接口
55
+ * */
56
+ export interface StFormFieldEmits {}
57
+
59
58
  /**
60
59
  * 表单字段组件注入键类型
61
60
  * */
@@ -11,9 +11,7 @@ export declare const StFormItem: {
11
11
  __isTeleport?: never;
12
12
  __isSuspense?: never;
13
13
  } & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StFormItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
- $slots: {
15
- default?: (props: {}) => any;
16
- };
14
+ $slots: import('./types.d.ts').StFormItemSlots;
17
15
  });
18
16
  export default StFormItem;
19
17
  export type * from './types.d.ts';
@@ -1,8 +1,5 @@
1
- import { StFormItemProps } from './types.d.ts';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
1
+ import { StFormItemProps, StFormItemSlots } from './types.d.ts';
2
+ type __VLS_Slots = StFormItemSlots;
6
3
  declare const __VLS_base: import('vue').DefineComponent<StFormItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StFormItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
4
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
5
  declare const _default: typeof __VLS_export;
@@ -1,14 +1,7 @@
1
- import type { ClassValue, StyleValue } from 'vue';
2
-
3
1
  /**
4
2
  * 表单项组件属性
5
3
  * */
6
- export interface StFormItemProps {
7
- /** 自定义类名 */
8
- class?: ClassValue;
9
- /** 自定义样式 */
10
- style?: StyleValue;
11
- }
4
+ export interface StFormItemProps {}
12
5
 
13
6
  /**
14
7
  * 表单项组件插槽类型
@@ -18,4 +11,9 @@ export interface StFormItemSlots {
18
11
  default?: () => unknown;
19
12
  }
20
13
 
14
+ /**
15
+ * 表单项组件事件类型
16
+ * */
17
+ export interface StFormItemEmits {}
18
+
21
19
  export {};
@@ -17,9 +17,7 @@ export declare const StFormLabel: {
17
17
  } & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StFormLabelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
18
18
  error: boolean;
19
19
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
20
- $slots: {
21
- default?: (props: {}) => any;
22
- };
20
+ $slots: import('./types.d.ts').StFormLabelSlots;
23
21
  });
24
22
  export default StFormLabel;
25
23
  export type * from './types.d.ts';
@@ -1,8 +1,5 @@
1
- import { StFormLabelProps } from './types.d.ts';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
1
+ import { StFormLabelProps, StFormLabelSlots } from './types.d.ts';
2
+ type __VLS_Slots = StFormLabelSlots;
6
3
  declare const __VLS_base: import('vue').DefineComponent<StFormLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StFormLabelProps> & Readonly<{}>, {
7
4
  error: boolean;
8
5
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -16,4 +16,9 @@ export interface StFormLabelSlots {
16
16
  default?: () => unknown;
17
17
  }
18
18
 
19
+ /**
20
+ * 表单标签组件事件类型
21
+ * */
22
+ export interface StFormLabelEmits {}
23
+
19
24
  export {};
@@ -11,9 +11,7 @@ export declare const StFormMessage: {
11
11
  __isTeleport?: never;
12
12
  __isSuspense?: never;
13
13
  } & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StFormMessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
- $slots: {
15
- default?: (props: {}) => any;
16
- };
14
+ $slots: import('./types.d.ts').StFormMessageSlots;
17
15
  });
18
16
  export default StFormMessage;
19
17
  export type * from './types.d.ts';
@@ -1,8 +1,5 @@
1
- import { StFormMessageProps } from './types';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
1
+ import { StFormMessageProps, StFormMessageSlots } from './types';
2
+ type __VLS_Slots = StFormMessageSlots;
6
3
  declare const __VLS_base: import('vue').DefineComponent<StFormMessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StFormMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
4
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
5
  declare const _default: typeof __VLS_export;
@@ -20,4 +20,9 @@ export interface StFormMessageSlots {
20
20
  default?: () => unknown;
21
21
  }
22
22
 
23
+ /**
24
+ * 表单验证消息组件事件类型
25
+ * */
26
+ export interface StFormMessageEmits {}
27
+
23
28
  export {};