@steedos-widgets/amis-lib 6.10.1-beta.47 → 6.10.1-beta.49

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.
@@ -1,2 +1,3 @@
1
- export { i18n as i18next };
2
1
  import i18n from "i18next";
2
+ export function getUserLanguage(): any;
3
+ export { i18n as i18next };
@@ -0,0 +1 @@
1
+ export function getAmisLocaleResource(): any;
@@ -28,3 +28,4 @@ export * from './workflow';
28
28
  export * from './lib/router';
29
29
  export * from './i18n';
30
30
  export * from './utils/uuid';
31
+ export * from './i18n_amis';
@@ -24,7 +24,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
24
24
  name: string;
25
25
  value: string;
26
26
  options: {
27
- label: string;
27
+ label: any;
28
28
  value: string;
29
29
  }[];
30
30
  id: string;
@@ -59,7 +59,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
59
59
  columns: ({
60
60
  body: {
61
61
  type: string;
62
- tpl: string;
62
+ tpl: any;
63
63
  inline: boolean;
64
64
  wrapperComponent: string;
65
65
  id: string;
@@ -17,11 +17,11 @@ export function getAttachments(instance: any): Promise<{
17
17
  type: string;
18
18
  labelClassName: string;
19
19
  className: string;
20
- label: string;
20
+ label: any;
21
21
  mode: string;
22
22
  name: string;
23
23
  id: string;
24
- btnLabel: string;
24
+ btnLabel: any;
25
25
  btnClassName: string;
26
26
  multiple: boolean;
27
27
  maxLength: number;
@@ -118,11 +118,11 @@ export function getAttachmentUploadInput(instance: any): Promise<{
118
118
  type: string;
119
119
  labelClassName: string;
120
120
  className: string;
121
- label: string;
121
+ label: any;
122
122
  mode: string;
123
123
  name: string;
124
124
  id: string;
125
- btnLabel: string;
125
+ btnLabel: any;
126
126
  btnClassName: string;
127
127
  multiple: boolean;
128
128
  maxLength: number;
@@ -71,11 +71,11 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
71
71
  type: string;
72
72
  labelClassName: string;
73
73
  className: string;
74
- label: string;
74
+ label: any;
75
75
  mode: string;
76
76
  name: string;
77
77
  id: string;
78
- btnLabel: string;
78
+ btnLabel: any;
79
79
  btnClassName: string;
80
80
  multiple: boolean;
81
81
  maxLength: number;
@@ -164,7 +164,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
164
164
  type: string;
165
165
  name: string;
166
166
  source: string;
167
- title: string;
167
+ title: any;
168
168
  listItem: {
169
169
  body: {
170
170
  type: string;
@@ -178,7 +178,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
178
178
  } | {
179
179
  type: string;
180
180
  headerClassName: string;
181
- title: string;
181
+ title: any;
182
182
  source: string;
183
183
  className: string;
184
184
  columnsTogglable: boolean;
@@ -206,7 +206,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
206
206
  })[];
207
207
  } | {
208
208
  type: string;
209
- label: string;
209
+ label: any;
210
210
  onEvent: {
211
211
  click: {
212
212
  actions: {
@@ -239,7 +239,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
239
239
  name: string;
240
240
  value: string;
241
241
  options: {
242
- label: string;
242
+ label: any;
243
243
  value: string;
244
244
  }[];
245
245
  id: string;
@@ -274,7 +274,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
274
274
  columns: ({
275
275
  body: {
276
276
  type: string;
277
- tpl: string;
277
+ tpl: any;
278
278
  inline: boolean;
279
279
  wrapperComponent: string;
280
280
  id: string;
@@ -581,6 +581,39 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
581
581
  })[];
582
582
  }[];
583
583
  id: string;
584
+ } | {
585
+ type: string;
586
+ className: string;
587
+ steps: {
588
+ title: any;
589
+ mode: string;
590
+ body: {
591
+ label: any;
592
+ name: any;
593
+ mode: string;
594
+ className: string;
595
+ }[];
596
+ }[];
597
+ actionFinishLabel: string;
598
+ id: string;
599
+ target: string;
600
+ onEvent: {
601
+ change: {
602
+ actions: {
603
+ actionType: string;
604
+ componentId: string;
605
+ args: {
606
+ value: string;
607
+ };
608
+ }[];
609
+ };
610
+ finished: {
611
+ actions: {
612
+ actionType: string;
613
+ componentId: string;
614
+ }[];
615
+ };
616
+ };
584
617
  } | {
585
618
  type: string;
586
619
  className: string;
@@ -655,6 +688,16 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
655
688
  actionType: string;
656
689
  }[];
657
690
  };
691
+ inited: {
692
+ actions: {
693
+ actionType: string;
694
+ componentId: string;
695
+ args: {
696
+ value: string;
697
+ };
698
+ expression: string;
699
+ }[];
700
+ };
658
701
  };
659
702
  initApi: {
660
703
  url: string;
@@ -1,7 +1,7 @@
1
1
  export function getInstanceApprovalHistory(): Promise<{
2
2
  type: string;
3
3
  headerClassName: string;
4
- title: string;
4
+ title: any;
5
5
  source: string;
6
6
  className: string;
7
7
  columnsTogglable: boolean;
@@ -6,7 +6,7 @@ export function getRelatedInstances(instance: any): Promise<{
6
6
  type: string;
7
7
  name: string;
8
8
  source: string;
9
- title: string;
9
+ title: any;
10
10
  listItem: {
11
11
  body: {
12
12
  type: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "6.10.1-beta.47",
4
+ "version": "6.10.1-beta.49",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -61,5 +61,5 @@
61
61
  "lodash": "^4.17.21",
62
62
  "react-i18next": "12.3.1"
63
63
  },
64
- "gitHead": "8b06547410abb2ae3a7e5a7bcd3c2f314fb2425b"
64
+ "gitHead": "6fbbb35dfe2a12de306966912b5256e597fabeca"
65
65
  }