@fly-vue/lcdp-iview 1.8.3 → 1.8.4-1

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