next-element-vue 0.8.3 → 0.8.6

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 (37) hide show
  1. package/README.md +1 -1
  2. package/dist/index.css +5 -5
  3. package/dist/index.js +3 -3
  4. package/dist/packages/components/crud-table/index.d.ts +1 -1
  5. package/dist/packages/components/crud-table/src/config.d.ts +56 -45
  6. package/dist/packages/components/crud-table/src/hook.d.ts +1 -1
  7. package/dist/packages/components/crud-table/src/index.d.ts +1 -1
  8. package/dist/packages/components/crud-table/src/widgets/add-edit-form.d.ts +1 -1
  9. package/dist/packages/components/crud-table/src/widgets/table-column-dynamic.d.ts +4 -3
  10. package/dist/packages/components/crud-table-virtualized/index.d.ts +1 -1
  11. package/dist/packages/components/crud-table-virtualized/src/index-demo.d.ts +1 -1
  12. package/dist/packages/components/crud-table-virtualized/src/index.d.ts +1 -1
  13. package/dist/packages/components/dialog/index.d.ts +1 -1
  14. package/dist/packages/components/dialog/src/index.d.ts +1 -1
  15. package/dist/packages/components/form/index.d.ts +1 -1
  16. package/dist/packages/components/form/src/config.d.ts +27 -26
  17. package/dist/packages/components/form/src/index.d.ts +1 -1
  18. package/dist/packages/components/form/src/widgets/upload-image.d.ts +6 -7
  19. package/dist/packages/components/labelimg/src/hooks/canvas-context-hook.d.ts +4 -1
  20. package/dist/packages/components/labelme/index.d.ts +1 -1
  21. package/dist/packages/components/labelme/src/index.d.ts +1 -1
  22. package/dist/packages/components/layout/src/classic/index.d.ts +2 -2
  23. package/dist/packages/components/layout/src/composite/index.d.ts +2 -2
  24. package/dist/packages/components/layout/src/widgets/header-tools.d.ts +2 -1
  25. package/dist/packages/components/layout/src/widgets/layout-setting.d.ts +3 -1
  26. package/dist/packages/components/spin-loading/index.d.ts +1 -2
  27. package/dist/packages/components/spin-loading/src/index.d.ts +1 -2
  28. package/dist/packages/components/text-ellipsis/index.d.ts +5 -3
  29. package/dist/packages/components/text-ellipsis/src/index.d.ts +8 -3
  30. package/dist/packages/components/upload/index.d.ts +1 -2
  31. package/dist/packages/components/upload/src/index.d.ts +1 -2
  32. package/dist/packages/components/video-player/src/hook.d.ts +2 -2
  33. package/dist/packages/hooks/global-config.d.ts +1 -0
  34. package/dist/packages/hooks/global-hook.d.ts +1 -1
  35. package/dist/packages/hooks/use-locale/index.d.ts +3 -120
  36. package/dist/packages/hooks/use-namespace/index.d.ts +2 -2
  37. package/package.json +6 -11
@@ -196,11 +196,11 @@ export declare const NextCrudTable: import("../../utils/install").SFCWithInstall
196
196
  onViewAddEdit?: (...args: any[]) => any;
197
197
  onSubmitForm?: (...args: any[]) => any;
198
198
  }>, {
199
+ loading: boolean;
199
200
  data: unknown[];
200
201
  style: import("vue").CSSProperties;
201
202
  className: string;
202
203
  options: Record<string, any>;
203
- loading: boolean;
204
204
  page: Record<string, any>;
205
205
  cellClassName: Function;
206
206
  rowClassName: Function;
@@ -6,28 +6,36 @@ export declare interface Column {
6
6
  readonly prop: string;
7
7
  label: string;
8
8
  type?: string;
9
+ columnType?: string;
9
10
  placeholder?: string;
10
11
  rangeSeparator?: string;
11
12
  startPlaceholder?: string;
12
13
  endPlaceholder?: string;
13
14
  dicKey?: string;
15
+ dicLabel?: string;
16
+ treeSelectProps?: {
17
+ value?: string;
18
+ label?: string;
19
+ separator?: string;
20
+ };
14
21
  dicData?: DictData[];
15
- loadDicData?: Function;
22
+ loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
16
23
  disabled?: boolean;
17
24
  readonly?: boolean;
18
25
  defaultValue?: any;
19
26
  labelWidth?: string | number;
20
27
  multiple?: boolean;
21
- prefix?: Function;
22
- suffix?: Function;
23
- prepend?: Function;
24
- append?: Function;
28
+ prefix?: (...args: any[]) => string;
29
+ suffix?: (...args: any[]) => string;
30
+ prepend?: (...args: any[]) => string;
31
+ append?: (...args: any[]) => string;
25
32
  sort?: number;
26
33
  required?: boolean;
27
34
  hide?: boolean;
28
35
  span?: number;
29
36
  tableSelect?: any;
30
- onChange?: Function;
37
+ onChange?: (...args: any[]) => void;
38
+ onVisibleChange?: (...args: any[]) => void;
31
39
  }
32
40
  export interface SearchColumnProps extends Column {
33
41
  searchType?: string;
@@ -44,20 +52,20 @@ export interface SearchColumnProps extends Column {
44
52
  searchRangeSeparator?: string;
45
53
  searchStartPlaceholder?: string;
46
54
  searchEndPlaceholder?: string;
47
- searchDisabledDate?: Function;
55
+ searchDisabledDate?: (...args: any[]) => boolean;
48
56
  searchEditable?: boolean;
49
57
  searchShortcuts?: any;
50
58
  searchMin?: number;
51
59
  searchMax?: number;
52
60
  searchPlaceholder?: string;
53
- searchPrefix?: Function;
54
- searchSuffix?: Function;
55
- searchPrepend?: Function;
56
- searchAppend?: Function;
61
+ searchPrefix?: (...args: any[]) => string;
62
+ searchSuffix?: (...args: any[]) => string;
63
+ searchPrepend?: (...args: any[]) => string;
64
+ searchAppend?: (...args: any[]) => string;
57
65
  searchDicKey?: string;
58
66
  searchDicData?: DictData[];
59
- searchLoadDicData?: Function;
60
- onChangeSearch?: Function;
67
+ searchLoadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
68
+ onChangeSearch?: (...args: any[]) => void;
61
69
  searchNodeKey?: string;
62
70
  searchAccordion?: boolean;
63
71
  searchLeafOnly?: boolean;
@@ -66,13 +74,13 @@ export interface SearchColumnProps extends Column {
66
74
  searchCheckOnClickNode?: boolean;
67
75
  searchRenderAfterExpand?: boolean;
68
76
  searchTreeSelectProps?: string;
69
- treeSelectNodeClickSearch?: Function;
70
- treeSelectNodeContextmenuSearch?: Function;
71
- treeSelectCheckSearch?: Function;
72
- treeSelecCheckChangeSearch?: Function;
73
- treeSelecNodeExpandSearch?: Function;
74
- treeSelecNodeCollapseSearch?: Function;
75
- treeSelecCurrentChangeSearch?: Function;
77
+ treeSelectNodeClickSearch?: (...args: any[]) => void;
78
+ treeSelectNodeContextmenuSearch?: (...args: any[]) => void;
79
+ treeSelectCheckSearch?: (...args: any[]) => void;
80
+ treeSelecCheckChangeSearch?: (...args: any[]) => void;
81
+ treeSelecNodeExpandSearch?: (...args: any[]) => void;
82
+ treeSelecNodeCollapseSearch?: (...args: any[]) => void;
83
+ treeSelecCurrentChangeSearch?: (...args: any[]) => void;
76
84
  }
77
85
  export interface FormColunmProps extends Column {
78
86
  formSort?: number;
@@ -87,9 +95,9 @@ export interface FormColunmProps extends Column {
87
95
  rangeSeparator?: string;
88
96
  arrowControl?: boolean;
89
97
  placement?: string;
90
- disabledHours?: Function;
91
- disabledMinutes?: Function;
92
- disabledSeconds?: Function;
98
+ disabledHours?: (...args: any[]) => boolean;
99
+ disabledMinutes?: (...args: any[]) => boolean;
100
+ disabledSeconds?: (...args: any[]) => boolean;
93
101
  };
94
102
  formTimeSelectProps?: {
95
103
  start?: string;
@@ -111,21 +119,21 @@ export interface FormColunmProps extends Column {
111
119
  formTextareaRows?: number;
112
120
  formInputMinlength?: number;
113
121
  formInputMaxlength?: number;
114
- formPrefix?: Function;
115
- formSuffix?: Function;
116
- formPrepend?: Function;
117
- formAppend?: Function;
122
+ formPrefix?: (...args: any[]) => string;
123
+ formSuffix?: (...args: any[]) => string;
124
+ formPrepend?: (...args: any[]) => string;
125
+ formAppend?: (...args: any[]) => string;
118
126
  formSpan?: number;
119
127
  formSpanFixed?: number;
120
128
  formTip?: string;
121
129
  formLabel?: string;
122
130
  formMutiple?: boolean;
123
- formDisabledDate?: Function;
131
+ formDisabledDate?: (...args: any[]) => boolean;
124
132
  formShortcuts?: any[];
125
133
  formFormat?: string;
126
134
  formAccept?: string;
127
- formRenderDividerBefore?: Function;
128
- formRenderDividerAfter?: Function;
135
+ formRenderDividerBefore?: (...args: any[]) => void;
136
+ formRenderDividerAfter?: (...args: any[]) => void;
129
137
  formRemark?: string;
130
138
  formRules?: any[];
131
139
  formDicKey?: string;
@@ -135,13 +143,13 @@ export interface FormColunmProps extends Column {
135
143
  formCollapseTagsTooltip?: boolean;
136
144
  formLimit?: number;
137
145
  formDicData?: DictData[];
138
- formLoadDicData?: Function;
146
+ formLoadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
139
147
  formAccordion?: boolean;
140
- onChangeForm?: Function;
141
- onClearForm?: Function;
142
- onBlurForm?: Function;
143
- onFocusForm?: Function;
144
- onExceedForm?: Function;
148
+ onChangeForm?: (...args: any[]) => void;
149
+ onClearForm?: (...args: any[]) => void;
150
+ onBlurForm?: (...args: any[]) => void;
151
+ onFocusForm?: (...args: any[]) => void;
152
+ onExceedForm?: (...args: any[]) => void;
145
153
  formFilterable?: boolean;
146
154
  formAllowCreate?: boolean;
147
155
  formNodeKey?: string;
@@ -151,26 +159,29 @@ export interface FormColunmProps extends Column {
151
159
  formShowCheckboxn?: boolean;
152
160
  formRenderAfterExpand?: boolean;
153
161
  formTreeSelectProps?: string;
154
- treeSelectNodeClickForm?: Function;
155
- treeSelectNodeContextmenuForm?: Function;
156
- treeSelectCheckForm?: Function;
157
- treeSelecCheckChangeForm?: Function;
158
- treeSelecNodeExpandForm?: Function;
159
- treeSelecNodeCollapseForm?: Function;
160
- treeSelecCurrentChangeForm?: Function;
162
+ treeSelectNodeClickForm?: (...args: any[]) => void;
163
+ treeSelectNodeContextmenuForm?: (...args: any[]) => void;
164
+ treeSelectCheckForm?: (...args: any[]) => void;
165
+ treeSelecCheckChangeForm?: (...args: any[]) => void;
166
+ treeSelecNodeExpandForm?: (...args: any[]) => void;
167
+ treeSelecNodeCollapseForm?: (...args: any[]) => void;
168
+ treeSelecCurrentChangeForm?: (...args: any[]) => void;
161
169
  }
162
170
  export interface TableColumnProps extends SearchColumnProps, FormColunmProps {
163
171
  width?: string | number;
164
172
  minWidth?: string | number;
165
173
  fixed?: string | boolean;
166
- formatter?: Function;
174
+ formatter?: (...args: any[]) => string;
167
175
  showOverflowTooltip?: boolean | object;
176
+ type?: string;
168
177
  headerAlign?: string;
169
178
  align?: string;
170
179
  sortable?: boolean;
180
+ sortMethod?: (...args: any[]) => number;
171
181
  cellUnit?: string;
172
182
  children?: TableColumnProps[];
173
- renderColumnCell?: Function;
183
+ renderColumnCell?: (...args: any[]) => void;
184
+ renderHeader?: (...args: any[]) => void;
174
185
  }
175
186
  export declare const header_menu_slots_key: string[];
176
187
  export declare const operation_column_slots_key: string[];
@@ -38,4 +38,4 @@ export declare const getDefaultExpandedKeys: (treeData: any) => string[];
38
38
  * @param options
39
39
  * @returns
40
40
  */
41
- export declare const updateFormColumns: (options: any, cb: Function) => void;
41
+ export declare const updateFormColumns: (options: any, cb: (params: any) => void) => void;
@@ -149,11 +149,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
149
149
  onViewAddEdit?: (...args: any[]) => any;
150
150
  onSubmitForm?: (...args: any[]) => any;
151
151
  }>, {
152
+ loading: boolean;
152
153
  data: unknown[];
153
154
  style: import("vue").CSSProperties;
154
155
  className: string;
155
156
  options: Record<string, any>;
156
- loading: boolean;
157
157
  page: Record<string, any>;
158
158
  cellClassName: Function;
159
159
  rowClassName: Function;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  type: ArrayConstructor;
12
12
  default: () => any[];
13
13
  };
14
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "submit")[], "close" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "close")[], "submit" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  formDatum: {
16
16
  type: ObjectConstructor;
17
17
  default: () => {};
@@ -1,14 +1,15 @@
1
+ import type { TableColumnProps } from '../config';
1
2
  declare const TableColumnDynamic: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
3
  columnOption: {
3
- type: ObjectConstructor;
4
+ type: () => TableColumnProps;
4
5
  default: () => {};
5
6
  };
6
7
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
8
  columnOption: {
8
- type: ObjectConstructor;
9
+ type: () => TableColumnProps;
9
10
  default: () => {};
10
11
  };
11
12
  }>> & Readonly<{}>, {
12
- columnOption: Record<string, any>;
13
+ columnOption: TableColumnProps;
13
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
15
  export default TableColumnDynamic;
@@ -58,11 +58,11 @@ export declare const NextCrudTableVirtualized: import("../../utils/install").SFC
58
58
  };
59
59
  };
60
60
  }>> & Readonly<{}>, {
61
+ loading: boolean;
61
62
  data: unknown[];
62
63
  style: import("vue").CSSProperties;
63
64
  className: string;
64
65
  options: Record<string, any>;
65
- loading: boolean;
66
66
  page: Record<string, any>;
67
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
68
68
  export default NextCrudTableVirtualized;
@@ -59,11 +59,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  }>> & Readonly<{
60
60
  [x: `on${Capitalize<any>}`]: (...args: any[]) => any;
61
61
  }>, {
62
+ loading: boolean;
62
63
  data: unknown[];
63
64
  style: import("vue").CSSProperties;
64
65
  className: string;
65
66
  options: Record<string, any>;
66
- loading: boolean;
67
67
  page: Record<string, any>;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
69
  export default _default;
@@ -57,11 +57,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
57
  };
58
58
  };
59
59
  }>> & Readonly<{}>, {
60
+ loading: boolean;
60
61
  data: unknown[];
61
62
  style: import("vue").CSSProperties;
62
63
  className: string;
63
64
  options: Record<string, any>;
64
- loading: boolean;
65
65
  page: Record<string, any>;
66
66
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
67
67
  export default _default;
@@ -148,9 +148,9 @@ export declare const NextDialog: import("../../utils/install").SFCWithInstall<im
148
148
  }>> & Readonly<{
149
149
  onClose?: (...args: any[]) => any;
150
150
  }>, {
151
+ title: string;
151
152
  showClose: boolean;
152
153
  style: import("vue").CSSProperties;
153
- title: string;
154
154
  top: string;
155
155
  className: string;
156
156
  width: string | number;
@@ -148,9 +148,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
148
148
  }>> & Readonly<{
149
149
  onClose?: (...args: any[]) => any;
150
150
  }>, {
151
+ title: string;
151
152
  showClose: boolean;
152
153
  style: CSSProperties;
153
- title: string;
154
154
  top: string;
155
155
  className: string;
156
156
  width: string | number;
@@ -169,7 +169,7 @@ export declare const NextForm: import("../../utils/install").SFCWithInstall<impo
169
169
  type: ObjectConstructor;
170
170
  default: () => {};
171
171
  };
172
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "close" | "submit")[], "reset" | "close" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
172
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit" | "close")[], "reset" | "submit" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
173
173
  options: {
174
174
  type: ObjectConstructor;
175
175
  default: () => {};
@@ -21,10 +21,10 @@ export interface FormItemProps {
21
21
  inputMinlength?: number;
22
22
  inputMaxlength?: number;
23
23
  required?: boolean;
24
- prefix?: Function;
25
- suffix?: Function;
26
- prepend?: Function;
27
- append?: Function;
24
+ prefix?: (formParams: any, col: any) => string;
25
+ suffix?: (formParams: any, col: any) => string;
26
+ prepend?: (formParams: any, col: any) => string;
27
+ append?: (formParams: any, col: any) => string;
28
28
  format?: string;
29
29
  placeholder?: string;
30
30
  startPlaceholder?: string;
@@ -35,9 +35,9 @@ export interface FormItemProps {
35
35
  rangeSeparator?: string;
36
36
  arrowControl?: boolean;
37
37
  placement?: string;
38
- disabledHours?: Function;
39
- disabledMinutes?: Function;
40
- disabledSeconds?: Function;
38
+ disabledHours?: () => boolean;
39
+ disabledMinutes?: () => boolean;
40
+ disabledSeconds?: () => boolean;
41
41
  };
42
42
  timeSelectProps?: {
43
43
  start?: string;
@@ -52,7 +52,7 @@ export interface FormItemProps {
52
52
  allowCreate?: boolean;
53
53
  clearable?: boolean;
54
54
  dicData?: DicData[];
55
- loadDicData?: Function;
55
+ loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
56
56
  _dictDataLoading?: boolean;
57
57
  hide?: boolean;
58
58
  multiple?: boolean;
@@ -62,17 +62,18 @@ export interface FormItemProps {
62
62
  accept?: string;
63
63
  editable?: boolean;
64
64
  rules?: any;
65
- disabledDate?: Function;
65
+ disabledDate?: (time: Date, formParams: any) => boolean;
66
66
  shortcuts?: any[];
67
67
  tip?: string;
68
- renderDividerBefore?: Function;
69
- renderDividerAfter?: Function;
68
+ renderDividerBefore?: () => string;
69
+ renderDividerAfter?: () => string;
70
70
  remark?: string;
71
- onChange?: Function;
72
- onClear?: Function;
73
- onBlur?: Function;
74
- onFocus?: Function;
75
- onExceed?: Function;
71
+ onChange?: (...args: any[]) => void;
72
+ onVisibleChange?: (...args: any[]) => void;
73
+ onClear?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
74
+ onBlur?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
75
+ onFocus?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
76
+ onExceed?: (...args: any[]) => void;
76
77
  tableSelect?: any;
77
78
  tableSelectRows?: any[];
78
79
  tableSelectProps?: {
@@ -80,8 +81,8 @@ export interface FormItemProps {
80
81
  label: string;
81
82
  required?: boolean;
82
83
  };
83
- tableSelectDefaultValue?: Function;
84
- onTableSelect?: Function;
84
+ tableSelectDefaultValue?: any[];
85
+ onTableSelect?: (val: any) => void;
85
86
  nodeKey?: string;
86
87
  accordion?: boolean;
87
88
  checkStrictly?: boolean;
@@ -89,14 +90,14 @@ export interface FormItemProps {
89
90
  showCheckbox?: boolean;
90
91
  leafOnly?: boolean;
91
92
  renderAfterExpand?: boolean;
92
- treeSelectProps?: Object;
93
- treeSelectNodeClick?: Function;
94
- treeSelectNodeContextmenu?: Function;
95
- treeSelectCheck?: Function;
96
- treeSelecCheckChange?: Function;
97
- treeSelecNodeExpand?: Function;
98
- treeSelecNodeCollapse?: Function;
99
- treeSelecCurrentChange?: Function;
93
+ treeSelectProps?: object;
94
+ treeSelectNodeClick?: () => void;
95
+ treeSelectNodeContextmenu?: () => void;
96
+ treeSelectCheck?: () => void;
97
+ treeSelecCheckChange?: () => void;
98
+ treeSelecNodeExpand?: () => void;
99
+ treeSelecNodeCollapse?: () => void;
100
+ treeSelecCurrentChange?: () => void;
100
101
  }
101
102
  export declare const tableSelectConfig: {
102
103
  selection: boolean;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  type: ObjectConstructor;
12
12
  default: () => {};
13
13
  };
14
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "close" | "submit")[], "reset" | "close" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit" | "close")[], "reset" | "submit" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  options: {
16
16
  type: ObjectConstructor;
17
17
  default: () => {};
@@ -35,7 +35,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
35
  default: string;
36
36
  };
37
37
  }>, {
38
- t: import("packages/hooks").Translator;
39
38
  appContext: any;
40
39
  defaultPreviewSrcList: any;
41
40
  uploadfilesPreview: import("vue").Ref<{
@@ -50,16 +49,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
49
  readonly size: number;
51
50
  readonly type: string;
52
51
  arrayBuffer: () => Promise<ArrayBuffer>;
53
- bytes: () => Promise<Uint8Array<ArrayBuffer>>;
52
+ bytes: () => Promise<Uint8Array>;
54
53
  slice: (start?: number, end?: number, contentType?: string) => Blob;
55
- stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
54
+ stream: () => ReadableStream<Uint8Array>;
56
55
  text: () => Promise<string>;
57
56
  };
58
57
  percentage?: number;
59
58
  response?: unknown;
60
59
  url?: string;
61
- status?: import("element-plus").UploadStatus;
62
60
  uid?: number;
61
+ status?: import("element-plus").UploadStatus;
63
62
  }[], UploadUserFile[] | {
64
63
  size?: number;
65
64
  name: string;
@@ -72,16 +71,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
72
71
  readonly size: number;
73
72
  readonly type: string;
74
73
  arrayBuffer: () => Promise<ArrayBuffer>;
75
- bytes: () => Promise<Uint8Array<ArrayBuffer>>;
74
+ bytes: () => Promise<Uint8Array>;
76
75
  slice: (start?: number, end?: number, contentType?: string) => Blob;
77
- stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
76
+ stream: () => ReadableStream<Uint8Array>;
78
77
  text: () => Promise<string>;
79
78
  };
80
79
  percentage?: number;
81
80
  response?: unknown;
82
81
  url?: string;
83
- status?: import("element-plus").UploadStatus;
84
82
  uid?: number;
83
+ status?: import("element-plus").UploadStatus;
85
84
  }[]>;
86
85
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exceed")[], "change" | "exceed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
86
  className: {
@@ -38,7 +38,10 @@ export declare const DrawRectCanvas: ({ canvas, originWidth, originHeight }: {
38
38
  canvas: HTMLCanvasElement;
39
39
  originWidth: number;
40
40
  originHeight: number;
41
- }, callback?: Function, keyW?: Function) => {
41
+ }, callback?: (rect: RectProps, end: {
42
+ endX: number;
43
+ endY: number;
44
+ }) => void, keyW?: () => void) => {
42
45
  canvas: HTMLCanvasElement;
43
46
  ctx: CanvasRenderingContext2D;
44
47
  clearCanvas: () => void;
@@ -20,7 +20,7 @@ export declare const NextLabelme: import("../../utils/install").SFCWithInstall<i
20
20
  type: import("vue").PropType<any[]>;
21
21
  default: () => any[];
22
22
  };
23
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "save" | "prevClick" | "nextClick" | "editPolygon" | "changePolygon")[], "change" | "save" | "prevClick" | "nextClick" | "editPolygon" | "changePolygon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("editPolygon" | "change" | "save" | "prevClick" | "nextClick" | "changePolygon")[], "editPolygon" | "change" | "save" | "prevClick" | "nextClick" | "changePolygon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  className: {
25
25
  type: StringConstructor;
26
26
  default: string;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
20
20
  type: PropType<any[]>;
21
21
  default: () => any[];
22
22
  };
23
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "save" | "prevClick" | "nextClick" | "editPolygon" | "changePolygon")[], "change" | "save" | "prevClick" | "nextClick" | "editPolygon" | "changePolygon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("editPolygon" | "change" | "save" | "prevClick" | "nextClick" | "changePolygon")[], "editPolygon" | "change" | "save" | "prevClick" | "nextClick" | "changePolygon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  className: {
25
25
  type: StringConstructor;
26
26
  default: string;
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<{}, {
10
10
  bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
11
11
  bf: (...arg: any[]) => string;
12
12
  is: {
13
- (name: string, state: boolean | undefined): string;
14
- (name: string): string;
13
+ (_name: string, _state: boolean | undefined): string;
14
+ (_name: string): string;
15
15
  };
16
16
  cssVar: (object: Record<string, string>) => Record<string, string>;
17
17
  cssVarName: (name: string) => string;
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<{}, {
10
10
  bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
11
11
  bf: (...arg: any[]) => string;
12
12
  is: {
13
- (name: string, state: boolean | undefined): string;
14
- (name: string): string;
13
+ (_name: string, _state: boolean | undefined): string;
14
+ (_name: string): string;
15
15
  };
16
16
  cssVar: (object: Record<string, string>) => Record<string, string>;
17
17
  cssVarName: (name: string) => string;
@@ -1,7 +1,8 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  locale: import("vue").Ref<import("../../../../locale").Language, import("../../../../locale").Language>;
3
3
  config: any;
4
- t: import("packages/hooks").Translator;
4
+ ns: any;
5
+ emit: any;
5
6
  toggle: () => Promise<void>;
6
7
  isFullscreen: import("vue").ShallowRef<boolean>;
7
8
  language: import("vue").Ref<string, string>;
@@ -1,5 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  config: any;
3
- t: import("packages/hooks").Translator;
3
+ slots: any;
4
+ ns: any;
5
+ updateOptions: any;
4
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
7
  export default _default;
@@ -17,7 +17,6 @@ export declare const NextSpinLoading: import("../../utils/install").SFCWithInsta
17
17
  default: string;
18
18
  };
19
19
  }>, {
20
- t: import("../..").Translator;
21
20
  elementInstance: import("vue").Ref<HTMLElement, HTMLElement>;
22
21
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
22
  className: {
@@ -38,8 +37,8 @@ export declare const NextSpinLoading: import("../../utils/install").SFCWithInsta
38
37
  };
39
38
  }>> & Readonly<{}>, {
40
39
  tip: string;
40
+ loading: boolean;
41
41
  style: import("vue").CSSProperties;
42
42
  className: string;
43
- loading: boolean;
44
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
45
44
  export default NextSpinLoading;
@@ -17,7 +17,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
17
17
  default: string;
18
18
  };
19
19
  }>, {
20
- t: import("packages/hooks").Translator;
21
20
  elementInstance: import("vue").Ref<HTMLElement, HTMLElement>;
22
21
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
22
  className: {
@@ -38,8 +37,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
37
  };
39
38
  }>> & Readonly<{}>, {
40
39
  tip: string;
40
+ loading: boolean;
41
41
  style: CSSProperties;
42
42
  className: string;
43
- loading: boolean;
44
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45
44
  export default _default;
@@ -17,8 +17,9 @@ export declare const NextTextEllipsis: import("../../utils/install").SFCWithInst
17
17
  default: string;
18
18
  };
19
19
  placement: {
20
- type: StringConstructor;
20
+ type: import("vue").PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
21
21
  default: string;
22
+ enum: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
22
23
  };
23
24
  textAlign: {
24
25
  type: StringConstructor;
@@ -42,15 +43,16 @@ export declare const NextTextEllipsis: import("../../utils/install").SFCWithInst
42
43
  default: string;
43
44
  };
44
45
  placement: {
45
- type: StringConstructor;
46
+ type: import("vue").PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
46
47
  default: string;
48
+ enum: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
47
49
  };
48
50
  textAlign: {
49
51
  type: StringConstructor;
50
52
  default: string;
51
53
  };
52
54
  }>> & Readonly<{}>, {
53
- placement: string;
55
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
54
56
  className: string;
55
57
  content: string;
56
58
  disabled: boolean;