@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
@@ -0,0 +1,166 @@
1
+ import { ColumnsMapping, ImportRecords } from './types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ entityName: any;
4
+ excelTemplateUrl: any;
5
+ autoImportMaxRecords: {
6
+ default: number;
7
+ };
8
+ maxFileSize: {
9
+ default: number;
10
+ };
11
+ importUrl: any;
12
+ }, {
13
+ __sfc: boolean;
14
+ props: {
15
+ entityName: string;
16
+ excelTemplateUrl: string;
17
+ autoImportMaxRecords: number;
18
+ maxFileSize: number;
19
+ importUrl?: string;
20
+ };
21
+ parseExcelUrl: string;
22
+ defaultImportUrl: string;
23
+ headers: {};
24
+ importUrl: string;
25
+ mappings: import("vue").Ref<{
26
+ columnIndex: number;
27
+ columnHeaderText: string;
28
+ fieldName: string;
29
+ fieldDisplayName: string;
30
+ }[]>;
31
+ toImportListRecords: import("vue").Ref<{
32
+ [x: string]: any;
33
+ _uid_: string;
34
+ _selected_?: boolean;
35
+ _importResult_?: string;
36
+ _importError_?: string;
37
+ _editing_?: string;
38
+ _editingValue_?: string;
39
+ }[]>;
40
+ successfulListRecords: import("vue").Ref<{
41
+ [x: string]: any;
42
+ _uid_: string;
43
+ _selected_?: boolean;
44
+ _importResult_?: string;
45
+ _importError_?: string;
46
+ _editing_?: string;
47
+ _editingValue_?: string;
48
+ }[]>;
49
+ failedListRecords: import("vue").Ref<{
50
+ [x: string]: any;
51
+ _uid_: string;
52
+ _selected_?: boolean;
53
+ _importResult_?: string;
54
+ _importError_?: string;
55
+ _editing_?: string;
56
+ _editingValue_?: string;
57
+ }[]>;
58
+ fileName: any;
59
+ handleOnSuccess: (response: any, file: any) => void;
60
+ afterImported: (currentRecords: any, res: any) => void;
61
+ importing: import("vue").Ref<boolean>;
62
+ importingPercent: import("vue").Ref<number>;
63
+ showImportingPercent: import("vue").Ref<boolean>;
64
+ importData: () => void;
65
+ whichTable: import("vue").Ref<string>;
66
+ correcting: boolean;
67
+ correctData: () => void;
68
+ changeToImportListItemField: (e: any) => void;
69
+ changeFailedListItemField: (e: any) => void;
70
+ handleMaxSize: () => void;
71
+ ToImportList: import("vue").DefineComponent<{
72
+ mappings: any;
73
+ records: any;
74
+ }, {
75
+ __sfc: boolean;
76
+ props: {
77
+ mappings: ColumnsMapping;
78
+ records: ImportRecords;
79
+ };
80
+ emit: (event: "change-item-field", params: {
81
+ uid: string;
82
+ fieldName: string;
83
+ fieldValue: any;
84
+ }) => void;
85
+ page: import("vue").Ref<number>;
86
+ pageSize: import("vue").Ref<number>;
87
+ pagedRecords: import("vue").ComputedRef<any[]>;
88
+ onPageSizeChanged: (_pageSize: any) => void;
89
+ currentPageAllSelected: import("vue").Ref<boolean>;
90
+ toggleSelectedAll: (isChecked: any) => void;
91
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
92
+ mappings: any;
93
+ records: any;
94
+ }>>, {
95
+ mappings: any;
96
+ records: any;
97
+ }>;
98
+ SuccessfulList: import("vue").DefineComponent<{
99
+ mappings: any;
100
+ records: any;
101
+ }, {
102
+ __sfc: boolean;
103
+ props: {
104
+ mappings: ColumnsMapping;
105
+ records: ImportRecords;
106
+ };
107
+ page: import("vue").Ref<number>;
108
+ pageSize: import("vue").Ref<number>;
109
+ pagedRecords: import("vue").ComputedRef<any[]>;
110
+ onPageSizeChanged: (_pageSize: any) => void;
111
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
112
+ mappings: any;
113
+ records: any;
114
+ }>>, {
115
+ mappings: any;
116
+ records: any;
117
+ }>;
118
+ FailedList: import("vue").DefineComponent<{
119
+ mappings: any;
120
+ records: any;
121
+ }, {
122
+ __sfc: boolean;
123
+ props: {
124
+ mappings: ColumnsMapping;
125
+ records: ImportRecords;
126
+ };
127
+ emit: (event: "change-item-field", params: {
128
+ uid: string;
129
+ fieldName: string;
130
+ fieldValue: any;
131
+ }) => void;
132
+ page: import("vue").Ref<number>;
133
+ pageSize: import("vue").Ref<number>;
134
+ pagedRecords: import("vue").ComputedRef<any[]>;
135
+ onPageSizeChanged: (_pageSize: any) => void;
136
+ currentPageAllSelected: import("vue").Ref<boolean>;
137
+ toggleSelectedAll: (isChecked: any) => void;
138
+ editCell: (index: any, m: any) => void;
139
+ onEdit: (val: any, index: any) => void;
140
+ confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
141
+ cancelEdit: (index: any) => void;
142
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
143
+ mappings: any;
144
+ records: any;
145
+ }>>, {
146
+ mappings: any;
147
+ records: any;
148
+ }>;
149
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
150
+ entityName: any;
151
+ excelTemplateUrl: any;
152
+ autoImportMaxRecords: {
153
+ default: number;
154
+ };
155
+ maxFileSize: {
156
+ default: number;
157
+ };
158
+ importUrl: any;
159
+ }>>, {
160
+ entityName: any;
161
+ excelTemplateUrl: any;
162
+ autoImportMaxRecords: number;
163
+ maxFileSize: number;
164
+ importUrl: any;
165
+ }>;
166
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { ColumnsMapping, ImportRecords } from './types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ mappings: any;
4
+ records: any;
5
+ }, {
6
+ __sfc: boolean;
7
+ props: {
8
+ mappings: ColumnsMapping;
9
+ records: ImportRecords;
10
+ };
11
+ page: import("vue").Ref<number>;
12
+ pageSize: import("vue").Ref<number>;
13
+ pagedRecords: import("vue").ComputedRef<any[]>;
14
+ onPageSizeChanged: (_pageSize: any) => void;
15
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
16
+ mappings: any;
17
+ records: any;
18
+ }>>, {
19
+ mappings: any;
20
+ records: any;
21
+ }>;
22
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export declare const columnsMappingTestData: {
2
+ columnIndex: number;
3
+ columnHeaderText: string;
4
+ fieldName: string;
5
+ fieldDisplayName: string;
6
+ }[];
7
+ export declare const toImportListTestData: {
8
+ _uid_: string;
9
+ _selected_: boolean;
10
+ _importError_: any;
11
+ name: string;
12
+ username: string;
13
+ phoneNumber: string;
14
+ mobile: string;
15
+ }[];
@@ -0,0 +1,29 @@
1
+ import { ColumnsMapping, ImportRecords } from './types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ mappings: any;
4
+ records: any;
5
+ }, {
6
+ __sfc: boolean;
7
+ props: {
8
+ mappings: ColumnsMapping;
9
+ records: ImportRecords;
10
+ };
11
+ emit: (event: 'change-item-field', params: {
12
+ uid: string;
13
+ fieldName: string;
14
+ fieldValue: any;
15
+ }) => void;
16
+ page: import("vue").Ref<number>;
17
+ pageSize: import("vue").Ref<number>;
18
+ pagedRecords: import("vue").ComputedRef<any[]>;
19
+ onPageSizeChanged: (_pageSize: any) => void;
20
+ currentPageAllSelected: import("vue").Ref<boolean>;
21
+ toggleSelectedAll: (isChecked: any) => void;
22
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
23
+ mappings: any;
24
+ records: any;
25
+ }>>, {
26
+ mappings: any;
27
+ records: any;
28
+ }>;
29
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export declare type ColumnMapping = {
2
+ columnIndex: number;
3
+ columnHeaderText: string;
4
+ fieldName: string;
5
+ fieldDisplayName: string;
6
+ };
7
+ export declare type ColumnsMapping = ColumnMapping[];
8
+ export declare type ImportRecord = {
9
+ _uid_: string;
10
+ _selected_?: boolean;
11
+ _importResult_?: string;
12
+ _importError_?: string;
13
+ _editing_?: string;
14
+ _editingValue_?: string;
15
+ [otherKey: string]: any;
16
+ };
17
+ export declare type ImportRecords = ImportRecord[];
@@ -0,0 +1,4 @@
1
+ export declare function useCheckAll(pagedRecords: any, emit: any): {
2
+ currentPageAllSelected: import("vue").Ref<boolean>;
3
+ toggleSelectedAll: (isChecked: any) => void;
4
+ };
@@ -0,0 +1,6 @@
1
+ export declare function usePager(props: any): {
2
+ onPageSizeChanged: (_pageSize: any) => void;
3
+ pagedRecords: import("vue").ComputedRef<any[]>;
4
+ page: import("vue").Ref<number>;
5
+ pageSize: import("vue").Ref<number>;
6
+ };
@@ -0,0 +1,34 @@
1
+ import { ImportRecords, ImportRecord, ColumnsMapping } from './types';
2
+ /**
3
+ * 附加_uid_、_selected_属性到records的每一项中
4
+ */
5
+ export declare const preprocessRecords: (records: ImportRecords) => {
6
+ _uid_: string;
7
+ _selected_: boolean;
8
+ _importResult_?: string;
9
+ _importError_?: string;
10
+ _editing_?: string;
11
+ _editingValue_?: string;
12
+ }[];
13
+ /**
14
+ * 清除records每一项的_uid_、_selected_等非业务属性
15
+ */
16
+ export declare const cleanRecords: (records: ImportRecords) => ImportRecords;
17
+ export declare const filterSelected: (records: ImportRecords) => {
18
+ _uid_: string;
19
+ _selected_?: boolean;
20
+ _importResult_?: string;
21
+ _importError_?: string;
22
+ _editing_?: string;
23
+ _editingValue_?: string;
24
+ }[];
25
+ export declare const filterFailed: (records: ImportRecords, mappings: ColumnsMapping) => any[];
26
+ export declare const filterSuccessful: (records: ImportRecords) => ImportRecord[];
27
+ export declare const rangeRecords: (records: ImportRecords, fromIndex: any, toIndex: any) => any[];
28
+ /**
29
+ * 本地分页获取records的数据
30
+ * @param records - 当前所有记录数
31
+ * @param page - 当前页,从1开始
32
+ * @param pageSize - 每页记录数
33
+ */
34
+ export declare const getPagedRecords: (records: ImportRecords, page: number, pageSize: number) => any[];
@@ -0,0 +1,5 @@
1
+ export declare function useUrls(entityName: string): {
2
+ parseExcelUrl: string;
3
+ importUrl: string;
4
+ headers: {};
5
+ };
@@ -1,4 +1,9 @@
1
- declare const _default: {
2
- LcdpInlineRenderer: () => Promise<typeof import("./inline-renderer/index.vue")>;
3
- };
4
- export default _default;
1
+ declare const _default: {
2
+ LcdpInlineRenderer: () => Promise<typeof import("./inline-renderer/index.vue")>;
3
+ LcdpFormEventDispatcher: () => Promise<typeof import("./event-container/form-dispatcher.vue")>;
4
+ LcdpFormEventReceiver: () => Promise<typeof import("./event-container/form-receiver.vue")>;
5
+ LcdpChannel: () => Promise<typeof import("./event-container/channel.vue")>;
6
+ LcdpDataImporter: () => Promise<typeof import("./excel-importer/index.vue")>;
7
+ LcdpDataExporter: () => Promise<typeof import("./data-exporter/index.vue")>;
8
+ };
9
+ export default _default;
@@ -1,70 +1,78 @@
1
- import { PropType } from 'vue';
2
- import { LcdpRendererConfig } from '@fly-vue/lcdp-engine';
3
- declare const _default: import("vue").DefineComponent<{
4
- customUri: {
5
- type: StringConstructor;
6
- };
7
- uri: {
8
- type: StringConstructor;
9
- required: true;
10
- };
11
- requestParams: {
12
- type: ArrayConstructor;
13
- };
14
- forceHideHeader: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- forceHideFooter: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- noCache: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- /** 渲染完成后执行,也就是vue的onMounted事件回调 */
27
- onRendered: {
28
- type: PropType<(context: any) => any>;
29
- required: false;
30
- };
31
- }, {
32
- preprocessed: import("vue").Ref<boolean>;
33
- payload: any;
34
- rendererConfig: LcdpRendererConfig;
35
- handleOnOutput: (data: any) => void;
36
- pageKey: string;
37
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
38
- customUri: {
39
- type: StringConstructor;
40
- };
41
- uri: {
42
- type: StringConstructor;
43
- required: true;
44
- };
45
- requestParams: {
46
- type: ArrayConstructor;
47
- };
48
- forceHideHeader: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- forceHideFooter: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- noCache: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- /** 渲染完成后执行,也就是vue的onMounted事件回调 */
61
- onRendered: {
62
- type: PropType<(context: any) => any>;
63
- required: false;
64
- };
65
- }>>, {
66
- forceHideHeader: boolean;
67
- forceHideFooter: boolean;
68
- noCache: boolean;
69
- }>;
70
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { LcdpRendererConfig } from '@fly-vue/lcdp-engine';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ autoUri: {
5
+ type: BooleanConstructor;
6
+ };
7
+ uri: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ requestParams: {
12
+ type: ArrayConstructor;
13
+ };
14
+ forceHideHeader: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ forceHideFooter: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ noCache: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ /** 渲染完成后执行,也就是vue的onMounted事件回调 */
27
+ onRendered: {
28
+ type: PropType<(context: any) => any>;
29
+ required: false;
30
+ };
31
+ showLoading: {
32
+ type: BooleanConstructor;
33
+ };
34
+ }, {
35
+ preprocessed: import("vue").Ref<boolean>;
36
+ payload: any;
37
+ rendererConfig: LcdpRendererConfig;
38
+ handleOnOutput: (data: any) => void;
39
+ pageKey: import("vue").Ref<string>;
40
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
41
+ autoUri: {
42
+ type: BooleanConstructor;
43
+ };
44
+ uri: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ requestParams: {
49
+ type: ArrayConstructor;
50
+ };
51
+ forceHideHeader: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ forceHideFooter: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ noCache: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ /** 渲染完成后执行,也就是vue的onMounted事件回调 */
64
+ onRendered: {
65
+ type: PropType<(context: any) => any>;
66
+ required: false;
67
+ };
68
+ showLoading: {
69
+ type: BooleanConstructor;
70
+ };
71
+ }>>, {
72
+ autoUri: boolean;
73
+ forceHideHeader: boolean;
74
+ forceHideFooter: boolean;
75
+ noCache: boolean;
76
+ showLoading: boolean;
77
+ }>;
78
+ export default _default;