@fly-vue/lcdp-iview 1.8.1 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/@types/module/action-nodes/impl/open-in-drawer.d.ts +16 -0
  2. package/@types/module/components/attribute/designer/prop-value-editor/var-input/index.vue.d.ts +2 -2
  3. package/@types/module/components/attribute/prop-value-editor/json-editor.vue.d.ts +4 -4
  4. package/@types/module/components/components/IvTableGrid/cols.d.ts +12 -10
  5. package/@types/module/components/components/IvTableGrid/index.vue.d.ts +30 -11
  6. package/@types/module/components/components/IvTableGrid/table-props.d.ts +3 -3
  7. package/@types/module/components/components/base/IvText/index.vue.d.ts +2 -2
  8. package/@types/module/components/components/iam/lib/query-methods-builder.d.ts +0 -4
  9. package/@types/module/components/components/iam/mixins/build-query-methods.d.ts +13 -17
  10. package/@types/module/components/index.d.ts +8 -404
  11. package/@types/module/components/utils.d.ts +13 -7
  12. package/@types/module/schema-extend/components/form.d.ts +6 -0
  13. package/@types/module/schema-extend/components/iv-table.d.ts +10 -0
  14. package/bingo-builder-manifest.json +13 -13
  15. package/index.js +4 -4
  16. package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
  17. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-attrcomponent.efbf3416.css +1 -0
  18. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.5b4a24f2.css +1 -0
  19. package/modules/fly_vue_lcdp_iview/chunk-732b533d.20736aa76d2f1f5367fb.js +1 -0
  20. package/modules/fly_vue_lcdp_iview/dll.js +7 -7
  21. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.20736aa76d2f1f5367fb.js +1 -0
  22. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.20736aa76d2f1f5367fb.js +1 -0
  23. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.20736aa76d2f1f5367fb.js +1 -0
  24. package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.c7ed69676503f522544d.js → lcdp-iview-component-region.20736aa76d2f1f5367fb.js} +2 -2
  25. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.20736aa76d2f1f5367fb.js +1 -0
  26. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.20736aa76d2f1f5367fb.js +1 -0
  27. package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component.20736aa76d2f1f5367fb.js +1 -0
  28. package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.20736aa76d2f1f5367fb.js +7 -0
  29. package/package.json +15 -15
  30. package/@types/module/components/components/base/IvHtml/index.vue.d.ts +0 -14
  31. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-attrcomponent.6c592905.css +0 -1
  32. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.0e011fec.css +0 -1
  33. package/modules/fly_vue_lcdp_iview/chunk-732b533d.c7ed69676503f522544d.js +0 -1
  34. package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.c7ed69676503f522544d.js +0 -1
  35. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.c7ed69676503f522544d.js +0 -1
  36. package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.c7ed69676503f522544d.js +0 -1
  37. package/modules/fly_vue_lcdp_iview/lcdp-iview-component.c7ed69676503f522544d.js +0 -1
  38. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.c7ed69676503f522544d.js +0 -1
  39. package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component.c7ed69676503f522544d.js +0 -1
  40. package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.c7ed69676503f522544d.js +0 -7
  41. /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.c7ed69676503f522544d.js → lcdp-designer-components.20736aa76d2f1f5367fb.js} +0 -0
  42. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.c7ed69676503f522544d.js → vendors~lcdp-iview-component-ice.20736aa76d2f1f5367fb.js} +0 -0
@@ -0,0 +1,16 @@
1
+ import { ActionContext, ActionResult } from 'maple-client-orchestration-runtime';
2
+ declare const _default: {
3
+ id: string;
4
+ func: (actionContext: ActionContext) => Promise<ActionResult>;
5
+ };
6
+ /**
7
+ * 抽屉打开页面
8
+ */
9
+ export default _default;
10
+ /**
11
+ * 关闭抽屉
12
+ */
13
+ export declare const closeDrawer: {
14
+ id: string;
15
+ func: (actionContext: ActionContext) => Promise<ActionResult>;
16
+ };
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  value: {
4
- type: (BooleanConstructor | NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor)[];
4
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
5
5
  };
6
6
  showBindInput: {
7
7
  type: BooleanConstructor;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  isValueExpr(value: any): any;
34
34
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
35
35
  value: {
36
- type: (BooleanConstructor | NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor)[];
36
+ type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
37
37
  };
38
38
  showBindInput: {
39
39
  type: BooleanConstructor;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  value: {
3
- type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor)[];
3
+ type: (StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
4
4
  };
5
5
  rows: {
6
- type: (NumberConstructor | StringConstructor)[];
6
+ type: (StringConstructor | NumberConstructor)[];
7
7
  default: number;
8
8
  };
9
9
  propSchema: {
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  hasError: import("vue").Ref<boolean>;
34
34
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
35
35
  value: {
36
- type: (NumberConstructor | StringConstructor | ObjectConstructor | ArrayConstructor)[];
36
+ type: (StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
37
37
  };
38
38
  rows: {
39
- type: (NumberConstructor | StringConstructor)[];
39
+ type: (StringConstructor | NumberConstructor)[];
40
40
  default: number;
41
41
  };
42
42
  propSchema: {
@@ -1,20 +1,22 @@
1
1
  export declare function updateRender({ cols }: {
2
2
  cols: any;
3
3
  }): void;
4
- export declare function handleOpCol({ cols, opCol }: {
4
+ export declare function handleSelectionCol({ cols, enable, fixed }: {
5
5
  cols: any;
6
- opCol: any;
6
+ enable: any;
7
+ fixed: any;
7
8
  }): void;
8
- export declare function handleSelectionCol({ cols, enableSelectionCol, enableIndexCol, fixedSelection }: {
9
+ export declare function handleRadioCol({ cols, enable, fixed, isChecked, setValue }: {
9
10
  cols: any;
10
- enableSelectionCol: any;
11
- enableIndexCol: any;
12
- fixedSelection: any;
11
+ enable: any;
12
+ fixed: any;
13
+ isChecked: any;
14
+ setValue: any;
13
15
  }): void;
14
- export declare function handleIndexCol({ cols, enableIndexCol, enableSelectionCol, fixedIndex }: {
16
+ export declare function handleIndexCol({ cols, enable, index, fixed }: {
15
17
  cols: any;
16
- enableIndexCol: any;
17
- enableSelectionCol: any;
18
- fixedIndex: any;
18
+ enable: any;
19
+ index: any;
20
+ fixed: any;
19
21
  }): void;
20
22
  export declare function setSoltAndFormat(tableCols: any): boolean;
@@ -33,6 +33,13 @@ declare const _default: import("vue").DefineComponent<{
33
33
  tableCols: {
34
34
  type: PropType<TableCol[]>;
35
35
  };
36
+ single: {
37
+ type: BooleanConstructor;
38
+ };
39
+ valueField: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
36
43
  enableSelectionCol: {
37
44
  type: BooleanConstructor;
38
45
  };
@@ -65,13 +72,13 @@ declare const _default: import("vue").DefineComponent<{
65
72
  validator(value: any): boolean;
66
73
  };
67
74
  width: {
68
- type: (NumberConstructor | StringConstructor)[];
75
+ type: (StringConstructor | NumberConstructor)[];
69
76
  };
70
77
  height: {
71
- type: (NumberConstructor | StringConstructor)[];
78
+ type: (StringConstructor | NumberConstructor)[];
72
79
  };
73
80
  maxHeight: {
74
- type: (NumberConstructor | StringConstructor)[];
81
+ type: (StringConstructor | NumberConstructor)[];
75
82
  };
76
83
  stripe: {
77
84
  type: BooleanConstructor;
@@ -146,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
146
153
  type: FunctionConstructor;
147
154
  };
148
155
  updateShowChildren: {
149
- type: BooleanConstructor;
156
+ type: BooleanConstructor; /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
150
157
  default: boolean;
151
158
  };
152
159
  contextMenu: {
@@ -162,11 +169,12 @@ declare const _default: import("vue").DefineComponent<{
162
169
  default: string;
163
170
  };
164
171
  padding: {
165
- type: (NumberConstructor | StringConstructor)[];
172
+ type: (StringConstructor | NumberConstructor)[];
166
173
  default: number;
167
174
  };
168
175
  }, {
169
176
  ivTableGridRef: import("vue").Ref<string>;
177
+ selectedValue: any;
170
178
  allTableColumn: import("vue").ComputedRef<any[]>;
171
179
  tableColumns: import("vue").ComputedRef<any>;
172
180
  filterTableColumn: import("vue").Ref<any[]>;
@@ -210,7 +218,7 @@ declare const _default: import("vue").DefineComponent<{
210
218
  showGridHeader: import("vue").Ref<boolean>;
211
219
  }, {}, {}, {
212
220
  /**
213
- * 多选时,单选是否选中
221
+ * 点击行
214
222
  * @param {*} selection: 选中数据
215
223
  * @param {*} index: 选中行
216
224
  */
@@ -218,6 +226,8 @@ declare const _default: import("vue").DefineComponent<{
218
226
  exportCsv(params: any): void;
219
227
  clearCurrentRow(): void;
220
228
  selectAll(status: any): void;
229
+ toggleSelect(index: any): void;
230
+ clearRadioRow(): void;
221
231
  }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
222
232
  pagerProps: {
223
233
  type: PropType<PagerProps>;
@@ -244,6 +254,13 @@ declare const _default: import("vue").DefineComponent<{
244
254
  tableCols: {
245
255
  type: PropType<TableCol[]>;
246
256
  };
257
+ single: {
258
+ type: BooleanConstructor;
259
+ };
260
+ valueField: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
247
264
  enableSelectionCol: {
248
265
  type: BooleanConstructor;
249
266
  };
@@ -276,13 +293,13 @@ declare const _default: import("vue").DefineComponent<{
276
293
  validator(value: any): boolean;
277
294
  };
278
295
  width: {
279
- type: (NumberConstructor | StringConstructor)[];
296
+ type: (StringConstructor | NumberConstructor)[];
280
297
  };
281
298
  height: {
282
- type: (NumberConstructor | StringConstructor)[];
299
+ type: (StringConstructor | NumberConstructor)[];
283
300
  };
284
301
  maxHeight: {
285
- type: (NumberConstructor | StringConstructor)[];
302
+ type: (StringConstructor | NumberConstructor)[];
286
303
  };
287
304
  stripe: {
288
305
  type: BooleanConstructor;
@@ -357,7 +374,7 @@ declare const _default: import("vue").DefineComponent<{
357
374
  type: FunctionConstructor;
358
375
  };
359
376
  updateShowChildren: {
360
- type: BooleanConstructor;
377
+ type: BooleanConstructor; /** 默认组件在渲染完后会自动加载一次数据源数据,关闭后组件渲染完将不会加载数据 */
361
378
  default: boolean;
362
379
  };
363
380
  contextMenu: {
@@ -373,7 +390,7 @@ declare const _default: import("vue").DefineComponent<{
373
390
  default: string;
374
391
  };
375
392
  padding: {
376
- type: (NumberConstructor | StringConstructor)[];
393
+ type: (StringConstructor | NumberConstructor)[];
377
394
  default: number;
378
395
  };
379
396
  }>>, {
@@ -383,6 +400,8 @@ declare const _default: import("vue").DefineComponent<{
383
400
  visibleHeaderOp: boolean;
384
401
  autoReload: boolean;
385
402
  visibleMore: boolean;
403
+ single: boolean;
404
+ valueField: string;
386
405
  enableSelectionCol: boolean;
387
406
  enableIndexCol: boolean;
388
407
  visiblePage: boolean;
@@ -3,13 +3,13 @@ declare const _default: {
3
3
  validator(value: any): boolean;
4
4
  };
5
5
  width: {
6
- type: (NumberConstructor | StringConstructor)[];
6
+ type: (StringConstructor | NumberConstructor)[];
7
7
  };
8
8
  height: {
9
- type: (NumberConstructor | StringConstructor)[];
9
+ type: (StringConstructor | NumberConstructor)[];
10
10
  };
11
11
  maxHeight: {
12
- type: (NumberConstructor | StringConstructor)[];
12
+ type: (StringConstructor | NumberConstructor)[];
13
13
  };
14
14
  stripe: {
15
15
  type: BooleanConstructor;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  text: {
3
- type: (NumberConstructor | StringConstructor)[];
3
+ type: (StringConstructor | NumberConstructor)[];
4
4
  };
5
5
  showTitle: {
6
6
  type: BooleanConstructor;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  };
27
27
  }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
28
28
  text: {
29
- type: (NumberConstructor | StringConstructor)[];
29
+ type: (StringConstructor | NumberConstructor)[];
30
30
  };
31
31
  showTitle: {
32
32
  type: BooleanConstructor;
@@ -10,10 +10,6 @@ declare function build(userApiUrl: any, orgApiUrl: any, userSelectOptions?: any,
10
10
  }, rebuildFilters?: boolean) => any;
11
11
  queryOrgByKeyword: (keyword: any, initOrgId: any, rootOrg: any) => Promise<unknown>;
12
12
  queryOrgByIds: (orgIds: any) => any;
13
- queryOrgTotal: () => Promise<{
14
- activeCount: number;
15
- delCount: number;
16
- }>;
17
13
  queryUserByKeyword: (keyword: any, userIds: any) => Promise<unknown>;
18
14
  queryUserByIds: (userIds: any) => any;
19
15
  pageQueryUserByOrg: (orgId: any, userIds: any, params: any) => Promise<unknown>;
@@ -21,19 +21,6 @@ declare const _default: {
21
21
  };
22
22
  methods: {
23
23
  buildQueryMethods(globalQueryOptions?: any, globalConfig?: any): {
24
- queryRootOrg: () => any;
25
- queryOrgByParent: (parentId: any) => any;
26
- queryOrgByKeyword: (keyword: any, orgIds: any) => Promise<unknown>;
27
- queryOrgByIds: (orgIds: any) => any;
28
- queryUserByKeyword: (keyword: any, userIds: any) => Promise<unknown>;
29
- queryUserByIds: (userIds: any) => any;
30
- pageQueryUserByOrg: (orgIds: any, userIds: any, pageParams: any) => Promise<unknown>;
31
- pageQueryUserByKeyword: (queryKeyword: any, userIds: any, pageParams: any) => Promise<unknown>;
32
- getOrgIdField: () => any;
33
- getOrgParentField: () => any;
34
- userOptions: any;
35
- orgOptions: any;
36
- } | {
37
24
  queryExternalOrg: () => any;
38
25
  queryRootOrg: () => any;
39
26
  queryRootOrgByUrl: (url: any, rebuildOptions?: boolean) => Promise<{
@@ -45,10 +32,6 @@ declare const _default: {
45
32
  }, rebuildFilters?: boolean) => any;
46
33
  queryOrgByKeyword: (keyword: any, initOrgId: any, rootOrg: any) => Promise<unknown>;
47
34
  queryOrgByIds: (orgIds: any) => any;
48
- queryOrgTotal: () => Promise<{
49
- activeCount: number;
50
- delCount: number;
51
- }>;
52
35
  queryUserByKeyword: (keyword: any, userIds: any) => Promise<unknown>;
53
36
  queryUserByIds: (userIds: any) => any;
54
37
  pageQueryUserByOrg: (orgId: any, userIds: any, params: any) => Promise<unknown>;
@@ -57,6 +40,19 @@ declare const _default: {
57
40
  getOrgParentField: () => any;
58
41
  userOptions: any;
59
42
  orgOptions: any;
43
+ } | {
44
+ queryRootOrg: () => any;
45
+ queryOrgByParent: (parentId: any) => any;
46
+ queryOrgByKeyword: (keyword: any, orgIds: any) => Promise<unknown>;
47
+ queryOrgByIds: (orgIds: any) => any;
48
+ queryUserByKeyword: (keyword: any, userIds: any) => Promise<unknown>;
49
+ queryUserByIds: (userIds: any) => any;
50
+ pageQueryUserByOrg: (orgIds: any, userIds: any, pageParams: any) => Promise<unknown>;
51
+ pageQueryUserByKeyword: (queryKeyword: any, userIds: any, pageParams: any) => Promise<unknown>;
52
+ getOrgIdField: () => any;
53
+ getOrgParentField: () => any;
54
+ userOptions: any;
55
+ orgOptions: any;
60
56
  };
61
57
  validateProps(queryMethods: any): void;
62
58
  };