next-element-vue 0.8.6 → 0.8.8

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 (31) hide show
  1. package/dist/index.css +6 -6
  2. package/dist/index.js +3 -3
  3. package/dist/packages/components/container/index.d.ts +2 -2
  4. package/dist/packages/components/container/src/index.d.ts +2 -2
  5. package/dist/packages/components/crud-table/index.d.ts +156 -1
  6. package/dist/packages/components/crud-table/src/config.d.ts +60 -3
  7. package/dist/packages/components/crud-table/src/hook.d.ts +7 -1
  8. package/dist/packages/components/crud-table/src/index.d.ts +3 -1
  9. package/dist/packages/components/crud-table/src/widgets/add-edit-form.d.ts +1 -1
  10. package/dist/packages/components/crud-table/src/widgets/detail-view.d.ts +155 -0
  11. package/dist/packages/components/form/index.d.ts +7 -7
  12. package/dist/packages/components/form/src/config.d.ts +2 -0
  13. package/dist/packages/components/form/src/index.d.ts +1 -1
  14. package/dist/packages/components/form/src/widgets/input-table-select.d.ts +4 -4
  15. package/dist/packages/components/form/src/widgets/number-range-picker.d.ts +2 -2
  16. package/dist/packages/components/form/src/widgets/tree-cascader.d.ts +2 -2
  17. package/dist/packages/components/form/src/widgets/tree-select.d.ts +2 -2
  18. package/dist/packages/components/layout/src/classic/index.d.ts +1 -1
  19. package/dist/packages/components/layout/src/composite/index.d.ts +1 -1
  20. package/dist/packages/components/layout/src/config.d.ts +2 -8
  21. package/dist/packages/components/layout/src/widgets/header-tools.d.ts +4 -0
  22. package/dist/packages/components/layout/src/widgets/search-menu.d.ts +16 -0
  23. package/dist/packages/components/menu/index.d.ts +1 -1
  24. package/dist/packages/components/menu/src/index.d.ts +1 -1
  25. package/dist/packages/hooks/global-config.d.ts +1 -0
  26. package/dist/packages/hooks/use-locale/index.d.ts +24 -0
  27. package/dist/packages/hooks/use-namespace/index.d.ts +1 -1
  28. package/dist/packages/locale/lang/en.d.ts +12 -0
  29. package/dist/packages/locale/lang/zh-cn.d.ts +12 -0
  30. package/dist/packages/locale/lang/zh-tw.d.ts +12 -0
  31. package/package.json +1 -1
@@ -13,7 +13,7 @@ export declare const NextContainer: import("../../utils/install").SFCWithInstall
13
13
  default: boolean;
14
14
  };
15
15
  padding: {
16
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
16
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
17
17
  default: boolean;
18
18
  };
19
19
  card: {
@@ -34,7 +34,7 @@ export declare const NextContainer: import("../../utils/install").SFCWithInstall
34
34
  default: boolean;
35
35
  };
36
36
  padding: {
37
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
37
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
38
38
  default: boolean;
39
39
  };
40
40
  card: {
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  default: boolean;
14
14
  };
15
15
  padding: {
16
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
16
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
17
17
  default: boolean;
18
18
  };
19
19
  card: {
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
34
34
  default: boolean;
35
35
  };
36
36
  padding: {
37
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
37
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
38
38
  default: boolean;
39
39
  };
40
40
  card: {
@@ -45,6 +45,159 @@ export declare const NextCrudTableSearch: import("../../utils/install").SFCWithI
45
45
  searchParams: Record<string, any>;
46
46
  standalone: boolean;
47
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
48
+ export declare const NextDetailView: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
49
+ formDatum: {
50
+ type: ObjectConstructor;
51
+ default: () => {};
52
+ };
53
+ columns: {
54
+ type: ArrayConstructor;
55
+ default: () => any[];
56
+ };
57
+ options: {
58
+ type: ObjectConstructor;
59
+ default: () => {
60
+ initLoadData: boolean;
61
+ defaultContentHeight: number;
62
+ fullscreenchangeContentHeight: boolean;
63
+ rowKey: string;
64
+ size: string;
65
+ fit: boolean;
66
+ stripe: boolean;
67
+ border: boolean;
68
+ index: boolean;
69
+ selection: boolean;
70
+ headerAlign: string;
71
+ cellAlign: string;
72
+ columnMinWidth: string;
73
+ columns: import("./src/config").TableColumnProps | unknown;
74
+ showSearchForm: boolean;
75
+ showHeaderMenu: boolean;
76
+ showSearchLabel: boolean;
77
+ searchSpan: number;
78
+ searchGutter: number;
79
+ searchLabelWidth: string;
80
+ searchColumnMinWidth: number;
81
+ searchColumns: import("./src/config").SearchColumnProps | unknown;
82
+ addBtn: boolean;
83
+ viewBtn: boolean;
84
+ delBtn: boolean;
85
+ editBtn: boolean;
86
+ batchDelBtn: boolean;
87
+ refreshBtn: boolean;
88
+ settingBtn: boolean;
89
+ operations: boolean;
90
+ operationsWidth: number;
91
+ operationsHeaderAlign: string;
92
+ operationsColumnAlign: string;
93
+ operationsBtnPlain: boolean;
94
+ operationsBtnText: boolean;
95
+ operationsBtnSize: string;
96
+ addBtnText: string;
97
+ isPagination: boolean;
98
+ pageinationAlign: string;
99
+ dialogTitle: string;
100
+ dialogWidth: string;
101
+ dialogFullscreen: boolean;
102
+ dialogFullscreenBtn: boolean;
103
+ dialogDraggable: boolean;
104
+ dialogFormParamsDefault: {};
105
+ dialogCloseOnClickModal: boolean;
106
+ formColumns: import("./src/config").FormColunmProps | unknown;
107
+ formLabelWidth: string;
108
+ formSpan: number;
109
+ formSpanFixed: any;
110
+ formColumnMinWidth: number;
111
+ loadFormDetail: any;
112
+ viewActionMode: import("./src/config").ViewActionMode;
113
+ viewColumns: import("./src/config").ViewColumnProps | unknown;
114
+ viewDialogWidth: string;
115
+ viewDialogFullscreen: boolean;
116
+ viewDialogFullscreenBtn: boolean;
117
+ viewDialogDraggable: boolean;
118
+ viewDialogTop: any;
119
+ viewDialogCloseOnClickModal: boolean;
120
+ };
121
+ };
122
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
123
+ formDatum: {
124
+ type: ObjectConstructor;
125
+ default: () => {};
126
+ };
127
+ columns: {
128
+ type: ArrayConstructor;
129
+ default: () => any[];
130
+ };
131
+ options: {
132
+ type: ObjectConstructor;
133
+ default: () => {
134
+ initLoadData: boolean;
135
+ defaultContentHeight: number;
136
+ fullscreenchangeContentHeight: boolean;
137
+ rowKey: string;
138
+ size: string;
139
+ fit: boolean;
140
+ stripe: boolean;
141
+ border: boolean;
142
+ index: boolean;
143
+ selection: boolean;
144
+ headerAlign: string;
145
+ cellAlign: string;
146
+ columnMinWidth: string;
147
+ columns: import("./src/config").TableColumnProps | unknown;
148
+ showSearchForm: boolean;
149
+ showHeaderMenu: boolean;
150
+ showSearchLabel: boolean;
151
+ searchSpan: number;
152
+ searchGutter: number;
153
+ searchLabelWidth: string;
154
+ searchColumnMinWidth: number;
155
+ searchColumns: import("./src/config").SearchColumnProps | unknown;
156
+ addBtn: boolean;
157
+ viewBtn: boolean;
158
+ delBtn: boolean;
159
+ editBtn: boolean;
160
+ batchDelBtn: boolean;
161
+ refreshBtn: boolean;
162
+ settingBtn: boolean;
163
+ operations: boolean;
164
+ operationsWidth: number;
165
+ operationsHeaderAlign: string;
166
+ operationsColumnAlign: string;
167
+ operationsBtnPlain: boolean;
168
+ operationsBtnText: boolean;
169
+ operationsBtnSize: string;
170
+ addBtnText: string;
171
+ isPagination: boolean;
172
+ pageinationAlign: string;
173
+ dialogTitle: string;
174
+ dialogWidth: string;
175
+ dialogFullscreen: boolean;
176
+ dialogFullscreenBtn: boolean;
177
+ dialogDraggable: boolean;
178
+ dialogFormParamsDefault: {};
179
+ dialogCloseOnClickModal: boolean;
180
+ formColumns: import("./src/config").FormColunmProps | unknown;
181
+ formLabelWidth: string;
182
+ formSpan: number;
183
+ formSpanFixed: any;
184
+ formColumnMinWidth: number;
185
+ loadFormDetail: any;
186
+ viewActionMode: import("./src/config").ViewActionMode;
187
+ viewColumns: import("./src/config").ViewColumnProps | unknown;
188
+ viewDialogWidth: string;
189
+ viewDialogFullscreen: boolean;
190
+ viewDialogFullscreenBtn: boolean;
191
+ viewDialogDraggable: boolean;
192
+ viewDialogTop: any;
193
+ viewDialogCloseOnClickModal: boolean;
194
+ };
195
+ };
196
+ }>> & Readonly<{}>, {
197
+ options: Record<string, any>;
198
+ columns: unknown[];
199
+ formDatum: Record<string, any>;
200
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
48
201
  export declare const NextCrudTable: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
49
202
  className: {
50
203
  type: StringConstructor;
@@ -110,7 +263,7 @@ export declare const NextCrudTable: import("../../utils/install").SFCWithInstall
110
263
  type: FunctionConstructor;
111
264
  default: any;
112
265
  };
113
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
266
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
114
267
  className: {
115
268
  type: StringConstructor;
116
269
  default: string;
@@ -193,7 +346,9 @@ export declare const NextCrudTable: import("../../utils/install").SFCWithInstall
193
346
  onCellMouseLeave?: (...args: any[]) => any;
194
347
  onClickAddEdit?: (...args: any[]) => any;
195
348
  onCloseAddEdit?: (...args: any[]) => any;
349
+ onCloseView?: (...args: any[]) => any;
196
350
  onViewAddEdit?: (...args: any[]) => any;
351
+ onViewDescriptions?: (...args: any[]) => any;
197
352
  onSubmitForm?: (...args: any[]) => any;
198
353
  }>, {
199
354
  loading: boolean;
@@ -1,8 +1,15 @@
1
- export declare interface DictData {
1
+ export interface DictData {
2
2
  readonly value: string | number;
3
3
  readonly label: string;
4
4
  }
5
- export declare interface Column {
5
+ export declare const VIEW_ACTION_MODES: {
6
+ /** 查看详情 */
7
+ readonly VIEW: "view";
8
+ /** 表单方式详情 */
9
+ readonly FORM: "form";
10
+ };
11
+ export type ViewActionMode = (typeof VIEW_ACTION_MODES)[keyof typeof VIEW_ACTION_MODES];
12
+ export interface Column {
6
13
  readonly prop: string;
7
14
  label: string;
8
15
  type?: string;
@@ -11,6 +18,7 @@ export declare interface Column {
11
18
  rangeSeparator?: string;
12
19
  startPlaceholder?: string;
13
20
  endPlaceholder?: string;
21
+ tip?: string;
14
22
  dicKey?: string;
15
23
  dicLabel?: string;
16
24
  treeSelectProps?: {
@@ -20,6 +28,7 @@ export declare interface Column {
20
28
  };
21
29
  dicData?: DictData[];
22
30
  loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
31
+ dicLabelProp?: string;
23
32
  disabled?: boolean;
24
33
  readonly?: boolean;
25
34
  defaultValue?: any;
@@ -30,6 +39,8 @@ export declare interface Column {
30
39
  prepend?: (...args: any[]) => string;
31
40
  append?: (...args: any[]) => string;
32
41
  sort?: number;
42
+ useFormSort?: boolean;
43
+ useColumnSort?: boolean;
33
44
  required?: boolean;
34
45
  hide?: boolean;
35
46
  span?: number;
@@ -81,6 +92,11 @@ export interface SearchColumnProps extends Column {
81
92
  treeSelecNodeExpandSearch?: (...args: any[]) => void;
82
93
  treeSelecNodeCollapseSearch?: (...args: any[]) => void;
83
94
  treeSelecCurrentChangeSearch?: (...args: any[]) => void;
95
+ searchClearable?: boolean;
96
+ searchFilterable?: boolean;
97
+ searchShowAllLevels?: boolean;
98
+ searchCollapseTags?: boolean;
99
+ searchCollapseTagsTooltip?: boolean;
84
100
  }
85
101
  export interface FormColunmProps extends Column {
86
102
  formSort?: number;
@@ -109,6 +125,7 @@ export interface FormColunmProps extends Column {
109
125
  formDisabled?: string;
110
126
  formEditDisabled?: boolean;
111
127
  formClearable?: boolean;
128
+ formClosable?: boolean;
112
129
  formReadonly?: boolean;
113
130
  formRequired?: boolean;
114
131
  formHide?: boolean;
@@ -167,7 +184,38 @@ export interface FormColunmProps extends Column {
167
184
  treeSelecNodeCollapseForm?: (...args: any[]) => void;
168
185
  treeSelecCurrentChangeForm?: (...args: any[]) => void;
169
186
  }
170
- export interface TableColumnProps extends SearchColumnProps, FormColunmProps {
187
+ export interface ViewColumnProps extends Column {
188
+ formHide?: boolean;
189
+ viewSort?: number;
190
+ viewHide?: boolean;
191
+ viewDisabled?: boolean;
192
+ viewDicKey?: string;
193
+ viewDicLabel?: string;
194
+ viewDicData?: DictData[];
195
+ viewTreeSelectProps?: {
196
+ value?: string;
197
+ label?: string;
198
+ separator?: string;
199
+ };
200
+ viewSpan?: number;
201
+ viewRowspan?: number;
202
+ viewLabel?: string;
203
+ viewLabelWidth?: string | number;
204
+ viewTip?: string;
205
+ viewAlign?: 'left' | 'right' | 'center';
206
+ viewLabelAlign?: 'left' | 'right' | 'center';
207
+ viewWidth?: string | number;
208
+ viewMinWidth?: string | number;
209
+ isSpacer?: boolean;
210
+ viewCellUnit?: string;
211
+ viewType?: string;
212
+ viewAppend?: (...args: any[]) => string;
213
+ viewPrepend?: (...args: any[]) => string;
214
+ viewRenderColumnCell?: (...args: any[]) => void;
215
+ useFormSort?: boolean;
216
+ useColumnSort?: boolean;
217
+ }
218
+ export interface TableColumnProps extends SearchColumnProps, FormColunmProps, ViewColumnProps {
171
219
  width?: string | number;
172
220
  minWidth?: string | number;
173
221
  fixed?: string | boolean;
@@ -224,6 +272,7 @@ declare const _default: {
224
272
  operationsBtnSize: string;
225
273
  addBtnText: string;
226
274
  isPagination: boolean;
275
+ pageinationAlign: string;
227
276
  dialogTitle: string;
228
277
  dialogWidth: string;
229
278
  dialogFullscreen: boolean;
@@ -237,5 +286,13 @@ declare const _default: {
237
286
  formSpanFixed: any;
238
287
  formColumnMinWidth: number;
239
288
  loadFormDetail: any;
289
+ viewActionMode: ViewActionMode;
290
+ viewColumns: ViewColumnProps | unknown;
291
+ viewDialogWidth: string;
292
+ viewDialogFullscreen: boolean;
293
+ viewDialogFullscreenBtn: boolean;
294
+ viewDialogDraggable: boolean;
295
+ viewDialogTop: any;
296
+ viewDialogCloseOnClickModal: boolean;
240
297
  };
241
298
  export default _default;
@@ -19,7 +19,13 @@ export declare const searchFormSlotName: (prop: string) => string;
19
19
  */
20
20
  export declare const formSlotNamePrefix = "form-";
21
21
  export declare const formSlotName: (prop: string) => string;
22
- export declare const vaildData: (val: boolean, dafult: any) => any;
22
+ /**
23
+ * 自定义查看详情中view的slot name
24
+ * @param prop
25
+ * @returns
26
+ */
27
+ export declare const viewSlotNamePrefix = "view-";
28
+ export declare const viewSlotName: (prop: string) => string;
23
29
  export declare const getColumnProp: () => void;
24
30
  /**
25
31
  * 将已'-'分割的字符串转换为驼峰
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  type: FunctionConstructor;
64
64
  default: any;
65
65
  };
66
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "viewAddEdit" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
66
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm")[], "expandChange" | "confirmSearch" | "clearSearch" | "deleteRows" | "deleteRow" | "changePagination" | "selectionChange" | "rowClick" | "rowContextMenu" | "rowDblClick" | "cellClick" | "cellDblClick" | "cellContextMenu" | "cellMouseEnter" | "cellMouseLeave" | "clickAddEdit" | "closeAddEdit" | "closeView" | "viewAddEdit" | "viewDescriptions" | "submitForm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
67
  className: {
68
68
  type: StringConstructor;
69
69
  default: string;
@@ -146,7 +146,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
146
146
  onCellMouseLeave?: (...args: any[]) => any;
147
147
  onClickAddEdit?: (...args: any[]) => any;
148
148
  onCloseAddEdit?: (...args: any[]) => any;
149
+ onCloseView?: (...args: any[]) => any;
149
150
  onViewAddEdit?: (...args: any[]) => any;
151
+ onViewDescriptions?: (...args: any[]) => any;
150
152
  onSubmitForm?: (...args: any[]) => any;
151
153
  }>, {
152
154
  loading: boolean;
@@ -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, ("submit" | "close")[], "submit" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "submit")[], "close" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  formDatum: {
16
16
  type: ObjectConstructor;
17
17
  default: () => {};
@@ -0,0 +1,155 @@
1
+ import type { ViewColumnProps } from '../config';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ formDatum: {
4
+ type: ObjectConstructor;
5
+ default: () => {};
6
+ };
7
+ columns: {
8
+ type: ArrayConstructor;
9
+ default: () => any[];
10
+ };
11
+ options: {
12
+ type: ObjectConstructor;
13
+ default: () => {
14
+ initLoadData: boolean;
15
+ defaultContentHeight: number;
16
+ fullscreenchangeContentHeight: boolean;
17
+ rowKey: string;
18
+ size: string;
19
+ fit: boolean;
20
+ stripe: boolean;
21
+ border: boolean;
22
+ index: boolean;
23
+ selection: boolean;
24
+ headerAlign: string;
25
+ cellAlign: string;
26
+ columnMinWidth: string;
27
+ columns: import("../config").TableColumnProps | unknown;
28
+ showSearchForm: boolean;
29
+ showHeaderMenu: boolean;
30
+ showSearchLabel: boolean;
31
+ searchSpan: number;
32
+ searchGutter: number;
33
+ searchLabelWidth: string;
34
+ searchColumnMinWidth: number;
35
+ searchColumns: import("../config").SearchColumnProps | unknown;
36
+ addBtn: boolean;
37
+ viewBtn: boolean;
38
+ delBtn: boolean;
39
+ editBtn: boolean;
40
+ batchDelBtn: boolean;
41
+ refreshBtn: boolean;
42
+ settingBtn: boolean;
43
+ operations: boolean;
44
+ operationsWidth: number;
45
+ operationsHeaderAlign: string;
46
+ operationsColumnAlign: string;
47
+ operationsBtnPlain: boolean;
48
+ operationsBtnText: boolean;
49
+ operationsBtnSize: string;
50
+ addBtnText: string;
51
+ isPagination: boolean;
52
+ pageinationAlign: string;
53
+ dialogTitle: string;
54
+ dialogWidth: string;
55
+ dialogFullscreen: boolean;
56
+ dialogFullscreenBtn: boolean;
57
+ dialogDraggable: boolean;
58
+ dialogFormParamsDefault: {};
59
+ dialogCloseOnClickModal: boolean;
60
+ formColumns: import("../config").FormColunmProps | unknown;
61
+ formLabelWidth: string;
62
+ formSpan: number;
63
+ formSpanFixed: any;
64
+ formColumnMinWidth: number;
65
+ loadFormDetail: any;
66
+ viewActionMode: import("../config").ViewActionMode;
67
+ viewColumns: ViewColumnProps | unknown;
68
+ viewDialogWidth: string;
69
+ viewDialogFullscreen: boolean;
70
+ viewDialogFullscreenBtn: boolean;
71
+ viewDialogDraggable: boolean;
72
+ viewDialogTop: any;
73
+ viewDialogCloseOnClickModal: boolean;
74
+ };
75
+ };
76
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
+ formDatum: {
78
+ type: ObjectConstructor;
79
+ default: () => {};
80
+ };
81
+ columns: {
82
+ type: ArrayConstructor;
83
+ default: () => any[];
84
+ };
85
+ options: {
86
+ type: ObjectConstructor;
87
+ default: () => {
88
+ initLoadData: boolean;
89
+ defaultContentHeight: number;
90
+ fullscreenchangeContentHeight: boolean;
91
+ rowKey: string;
92
+ size: string;
93
+ fit: boolean;
94
+ stripe: boolean;
95
+ border: boolean;
96
+ index: boolean;
97
+ selection: boolean;
98
+ headerAlign: string;
99
+ cellAlign: string;
100
+ columnMinWidth: string;
101
+ columns: import("../config").TableColumnProps | unknown;
102
+ showSearchForm: boolean;
103
+ showHeaderMenu: boolean;
104
+ showSearchLabel: boolean;
105
+ searchSpan: number;
106
+ searchGutter: number;
107
+ searchLabelWidth: string;
108
+ searchColumnMinWidth: number;
109
+ searchColumns: import("../config").SearchColumnProps | unknown;
110
+ addBtn: boolean;
111
+ viewBtn: boolean;
112
+ delBtn: boolean;
113
+ editBtn: boolean;
114
+ batchDelBtn: boolean;
115
+ refreshBtn: boolean;
116
+ settingBtn: boolean;
117
+ operations: boolean;
118
+ operationsWidth: number;
119
+ operationsHeaderAlign: string;
120
+ operationsColumnAlign: string;
121
+ operationsBtnPlain: boolean;
122
+ operationsBtnText: boolean;
123
+ operationsBtnSize: string;
124
+ addBtnText: string;
125
+ isPagination: boolean;
126
+ pageinationAlign: string;
127
+ dialogTitle: string;
128
+ dialogWidth: string;
129
+ dialogFullscreen: boolean;
130
+ dialogFullscreenBtn: boolean;
131
+ dialogDraggable: boolean;
132
+ dialogFormParamsDefault: {};
133
+ dialogCloseOnClickModal: boolean;
134
+ formColumns: import("../config").FormColunmProps | unknown;
135
+ formLabelWidth: string;
136
+ formSpan: number;
137
+ formSpanFixed: any;
138
+ formColumnMinWidth: number;
139
+ loadFormDetail: any;
140
+ viewActionMode: import("../config").ViewActionMode;
141
+ viewColumns: ViewColumnProps | unknown;
142
+ viewDialogWidth: string;
143
+ viewDialogFullscreen: boolean;
144
+ viewDialogFullscreenBtn: boolean;
145
+ viewDialogDraggable: boolean;
146
+ viewDialogTop: any;
147
+ viewDialogCloseOnClickModal: boolean;
148
+ };
149
+ };
150
+ }>> & Readonly<{}>, {
151
+ options: Record<string, any>;
152
+ columns: unknown[];
153
+ formDatum: Record<string, any>;
154
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
155
+ export default _default;
@@ -1,7 +1,7 @@
1
1
  import './src/index.scss';
2
2
  export declare const NextTreeSelect: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  modelValue: {
4
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
4
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
5
5
  default: string;
6
6
  };
7
7
  column: {
@@ -18,7 +18,7 @@ export declare const NextTreeSelect: import("../../utils/install").SFCWithInstal
18
18
  };
19
19
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "nodeClick" | "nodeContextmenu" | "checkChange" | "nodeExpand" | "nodeCollapse" | "currentChange")[], "clear" | "change" | "nodeClick" | "nodeContextmenu" | "checkChange" | "nodeExpand" | "nodeCollapse" | "currentChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  modelValue: {
21
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
21
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
22
22
  default: string;
23
23
  };
24
24
  column: {
@@ -50,7 +50,7 @@ export declare const NextTreeSelect: import("../../utils/install").SFCWithInstal
50
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
51
51
  export declare const NextTreeCascader: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
52
52
  modelValue: {
53
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
53
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
54
54
  default: string;
55
55
  };
56
56
  column: {
@@ -67,7 +67,7 @@ export declare const NextTreeCascader: import("../../utils/install").SFCWithInst
67
67
  };
68
68
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "change" | "expandChange" | "visibleChange" | "removeTag")[], "clear" | "focus" | "blur" | "change" | "expandChange" | "visibleChange" | "removeTag", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
69
69
  modelValue: {
70
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
70
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
71
71
  default: string;
72
72
  };
73
73
  column: {
@@ -98,7 +98,7 @@ export declare const NextTreeCascader: import("../../utils/install").SFCWithInst
98
98
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
99
99
  export declare const NextInputTableSelect: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
100
100
  modelValue: {
101
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
101
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
102
102
  default: () => any[];
103
103
  };
104
104
  column: {
@@ -123,7 +123,7 @@ export declare const NextInputTableSelect: import("../../utils/install").SFCWith
123
123
  };
124
124
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
125
125
  modelValue: {
126
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
126
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
127
127
  default: () => any[];
128
128
  };
129
129
  column: {
@@ -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" | "submit" | "close")[], "reset" | "submit" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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<{
173
173
  options: {
174
174
  type: ObjectConstructor;
175
175
  default: () => {};
@@ -55,6 +55,7 @@ export interface FormItemProps {
55
55
  loadDicData?: (col: any, callback: (data: any[]) => void, formParams: any) => void;
56
56
  _dictDataLoading?: boolean;
57
57
  hide?: boolean;
58
+ formHide?: boolean;
58
59
  multiple?: boolean;
59
60
  collapseTags?: boolean;
60
61
  collapseTagsTooltip?: boolean;
@@ -74,6 +75,7 @@ export interface FormItemProps {
74
75
  onBlur?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
75
76
  onFocus?: (col: any, formParams: any, formColumns: any[], formColumnsMap: Map<string, any>) => void;
76
77
  onExceed?: (...args: any[]) => void;
78
+ closable?: boolean;
77
79
  tableSelect?: any;
78
80
  tableSelectRows?: any[];
79
81
  tableSelectProps?: {
@@ -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" | "submit" | "close")[], "reset" | "submit" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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<{
15
15
  options: {
16
16
  type: ObjectConstructor;
17
17
  default: () => {};
@@ -1,6 +1,6 @@
1
- declare const InputTableSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  modelValue: {
3
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
3
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
4
4
  default: () => any[];
5
5
  };
6
6
  column: {
@@ -25,7 +25,7 @@ declare const InputTableSelect: import("vue").DefineComponent<import("vue").Extr
25
25
  };
26
26
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  modelValue: {
28
- type: (NumberConstructor | ObjectConstructor | StringConstructor | BooleanConstructor | ArrayConstructor)[];
28
+ type: (NumberConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
29
29
  default: () => any[];
30
30
  };
31
31
  column: {
@@ -58,4 +58,4 @@ declare const InputTableSelect: import("vue").DefineComponent<import("vue").Extr
58
58
  formParams: Record<string, any>;
59
59
  closable: boolean;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
- export default InputTableSelect;
61
+ export default _default;