@fly-vue/lcdp-iview 1.7.5-6 → 1.7.6

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