@fly-vue/lcdp-iview 1.8.12 → 1.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/@types/module/action-nodes/impl/open-in-dialog-runtime.d.ts +10 -0
  2. package/@types/module/components/components/IvTableGrid/index.vue.d.ts +2 -1
  3. package/@types/module/components/components/entity/IvEntityExcelImporter/index.vue.d.ts +273 -0
  4. package/@types/module/components/components/entity/IvEntityExcelImporter/ts/type.d.ts +1 -0
  5. package/@types/module/components/components/entity/IvEntityExport/ts/type.d.ts +36 -0
  6. package/@types/module/components/components/entity/IvEntityQueryBuilder/fieldAnalysis.vue.d.ts +54 -0
  7. package/@types/module/components/components/entity/IvEntityQueryBuilder/index.vue.d.ts +85 -0
  8. package/@types/module/components/components/entity/IvEntityQueryBuilder/ts/type.d.ts +34 -0
  9. package/@types/module/components/components/entity/button/create.vue.d.ts +157 -0
  10. package/@types/module/components/components/entity/button/edit.vue.d.ts +161 -0
  11. package/@types/module/components/components/entity/button/field-type-mapping-form-component.d.ts +50 -0
  12. package/@types/module/components/components/entity/button/generate-entity-form.d.ts +81 -0
  13. package/@types/module/components/components/entity/button/rules.d.ts +31 -0
  14. package/@types/module/components/components/entity/button/ts/export.d.ts +3 -0
  15. package/@types/module/components/components/entity/button/ts/lowcode.d.ts +101 -0
  16. package/@types/module/components/components/entity/button/ts/open-in-dialog.d.ts +16 -0
  17. package/@types/module/components/components/entity/button/ts/type.d.ts +14 -0
  18. package/@types/module/components/components/entity/button/ts/use-app-id.d.ts +6 -0
  19. package/@types/module/components/components/entity/button/utils.d.ts +7 -0
  20. package/@types/module/components/components/iam/org-select/org-tree/utils.d.ts +25 -0
  21. package/@types/module/components/components/lab-component/user-data-view/index.vue.d.ts +66 -0
  22. package/@types/module/components/for-renderer/excel-importer/failed-list.vue.d.ts +13 -0
  23. package/@types/module/components/for-renderer/excel-importer/index.vue.d.ts +59 -3
  24. package/@types/module/components/for-renderer/excel-importer/successful-list.vue.d.ts +9 -0
  25. package/@types/module/components/for-renderer/excel-importer/to-import-list.vue.d.ts +12 -0
  26. package/@types/module/components/for-renderer/excel-importer/types.d.ts +22 -0
  27. package/@types/module/components/index.d.ts +6 -0
  28. package/@types/module/schema-extend/components/auth.d.ts +7 -0
  29. package/bingo-builder-manifest.json +15 -13
  30. package/index.js +4 -4
  31. package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
  32. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.c6fd4f30.css +1 -0
  33. package/modules/fly_vue_lcdp_iview/assets/css/{lcdp-renderer-components.b1d4f3e0.css → lcdp-renderer-components.02003927.css} +1 -1
  34. package/modules/fly_vue_lcdp_iview/chunk-732b533d.8ef2b4f10effeee204cc.js +1 -0
  35. package/modules/fly_vue_lcdp_iview/dll.js +8 -8
  36. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.8ef2b4f10effeee204cc.js +1 -0
  37. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.8ef2b4f10effeee204cc.js +1 -0
  38. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.8ef2b4f10effeee204cc.js +1 -0
  39. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.8ef2b4f10effeee204cc.js +1 -0
  40. package/modules/fly_vue_lcdp_iview/lcdp-iview-component~lcdp-renderer-components.8ef2b4f10effeee204cc.js +1 -0
  41. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.8ef2b4f10effeee204cc.js +1 -0
  42. package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component~lcdp-renderer-components.8ef2b4f10effeee204cc.js +42 -0
  43. package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.8ef2b4f10effeee204cc.js +15 -0
  44. package/package.json +14 -13
  45. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.e7fec5cb.css +0 -1
  46. package/modules/fly_vue_lcdp_iview/chunk-732b533d.b489cc1146ca6d8aa61f.js +0 -1
  47. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.b489cc1146ca6d8aa61f.js +0 -1
  48. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.b489cc1146ca6d8aa61f.js +0 -1
  49. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.b489cc1146ca6d8aa61f.js +0 -1
  50. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.b489cc1146ca6d8aa61f.js +0 -1
  51. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.b489cc1146ca6d8aa61f.js +0 -1
  52. package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.b489cc1146ca6d8aa61f.js +0 -15
  53. /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.b489cc1146ca6d8aa61f.js → lcdp-designer-components.8ef2b4f10effeee204cc.js} +0 -0
  54. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.b489cc1146ca6d8aa61f.js → lcdp-iview-component-region.8ef2b4f10effeee204cc.js} +0 -0
  55. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.b489cc1146ca6d8aa61f.js → vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.8ef2b4f10effeee204cc.js} +0 -0
  56. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.b489cc1146ca6d8aa61f.js → vendors~lcdp-iview-component-ice.8ef2b4f10effeee204cc.js} +0 -0
  57. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component.b489cc1146ca6d8aa61f.js → vendors~lcdp-iview-component.8ef2b4f10effeee204cc.js} +0 -0
@@ -0,0 +1,10 @@
1
+ import { ActionContext, ActionResult } from 'maple-client-orchestration-runtime';
2
+ declare const _default: {
3
+ id: string;
4
+ func: (actionContext: ActionContext) => Promise<ActionResult>;
5
+ };
6
+ export default _default;
7
+ export declare const closeDialog: {
8
+ id: string;
9
+ func: (actionContext: ActionContext) => Promise<ActionResult>;
10
+ };
@@ -240,6 +240,7 @@ declare const _default: import("vue").DefineComponent<{
240
240
  selectAll(status: any): void;
241
241
  toggleSelect(index: any): void;
242
242
  clearRadioRow(): void;
243
+ getColumnsData(): any;
243
244
  }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
244
245
  pagerProps: {
245
246
  type: PropType<PagerProps>;
@@ -416,6 +417,7 @@ declare const _default: import("vue").DefineComponent<{
416
417
  draggable: boolean;
417
418
  border: boolean;
418
419
  contextMenu: boolean;
420
+ visiblePage: boolean;
419
421
  visibleHeaderOp: boolean;
420
422
  autoReload: boolean;
421
423
  visibleMore: boolean;
@@ -423,7 +425,6 @@ declare const _default: import("vue").DefineComponent<{
423
425
  valueField: string;
424
426
  enableSelectionCol: boolean;
425
427
  enableIndexCol: boolean;
426
- visiblePage: boolean;
427
428
  loadOnMounted: boolean;
428
429
  showChildren: boolean;
429
430
  selectRowSingle: boolean;
@@ -0,0 +1,273 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ entity: any;
3
+ excelTemplateUrl: any;
4
+ autoImportMaxRecords: {
5
+ default: number;
6
+ };
7
+ maxFileSize: {
8
+ default: number;
9
+ };
10
+ importUrl: any;
11
+ }, {
12
+ __sfc: boolean;
13
+ props: {
14
+ entity: string;
15
+ excelTemplateUrl?: string;
16
+ autoImportMaxRecords: number;
17
+ maxFileSize: number;
18
+ importUrl?: string;
19
+ };
20
+ emit: {
21
+ (e: 'on-success-import'): void;
22
+ (e: 'on-error-import'): void;
23
+ };
24
+ importModel: import("vue").Ref<boolean>;
25
+ importLoad: import("vue").Ref<boolean>;
26
+ childLoad: import("vue").Ref<boolean>;
27
+ childRef: any;
28
+ whichTable: any;
29
+ designerService: any;
30
+ onOk: () => void;
31
+ onCancel: () => void;
32
+ handlerComplateImport: () => void;
33
+ handlerErrorImport: () => void;
34
+ handlerLoadingImport: () => void;
35
+ handlerSelectImport: (string: string) => void;
36
+ handlerSuccessImport: () => void;
37
+ LcdpDataImporter: import("vue").DefineComponent<{
38
+ entityName: any;
39
+ excelTemplateUrl: any;
40
+ autoImportMaxRecords: {
41
+ default: number;
42
+ };
43
+ maxFileSize: {
44
+ default: number;
45
+ };
46
+ importUrl: any;
47
+ }, {
48
+ __sfc: boolean;
49
+ props: {
50
+ entityName: string;
51
+ excelTemplateUrl?: string;
52
+ autoImportMaxRecords: number;
53
+ maxFileSize: number;
54
+ importUrl?: string;
55
+ };
56
+ parseExcelUrl: string;
57
+ defaultImportUrl: string;
58
+ headers: {};
59
+ importUrl: string;
60
+ mappings: import("vue").Ref<{
61
+ columnIndex: number;
62
+ columnHeaderText: string;
63
+ fieldName: string;
64
+ fieldDisplayName: string;
65
+ }[]>;
66
+ toImportListRecords: import("vue").Ref<{
67
+ [x: string]: any;
68
+ _uid_: string;
69
+ _selected_?: boolean;
70
+ _importResult_?: string;
71
+ _importError_?: string;
72
+ _editing_?: string;
73
+ _editingValue_?: string;
74
+ }[]>;
75
+ successfulListRecords: import("vue").Ref<{
76
+ [x: string]: any;
77
+ _uid_: string;
78
+ _selected_?: boolean;
79
+ _importResult_?: string;
80
+ _importError_?: string;
81
+ _editing_?: string;
82
+ _editingValue_?: string;
83
+ }[]>;
84
+ failedListRecords: import("vue").Ref<{
85
+ [x: string]: any;
86
+ _uid_: string;
87
+ _selected_?: boolean;
88
+ _importResult_?: string;
89
+ _importError_?: string;
90
+ _editing_?: string;
91
+ _editingValue_?: string;
92
+ }[]>;
93
+ excelUpload: import("vue").Ref<{
94
+ clearFiles: () => void;
95
+ }>;
96
+ fileName: any;
97
+ importList: any;
98
+ failedList: any;
99
+ entityInfo: any;
100
+ designerService: any;
101
+ list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
102
+ emit: {
103
+ (e: "on-select-import", string: string): any;
104
+ (e: "on-loading-import"): void;
105
+ (e: "on-complate-import"): void;
106
+ (e: "on-error-import"): void;
107
+ (e: "on-success-import"): void;
108
+ };
109
+ handleOnSuccess: (response: any, file: any) => void;
110
+ afterImported: (currentRecords: any, res: any) => void;
111
+ importing: import("vue").Ref<boolean>;
112
+ importingPercent: import("vue").Ref<number>;
113
+ showImportingPercent: import("vue").Ref<boolean>;
114
+ importData: () => void;
115
+ whichTable: import("vue").Ref<string>;
116
+ correcting: boolean;
117
+ correctData: () => void;
118
+ changeToImportListItemField: (e: any) => void;
119
+ changeFailedListItemField: (e: any) => void;
120
+ handleMaxSize: () => void;
121
+ onUploadRevoke: () => void;
122
+ onDownTemplate: () => Promise<void>;
123
+ setupStyledHeaders: (worksheet: import("exceljs").Worksheet, fieldsArr: any) => void;
124
+ setupDropdownValidations: (worksheet: any, worksheet2: import("exceljs").Worksheet, fieldsArr: any) => void;
125
+ getColumnLetter: (columnIndex: number) => string;
126
+ setupVerticalData: (worksheet: import("exceljs").Worksheet, fieldsArr: any) => void;
127
+ ToImportList: import("vue").DefineComponent<{
128
+ mappings: any;
129
+ records: any;
130
+ }, {
131
+ __sfc: boolean;
132
+ props: {
133
+ mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
134
+ records: import("../../../for-renderer/excel-importer/types").ImportRecords;
135
+ };
136
+ random: any;
137
+ tableCloumns: import("vue").Ref<{
138
+ key?: string;
139
+ title?: string;
140
+ width?: number;
141
+ type?: string;
142
+ align?: string;
143
+ render?: unknown;
144
+ tooltip?: boolean;
145
+ }[]>;
146
+ emit: (event: "change-item-field", params: {
147
+ uid: string;
148
+ fieldName: string;
149
+ fieldValue: any;
150
+ }) => void;
151
+ page: import("vue").Ref<number>;
152
+ pageSize: import("vue").Ref<number>;
153
+ pagedRecords: import("vue").ComputedRef<any[]>;
154
+ onPageSizeChanged: (_pageSize: any) => void;
155
+ currentPageAllSelected: import("vue").Ref<boolean>;
156
+ toggleSelectedAll: (isChecked: any) => void;
157
+ onSelect: (selection: unknown[], row: unknown) => void;
158
+ onRendom: () => void;
159
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
160
+ mappings: any;
161
+ records: any;
162
+ }>>, {
163
+ mappings: any;
164
+ records: any;
165
+ }>;
166
+ SuccessfulList: import("vue").DefineComponent<{
167
+ mappings: any;
168
+ records: any;
169
+ }, {
170
+ __sfc: boolean;
171
+ props: {
172
+ mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
173
+ records: import("../../../for-renderer/excel-importer/types").ImportRecords;
174
+ };
175
+ tableCloumns: import("vue").Ref<{
176
+ key?: string;
177
+ title?: string;
178
+ width?: number;
179
+ type?: string;
180
+ align?: string;
181
+ render?: unknown;
182
+ tooltip?: boolean;
183
+ }[]>;
184
+ page: import("vue").Ref<number>;
185
+ pageSize: import("vue").Ref<number>;
186
+ pagedRecords: import("vue").ComputedRef<any[]>;
187
+ onPageSizeChanged: (_pageSize: any) => void;
188
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
189
+ mappings: any;
190
+ records: any;
191
+ }>>, {
192
+ mappings: any;
193
+ records: any;
194
+ }>;
195
+ FailedList: import("vue").DefineComponent<{
196
+ mappings: any;
197
+ records: any;
198
+ }, {
199
+ __sfc: boolean;
200
+ props: {
201
+ mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
202
+ records: import("../../../for-renderer/excel-importer/types").ImportRecords;
203
+ };
204
+ random: any;
205
+ tableCloumns: import("vue").Ref<{
206
+ key?: string;
207
+ title?: string;
208
+ width?: number;
209
+ type?: string;
210
+ align?: string;
211
+ render?: unknown;
212
+ tooltip?: boolean;
213
+ }[]>;
214
+ emit: (event: "change-item-field", params: {
215
+ uid: string;
216
+ fieldName: string;
217
+ fieldValue: any;
218
+ }) => void;
219
+ page: import("vue").Ref<number>;
220
+ pageSize: import("vue").Ref<number>;
221
+ pagedRecords: import("vue").ComputedRef<any[]>;
222
+ onPageSizeChanged: (_pageSize: any) => void;
223
+ currentPageAllSelected: import("vue").Ref<boolean>;
224
+ toggleSelectedAll: (isChecked: any) => void;
225
+ editCell: (index: any, m: any) => void;
226
+ onEdit: (val: any, index: any) => void;
227
+ confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
228
+ cancelEdit: (index: any) => void;
229
+ onCellClick: (row: any, column: any, data: any, event: any) => void;
230
+ onSelect: (selection: unknown[], row: unknown) => void;
231
+ onRendom: () => void;
232
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
233
+ mappings: any;
234
+ records: any;
235
+ }>>, {
236
+ mappings: any;
237
+ records: any;
238
+ }>;
239
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("on-success-import" | "on-error-import" | "on-select-import" | "on-loading-import" | "on-complate-import")[], string, Readonly<import("vue").ExtractPropTypes<{
240
+ entityName: any;
241
+ excelTemplateUrl: any;
242
+ autoImportMaxRecords: {
243
+ default: number;
244
+ };
245
+ maxFileSize: {
246
+ default: number;
247
+ };
248
+ importUrl: any;
249
+ }>>, {
250
+ excelTemplateUrl: any;
251
+ autoImportMaxRecords: number;
252
+ maxFileSize: number;
253
+ importUrl: any;
254
+ entityName: any;
255
+ }>;
256
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("on-success-import" | "on-error-import")[], string, Readonly<import("vue").ExtractPropTypes<{
257
+ entity: any;
258
+ excelTemplateUrl: any;
259
+ autoImportMaxRecords: {
260
+ default: number;
261
+ };
262
+ maxFileSize: {
263
+ default: number;
264
+ };
265
+ importUrl: any;
266
+ }>>, {
267
+ entity: any;
268
+ excelTemplateUrl: any;
269
+ autoImportMaxRecords: number;
270
+ maxFileSize: number;
271
+ importUrl: any;
272
+ }>;
273
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare type ImportBoolean = boolean;
@@ -0,0 +1,36 @@
1
+ declare type ArbitraryObject = {
2
+ [key: string]: any;
3
+ };
4
+ interface TransferQuery {
5
+ data: ArbitraryObject[];
6
+ targetKeys: (string | number)[];
7
+ listStyle: {
8
+ width: string;
9
+ height: string;
10
+ };
11
+ }
12
+ interface RadioGroupQuery {
13
+ label: number | string;
14
+ title: string;
15
+ show: boolean;
16
+ }
17
+ export interface ComponentData {
18
+ exportModel: boolean;
19
+ exportLoading: boolean;
20
+ entityInfo: ArbitraryObject;
21
+ fieldList: ArbitraryObject[];
22
+ fieldGruop: ArbitraryObject[];
23
+ transferQuery: TransferQuery;
24
+ relations: ArbitraryObject;
25
+ radioGroupValue: number | string;
26
+ radioGroupList: RadioGroupQuery[];
27
+ }
28
+ export interface Item {
29
+ [key: string]: any;
30
+ }
31
+ export interface ExportQuery {
32
+ filename: string;
33
+ columns: Item[];
34
+ data: Item[];
35
+ }
36
+ export {};
@@ -0,0 +1,54 @@
1
+ import { Ref } from 'vue';
2
+ import { FilterItem, State } from './ts/type';
3
+ export declare type ChildComponentInstance = {
4
+ onReset: () => void;
5
+ onSubmit: () => {
6
+ filters: string;
7
+ filterList: FilterItem;
8
+ };
9
+ onListFilters: (filters: string) => void;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<{
12
+ filedOption: any;
13
+ relations: any;
14
+ isCheck: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }, {
19
+ __sfc: boolean;
20
+ props: {
21
+ filedOption?: any;
22
+ relations?: any;
23
+ isCheck: boolean;
24
+ };
25
+ state: State;
26
+ filterList: Ref<FilterItem[]>;
27
+ options: Ref<import("./ts/type").Option[]>;
28
+ list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
29
+ parseOrExpressions: (filters: string) => string[];
30
+ isOrKeyword: (filters: string, index: number) => boolean;
31
+ onFieldInputType: (e: any, value: any) => void;
32
+ onListFilters: (filters: string) => void;
33
+ onSelectFields: (e: any, value: any) => void;
34
+ onAnalysisRelations: (value: any, targetEntityInfo: any) => void;
35
+ onCondition: (type: any, index: any) => void;
36
+ onGroup: (type: string, index?: number) => void;
37
+ onReset: () => void;
38
+ onSubmit: () => false | {
39
+ filters: string;
40
+ filterList: FilterItem[];
41
+ };
42
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
43
+ filedOption: any;
44
+ relations: any;
45
+ isCheck: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>>, {
50
+ filedOption: any;
51
+ relations: any;
52
+ isCheck: boolean;
53
+ }>;
54
+ export default _default;
@@ -0,0 +1,85 @@
1
+ import { Ref } from 'vue';
2
+ import { QueryBuilderData, FlexibleObject } from './ts/type';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ entity: any;
5
+ }, {
6
+ __sfc: boolean;
7
+ props: {
8
+ entity: string;
9
+ };
10
+ queryBuilderData: QueryBuilderData;
11
+ filedOption: Ref<{
12
+ [key: string]: any;
13
+ }[]>;
14
+ entityInfo: Ref<{
15
+ [key: string]: any;
16
+ }>;
17
+ relations: Ref<{
18
+ [key: string]: any;
19
+ }>;
20
+ IvEntityQueryBuilderPoptip: Ref<HTMLDivElement>;
21
+ onEntityInfo: () => void;
22
+ emit: {
23
+ (e: "on-search-reset"): void;
24
+ (e: "on-search-filters", data: FlexibleObject): any;
25
+ };
26
+ childRef: Ref<{
27
+ onReset: () => void;
28
+ onSubmit: () => {
29
+ filters: string;
30
+ filterList: import("./ts/type").FilterItem;
31
+ };
32
+ onListFilters: (filters: string) => void;
33
+ }>;
34
+ onBaseClick: (type: string) => void;
35
+ closePoptip: () => void;
36
+ designerService: any;
37
+ FieldAnalysis: import("vue").DefineComponent<{
38
+ filedOption: any;
39
+ relations: any;
40
+ isCheck: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ }, {
45
+ __sfc: boolean;
46
+ props: {
47
+ filedOption?: any;
48
+ relations?: any;
49
+ isCheck: boolean;
50
+ };
51
+ state: import("./ts/type").State;
52
+ filterList: Ref<import("./ts/type").FilterItem[]>;
53
+ options: Ref<import("./ts/type").Option[]>;
54
+ list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
55
+ parseOrExpressions: (filters: string) => string[];
56
+ isOrKeyword: (filters: string, index: number) => boolean;
57
+ onFieldInputType: (e: any, value: any) => void;
58
+ onListFilters: (filters: string) => void;
59
+ onSelectFields: (e: any, value: any) => void;
60
+ onAnalysisRelations: (value: any, targetEntityInfo: any) => void;
61
+ onCondition: (type: any, index: any) => void;
62
+ onGroup: (type: string, index?: number) => void;
63
+ onReset: () => void;
64
+ onSubmit: () => false | {
65
+ filters: string;
66
+ filterList: import("./ts/type").FilterItem[];
67
+ };
68
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
69
+ filedOption: any;
70
+ relations: any;
71
+ isCheck: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>>, {
76
+ filedOption: any;
77
+ relations: any;
78
+ isCheck: boolean;
79
+ }>;
80
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("on-search-reset" | "on-search-filters")[], string, Readonly<import("vue").ExtractPropTypes<{
81
+ entity: any;
82
+ }>>, {
83
+ entity: any;
84
+ }>;
85
+ export default _default;
@@ -0,0 +1,34 @@
1
+ export interface Option {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface FilterValue {
6
+ fields: string;
7
+ type: 'like' | 'eq' | 'ne' | 'lt' | 'le' | 'gt' | 'ge' | 'in' | 'not in' | 'is null' | 'not null';
8
+ value?: string;
9
+ inputType: string;
10
+ dict: string;
11
+ target: Record<string, any>;
12
+ }
13
+ export interface FilterItem {
14
+ query: {
15
+ type: 'and' | 'or';
16
+ list: FilterValue[];
17
+ };
18
+ }
19
+ export interface State {
20
+ filterList: FilterItem[];
21
+ options: Option[];
22
+ }
23
+ declare type ArbitraryObject = {
24
+ [key: string]: any;
25
+ };
26
+ export interface QueryBuilderData {
27
+ filedOption: ArbitraryObject[];
28
+ entityInfo: ArbitraryObject;
29
+ relations: ArbitraryObject;
30
+ }
31
+ export interface FlexibleObject {
32
+ [key: string]: any;
33
+ }
34
+ export {};
@@ -0,0 +1,157 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ entity: any;
3
+ span: {
4
+ default: string;
5
+ };
6
+ gutter: any;
7
+ labelPosition: any;
8
+ labelColon: {
9
+ type: BooleanConstructor;
10
+ };
11
+ showMessage: {
12
+ type: BooleanConstructor;
13
+ };
14
+ hideRequiredMark: {
15
+ type: BooleanConstructor;
16
+ };
17
+ prevent: {
18
+ type: BooleanConstructor;
19
+ };
20
+ rowspace: {
21
+ default: number;
22
+ };
23
+ labelWidth: {
24
+ default: number;
25
+ };
26
+ type: {
27
+ default: string;
28
+ };
29
+ size: {
30
+ default: string;
31
+ };
32
+ text: {
33
+ default: string;
34
+ };
35
+ icon: any;
36
+ long: {
37
+ type: BooleanConstructor;
38
+ };
39
+ disabled: {
40
+ type: BooleanConstructor;
41
+ };
42
+ shape: {
43
+ default: any;
44
+ };
45
+ customIcon: any;
46
+ ghost: {
47
+ type: BooleanConstructor;
48
+ };
49
+ loading: {
50
+ type: BooleanConstructor;
51
+ };
52
+ }, {
53
+ __sfc: boolean;
54
+ props: {
55
+ entity?: string;
56
+ span: string;
57
+ gutter?: string;
58
+ labelPosition?: string;
59
+ labelColon?: boolean;
60
+ showMessage?: boolean;
61
+ hideRequiredMark?: boolean;
62
+ prevent?: boolean;
63
+ rowspace: number;
64
+ labelWidth: number;
65
+ type: string;
66
+ size: string;
67
+ text: string;
68
+ icon?: string;
69
+ long?: boolean;
70
+ disabled?: boolean;
71
+ shape: string;
72
+ customIcon?: string;
73
+ ghost?: boolean;
74
+ loading?: boolean;
75
+ };
76
+ entityCode: import("vue").Ref<string>;
77
+ appId: any;
78
+ payload: any;
79
+ fullEntity: import("vue").Ref<any>;
80
+ fieldRelationMap: any[];
81
+ emit: (event: "click" | "save", ...args: any[]) => void;
82
+ generate: () => any;
83
+ open: ($event: any) => Promise<boolean>;
84
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "save")[], string, Readonly<import("vue").ExtractPropTypes<{
85
+ entity: any;
86
+ span: {
87
+ default: string;
88
+ };
89
+ gutter: any;
90
+ labelPosition: any;
91
+ labelColon: {
92
+ type: BooleanConstructor;
93
+ };
94
+ showMessage: {
95
+ type: BooleanConstructor;
96
+ };
97
+ hideRequiredMark: {
98
+ type: BooleanConstructor;
99
+ };
100
+ prevent: {
101
+ type: BooleanConstructor;
102
+ };
103
+ rowspace: {
104
+ default: number;
105
+ };
106
+ labelWidth: {
107
+ default: number;
108
+ };
109
+ type: {
110
+ default: string;
111
+ };
112
+ size: {
113
+ default: string;
114
+ };
115
+ text: {
116
+ default: string;
117
+ };
118
+ icon: any;
119
+ long: {
120
+ type: BooleanConstructor;
121
+ };
122
+ disabled: {
123
+ type: BooleanConstructor;
124
+ };
125
+ shape: {
126
+ default: any;
127
+ };
128
+ customIcon: any;
129
+ ghost: {
130
+ type: BooleanConstructor;
131
+ };
132
+ loading: {
133
+ type: BooleanConstructor;
134
+ };
135
+ }>>, {
136
+ span: string;
137
+ icon: any;
138
+ text: string;
139
+ disabled: boolean;
140
+ type: string;
141
+ gutter: any;
142
+ prevent: boolean;
143
+ size: string;
144
+ entity: any;
145
+ loading: boolean;
146
+ labelPosition: any;
147
+ labelColon: boolean;
148
+ showMessage: boolean;
149
+ hideRequiredMark: boolean;
150
+ rowspace: number;
151
+ labelWidth: number;
152
+ long: boolean;
153
+ shape: any;
154
+ customIcon: any;
155
+ ghost: boolean;
156
+ }>;
157
+ export default _default;