@fly-vue/lcdp-iview 1.7.8 → 1.7.9-1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. package/@types/module/action-nodes/impl/back.d.ts +6 -6
  2. package/@types/module/action-nodes/impl/confirm.d.ts +6 -6
  3. package/@types/module/action-nodes/impl/end.d.ts +4 -4
  4. package/@types/module/action-nodes/impl/http-download.d.ts +6 -6
  5. package/@types/module/action-nodes/impl/iam-member-select.d.ts +6 -6
  6. package/@types/module/action-nodes/impl/iam-org-select.d.ts +6 -6
  7. package/@types/module/action-nodes/impl/index.d.ts +2 -2
  8. package/@types/module/action-nodes/impl/message.d.ts +6 -6
  9. package/@types/module/action-nodes/impl/notice.d.ts +6 -6
  10. package/@types/module/action-nodes/impl/open-in-dialog.d.ts +10 -10
  11. package/@types/module/action-nodes/impl/read-file.d.ts +6 -6
  12. package/@types/module/action-nodes/impl/start.d.ts +4 -4
  13. package/@types/module/action-nodes/impl/table-grid.d.ts +8 -8
  14. package/@types/module/action-nodes/impl/wizard.d.ts +8 -8
  15. package/@types/module/action-nodes/index.d.ts +6 -6
  16. package/@types/module/components/attribute/TableColAttrEditMockData.vue.d.ts +39 -39
  17. package/@types/module/components/attribute/base-attr-components.d.ts +48 -48
  18. package/@types/module/components/attribute/designer/prop-value-editor/var-input/index.vue.d.ts +66 -66
  19. package/@types/module/components/attribute/prop-value-editor/array-editor/create-edit-dialog.d.ts +10 -10
  20. package/@types/module/components/attribute/prop-value-editor/array-editor/index.vue.d.ts +114 -114
  21. package/@types/module/components/attribute/prop-value-editor/array-editor/use-array-updater.d.ts +10 -10
  22. package/@types/module/components/attribute/prop-value-editor/base-props.d.ts +28 -28
  23. package/@types/module/components/attribute/prop-value-editor/common/use-input-type.d.ts +8 -8
  24. package/@types/module/components/attribute/prop-value-editor/designer-props.d.ts +17 -17
  25. package/@types/module/components/attribute/prop-value-editor/export-candidate-fields-editor/create-selectdsfields-dialog.d.ts +7 -7
  26. package/@types/module/components/attribute/prop-value-editor/export-candidate-fields-editor/fields-editor.vue.d.ts +61 -61
  27. package/@types/module/components/attribute/prop-value-editor/export-candidate-fields-editor/index.vue.d.ts +56 -56
  28. package/@types/module/components/attribute/prop-value-editor/export-candidate-fields-editor/select-ds-fields.vue.d.ts +24 -24
  29. package/@types/module/components/attribute/prop-value-editor/filters-editor/common-props.d.ts +19 -19
  30. package/@types/module/components/attribute/prop-value-editor/filters-editor/filter.vue.d.ts +97 -97
  31. package/@types/module/components/attribute/prop-value-editor/filters-editor/filters.vue.d.ts +103 -103
  32. package/@types/module/components/attribute/prop-value-editor/filters-editor/index.vue.d.ts +63 -63
  33. package/@types/module/components/attribute/prop-value-editor/filters-editor/operators.d.ts +4 -4
  34. package/@types/module/components/attribute/prop-value-editor/filters-editor/types.d.ts +11 -11
  35. package/@types/module/components/attribute/prop-value-editor/index.d.ts +12 -12
  36. package/@types/module/components/attribute/prop-value-editor/json-editor.vue.d.ts +67 -67
  37. package/@types/module/components/attribute/prop-value-editor/name-values-editor.vue.d.ts +58 -58
  38. package/@types/module/components/attribute/prop-value-editor/object-editor.vue.d.ts +59 -59
  39. package/@types/module/components/attribute/tableDictionary.d.ts +6 -6
  40. package/@types/module/components/components/IvTableGrid/cols.d.ts +20 -20
  41. package/@types/module/components/components/IvTableGrid/index.vue.d.ts +406 -406
  42. package/@types/module/components/components/IvTableGrid/pager-props.d.ts +19 -19
  43. package/@types/module/components/components/IvTableGrid/table-props.d.ts +103 -103
  44. package/@types/module/components/components/IvTableGrid/use-pager-events.d.ts +8 -8
  45. package/@types/module/components/components/IvTableGrid/use-table-events.d.ts +9 -9
  46. package/@types/module/components/components/IvTableGrid/utils.d.ts +1 -1
  47. package/@types/module/components/components/IvWizard/index.vue.d.ts +26 -26
  48. package/@types/module/components/components/IvWizard/step-pane.vue.d.ts +24 -24
  49. package/@types/module/components/components/base/IvHtml/index.vue.d.ts +14 -14
  50. package/@types/module/components/components/base/IvIframe/index.vue.d.ts +35 -35
  51. package/@types/module/components/components/base/IvText/index.vue.d.ts +43 -43
  52. package/@types/module/components/components/iam/lib/modal.d.ts +2 -2
  53. package/@types/module/components/components/iam/lib/query-methods-builder-old.d.ts +18 -18
  54. package/@types/module/components/components/iam/lib/query-methods-builder.d.ts +29 -29
  55. package/@types/module/components/components/iam/lib/tree.d.ts +10 -10
  56. package/@types/module/components/components/iam/mixins/build-query-methods.d.ts +64 -64
  57. package/@types/module/components/components/iview.d.ts +12 -12
  58. package/@types/module/components/components/lab-component/dynamic-input/index.vue.d.ts +40 -40
  59. package/@types/module/components/for-designer/index.d.ts +5 -5
  60. package/@types/module/components/for-renderer/data-exporter/csv.d.ts +1 -1
  61. package/@types/module/components/for-renderer/data-exporter/export-csv.d.ts +1 -1
  62. package/@types/module/components/for-renderer/data-exporter/index.vue.d.ts +62 -62
  63. package/@types/module/components/for-renderer/data-exporter/types.d.ts +9 -9
  64. package/@types/module/components/for-renderer/event-container/context.d.ts +48 -48
  65. package/@types/module/components/for-renderer/event-container/form-context.d.ts +9 -9
  66. package/@types/module/components/for-renderer/event-container/index.d.ts +3 -3
  67. package/@types/module/components/for-renderer/event-container/use-channel.d.ts +4 -4
  68. package/@types/module/components/for-renderer/event-container/use-form.d.ts +10 -10
  69. package/@types/module/components/for-renderer/excel-importer/failed-list.vue.d.ts +33 -33
  70. package/@types/module/components/for-renderer/excel-importer/index.vue.d.ts +166 -166
  71. package/@types/module/components/for-renderer/excel-importer/successful-list.vue.d.ts +22 -22
  72. package/@types/module/components/for-renderer/excel-importer/test-data.d.ts +15 -15
  73. package/@types/module/components/for-renderer/excel-importer/to-import-list.vue.d.ts +29 -29
  74. package/@types/module/components/for-renderer/excel-importer/types.d.ts +17 -17
  75. package/@types/module/components/for-renderer/excel-importer/use-check-all.d.ts +4 -4
  76. package/@types/module/components/for-renderer/excel-importer/use-pager.d.ts +6 -6
  77. package/@types/module/components/for-renderer/excel-importer/use-records-handler.d.ts +34 -34
  78. package/@types/module/components/for-renderer/excel-importer/use-urls.d.ts +5 -5
  79. package/@types/module/components/for-renderer/index.d.ts +13 -13
  80. package/@types/module/components/for-renderer/layout/iv-header-collapse.vue.d.ts +12 -12
  81. package/@types/module/components/for-renderer/layout/iv-trigger-container.vue.d.ts +26 -26
  82. package/@types/module/components/index.d.ts +638 -638
  83. package/@types/module/components/utils.d.ts +35 -35
  84. package/@types/module/index.d.ts +12 -12
  85. package/@types/module/plugins/index.d.ts +1 -1
  86. package/@types/module/plugins/use-services.d.ts +6 -6
  87. package/@types/module/schema-extend/components/IvPageLayout.d.ts +34 -34
  88. package/@types/module/schema-extend/components/actions.d.ts +3 -3
  89. package/@types/module/schema-extend/components/badge.d.ts +63 -63
  90. package/@types/module/schema-extend/components/carousel.d.ts +54 -54
  91. package/@types/module/schema-extend/components/cascader.d.ts +62 -62
  92. package/@types/module/schema-extend/components/checkbox.d.ts +53 -53
  93. package/@types/module/schema-extend/components/collapse.d.ts +38 -38
  94. package/@types/module/schema-extend/components/color-picker.d.ts +16 -16
  95. package/@types/module/schema-extend/components/description-list.d.ts +39 -39
  96. package/@types/module/schema-extend/components/divider.d.ts +22 -22
  97. package/@types/module/schema-extend/components/drawer.d.ts +55 -55
  98. package/@types/module/schema-extend/components/ellipsis.d.ts +47 -47
  99. package/@types/module/schema-extend/components/excel-importer.d.ts +16 -16
  100. package/@types/module/schema-extend/components/footer.d.ts +37 -37
  101. package/@types/module/schema-extend/components/form.d.ts +604 -604
  102. package/@types/module/schema-extend/components/globalfooter.d.ts +23 -23
  103. package/@types/module/schema-extend/components/grid.d.ts +44 -44
  104. package/@types/module/schema-extend/components/iam-org-tree.d.ts +10 -10
  105. package/@types/module/schema-extend/components/image.d.ts +22 -22
  106. package/@types/module/schema-extend/components/imagePreview.d.ts +50 -50
  107. package/@types/module/schema-extend/components/input.d.ts +10 -10
  108. package/@types/module/schema-extend/components/iv-header.d.ts +24 -24
  109. package/@types/module/schema-extend/components/iv-table.d.ts +277 -277
  110. package/@types/module/schema-extend/components/iv-text.d.ts +12 -12
  111. package/@types/module/schema-extend/components/ivlink.d.ts +27 -27
  112. package/@types/module/schema-extend/components/layout.d.ts +179 -179
  113. package/@types/module/schema-extend/components/lcdp-event-receiver.d.ts +17 -17
  114. package/@types/module/schema-extend/components/li-list.d.ts +33 -33
  115. package/@types/module/schema-extend/components/list.d.ts +81 -81
  116. package/@types/module/schema-extend/components/modal.d.ts +55 -55
  117. package/@types/module/schema-extend/components/numberInfo.d.ts +10 -10
  118. package/@types/module/schema-extend/components/others.d.ts +338 -338
  119. package/@types/module/schema-extend/components/page.d.ts +60 -60
  120. package/@types/module/schema-extend/components/poptip.d.ts +22 -22
  121. package/@types/module/schema-extend/components/radio.d.ts +82 -82
  122. package/@types/module/schema-extend/components/region.d.ts +18 -18
  123. package/@types/module/schema-extend/components/scrollspy.d.ts +58 -58
  124. package/@types/module/schema-extend/components/steps.d.ts +38 -38
  125. package/@types/module/schema-extend/components/table.d.ts +151 -151
  126. package/@types/module/schema-extend/components/tag-select.d.ts +43 -43
  127. package/@types/module/schema-extend/components/tag.d.ts +18 -18
  128. package/@types/module/schema-extend/components/timeline.d.ts +39 -39
  129. package/@types/module/schema-extend/components/tinymce.d.ts +27 -27
  130. package/@types/module/schema-extend/components/title.d.ts +18 -18
  131. package/@types/module/schema-extend/components/tooltips.d.ts +10 -10
  132. package/@types/module/schema-extend/components/transfer.d.ts +65 -65
  133. package/@types/module/schema-extend/components/tree.d.ts +53 -53
  134. package/@types/module/schema-extend/components/upload.d.ts +43 -43
  135. package/@types/module/schema-extend/components/wizard.d.ts +62 -62
  136. package/@types/module/schema-extend/index.d.ts +1 -1
  137. package/@types/module/schema-extend/iview-schema.d.ts +2 -2
  138. package/@types/module/schema-extend/utils.d.ts +45 -45
  139. package/@types/module/validate-processor.d.ts +6 -6
  140. package/bingo-builder-manifest.json +16 -16
  141. package/index.js +4 -4
  142. package/modules/fly_vue_lcdp_iview/dll.js +3 -3
  143. package/modules/fly_vue_lcdp_iview/{vendors~lcdp-renderer-components.1fd0a1e92a54b7b1f65f.js → vendors~lcdp-renderer-components.1df0b8569ce8c058e044.js} +1 -1
  144. package/package.json +15 -15
  145. /package/modules/fly_vue_lcdp_iview/{chunk-732b533d.1fd0a1e92a54b7b1f65f.js → chunk-732b533d.1df0b8569ce8c058e044.js} +0 -0
  146. /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.1fd0a1e92a54b7b1f65f.js → lcdp-designer-components.1df0b8569ce8c058e044.js} +0 -0
  147. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-attrcomponent.1fd0a1e92a54b7b1f65f.js → lcdp-iview-attrcomponent.1df0b8569ce8c058e044.js} +0 -0
  148. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-basecomponent.1fd0a1e92a54b7b1f65f.js → lcdp-iview-basecomponent.1df0b8569ce8c058e044.js} +0 -0
  149. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-ice.1fd0a1e92a54b7b1f65f.js → lcdp-iview-component-ice.1df0b8569ce8c058e044.js} +0 -0
  150. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.1fd0a1e92a54b7b1f65f.js → lcdp-iview-component-region.1df0b8569ce8c058e044.js} +0 -0
  151. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component.1fd0a1e92a54b7b1f65f.js → lcdp-iview-component.1df0b8569ce8c058e044.js} +0 -0
  152. /package/modules/fly_vue_lcdp_iview/{lcdp-renderer-components.1fd0a1e92a54b7b1f65f.js → lcdp-renderer-components.1df0b8569ce8c058e044.js} +0 -0
  153. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.1fd0a1e92a54b7b1f65f.js → vendors~lcdp-iview-component-ice.1df0b8569ce8c058e044.js} +0 -0
@@ -1,406 +1,406 @@
1
- import { PropType } from 'vue';
2
- import { PagerProps } from './pager-props';
3
- import { TablePager } from './use-pager-events';
4
- import { LcdpDataSource, SimpleDsQueryFilter } from '@fly-vue/lcdp-engine';
5
- declare type TableCol = {
6
- title: string;
7
- show: boolean;
8
- [index: string]: any;
9
- };
10
- declare const _default: import("vue").DefineComponent<{
11
- pagerProps: {
12
- type: PropType<PagerProps>;
13
- };
14
- ds: {
15
- type: PropType<LcdpDataSource>;
16
- required: true;
17
- };
18
- data: {
19
- type: ArrayConstructor;
20
- };
21
- visibleHeaderOp: {
22
- type: BooleanConstructor;
23
- };
24
- autoReload: {
25
- type: BooleanConstructor;
26
- };
27
- filters: {
28
- type: PropType<SimpleDsQueryFilter>;
29
- };
30
- visibleMore: {
31
- type: BooleanConstructor;
32
- };
33
- tableCols: {
34
- type: PropType<TableCol[]>;
35
- };
36
- enableSelectionCol: {
37
- type: BooleanConstructor;
38
- };
39
- enableIndexCol: {
40
- type: BooleanConstructor;
41
- };
42
- fixedIndex: {
43
- type: StringConstructor;
44
- };
45
- fixedSelection: {
46
- type: StringConstructor;
47
- };
48
- visiblePage: {
49
- type: BooleanConstructor;
50
- };
51
- /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
52
- loadOnMounted: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- showChildren: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- selectRowSingle: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- size: {
65
- validator(value: any): boolean;
66
- };
67
- width: {
68
- type: (NumberConstructor | StringConstructor)[];
69
- };
70
- height: {
71
- type: (NumberConstructor | StringConstructor)[];
72
- };
73
- maxHeight: {
74
- type: (NumberConstructor | StringConstructor)[];
75
- };
76
- stripe: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- border: {
81
- type: BooleanConstructor;
82
- default: boolean;
83
- };
84
- showHeader: {
85
- type: BooleanConstructor;
86
- default: boolean;
87
- };
88
- highlightRow: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- rowClassName: {
93
- type: FunctionConstructor;
94
- default(): string;
95
- };
96
- context: {
97
- type: ObjectConstructor;
98
- };
99
- noDataText: {
100
- type: StringConstructor;
101
- };
102
- noFilteredDataText: {
103
- type: StringConstructor;
104
- };
105
- disabledHover: {
106
- type: BooleanConstructor;
107
- };
108
- loading: {
109
- type: BooleanConstructor;
110
- default: boolean;
111
- };
112
- draggable: {
113
- type: BooleanConstructor;
114
- default: boolean;
115
- };
116
- tooltipTheme: {
117
- validator(value: any): boolean;
118
- default: string;
119
- };
120
- tooltipMaxWidth: {
121
- type: NumberConstructor;
122
- default: number;
123
- };
124
- rowKey: {
125
- type: (BooleanConstructor | StringConstructor)[];
126
- default: boolean;
127
- };
128
- spanMethod: {
129
- type: FunctionConstructor;
130
- };
131
- showSummary: {
132
- type: BooleanConstructor;
133
- default: boolean;
134
- };
135
- summaryMethod: {
136
- type: FunctionConstructor;
137
- };
138
- sumText: {
139
- type: StringConstructor; /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
140
- };
141
- indentSize: {
142
- type: NumberConstructor;
143
- default: number;
144
- };
145
- loadData: {
146
- type: FunctionConstructor;
147
- };
148
- updateShowChildren: {
149
- type: BooleanConstructor;
150
- default: boolean;
151
- };
152
- contextMenu: {
153
- type: BooleanConstructor;
154
- default: boolean;
155
- };
156
- showContextMenu: {
157
- type: BooleanConstructor;
158
- default: boolean;
159
- };
160
- fixedShadow: {
161
- type: StringConstructor;
162
- default: string;
163
- };
164
- padding: {
165
- type: (NumberConstructor | StringConstructor)[];
166
- default: number;
167
- };
168
- }, {
169
- ivTableGridRef: import("vue").Ref<string>;
170
- allTableColumn: import("vue").ComputedRef<any[]>;
171
- tableColumns: import("vue").ComputedRef<any>;
172
- filterTableColumn: import("vue").Ref<any[]>;
173
- pager: TablePager;
174
- pagerPropsNew: import("vue").Ref<{
175
- pageSize: number;
176
- pageSizeOpts: number[];
177
- placement: "bottom" | "top";
178
- transfer: boolean;
179
- size: "default" | "small";
180
- simple: boolean;
181
- showTotal: boolean;
182
- showElevator: boolean;
183
- showSizer: boolean;
184
- className: string;
185
- styles: any;
186
- prevText: string;
187
- nextText: string;
188
- disabled: boolean;
189
- }>;
190
- grdiStyle: import("vue").ComputedRef<{
191
- padding: string | number;
192
- }>;
193
- tableData: import("vue").Ref<any[]>;
194
- onSearch: (resetPage?: boolean, immediate?: boolean) => void;
195
- onSelectionChange: (_selection: any) => void;
196
- selection: any;
197
- tableFullscreen: import("vue").Ref<boolean>;
198
- handleFullscreen: () => void;
199
- handleResetColumn: (cols: any) => void;
200
- addRow: (params: any, isFirst: boolean) => void;
201
- deleteRow: (num: number | number[], callback: any) => any;
202
- getSelectData: (id: any) => any;
203
- gridTable: import("vue").Ref<any>;
204
- onContextmenu: (row: any, event: any) => void;
205
- handlePagePrev: (val: any) => void;
206
- handlePageNext: (val: any) => void;
207
- handlePageSizeChange: (val: any) => void;
208
- handlePageChange: (val: any) => void;
209
- }, {}, {}, {
210
- /**
211
- * 多选时,单选是否选中
212
- * @param {*} selection: 选中数据
213
- * @param {*} index: 选中行
214
- */
215
- onRowClick(selection: any, index: any): void;
216
- exportCsv(params: any): void;
217
- clearCurrentRow(): void;
218
- selectAll(status: any): void;
219
- }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
220
- pagerProps: {
221
- type: PropType<PagerProps>;
222
- };
223
- ds: {
224
- type: PropType<LcdpDataSource>;
225
- required: true;
226
- };
227
- data: {
228
- type: ArrayConstructor;
229
- };
230
- visibleHeaderOp: {
231
- type: BooleanConstructor;
232
- };
233
- autoReload: {
234
- type: BooleanConstructor;
235
- };
236
- filters: {
237
- type: PropType<SimpleDsQueryFilter>;
238
- };
239
- visibleMore: {
240
- type: BooleanConstructor;
241
- };
242
- tableCols: {
243
- type: PropType<TableCol[]>;
244
- };
245
- enableSelectionCol: {
246
- type: BooleanConstructor;
247
- };
248
- enableIndexCol: {
249
- type: BooleanConstructor;
250
- };
251
- fixedIndex: {
252
- type: StringConstructor;
253
- };
254
- fixedSelection: {
255
- type: StringConstructor;
256
- };
257
- visiblePage: {
258
- type: BooleanConstructor;
259
- };
260
- /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
261
- loadOnMounted: {
262
- type: BooleanConstructor;
263
- default: boolean;
264
- };
265
- showChildren: {
266
- type: BooleanConstructor;
267
- default: boolean;
268
- };
269
- selectRowSingle: {
270
- type: BooleanConstructor;
271
- default: boolean;
272
- };
273
- size: {
274
- validator(value: any): boolean;
275
- };
276
- width: {
277
- type: (NumberConstructor | StringConstructor)[];
278
- };
279
- height: {
280
- type: (NumberConstructor | StringConstructor)[];
281
- };
282
- maxHeight: {
283
- type: (NumberConstructor | StringConstructor)[];
284
- };
285
- stripe: {
286
- type: BooleanConstructor;
287
- default: boolean;
288
- };
289
- border: {
290
- type: BooleanConstructor;
291
- default: boolean;
292
- };
293
- showHeader: {
294
- type: BooleanConstructor;
295
- default: boolean;
296
- };
297
- highlightRow: {
298
- type: BooleanConstructor;
299
- default: boolean;
300
- };
301
- rowClassName: {
302
- type: FunctionConstructor;
303
- default(): string;
304
- };
305
- context: {
306
- type: ObjectConstructor;
307
- };
308
- noDataText: {
309
- type: StringConstructor;
310
- };
311
- noFilteredDataText: {
312
- type: StringConstructor;
313
- };
314
- disabledHover: {
315
- type: BooleanConstructor;
316
- };
317
- loading: {
318
- type: BooleanConstructor;
319
- default: boolean;
320
- };
321
- draggable: {
322
- type: BooleanConstructor;
323
- default: boolean;
324
- };
325
- tooltipTheme: {
326
- validator(value: any): boolean;
327
- default: string;
328
- };
329
- tooltipMaxWidth: {
330
- type: NumberConstructor;
331
- default: number;
332
- };
333
- rowKey: {
334
- type: (BooleanConstructor | StringConstructor)[];
335
- default: boolean;
336
- };
337
- spanMethod: {
338
- type: FunctionConstructor;
339
- };
340
- showSummary: {
341
- type: BooleanConstructor;
342
- default: boolean;
343
- };
344
- summaryMethod: {
345
- type: FunctionConstructor;
346
- };
347
- sumText: {
348
- type: StringConstructor; /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
349
- };
350
- indentSize: {
351
- type: NumberConstructor;
352
- default: number;
353
- };
354
- loadData: {
355
- type: FunctionConstructor;
356
- };
357
- updateShowChildren: {
358
- type: BooleanConstructor;
359
- default: boolean;
360
- };
361
- contextMenu: {
362
- type: BooleanConstructor;
363
- default: boolean;
364
- };
365
- showContextMenu: {
366
- type: BooleanConstructor;
367
- default: boolean;
368
- };
369
- fixedShadow: {
370
- type: StringConstructor;
371
- default: string;
372
- };
373
- padding: {
374
- type: (NumberConstructor | StringConstructor)[];
375
- default: number;
376
- };
377
- }>>, {
378
- draggable: boolean;
379
- border: boolean;
380
- contextMenu: boolean;
381
- visibleHeaderOp: boolean;
382
- autoReload: boolean;
383
- visibleMore: boolean;
384
- enableSelectionCol: boolean;
385
- enableIndexCol: boolean;
386
- visiblePage: boolean;
387
- loadOnMounted: boolean;
388
- showChildren: boolean;
389
- selectRowSingle: boolean;
390
- stripe: boolean;
391
- showHeader: boolean;
392
- highlightRow: boolean;
393
- rowClassName: Function;
394
- disabledHover: boolean;
395
- loading: boolean;
396
- tooltipTheme: string;
397
- tooltipMaxWidth: number;
398
- rowKey: string | boolean;
399
- showSummary: boolean;
400
- indentSize: number;
401
- updateShowChildren: boolean;
402
- showContextMenu: boolean;
403
- fixedShadow: string;
404
- padding: string | number;
405
- }>;
406
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { PagerProps } from './pager-props';
3
+ import { TablePager } from './use-pager-events';
4
+ import { LcdpDataSource, SimpleDsQueryFilter } from '@fly-vue/lcdp-engine';
5
+ declare type TableCol = {
6
+ title: string;
7
+ show: boolean;
8
+ [index: string]: any;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<{
11
+ pagerProps: {
12
+ type: PropType<PagerProps>;
13
+ };
14
+ ds: {
15
+ type: PropType<LcdpDataSource>;
16
+ required: true;
17
+ };
18
+ data: {
19
+ type: ArrayConstructor;
20
+ };
21
+ visibleHeaderOp: {
22
+ type: BooleanConstructor;
23
+ };
24
+ autoReload: {
25
+ type: BooleanConstructor;
26
+ };
27
+ filters: {
28
+ type: PropType<SimpleDsQueryFilter>;
29
+ };
30
+ visibleMore: {
31
+ type: BooleanConstructor;
32
+ };
33
+ tableCols: {
34
+ type: PropType<TableCol[]>;
35
+ };
36
+ enableSelectionCol: {
37
+ type: BooleanConstructor;
38
+ };
39
+ enableIndexCol: {
40
+ type: BooleanConstructor;
41
+ };
42
+ fixedIndex: {
43
+ type: StringConstructor;
44
+ };
45
+ fixedSelection: {
46
+ type: StringConstructor;
47
+ };
48
+ visiblePage: {
49
+ type: BooleanConstructor;
50
+ };
51
+ /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
52
+ loadOnMounted: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ showChildren: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ selectRowSingle: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ size: {
65
+ validator(value: any): boolean;
66
+ };
67
+ width: {
68
+ type: (NumberConstructor | StringConstructor)[];
69
+ };
70
+ height: {
71
+ type: (NumberConstructor | StringConstructor)[];
72
+ };
73
+ maxHeight: {
74
+ type: (NumberConstructor | StringConstructor)[];
75
+ };
76
+ stripe: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ border: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ showHeader: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ highlightRow: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ rowClassName: {
93
+ type: FunctionConstructor;
94
+ default(): string;
95
+ };
96
+ context: {
97
+ type: ObjectConstructor;
98
+ };
99
+ noDataText: {
100
+ type: StringConstructor;
101
+ };
102
+ noFilteredDataText: {
103
+ type: StringConstructor;
104
+ };
105
+ disabledHover: {
106
+ type: BooleanConstructor;
107
+ };
108
+ loading: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ draggable: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ tooltipTheme: {
117
+ validator(value: any): boolean;
118
+ default: string;
119
+ };
120
+ tooltipMaxWidth: {
121
+ type: NumberConstructor;
122
+ default: number;
123
+ };
124
+ rowKey: {
125
+ type: (BooleanConstructor | StringConstructor)[];
126
+ default: boolean;
127
+ };
128
+ spanMethod: {
129
+ type: FunctionConstructor;
130
+ };
131
+ showSummary: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ summaryMethod: {
136
+ type: FunctionConstructor;
137
+ };
138
+ sumText: {
139
+ type: StringConstructor; /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
140
+ };
141
+ indentSize: {
142
+ type: NumberConstructor;
143
+ default: number;
144
+ };
145
+ loadData: {
146
+ type: FunctionConstructor;
147
+ };
148
+ updateShowChildren: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ contextMenu: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ showContextMenu: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ fixedShadow: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ };
164
+ padding: {
165
+ type: (NumberConstructor | StringConstructor)[];
166
+ default: number;
167
+ };
168
+ }, {
169
+ ivTableGridRef: import("vue").Ref<string>;
170
+ allTableColumn: import("vue").ComputedRef<any[]>;
171
+ tableColumns: import("vue").ComputedRef<any>;
172
+ filterTableColumn: import("vue").Ref<any[]>;
173
+ pager: TablePager;
174
+ pagerPropsNew: import("vue").Ref<{
175
+ pageSize: number;
176
+ pageSizeOpts: number[];
177
+ placement: "bottom" | "top";
178
+ transfer: boolean;
179
+ size: "default" | "small";
180
+ simple: boolean;
181
+ showTotal: boolean;
182
+ showElevator: boolean;
183
+ showSizer: boolean;
184
+ className: string;
185
+ styles: any;
186
+ prevText: string;
187
+ nextText: string;
188
+ disabled: boolean;
189
+ }>;
190
+ grdiStyle: import("vue").ComputedRef<{
191
+ padding: string | number;
192
+ }>;
193
+ tableData: import("vue").Ref<any[]>;
194
+ onSearch: (resetPage?: boolean, immediate?: boolean) => void;
195
+ onSelectionChange: (_selection: any) => void;
196
+ selection: any;
197
+ tableFullscreen: import("vue").Ref<boolean>;
198
+ handleFullscreen: () => void;
199
+ handleResetColumn: (cols: any) => void;
200
+ addRow: (params: any, isFirst: boolean) => void;
201
+ deleteRow: (num: number | number[], callback: any) => any;
202
+ getSelectData: (id: any) => any;
203
+ gridTable: import("vue").Ref<any>;
204
+ onContextmenu: (row: any, event: any) => void;
205
+ handlePagePrev: (val: any) => void;
206
+ handlePageNext: (val: any) => void;
207
+ handlePageSizeChange: (val: any) => void;
208
+ handlePageChange: (val: any) => void;
209
+ }, {}, {}, {
210
+ /**
211
+ * 多选时,单选是否选中
212
+ * @param {*} selection: 选中数据
213
+ * @param {*} index: 选中行
214
+ */
215
+ onRowClick(selection: any, index: any): void;
216
+ exportCsv(params: any): void;
217
+ clearCurrentRow(): void;
218
+ selectAll(status: any): void;
219
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
220
+ pagerProps: {
221
+ type: PropType<PagerProps>;
222
+ };
223
+ ds: {
224
+ type: PropType<LcdpDataSource>;
225
+ required: true;
226
+ };
227
+ data: {
228
+ type: ArrayConstructor;
229
+ };
230
+ visibleHeaderOp: {
231
+ type: BooleanConstructor;
232
+ };
233
+ autoReload: {
234
+ type: BooleanConstructor;
235
+ };
236
+ filters: {
237
+ type: PropType<SimpleDsQueryFilter>;
238
+ };
239
+ visibleMore: {
240
+ type: BooleanConstructor;
241
+ };
242
+ tableCols: {
243
+ type: PropType<TableCol[]>;
244
+ };
245
+ enableSelectionCol: {
246
+ type: BooleanConstructor;
247
+ };
248
+ enableIndexCol: {
249
+ type: BooleanConstructor;
250
+ };
251
+ fixedIndex: {
252
+ type: StringConstructor;
253
+ };
254
+ fixedSelection: {
255
+ type: StringConstructor;
256
+ };
257
+ visiblePage: {
258
+ type: BooleanConstructor;
259
+ };
260
+ /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
261
+ loadOnMounted: {
262
+ type: BooleanConstructor;
263
+ default: boolean;
264
+ };
265
+ showChildren: {
266
+ type: BooleanConstructor;
267
+ default: boolean;
268
+ };
269
+ selectRowSingle: {
270
+ type: BooleanConstructor;
271
+ default: boolean;
272
+ };
273
+ size: {
274
+ validator(value: any): boolean;
275
+ };
276
+ width: {
277
+ type: (NumberConstructor | StringConstructor)[];
278
+ };
279
+ height: {
280
+ type: (NumberConstructor | StringConstructor)[];
281
+ };
282
+ maxHeight: {
283
+ type: (NumberConstructor | StringConstructor)[];
284
+ };
285
+ stripe: {
286
+ type: BooleanConstructor;
287
+ default: boolean;
288
+ };
289
+ border: {
290
+ type: BooleanConstructor;
291
+ default: boolean;
292
+ };
293
+ showHeader: {
294
+ type: BooleanConstructor;
295
+ default: boolean;
296
+ };
297
+ highlightRow: {
298
+ type: BooleanConstructor;
299
+ default: boolean;
300
+ };
301
+ rowClassName: {
302
+ type: FunctionConstructor;
303
+ default(): string;
304
+ };
305
+ context: {
306
+ type: ObjectConstructor;
307
+ };
308
+ noDataText: {
309
+ type: StringConstructor;
310
+ };
311
+ noFilteredDataText: {
312
+ type: StringConstructor;
313
+ };
314
+ disabledHover: {
315
+ type: BooleanConstructor;
316
+ };
317
+ loading: {
318
+ type: BooleanConstructor;
319
+ default: boolean;
320
+ };
321
+ draggable: {
322
+ type: BooleanConstructor;
323
+ default: boolean;
324
+ };
325
+ tooltipTheme: {
326
+ validator(value: any): boolean;
327
+ default: string;
328
+ };
329
+ tooltipMaxWidth: {
330
+ type: NumberConstructor;
331
+ default: number;
332
+ };
333
+ rowKey: {
334
+ type: (BooleanConstructor | StringConstructor)[];
335
+ default: boolean;
336
+ };
337
+ spanMethod: {
338
+ type: FunctionConstructor;
339
+ };
340
+ showSummary: {
341
+ type: BooleanConstructor;
342
+ default: boolean;
343
+ };
344
+ summaryMethod: {
345
+ type: FunctionConstructor;
346
+ };
347
+ sumText: {
348
+ type: StringConstructor; /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
349
+ };
350
+ indentSize: {
351
+ type: NumberConstructor;
352
+ default: number;
353
+ };
354
+ loadData: {
355
+ type: FunctionConstructor;
356
+ };
357
+ updateShowChildren: {
358
+ type: BooleanConstructor;
359
+ default: boolean;
360
+ };
361
+ contextMenu: {
362
+ type: BooleanConstructor;
363
+ default: boolean;
364
+ };
365
+ showContextMenu: {
366
+ type: BooleanConstructor;
367
+ default: boolean;
368
+ };
369
+ fixedShadow: {
370
+ type: StringConstructor;
371
+ default: string;
372
+ };
373
+ padding: {
374
+ type: (NumberConstructor | StringConstructor)[];
375
+ default: number;
376
+ };
377
+ }>>, {
378
+ draggable: boolean;
379
+ border: boolean;
380
+ contextMenu: boolean;
381
+ visibleHeaderOp: boolean;
382
+ autoReload: boolean;
383
+ visibleMore: boolean;
384
+ enableSelectionCol: boolean;
385
+ enableIndexCol: boolean;
386
+ visiblePage: boolean;
387
+ loadOnMounted: boolean;
388
+ showChildren: boolean;
389
+ selectRowSingle: boolean;
390
+ stripe: boolean;
391
+ showHeader: boolean;
392
+ highlightRow: boolean;
393
+ rowClassName: Function;
394
+ disabledHover: boolean;
395
+ loading: boolean;
396
+ tooltipTheme: string;
397
+ tooltipMaxWidth: number;
398
+ rowKey: string | boolean;
399
+ showSummary: boolean;
400
+ indentSize: number;
401
+ updateShowChildren: boolean;
402
+ showContextMenu: boolean;
403
+ fixedShadow: string;
404
+ padding: string | number;
405
+ }>;
406
+ export default _default;