@fewangsit/wangsvue 1.5.229-alpha.4 → 1.5.229-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/badge/index.d.ts CHANGED
@@ -60,14 +60,14 @@ export interface BadgeProps extends BadgeComponentConfigs {
60
60
  /**
61
61
  * Emits for Badge component
62
62
  */
63
- export type BadgeEmits = {
63
+ export interface BadgeEmits {
64
64
  'remove': [];
65
65
  /**
66
66
  * Emits when the text is edited.
67
67
  * Only available when props.editable=true
68
68
  */
69
69
  'update:label': [label: string | null, prevLabel: string | null];
70
- };
70
+ }
71
71
 
72
72
  /**
73
73
  * **WangsVue - Badge**
@@ -709,7 +709,7 @@ export interface BaseDataTableProps {
709
709
 
710
710
  export type DataTableProps = BaseDataTableProps | TreeTableProps;
711
711
 
712
- export type BaseDataTableEmits = {
712
+ export interface BaseDataTableEmits {
713
713
  /**
714
714
  * Emits when option menu button clicked.
715
715
  */
@@ -760,9 +760,9 @@ export type BaseDataTableEmits = {
760
760
  * This will update the `selectedData` value whenever a row is selected or deselected.
761
761
  */
762
762
  'update:selectedData': [datas: Data[]];
763
- };
763
+ }
764
764
 
765
- export type TreeTableEmits = BaseDataTableEmits & {
765
+ export interface TreeTableEmits extends BaseDataTableEmits {
766
766
  /**
767
767
  * Emitted when a row is clicked/selected. Only available on `single` selectionType
768
768
  */
@@ -781,9 +781,9 @@ export type TreeTableEmits = BaseDataTableEmits & {
781
781
  *
782
782
  */
783
783
  'rowReorder': [payload?: DataTableRowReorderEvent];
784
- };
784
+ }
785
785
 
786
- export type DataTableEmits = TreeTableEmits;
786
+ export interface DataTableEmits extends TreeTableEmits {}
787
787
 
788
788
  export interface DataTableSlots {
789
789
  /**
@@ -1,18 +1,18 @@
1
1
  import type { ClassComponent } from '../ts-helpers';
2
2
 
3
- export interface Props {
3
+ export interface DialogReportBugProps {
4
4
  visible: boolean;
5
5
  header?: string;
6
6
  }
7
7
 
8
- export type Emits = {
8
+ export type DialogReportBugEmits = {
9
9
  'close': [];
10
10
  'update:visible': [val: boolean];
11
11
  'submit': [note?: string];
12
12
  };
13
13
 
14
14
  export default class DialogReportBug extends ClassComponent<
15
- Props,
15
+ DialogReportBugProps,
16
16
  unknown,
17
- Emits
17
+ DialogReportBugEmits
18
18
  > {}
@@ -11,7 +11,7 @@ export type InputErrorCodes = 'FILE_SIZE_TOO_LARGE';
11
11
  /**
12
12
  * Defines valid properties in FileUpload component.
13
13
  */
14
- export type FileUploadProps = {
14
+ export interface FileUploadProps {
15
15
  /**
16
16
  * Pattern to restrict the allowed file types such as 'image/*'.
17
17
  */
@@ -122,7 +122,7 @@ export type FileUploadProps = {
122
122
  * Classes for validator message in input field.
123
123
  */
124
124
  validatorMessageClass?: string;
125
- };
125
+ }
126
126
 
127
127
  export type FileUploadEmits = {
128
128
  /**
@@ -157,7 +157,7 @@ export type FileUploadEmits = {
157
157
  */
158
158
  declare class FileUpload extends ClassComponent<
159
159
  FileUploadProps,
160
- null,
160
+ unknown,
161
161
  FileUploadEmits
162
162
  > {}
163
163
 
@@ -4,12 +4,12 @@ import { ClassComponent } from '../ts-helpers.d';
4
4
  /**
5
5
  * InputEmail component props
6
6
  */
7
- export type InputEmailProps = Omit<InputTextProps, 'type'>;
7
+ export interface InputEmailProps extends Omit<InputTextProps, 'type'> {}
8
8
 
9
9
  /**
10
10
  * InputEmail component emits
11
11
  */
12
- export type InputEmailEmits = InputTextEmits;
12
+ export interface InputEmailEmits extends InputTextEmits {}
13
13
 
14
14
  /**
15
15
  * **WangsVue - InputEmail**
@@ -7,12 +7,12 @@ import { ClassComponent } from '../ts-helpers.d';
7
7
  /**
8
8
  * InputURL component props
9
9
  */
10
- export type InputURLProps = Omit<InputTextProps, 'type'>;
10
+ export interface InputURLProps extends Omit<InputTextProps, 'type'> {}
11
11
 
12
12
  /**
13
13
  * InputURL component emits
14
14
  */
15
- export type InputURLEmits = InputTextEmits;
15
+ export interface InputURLEmits extends InputTextEmits {}
16
16
 
17
17
  export interface InputURLSlots {
18
18
  'addon-left': () => VNode[];