amis-editor-core 6.6.0 → 6.7.0
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.
- package/esm/component/FormConfigWrapper.d.ts +6 -0
- package/esm/component/RegionWrapper.d.ts +16 -0
- package/esm/component/VRenderer.d.ts +16 -0
- package/esm/index.js +2 -2
- package/esm/layout/flex.d.ts +80 -0
- package/esm/manager.d.ts +28 -12
- package/esm/store/editor.d.ts +117 -135
- package/esm/store/node.d.ts +15 -0
- package/esm/util.d.ts +14 -0
- package/lib/component/FormConfigWrapper.d.ts +6 -0
- package/lib/component/RegionWrapper.d.ts +16 -0
- package/lib/component/VRenderer.d.ts +16 -0
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/layout/flex.d.ts +80 -0
- package/lib/manager.d.ts +28 -12
- package/lib/store/editor.d.ts +117 -136
- package/lib/store/node.d.ts +15 -0
- package/lib/style.css +1 -1
- package/lib/util.d.ts +14 -0
- package/package.json +1 -1
package/lib/store/node.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
|
|
9
9
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
10
10
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
11
11
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
12
|
+
isFormConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
12
13
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
13
14
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
14
15
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -72,6 +73,7 @@ export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
|
|
72
73
|
parentId: string;
|
|
73
74
|
parentRegion: string;
|
|
74
75
|
isCommonConfig: boolean;
|
|
76
|
+
isFormConfig: boolean;
|
|
75
77
|
id: string;
|
|
76
78
|
type: string;
|
|
77
79
|
label: string;
|
|
@@ -133,6 +135,7 @@ export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
|
|
133
135
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
134
136
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
135
137
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
138
|
+
isFormConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
136
139
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
137
140
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
138
141
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -192,12 +195,14 @@ export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
|
|
192
195
|
readonly isSecondFactor: boolean;
|
|
193
196
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
194
197
|
updateIsCommonConfig: (value: boolean) => void;
|
|
198
|
+
updateIsFormConfig: (value: boolean) => void;
|
|
195
199
|
addChild(props: {
|
|
196
200
|
id: string;
|
|
197
201
|
type: string;
|
|
198
202
|
label: string;
|
|
199
203
|
path: string;
|
|
200
204
|
isCommonConfig?: boolean;
|
|
205
|
+
isFormConfig?: boolean;
|
|
201
206
|
info?: RendererInfo;
|
|
202
207
|
region?: string;
|
|
203
208
|
getData?: () => any;
|
|
@@ -231,6 +236,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
231
236
|
parentId: string;
|
|
232
237
|
parentRegion: string;
|
|
233
238
|
isCommonConfig: boolean;
|
|
239
|
+
isFormConfig: boolean;
|
|
234
240
|
id: string;
|
|
235
241
|
type: string;
|
|
236
242
|
label: string;
|
|
@@ -294,6 +300,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
294
300
|
parentId: string;
|
|
295
301
|
parentRegion: string;
|
|
296
302
|
isCommonConfig: boolean;
|
|
303
|
+
isFormConfig: boolean;
|
|
297
304
|
id: string;
|
|
298
305
|
type: string;
|
|
299
306
|
label: string;
|
|
@@ -355,6 +362,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
355
362
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
356
363
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
357
364
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
365
|
+
isFormConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
358
366
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
359
367
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
360
368
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -414,12 +422,14 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
414
422
|
readonly isSecondFactor: boolean;
|
|
415
423
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
416
424
|
updateIsCommonConfig: (value: boolean) => void;
|
|
425
|
+
updateIsFormConfig: (value: boolean) => void;
|
|
417
426
|
addChild(props: {
|
|
418
427
|
id: string;
|
|
419
428
|
type: string;
|
|
420
429
|
label: string;
|
|
421
430
|
path: string;
|
|
422
431
|
isCommonConfig?: boolean;
|
|
432
|
+
isFormConfig?: boolean;
|
|
423
433
|
info?: RendererInfo;
|
|
424
434
|
region?: string;
|
|
425
435
|
getData?: () => any;
|
|
@@ -452,6 +462,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
452
462
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
453
463
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
454
464
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
465
|
+
isFormConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
455
466
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
456
467
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
457
468
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -515,6 +526,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
515
526
|
parentId: string;
|
|
516
527
|
parentRegion: string;
|
|
517
528
|
isCommonConfig: boolean;
|
|
529
|
+
isFormConfig: boolean;
|
|
518
530
|
id: string;
|
|
519
531
|
type: string;
|
|
520
532
|
label: string;
|
|
@@ -576,6 +588,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
576
588
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
577
589
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
578
590
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
591
|
+
isFormConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
579
592
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
580
593
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
581
594
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -635,12 +648,14 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
635
648
|
readonly isSecondFactor: boolean;
|
|
636
649
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
637
650
|
updateIsCommonConfig: (value: boolean) => void;
|
|
651
|
+
updateIsFormConfig: (value: boolean) => void;
|
|
638
652
|
addChild(props: {
|
|
639
653
|
id: string;
|
|
640
654
|
type: string;
|
|
641
655
|
label: string;
|
|
642
656
|
path: string;
|
|
643
657
|
isCommonConfig?: boolean;
|
|
658
|
+
isFormConfig?: boolean;
|
|
644
659
|
info?: RendererInfo;
|
|
645
660
|
region?: string;
|
|
646
661
|
getData?: () => any;
|