amis-formula 1.0.4 → 1.1.2
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/dist/evalutor.d.ts +5 -2
- package/dist/index.js +2953 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/evalutor.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare class Evaluator {
|
|
|
58
58
|
}, data: any): any;
|
|
59
59
|
template(ast: {
|
|
60
60
|
type: 'template';
|
|
61
|
-
|
|
61
|
+
body: Array<any>;
|
|
62
62
|
}, data: any): string;
|
|
63
63
|
templateRaw(ast: {
|
|
64
64
|
type: 'template_raw';
|
|
@@ -154,6 +154,9 @@ export declare class Evaluator {
|
|
|
154
154
|
variable(ast: {
|
|
155
155
|
name: string;
|
|
156
156
|
}, data: any): any;
|
|
157
|
+
identifier(ast: {
|
|
158
|
+
name: string;
|
|
159
|
+
}, data: any): string;
|
|
157
160
|
array(ast: {
|
|
158
161
|
type: 'array';
|
|
159
162
|
members: Array<any>;
|
|
@@ -167,7 +170,7 @@ export declare class Evaluator {
|
|
|
167
170
|
value: string;
|
|
168
171
|
}): string;
|
|
169
172
|
object(ast: {
|
|
170
|
-
|
|
173
|
+
members: Array<{
|
|
171
174
|
key: string;
|
|
172
175
|
value: any;
|
|
173
176
|
}>;
|