@fly-vue/lcdp-iview 1.8.1-1 → 1.8.2-1

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