next-element-vue 0.8.5 → 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 (35) hide show
  1. package/dist/index.css +4 -4
  2. package/dist/index.js +3 -3
  3. package/dist/packages/components/crud-table/index.d.ts +1 -1
  4. package/dist/packages/components/crud-table/src/config.d.ts +48 -48
  5. package/dist/packages/components/crud-table/src/hook.d.ts +1 -1
  6. package/dist/packages/components/crud-table/src/index.d.ts +1 -1
  7. package/dist/packages/components/crud-table/src/widgets/add-edit-form.d.ts +1 -1
  8. package/dist/packages/components/crud-table-virtualized/index.d.ts +1 -1
  9. package/dist/packages/components/crud-table-virtualized/src/index-demo.d.ts +1 -1
  10. package/dist/packages/components/crud-table-virtualized/src/index.d.ts +1 -1
  11. package/dist/packages/components/dialog/index.d.ts +1 -1
  12. package/dist/packages/components/dialog/src/index.d.ts +1 -1
  13. package/dist/packages/components/form/index.d.ts +1 -1
  14. package/dist/packages/components/form/src/config.d.ts +27 -27
  15. package/dist/packages/components/form/src/index.d.ts +1 -1
  16. package/dist/packages/components/form/src/widgets/upload-image.d.ts +6 -7
  17. package/dist/packages/components/labelimg/src/hooks/canvas-context-hook.d.ts +4 -1
  18. package/dist/packages/components/labelme/index.d.ts +1 -1
  19. package/dist/packages/components/labelme/src/index.d.ts +1 -1
  20. package/dist/packages/components/layout/src/classic/index.d.ts +2 -2
  21. package/dist/packages/components/layout/src/composite/index.d.ts +2 -2
  22. package/dist/packages/components/layout/src/widgets/header-tools.d.ts +2 -1
  23. package/dist/packages/components/layout/src/widgets/layout-setting.d.ts +3 -1
  24. package/dist/packages/components/spin-loading/index.d.ts +1 -2
  25. package/dist/packages/components/spin-loading/src/index.d.ts +1 -2
  26. package/dist/packages/components/text-ellipsis/index.d.ts +5 -3
  27. package/dist/packages/components/text-ellipsis/src/index.d.ts +8 -3
  28. package/dist/packages/components/upload/index.d.ts +1 -2
  29. package/dist/packages/components/upload/src/index.d.ts +1 -2
  30. package/dist/packages/components/video-player/src/hook.d.ts +2 -2
  31. package/dist/packages/hooks/global-config.d.ts +1 -0
  32. package/dist/packages/hooks/global-hook.d.ts +1 -1
  33. package/dist/packages/hooks/use-locale/index.d.ts +3 -120
  34. package/dist/packages/hooks/use-namespace/index.d.ts +2 -2
  35. 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;
@@ -19,23 +19,23 @@ export declare interface Column {
19
19
  separator?: string;
20
20
  };
21
21
  dicData?: DictData[];
22
- loadDicData?: Function;
22
+ loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
23
23
  disabled?: boolean;
24
24
  readonly?: boolean;
25
25
  defaultValue?: any;
26
26
  labelWidth?: string | number;
27
27
  multiple?: boolean;
28
- prefix?: Function;
29
- suffix?: Function;
30
- prepend?: Function;
31
- append?: Function;
28
+ prefix?: (...args: any[]) => string;
29
+ suffix?: (...args: any[]) => string;
30
+ prepend?: (...args: any[]) => string;
31
+ append?: (...args: any[]) => string;
32
32
  sort?: number;
33
33
  required?: boolean;
34
34
  hide?: boolean;
35
35
  span?: number;
36
36
  tableSelect?: any;
37
- onChange?: Function;
38
- onVisibleChange?: Function;
37
+ onChange?: (...args: any[]) => void;
38
+ onVisibleChange?: (...args: any[]) => void;
39
39
  }
40
40
  export interface SearchColumnProps extends Column {
41
41
  searchType?: string;
@@ -52,20 +52,20 @@ export interface SearchColumnProps extends Column {
52
52
  searchRangeSeparator?: string;
53
53
  searchStartPlaceholder?: string;
54
54
  searchEndPlaceholder?: string;
55
- searchDisabledDate?: Function;
55
+ searchDisabledDate?: (...args: any[]) => boolean;
56
56
  searchEditable?: boolean;
57
57
  searchShortcuts?: any;
58
58
  searchMin?: number;
59
59
  searchMax?: number;
60
60
  searchPlaceholder?: string;
61
- searchPrefix?: Function;
62
- searchSuffix?: Function;
63
- searchPrepend?: Function;
64
- searchAppend?: Function;
61
+ searchPrefix?: (...args: any[]) => string;
62
+ searchSuffix?: (...args: any[]) => string;
63
+ searchPrepend?: (...args: any[]) => string;
64
+ searchAppend?: (...args: any[]) => string;
65
65
  searchDicKey?: string;
66
66
  searchDicData?: DictData[];
67
- searchLoadDicData?: Function;
68
- onChangeSearch?: Function;
67
+ searchLoadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
68
+ onChangeSearch?: (...args: any[]) => void;
69
69
  searchNodeKey?: string;
70
70
  searchAccordion?: boolean;
71
71
  searchLeafOnly?: boolean;
@@ -74,13 +74,13 @@ export interface SearchColumnProps extends Column {
74
74
  searchCheckOnClickNode?: boolean;
75
75
  searchRenderAfterExpand?: boolean;
76
76
  searchTreeSelectProps?: string;
77
- treeSelectNodeClickSearch?: Function;
78
- treeSelectNodeContextmenuSearch?: Function;
79
- treeSelectCheckSearch?: Function;
80
- treeSelecCheckChangeSearch?: Function;
81
- treeSelecNodeExpandSearch?: Function;
82
- treeSelecNodeCollapseSearch?: Function;
83
- 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;
84
84
  }
85
85
  export interface FormColunmProps extends Column {
86
86
  formSort?: number;
@@ -95,9 +95,9 @@ export interface FormColunmProps extends Column {
95
95
  rangeSeparator?: string;
96
96
  arrowControl?: boolean;
97
97
  placement?: string;
98
- disabledHours?: Function;
99
- disabledMinutes?: Function;
100
- disabledSeconds?: Function;
98
+ disabledHours?: (...args: any[]) => boolean;
99
+ disabledMinutes?: (...args: any[]) => boolean;
100
+ disabledSeconds?: (...args: any[]) => boolean;
101
101
  };
102
102
  formTimeSelectProps?: {
103
103
  start?: string;
@@ -119,21 +119,21 @@ export interface FormColunmProps extends Column {
119
119
  formTextareaRows?: number;
120
120
  formInputMinlength?: number;
121
121
  formInputMaxlength?: number;
122
- formPrefix?: Function;
123
- formSuffix?: Function;
124
- formPrepend?: Function;
125
- formAppend?: Function;
122
+ formPrefix?: (...args: any[]) => string;
123
+ formSuffix?: (...args: any[]) => string;
124
+ formPrepend?: (...args: any[]) => string;
125
+ formAppend?: (...args: any[]) => string;
126
126
  formSpan?: number;
127
127
  formSpanFixed?: number;
128
128
  formTip?: string;
129
129
  formLabel?: string;
130
130
  formMutiple?: boolean;
131
- formDisabledDate?: Function;
131
+ formDisabledDate?: (...args: any[]) => boolean;
132
132
  formShortcuts?: any[];
133
133
  formFormat?: string;
134
134
  formAccept?: string;
135
- formRenderDividerBefore?: Function;
136
- formRenderDividerAfter?: Function;
135
+ formRenderDividerBefore?: (...args: any[]) => void;
136
+ formRenderDividerAfter?: (...args: any[]) => void;
137
137
  formRemark?: string;
138
138
  formRules?: any[];
139
139
  formDicKey?: string;
@@ -143,13 +143,13 @@ export interface FormColunmProps extends Column {
143
143
  formCollapseTagsTooltip?: boolean;
144
144
  formLimit?: number;
145
145
  formDicData?: DictData[];
146
- formLoadDicData?: Function;
146
+ formLoadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
147
147
  formAccordion?: boolean;
148
- onChangeForm?: Function;
149
- onClearForm?: Function;
150
- onBlurForm?: Function;
151
- onFocusForm?: Function;
152
- 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;
153
153
  formFilterable?: boolean;
154
154
  formAllowCreate?: boolean;
155
155
  formNodeKey?: string;
@@ -159,29 +159,29 @@ export interface FormColunmProps extends Column {
159
159
  formShowCheckboxn?: boolean;
160
160
  formRenderAfterExpand?: boolean;
161
161
  formTreeSelectProps?: string;
162
- treeSelectNodeClickForm?: Function;
163
- treeSelectNodeContextmenuForm?: Function;
164
- treeSelectCheckForm?: Function;
165
- treeSelecCheckChangeForm?: Function;
166
- treeSelecNodeExpandForm?: Function;
167
- treeSelecNodeCollapseForm?: Function;
168
- 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;
169
169
  }
170
170
  export interface TableColumnProps extends SearchColumnProps, FormColunmProps {
171
171
  width?: string | number;
172
172
  minWidth?: string | number;
173
173
  fixed?: string | boolean;
174
- formatter?: Function;
174
+ formatter?: (...args: any[]) => string;
175
175
  showOverflowTooltip?: boolean | object;
176
176
  type?: string;
177
177
  headerAlign?: string;
178
178
  align?: string;
179
179
  sortable?: boolean;
180
- sortMethod?: Function;
180
+ sortMethod?: (...args: any[]) => number;
181
181
  cellUnit?: string;
182
182
  children?: TableColumnProps[];
183
- renderColumnCell?: Function;
184
- renderHeader?: Function;
183
+ renderColumnCell?: (...args: any[]) => void;
184
+ renderHeader?: (...args: any[]) => void;
185
185
  }
186
186
  export declare const header_menu_slots_key: string[];
187
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: () => {};
@@ -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,18 +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
- onVisibleChange?: Function;
73
- onClear?: Function;
74
- onBlur?: Function;
75
- onFocus?: Function;
76
- 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;
77
77
  tableSelect?: any;
78
78
  tableSelectRows?: any[];
79
79
  tableSelectProps?: {
@@ -81,8 +81,8 @@ export interface FormItemProps {
81
81
  label: string;
82
82
  required?: boolean;
83
83
  };
84
- tableSelectDefaultValue?: Function;
85
- onTableSelect?: Function;
84
+ tableSelectDefaultValue?: any[];
85
+ onTableSelect?: (val: any) => void;
86
86
  nodeKey?: string;
87
87
  accordion?: boolean;
88
88
  checkStrictly?: boolean;
@@ -90,14 +90,14 @@ export interface FormItemProps {
90
90
  showCheckbox?: boolean;
91
91
  leafOnly?: boolean;
92
92
  renderAfterExpand?: boolean;
93
- treeSelectProps?: Object;
94
- treeSelectNodeClick?: Function;
95
- treeSelectNodeContextmenu?: Function;
96
- treeSelectCheck?: Function;
97
- treeSelecCheckChange?: Function;
98
- treeSelecNodeExpand?: Function;
99
- treeSelecNodeCollapse?: Function;
100
- 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;
101
101
  }
102
102
  export declare const tableSelectConfig: {
103
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;