@fly-vue/lcdp-iview 1.8.6 → 1.8.7-1

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