amis-editor 5.1.9 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/component/{Control → control}/APIControl.d.ts +0 -0
  2. package/dist/component/{Control → control}/ActionAPIControl.d.ts +0 -0
  3. package/dist/component/{Control → control}/BadgeControl.d.ts +0 -0
  4. package/dist/component/{Control → control}/BaseControl.d.ts +0 -0
  5. package/dist/component/{Control → control}/DataBindingControl.d.ts +0 -0
  6. package/dist/component/{Control → control}/DataPickerControl.d.ts +0 -0
  7. package/dist/component/{Control → control}/DateShortCutControl.d.ts +0 -0
  8. package/dist/component/{Control → control}/FormulaControl.d.ts +0 -0
  9. package/dist/component/{Control → control}/OptionControl.d.ts +0 -0
  10. package/dist/component/{Control → control}/PopoverEdit.d.ts +0 -0
  11. package/dist/component/{Control → control}/StatusControl.d.ts +0 -0
  12. package/dist/component/{Control → control}/SwitchMoreControl.d.ts +0 -0
  13. package/dist/component/{Control → control}/ValidationControl.d.ts +0 -0
  14. package/dist/component/{Control → control}/ValidationItem.d.ts +0 -0
  15. package/dist/component/{Control → control}/style-control/Background.d.ts +0 -0
  16. package/dist/component/{Control → control}/style-control/Border.d.ts +0 -0
  17. package/dist/component/{Control → control}/style-control/BoxModel.d.ts +0 -0
  18. package/dist/component/{Control → control}/style-control/BoxShadow.d.ts +0 -0
  19. package/dist/component/{Control → control}/style-control/Display.d.ts +0 -0
  20. package/dist/component/{Control → control}/style-control/Font.d.ts +0 -0
  21. package/dist/component/{Control → control}/style-control/font-family.d.ts +0 -0
  22. package/dist/component/{Control → control}/style-control/transformation.d.ts +0 -0
  23. package/dist/component/{Control → control}/style-control/types.d.ts +0 -0
  24. package/dist/exports.min.js +1 -1
  25. package/dist/index.min.js +1 -1
  26. package/dist/store/editor.d.ts +11 -11
  27. package/dist/style.css +1 -1
  28. package/dist/util.d.ts +1 -1
  29. package/package.json +1 -1
  30. package/dist/component/remarkTpl.d.ts +0 -150
  31. package/src/plugin/.DS_Store +0 -0
package/dist/util.d.ts CHANGED
@@ -81,7 +81,7 @@ export declare const getEventControlConfig: (manager: EditorManager, context: Ba
81
81
  showOldEntry: boolean;
82
82
  actions: import("./event-action").PluginActions;
83
83
  events: import("./event-action").PluginEvents;
84
- getContextSchemas: (id?: string | undefined, withoutSuper?: boolean | undefined) => Promise<import("amis").DataSchema | import("json-schema").JSONSchema7[]>;
84
+ getContextSchemas: (id?: string, withoutSuper?: boolean) => Promise<import("amis").DataSchema | import("json-schema").JSONSchema7[]>;
85
85
  getComponents: () => any[];
86
86
  actionTree: import("./event-action").ActionTypeNode[];
87
87
  actionConfigItemsMap: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amis-editor",
3
- "version": "5.1.9",
3
+ "version": "5.2.0",
4
4
  "description": "amis 可视化编辑器",
5
5
  "main": "dist/index.min.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,150 +0,0 @@
1
- /**
2
- * @description 信息提示组件模版
3
- * @file src/component/remarkTpl.tsx
4
- * @author hanxiao11@baidu.com
5
- */
6
- export default function remarkTpl(config: {
7
- name: 'remark' | 'labelRemark';
8
- label: string;
9
- }): {
10
- type: string;
11
- label: string;
12
- mode: string;
13
- className: string;
14
- labelRemark: {
15
- icon: string;
16
- trigger: string[];
17
- setting: boolean;
18
- title: string;
19
- content: string;
20
- placement: string;
21
- };
22
- body: {
23
- type: string;
24
- className: string;
25
- body: ({
26
- type: string;
27
- name: "remark" | "labelRemark";
28
- label: string;
29
- btnLabel: string;
30
- visibleOn: string;
31
- className: string;
32
- itemClassName: string;
33
- icon: string;
34
- form: {
35
- title: string;
36
- mode: string;
37
- size: string;
38
- body: {
39
- type: string;
40
- columns: ({
41
- md: string;
42
- body: ({
43
- name: string;
44
- type: string;
45
- label: string;
46
- placeholder: string;
47
- } | {
48
- name: string;
49
- type: string;
50
- label: string;
51
- placeholder?: undefined;
52
- })[];
53
- } | {
54
- md: string;
55
- body: ({
56
- name: string;
57
- type: string;
58
- size: string;
59
- label: string;
60
- options: {
61
- label: string;
62
- value: string;
63
- }[];
64
- labelRemark?: undefined;
65
- multiple?: undefined;
66
- pipeIn?: undefined;
67
- pipeOut?: undefined;
68
- visibleOn?: undefined;
69
- } | {
70
- name: string;
71
- label: string;
72
- type: string;
73
- size?: undefined;
74
- options?: undefined;
75
- labelRemark?: undefined;
76
- multiple?: undefined;
77
- pipeIn?: undefined;
78
- pipeOut?: undefined;
79
- visibleOn?: undefined;
80
- } | {
81
- name: string;
82
- label: string;
83
- type: string;
84
- labelRemark: {
85
- trigger: string;
86
- className: string;
87
- rootClose: boolean;
88
- content: string;
89
- placement: string;
90
- };
91
- size?: undefined;
92
- options?: undefined;
93
- multiple?: undefined;
94
- pipeIn?: undefined;
95
- pipeOut?: undefined;
96
- visibleOn?: undefined;
97
- } | {
98
- name: string;
99
- type: string;
100
- label: string;
101
- multiple: boolean;
102
- pipeIn: (value: any) => string | never[];
103
- pipeOut: (value: any) => any;
104
- options: {
105
- label: string;
106
- value: string;
107
- }[];
108
- size?: undefined;
109
- labelRemark?: undefined;
110
- visibleOn?: undefined;
111
- } | {
112
- name: string;
113
- visibleOn: string;
114
- label: string;
115
- type: string;
116
- size?: undefined;
117
- options?: undefined;
118
- labelRemark?: undefined;
119
- multiple?: undefined;
120
- pipeIn?: undefined;
121
- pipeOut?: undefined;
122
- })[];
123
- })[];
124
- };
125
- };
126
- mode?: undefined;
127
- pipeIn?: undefined;
128
- pipeOut?: undefined;
129
- } | {
130
- type: string;
131
- name: "remark" | "labelRemark";
132
- mode: string;
133
- pipeIn: (value: any) => boolean;
134
- pipeOut: (value: any) => {
135
- icon: string;
136
- trigger: string[];
137
- className: string;
138
- setting: boolean;
139
- placement: string;
140
- } | null;
141
- label?: undefined;
142
- btnLabel?: undefined;
143
- visibleOn?: undefined;
144
- className?: undefined;
145
- itemClassName?: undefined;
146
- icon?: undefined;
147
- form?: undefined;
148
- })[];
149
- }[];
150
- };
Binary file