amis-editor 4.2.0-beta.2 → 5.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/6dbcbb49b6fd405190a9.png +0 -0
- package/dist/component/Control/APIControl.d.ts +1101 -447
- package/dist/component/Control/ActionAPIControl.d.ts +1158 -0
- package/dist/component/Control/BadgeControl.d.ts +133 -0
- package/dist/component/Control/BaseControl.d.ts +248 -0
- package/dist/component/Control/DataBindingControl.d.ts +14 -0
- package/dist/component/Control/DataPickerControl.d.ts +13 -0
- package/dist/component/Control/DateShortCutControl.d.ts +83 -0
- package/dist/component/Control/FormulaControl.d.ts +51 -0
- package/dist/component/Control/OptionControl.d.ts +23 -34
- package/dist/component/Control/StatusControl.d.ts +39 -0
- package/dist/component/Control/SwitchMoreControl.d.ts +224 -0
- package/dist/component/Control/ValidationControl.d.ts +50 -15
- package/dist/component/Control/ValidationItem.d.ts +46 -0
- package/dist/component/Control/style-control/Background.d.ts +17 -0
- package/dist/component/Control/style-control/Border.d.ts +18 -0
- package/dist/component/Control/style-control/BoxModel.d.ts +17 -0
- package/dist/component/Control/style-control/BoxShadow.d.ts +18 -0
- package/dist/component/Control/style-control/Display.d.ts +14 -0
- package/dist/component/Control/style-control/Font.d.ts +16 -0
- package/dist/component/Control/style-control/font-family.d.ts +11 -0
- package/dist/component/Control/style-control/transformation.d.ts +29 -0
- package/dist/component/Control/style-control/types.d.ts +8 -0
- package/dist/component/Editor.d.ts +16 -0
- package/dist/component/RegionWrapper.d.ts +10 -0
- package/dist/component/VRenderer.d.ts +10 -0
- package/dist/component/schemaTpl.d.ts +8 -0
- package/dist/component/validator.d.ts +62 -0
- package/dist/dnd/index.d.ts +1 -1
- package/dist/event-action/action-config-panel.d.ts +8 -0
- package/dist/event-action/actions.d.ts +3 -0
- package/dist/event-action/comp-action-select.d.ts +11 -0
- package/dist/event-action/config.d.ts +13 -0
- package/dist/event-action/index.d.ts +459 -0
- package/dist/event-action/schema.d.ts +32 -0
- package/dist/exports.min.js +1 -1
- package/dist/index.d.ts +23 -5
- package/dist/index.min.js +1 -1
- package/dist/manager.d.ts +46 -1
- package/dist/plugin/Alert.d.ts +4 -2
- package/dist/plugin/Button.d.ts +5 -1
- package/dist/plugin/ButtonGroup.d.ts +13 -34
- package/dist/plugin/ButtonToolbar.d.ts +4 -10
- package/dist/plugin/CRUD.d.ts +2 -0
- package/dist/plugin/Chart.d.ts +2 -0
- package/dist/plugin/Collapse.d.ts +1 -0
- package/dist/plugin/CollapseGroup.d.ts +28 -4
- package/dist/plugin/Container.d.ts +2 -1
- package/dist/plugin/Dialog.d.ts +12 -2
- package/dist/plugin/Drawer.d.ts +12 -2
- package/dist/plugin/DropDownButton.d.ts +11 -11
- package/dist/plugin/Form/ButtonGroupSelect.d.ts +7 -2
- package/dist/plugin/Form/ButtonToolbar.d.ts +8 -7
- package/dist/plugin/Form/ChainedSelect.d.ts +3 -0
- package/dist/plugin/Form/Checkbox.d.ts +7 -2
- package/dist/plugin/Form/Checkboxes.d.ts +8 -2
- package/dist/plugin/Form/CodeEditor.d.ts +7 -22
- package/dist/plugin/Form/Combo.d.ts +3 -0
- package/dist/plugin/Form/Control.d.ts +6 -2
- package/dist/plugin/Form/DiffEditor.d.ts +7 -1
- package/dist/plugin/Form/Form.d.ts +6 -0
- package/dist/plugin/Form/Formula.d.ts +1 -25
- package/dist/plugin/Form/InputDate.d.ts +8 -2
- package/dist/plugin/Form/InputDateRange.d.ts +8 -2
- package/dist/plugin/Form/InputDateTime.d.ts +4 -4
- package/dist/plugin/Form/InputDateTimeRange.d.ts +4 -4
- package/dist/plugin/Form/InputEmail.d.ts +1 -0
- package/dist/plugin/Form/InputExcel.d.ts +6 -41
- package/dist/plugin/Form/InputFile.d.ts +7 -3
- package/dist/plugin/Form/InputKV.d.ts +6 -0
- package/dist/plugin/Form/InputMonth.d.ts +1 -0
- package/dist/plugin/Form/InputMonthRange.d.ts +4 -4
- package/dist/plugin/Form/InputPassword.d.ts +1 -0
- package/dist/plugin/Form/InputQuarter.d.ts +1 -0
- package/dist/plugin/Form/InputQuarterRange.d.ts +4 -4
- package/dist/plugin/Form/InputRange.d.ts +3 -0
- package/dist/plugin/Form/InputRating.d.ts +9 -3
- package/dist/plugin/Form/InputText.d.ts +24 -2
- package/dist/plugin/Form/InputTime.d.ts +3 -3
- package/dist/plugin/Form/InputTimeRange.d.ts +20 -0
- package/dist/plugin/Form/InputTree.d.ts +6 -2
- package/dist/plugin/Form/InputURL.d.ts +1 -0
- package/dist/plugin/Form/InputYear.d.ts +1 -0
- package/dist/plugin/Form/InputYearRange.d.ts +20 -0
- package/dist/plugin/Form/ListSelect.d.ts +6 -2
- package/dist/plugin/Form/LocationPicker.d.ts +1 -31
- package/dist/plugin/Form/NestedSelect.d.ts +5 -2
- package/dist/plugin/Form/Radios.d.ts +7 -2
- package/dist/plugin/Form/Select.d.ts +7 -2
- package/dist/plugin/Form/Switch.d.ts +7 -2
- package/dist/plugin/Form/TabsTransfer.d.ts +5 -2
- package/dist/plugin/Form/Textarea.d.ts +7 -1
- package/dist/plugin/Form/Transfer.d.ts +5 -2
- package/dist/plugin/Form/TreeSelect.d.ts +6 -2
- package/dist/plugin/IFrame.d.ts +2 -2
- package/dist/plugin/Nav.d.ts +1 -116
- package/dist/plugin/Others/Action.d.ts +5 -1
- package/dist/plugin/Page.d.ts +5 -2
- package/dist/plugin/Progress.d.ts +5 -1
- package/dist/plugin/Table.d.ts +2 -0
- package/dist/plugin/Tabs.d.ts +33 -2
- package/dist/plugin/TooltipWrapper.d.ts +10 -0
- package/dist/plugin/Tpl.d.ts +2 -1
- package/dist/plugin/Wizard.d.ts +4 -1
- package/dist/plugin.d.ts +37 -1
- package/dist/store/editor.d.ts +65 -38
- package/dist/store/node.d.ts +16 -0
- package/dist/style.css +1 -1
- package/dist/util.d.ts +36 -3
- package/package.json +14 -8
- package/src/component/schemaTpl.tsx +1198 -474
- package/src/plugin/.DS_Store +0 -0
- package/src/plugin/Alert.tsx +69 -48
- package/src/plugin/AnchorNav.tsx +1 -0
- package/src/plugin/Audio.tsx +9 -15
- package/src/plugin/Avatar.tsx +2 -1
- package/src/plugin/Breadcrumb.tsx +2 -1
- package/src/plugin/Button.tsx +257 -188
- package/src/plugin/ButtonGroup.tsx +99 -38
- package/src/plugin/ButtonToolbar.tsx +7 -13
- package/src/plugin/CRUD.tsx +77 -135
- package/src/plugin/Card.tsx +1 -0
- package/src/plugin/Cards.tsx +8 -14
- package/src/plugin/Carousel.tsx +1 -1
- package/src/plugin/Chart.tsx +26 -14
- package/src/plugin/Collapse.tsx +78 -78
- package/src/plugin/CollapseGroup.tsx +165 -83
- package/src/plugin/Container.tsx +59 -6
- package/src/plugin/Custom.tsx +2 -8
- package/src/plugin/CustomRegion.tsx +4 -3
- package/src/plugin/Dialog.tsx +55 -24
- package/src/plugin/Drawer.tsx +65 -35
- package/src/plugin/DropDownButton.tsx +95 -79
- package/src/plugin/Flex.tsx +123 -65
- package/src/plugin/Form/ButtonGroupSelect.tsx +114 -26
- package/src/plugin/Form/ButtonToolbar.tsx +62 -55
- package/src/plugin/Form/ChainedSelect.tsx +45 -0
- package/src/plugin/Form/Checkbox.tsx +122 -33
- package/src/plugin/Form/Checkboxes.tsx +154 -87
- package/src/plugin/Form/CodeEditor.tsx +163 -34
- package/src/plugin/Form/Combo.tsx +104 -65
- package/src/plugin/Form/Control.tsx +16 -70
- package/src/plugin/Form/DiffEditor.tsx +158 -54
- package/src/plugin/Form/FieldSet.tsx +6 -11
- package/src/plugin/Form/Form.tsx +277 -70
- package/src/plugin/Form/Formula.tsx +8 -14
- package/src/plugin/Form/InputArray.tsx +7 -16
- package/src/plugin/Form/InputCity.tsx +1 -1
- package/src/plugin/Form/InputDate.tsx +344 -121
- package/src/plugin/Form/InputDateRange.tsx +303 -161
- package/src/plugin/Form/InputDateTime.tsx +6 -150
- package/src/plugin/Form/InputDateTimeRange.tsx +7 -187
- package/src/plugin/Form/InputEmail.tsx +1 -0
- package/src/plugin/Form/InputExcel.tsx +70 -27
- package/src/plugin/Form/InputFile.tsx +326 -152
- package/src/plugin/Form/InputImage.tsx +1 -1
- package/src/plugin/Form/InputKV.tsx +61 -0
- package/src/plugin/Form/InputMonth.tsx +3 -1
- package/src/plugin/Form/InputMonthRange.tsx +6 -160
- package/src/plugin/Form/InputNumber.tsx +1 -1
- package/src/plugin/Form/InputPassword.tsx +2 -0
- package/src/plugin/Form/InputQuarter.tsx +3 -1
- package/src/plugin/Form/InputQuarterRange.tsx +6 -160
- package/src/plugin/Form/InputRange.tsx +74 -4
- package/src/plugin/Form/InputRating.tsx +347 -35
- package/src/plugin/Form/InputRichText.tsx +2 -3
- package/src/plugin/Form/InputTable.tsx +33 -49
- package/src/plugin/Form/InputTag.tsx +1 -1
- package/src/plugin/Form/InputText.tsx +310 -132
- package/src/plugin/Form/InputTime.tsx +4 -53
- package/src/plugin/Form/InputTimeRange.tsx +41 -0
- package/src/plugin/Form/InputTree.tsx +196 -46
- package/src/plugin/Form/InputURL.tsx +2 -0
- package/src/plugin/Form/InputYear.tsx +2 -0
- package/src/plugin/Form/InputYearRange.tsx +41 -0
- package/src/plugin/Form/Item.tsx +17 -18
- package/src/plugin/Form/ListSelect.tsx +75 -20
- package/src/plugin/Form/LocationPicker.tsx +2 -7
- package/src/plugin/Form/MatrixCheckboxes.tsx +1 -1
- package/src/plugin/Form/NestedSelect.tsx +110 -43
- package/src/plugin/Form/Picker.tsx +2 -5
- package/src/plugin/Form/Radios.tsx +122 -52
- package/src/plugin/Form/Select.tsx +239 -168
- package/src/plugin/Form/Static.tsx +1 -1
- package/src/plugin/Form/Switch.tsx +170 -58
- package/src/plugin/Form/TabsTransfer.tsx +175 -79
- package/src/plugin/Form/Textarea.tsx +146 -36
- package/src/plugin/Form/Transfer.tsx +295 -233
- package/src/plugin/Form/TreeSelect.tsx +287 -146
- package/src/plugin/Grid.tsx +340 -312
- package/src/plugin/HBox.tsx +1 -0
- package/src/plugin/IFrame.tsx +21 -12
- package/src/plugin/Image.tsx +7 -12
- package/src/plugin/Images.tsx +7 -12
- package/src/plugin/Link.tsx +6 -12
- package/src/plugin/List.tsx +6 -10
- package/src/plugin/ListItem.tsx +1 -0
- package/src/plugin/Nav.tsx +7 -9
- package/src/plugin/Others/Action.tsx +16 -10
- package/src/plugin/Others/BasicToolbar.tsx +4 -1
- package/src/plugin/Others/TableCell.tsx +19 -39
- package/src/plugin/Page.tsx +315 -229
- package/src/plugin/Panel.tsx +6 -7
- package/src/plugin/Plain.tsx +3 -6
- package/src/plugin/Progress.tsx +234 -94
- package/src/plugin/Service.tsx +10 -6
- package/src/plugin/Table.tsx +49 -20
- package/src/plugin/TableView.tsx +212 -106
- package/src/plugin/Tabs.tsx +306 -146
- package/src/plugin/TooltipWrapper.tsx +231 -135
- package/src/plugin/Tpl.tsx +68 -52
- package/src/plugin/Video.tsx +9 -20
- package/src/plugin/Wizard.tsx +537 -336
- package/src/plugin/Wrapper.tsx +82 -61
- package/src/plugin.ts +66 -4
- package/static/empty.png +0 -0
@@ -1,4 +1,6 @@
|
|
1
1
|
import { BasePlugin } from '../../plugin';
|
2
|
+
import type { BaseEventContext } from '../../plugin';
|
3
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
4
|
export declare class DiffEditorControlPlugin extends BasePlugin {
|
3
5
|
rendererName: string;
|
4
6
|
$schema: string;
|
@@ -14,6 +16,10 @@ export declare class DiffEditorControlPlugin extends BasePlugin {
|
|
14
16
|
name: string;
|
15
17
|
};
|
16
18
|
previewSchema: any;
|
19
|
+
events: RendererEvent[];
|
20
|
+
actions: RendererAction[];
|
21
|
+
notRenderFormZone: boolean;
|
17
22
|
panelTitle: string;
|
18
|
-
|
23
|
+
panelJustify: boolean;
|
24
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
19
25
|
}
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { BasePlugin, ChangeEventContext, BaseEventContext, PluginEvent, RegionConfig, ScaffoldForm } from '../../plugin';
|
2
|
+
import { EditorNodeType } from '../../store/node';
|
3
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
4
|
export declare class FormPlugin extends BasePlugin {
|
3
5
|
rendererName: string;
|
4
6
|
$schema: string;
|
@@ -31,6 +33,10 @@ export declare class FormPlugin extends BasePlugin {
|
|
31
33
|
scaffoldForm: ScaffoldForm;
|
32
34
|
regions: Array<RegionConfig>;
|
33
35
|
panelTitle: string;
|
36
|
+
events: RendererEvent[];
|
37
|
+
actions: RendererAction[];
|
34
38
|
panelBodyCreator: (context: BaseEventContext) => any[];
|
35
39
|
afterUpdate(event: PluginEvent<ChangeEventContext>): void;
|
40
|
+
buildDataSchemas(node: EditorNodeType, region: EditorNodeType): Promise<any>;
|
41
|
+
rendererBeforeDispatchEvent(node: EditorNodeType, e: any, data: any): void;
|
36
42
|
}
|
@@ -15,31 +15,7 @@ export declare class FormulaControlPlugin extends BasePlugin {
|
|
15
15
|
};
|
16
16
|
previewSchema: any;
|
17
17
|
panelTitle: string;
|
18
|
-
panelBody:
|
19
|
-
label: string;
|
20
|
-
name: string;
|
21
|
-
type: string;
|
22
|
-
description: string;
|
23
|
-
pipeIn?: undefined;
|
24
|
-
mode?: undefined;
|
25
|
-
className?: undefined;
|
26
|
-
} | {
|
27
|
-
type: string;
|
28
|
-
name: string;
|
29
|
-
label: string;
|
30
|
-
description?: undefined;
|
31
|
-
pipeIn?: undefined;
|
32
|
-
mode?: undefined;
|
33
|
-
className?: undefined;
|
34
|
-
} | {
|
35
|
-
name: string;
|
36
|
-
type: string;
|
37
|
-
label: string;
|
38
|
-
pipeIn: (value: any) => any;
|
39
|
-
description: string;
|
40
|
-
mode: string;
|
41
|
-
className: string;
|
42
|
-
})[];
|
18
|
+
panelBody: any[];
|
43
19
|
renderRenderer(props: any): import("react").DetailedReactHTMLElement<{
|
44
20
|
key: any;
|
45
21
|
className: string;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class DateControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -6,6 +7,7 @@ export declare class DateControlPlugin extends BasePlugin {
|
|
6
7
|
icon: string;
|
7
8
|
name: string;
|
8
9
|
isBaseComponent: boolean;
|
10
|
+
searchKeywords: string;
|
9
11
|
description: string;
|
10
12
|
docLink: string;
|
11
13
|
tags: string[];
|
@@ -15,6 +17,10 @@ export declare class DateControlPlugin extends BasePlugin {
|
|
15
17
|
name: string;
|
16
18
|
};
|
17
19
|
previewSchema: any;
|
20
|
+
notRenderFormZone: boolean;
|
18
21
|
panelTitle: string;
|
19
|
-
|
22
|
+
events: RendererEvent[];
|
23
|
+
actions: RendererAction[];
|
24
|
+
panelJustify: boolean;
|
25
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
20
26
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class DateRangeControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -6,6 +7,7 @@ export declare class DateRangeControlPlugin extends BasePlugin {
|
|
6
7
|
icon: string;
|
7
8
|
name: string;
|
8
9
|
isBaseComponent: boolean;
|
10
|
+
searchKeywords: string;
|
9
11
|
description: string;
|
10
12
|
docLink: string;
|
11
13
|
tags: string[];
|
@@ -15,6 +17,10 @@ export declare class DateRangeControlPlugin extends BasePlugin {
|
|
15
17
|
name: string;
|
16
18
|
};
|
17
19
|
previewSchema: any;
|
20
|
+
notRenderFormZone: boolean;
|
18
21
|
panelTitle: string;
|
19
|
-
|
22
|
+
events: RendererEvent[];
|
23
|
+
actions: RendererAction[];
|
24
|
+
panelJustify: boolean;
|
25
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
20
26
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
export declare class DateTimeControlPlugin extends
|
1
|
+
import { DateControlPlugin } from './InputDate';
|
2
|
+
export declare class DateTimeControlPlugin extends DateControlPlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
5
|
+
isBaseComponent: boolean;
|
5
6
|
icon: string;
|
6
7
|
name: string;
|
7
|
-
isBaseComponent: boolean;
|
8
8
|
description: string;
|
9
9
|
docLink: string;
|
10
10
|
tags: string[];
|
@@ -13,7 +13,7 @@ export declare class DateTimeControlPlugin extends BasePlugin {
|
|
13
13
|
label: string;
|
14
14
|
name: string;
|
15
15
|
};
|
16
|
+
disabledRendererPlugin: boolean;
|
16
17
|
previewSchema: any;
|
17
18
|
panelTitle: string;
|
18
|
-
panelBody: any[];
|
19
19
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
export declare class DateTimeRangeControlPlugin extends
|
1
|
+
import { DateRangeControlPlugin } from './InputDateRange';
|
2
|
+
export declare class DateTimeRangeControlPlugin extends DateRangeControlPlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
5
5
|
order: number;
|
@@ -15,6 +15,6 @@ export declare class DateTimeRangeControlPlugin extends BasePlugin {
|
|
15
15
|
name: string;
|
16
16
|
};
|
17
17
|
previewSchema: any;
|
18
|
-
|
19
|
-
|
18
|
+
disabledRendererPlugin: boolean;
|
19
|
+
notRenderFormZone: boolean;
|
20
20
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class ExcelControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -15,44 +16,8 @@ export declare class ExcelControlPlugin extends BasePlugin {
|
|
15
16
|
};
|
16
17
|
previewSchema: any;
|
17
18
|
panelTitle: string;
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
options: {
|
23
|
-
label: string;
|
24
|
-
value: string;
|
25
|
-
}[];
|
26
|
-
mode?: undefined;
|
27
|
-
className?: undefined;
|
28
|
-
pipeIn?: undefined;
|
29
|
-
visibleOn?: undefined;
|
30
|
-
} | {
|
31
|
-
type: string;
|
32
|
-
name: string;
|
33
|
-
label: string;
|
34
|
-
mode: string;
|
35
|
-
className: string;
|
36
|
-
options?: undefined;
|
37
|
-
pipeIn?: undefined;
|
38
|
-
visibleOn?: undefined;
|
39
|
-
} | {
|
40
|
-
type: string;
|
41
|
-
name: string;
|
42
|
-
label: string;
|
43
|
-
pipeIn: (value: any) => any;
|
44
|
-
mode: string;
|
45
|
-
className: string;
|
46
|
-
options?: undefined;
|
47
|
-
visibleOn?: undefined;
|
48
|
-
} | {
|
49
|
-
type: string;
|
50
|
-
name: string;
|
51
|
-
label: string;
|
52
|
-
mode: string;
|
53
|
-
visibleOn: string;
|
54
|
-
className: string;
|
55
|
-
options?: undefined;
|
56
|
-
pipeIn?: undefined;
|
57
|
-
})[];
|
19
|
+
notRenderFormZone: boolean;
|
20
|
+
events: RendererEvent[];
|
21
|
+
actions: RendererAction[];
|
22
|
+
panelBodyCreator: (context: BaseEventContext) => any[];
|
58
23
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class FileControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -14,6 +15,9 @@ export declare class FileControlPlugin extends BasePlugin {
|
|
14
15
|
name: string;
|
15
16
|
};
|
16
17
|
previewSchema: any;
|
17
|
-
|
18
|
-
|
18
|
+
notRenderFormZone: boolean;
|
19
|
+
events: RendererEvent[];
|
20
|
+
actions: RendererAction[];
|
21
|
+
panelJustify: boolean;
|
22
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
19
23
|
}
|
@@ -1,3 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* @file input-kv 组件的素项目部
|
3
|
+
*/
|
4
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
1
5
|
import { BasePlugin } from '../../plugin';
|
2
6
|
export declare class KVControlPlugin extends BasePlugin {
|
3
7
|
rendererName: string;
|
@@ -14,6 +18,8 @@ export declare class KVControlPlugin extends BasePlugin {
|
|
14
18
|
name: string;
|
15
19
|
};
|
16
20
|
previewSchema: any;
|
21
|
+
events: RendererEvent[];
|
22
|
+
actions: RendererAction[];
|
17
23
|
panelTitle: string;
|
18
24
|
panelBody: ({
|
19
25
|
type: string;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
export declare class MonthRangeControlPlugin extends
|
1
|
+
import { DateRangeControlPlugin } from './InputDateRange';
|
2
|
+
export declare class MonthRangeControlPlugin extends DateRangeControlPlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
5
5
|
order: number;
|
@@ -15,6 +15,6 @@ export declare class MonthRangeControlPlugin extends BasePlugin {
|
|
15
15
|
name: string;
|
16
16
|
};
|
17
17
|
previewSchema: any;
|
18
|
-
|
19
|
-
|
18
|
+
disabledRendererPlugin: boolean;
|
19
|
+
notRenderFormZone: boolean;
|
20
20
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
export declare class QuarterRangePlugin extends
|
1
|
+
import { DateRangeControlPlugin } from './InputDateRange';
|
2
|
+
export declare class QuarterRangePlugin extends DateRangeControlPlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
5
5
|
order: number;
|
@@ -15,6 +15,6 @@ export declare class QuarterRangePlugin extends BasePlugin {
|
|
15
15
|
name: string;
|
16
16
|
};
|
17
17
|
previewSchema: any;
|
18
|
-
|
19
|
-
|
18
|
+
disabledRendererPlugin: boolean;
|
19
|
+
notRenderFormZone: boolean;
|
20
20
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
1
2
|
import { BasePlugin } from '../../plugin';
|
2
3
|
export declare class RangeControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
@@ -14,6 +15,8 @@ export declare class RangeControlPlugin extends BasePlugin {
|
|
14
15
|
name: string;
|
15
16
|
};
|
16
17
|
previewSchema: any;
|
18
|
+
events: RendererEvent[];
|
19
|
+
actions: RendererAction[];
|
17
20
|
panelTitle: string;
|
18
21
|
panelBody: any[];
|
19
22
|
}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
2
|
-
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
3
|
+
export declare class RateControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
5
6
|
name: string;
|
@@ -14,6 +15,11 @@ export declare class RatingControlPlugin extends BasePlugin {
|
|
14
15
|
name: string;
|
15
16
|
};
|
16
17
|
previewSchema: any;
|
18
|
+
notRenderFormZone: boolean;
|
17
19
|
panelTitle: string;
|
18
|
-
|
20
|
+
count: number;
|
21
|
+
events: RendererEvent[];
|
22
|
+
actions: RendererAction[];
|
23
|
+
panelJustify: boolean;
|
24
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
19
25
|
}
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
2
|
export declare class TextControlPlugin extends BasePlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
5
5
|
order: number;
|
6
|
+
searchKeywords: string;
|
6
7
|
name: string;
|
7
8
|
isBaseComponent: boolean;
|
8
9
|
icon: string;
|
@@ -15,6 +16,27 @@ export declare class TextControlPlugin extends BasePlugin {
|
|
15
16
|
name: string;
|
16
17
|
};
|
17
18
|
previewSchema: any;
|
19
|
+
notRenderFormZone: boolean;
|
18
20
|
panelTitle: string;
|
19
|
-
|
21
|
+
events: {
|
22
|
+
eventName: string;
|
23
|
+
eventLabel: string;
|
24
|
+
description: string;
|
25
|
+
dataSchema: {
|
26
|
+
type: string;
|
27
|
+
properties: {
|
28
|
+
'event.data.value': {
|
29
|
+
type: string;
|
30
|
+
title: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
}[];
|
34
|
+
}[];
|
35
|
+
actions: {
|
36
|
+
actionType: string;
|
37
|
+
actionLabel: string;
|
38
|
+
description: string;
|
39
|
+
}[];
|
40
|
+
panelJustify: boolean;
|
41
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
20
42
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
export declare class TimeControlPlugin extends
|
1
|
+
import { DateControlPlugin } from './InputDate';
|
2
|
+
export declare class TimeControlPlugin extends DateControlPlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
5
5
|
name: string;
|
@@ -13,7 +13,7 @@ export declare class TimeControlPlugin extends BasePlugin {
|
|
13
13
|
label: string;
|
14
14
|
name: string;
|
15
15
|
};
|
16
|
+
disabledRendererPlugin: boolean;
|
16
17
|
previewSchema: any;
|
17
18
|
panelTitle: string;
|
18
|
-
panelBody: any[];
|
19
19
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { DateRangeControlPlugin } from './InputDateRange';
|
2
|
+
export declare class TimeRangeControlPlugin extends DateRangeControlPlugin {
|
3
|
+
rendererName: string;
|
4
|
+
$schema: string;
|
5
|
+
order: number;
|
6
|
+
icon: string;
|
7
|
+
name: string;
|
8
|
+
isBaseComponent: boolean;
|
9
|
+
description: string;
|
10
|
+
docLink: string;
|
11
|
+
tags: string[];
|
12
|
+
scaffold: {
|
13
|
+
type: string;
|
14
|
+
label: string;
|
15
|
+
name: string;
|
16
|
+
};
|
17
|
+
previewSchema: any;
|
18
|
+
disabledRendererPlugin: boolean;
|
19
|
+
notRenderFormZone: boolean;
|
20
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
|
+
import { BaseEventContext, BasePlugin } from '../../plugin';
|
2
3
|
export declare class TreeControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -26,7 +27,10 @@ export declare class TreeControlPlugin extends BasePlugin {
|
|
26
27
|
})[];
|
27
28
|
};
|
28
29
|
previewSchema: any;
|
30
|
+
notRenderFormZone: boolean;
|
29
31
|
panelTitle: string;
|
32
|
+
events: RendererEvent[];
|
33
|
+
actions: RendererAction[];
|
30
34
|
panelDefinitions: {
|
31
35
|
options: {
|
32
36
|
label: string;
|
@@ -69,5 +73,5 @@ export declare class TreeControlPlugin extends BasePlugin {
|
|
69
73
|
})[];
|
70
74
|
};
|
71
75
|
};
|
72
|
-
|
76
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
73
77
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { DateRangeControlPlugin } from './InputDateRange';
|
2
|
+
export declare class YearRangeControlPlugin extends DateRangeControlPlugin {
|
3
|
+
rendererName: string;
|
4
|
+
$schema: string;
|
5
|
+
order: number;
|
6
|
+
icon: string;
|
7
|
+
name: string;
|
8
|
+
isBaseComponent: boolean;
|
9
|
+
description: string;
|
10
|
+
docLink: string;
|
11
|
+
tags: string[];
|
12
|
+
scaffold: {
|
13
|
+
type: string;
|
14
|
+
label: string;
|
15
|
+
name: string;
|
16
|
+
};
|
17
|
+
previewSchema: any;
|
18
|
+
disabledRendererPlugin: boolean;
|
19
|
+
notRenderFormZone: boolean;
|
20
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class ListControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -19,6 +20,9 @@ export declare class ListControlPlugin extends BasePlugin {
|
|
19
20
|
}[];
|
20
21
|
};
|
21
22
|
previewSchema: any;
|
23
|
+
notRenderFormZone: boolean;
|
22
24
|
panelTitle: string;
|
23
|
-
|
25
|
+
events: RendererEvent[];
|
26
|
+
actions: RendererAction[];
|
27
|
+
panelBodyCreator: (context: BaseEventContext) => any[];
|
24
28
|
}
|
@@ -14,35 +14,5 @@ export declare class LocationControlPlugin extends BasePlugin {
|
|
14
14
|
};
|
15
15
|
previewSchema: any;
|
16
16
|
panelTitle: string;
|
17
|
-
panelBody:
|
18
|
-
name: string;
|
19
|
-
label: string;
|
20
|
-
type: string;
|
21
|
-
mode: string;
|
22
|
-
className: string;
|
23
|
-
description?: undefined;
|
24
|
-
value?: undefined;
|
25
|
-
options?: undefined;
|
26
|
-
} | {
|
27
|
-
type: string;
|
28
|
-
name: string;
|
29
|
-
label: string;
|
30
|
-
description: string;
|
31
|
-
mode?: undefined;
|
32
|
-
className?: undefined;
|
33
|
-
value?: undefined;
|
34
|
-
options?: undefined;
|
35
|
-
} | {
|
36
|
-
type: string;
|
37
|
-
name: string;
|
38
|
-
label: string;
|
39
|
-
value: string;
|
40
|
-
options: {
|
41
|
-
label: string;
|
42
|
-
value: string;
|
43
|
-
}[];
|
44
|
-
mode?: undefined;
|
45
|
-
className?: undefined;
|
46
|
-
description?: undefined;
|
47
|
-
})[];
|
17
|
+
panelBody: any[];
|
48
18
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
|
+
import { BaseEventContext, BasePlugin } from '../../plugin';
|
2
3
|
export declare class NestedSelectControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -69,5 +70,7 @@ export declare class NestedSelectControlPlugin extends BasePlugin {
|
|
69
70
|
})[];
|
70
71
|
};
|
71
72
|
};
|
72
|
-
|
73
|
+
events: RendererEvent[];
|
74
|
+
actions: RendererAction[];
|
75
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
73
76
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class RadiosControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -19,6 +20,10 @@ export declare class RadiosControlPlugin extends BasePlugin {
|
|
19
20
|
}[];
|
20
21
|
};
|
21
22
|
previewSchema: any;
|
23
|
+
notRenderFormZone: boolean;
|
22
24
|
panelTitle: string;
|
23
|
-
|
25
|
+
events: RendererEvent[];
|
26
|
+
actions: RendererAction[];
|
27
|
+
panelJustify: boolean;
|
28
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
24
29
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class SelectControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -19,6 +20,10 @@ export declare class SelectControlPlugin extends BasePlugin {
|
|
19
20
|
}[];
|
20
21
|
};
|
21
22
|
previewSchema: any;
|
23
|
+
notRenderFormZone: boolean;
|
22
24
|
panelTitle: string;
|
23
|
-
|
25
|
+
events: RendererEvent[];
|
26
|
+
actions: RendererAction[];
|
27
|
+
panelJustify: boolean;
|
28
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
24
29
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class SwitchControlPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -17,6 +18,10 @@ export declare class SwitchControlPlugin extends BasePlugin {
|
|
17
18
|
trueValue: boolean;
|
18
19
|
};
|
19
20
|
previewSchema: any;
|
21
|
+
notRenderFormZone: boolean;
|
20
22
|
panelTitle: string;
|
21
|
-
|
23
|
+
events: RendererEvent[];
|
24
|
+
actions: RendererAction[];
|
25
|
+
panelJustify: boolean;
|
26
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
22
27
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { BasePlugin } from '../../plugin';
|
1
|
+
import { BasePlugin, BaseEventContext } from '../../plugin';
|
2
|
+
import { RendererAction, RendererEvent } from '../../event-action';
|
2
3
|
export declare class TabsTransferPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
@@ -28,6 +29,8 @@ export declare class TabsTransferPlugin extends BasePlugin {
|
|
28
29
|
};
|
29
30
|
previewSchema: any;
|
30
31
|
panelTitle: string;
|
32
|
+
events: RendererEvent[];
|
33
|
+
actions: RendererAction[];
|
31
34
|
panelDefinitions: {
|
32
35
|
options: {
|
33
36
|
label: string;
|
@@ -70,5 +73,5 @@ export declare class TabsTransferPlugin extends BasePlugin {
|
|
70
73
|
})[];
|
71
74
|
};
|
72
75
|
};
|
73
|
-
|
76
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
74
77
|
}
|