@evlop/commons 1.0.261 → 1.0.263
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/cjs/src/edl/ExpressionHelper.d.ts +8 -0
- package/dist/cjs/src/edl/ExpressionHelper.d.ts.map +1 -0
- package/dist/cjs/src/edl/ExpressionHelper.js +52 -0
- package/dist/cjs/src/edl/ExpressionHelper.js.map +1 -0
- package/dist/cjs/src/edl/parser.d.ts +1 -1
- package/dist/cjs/src/edl/parser.d.ts.map +1 -1
- package/dist/cjs/src/edl/parser.js +169 -70
- package/dist/cjs/src/edl/parser.js.map +1 -1
- package/dist/cjs/src/edl/parser.test.js +324 -205
- package/dist/cjs/src/edl/parser.test.js.map +1 -1
- package/dist/esm/src/edl/ExpressionHelper.d.ts +8 -0
- package/dist/esm/src/edl/ExpressionHelper.d.ts.map +1 -0
- package/dist/esm/src/edl/ExpressionHelper.js +50 -0
- package/dist/esm/src/edl/ExpressionHelper.js.map +1 -0
- package/dist/esm/src/edl/parser.d.ts +1 -1
- package/dist/esm/src/edl/parser.d.ts.map +1 -1
- package/dist/esm/src/edl/parser.js +166 -70
- package/dist/esm/src/edl/parser.js.map +1 -1
- package/dist/esm/src/edl/parser.test.js +324 -205
- package/dist/esm/src/edl/parser.test.js.map +1 -1
- package/dist/types/src/edl/ExpressionHelper.d.ts +8 -0
- package/dist/types/src/edl/ExpressionHelper.d.ts.map +1 -0
- package/dist/types/src/edl/parser.d.ts +1 -1
- package/dist/types/src/edl/parser.d.ts.map +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parser.test.js","sourceRoot":"","sources":["../../../../src/edl/parser.test.ts"],"names":[],"mappings":";;;;;AAAA,sDAAgC;AAChC,+BAA8B;AAG9B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;QACnE,MAAM,SAAS,GAAG,aAAa,CAA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S,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const ExpressionHelper: {
|
2
|
+
breakTemplateStringToExpressionsAndStaticString: (templateString: string) => any[];
|
3
|
+
safelyCompileStringTemplate: (variables: string[]) => (templateString: string) => TimerHandler;
|
4
|
+
safelyCompileExpression: (variables: string[]) => (expression: string) => Function;
|
5
|
+
evaluateExpressionForValue: (expression: string) => any;
|
6
|
+
};
|
7
|
+
export default ExpressionHelper;
|
8
|
+
//# sourceMappingURL=ExpressionHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ExpressionHelper.d.ts","sourceRoot":"","sources":["../../../../src/edl/ExpressionHelper.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,gBAAgB;sEAC8C,MAAM;6CAwB/B,MAAM,EAAE,sBAEvB,MAAM;yCAWM,MAAM,EAAE,kBAExB,MAAM;6CAMa,MAAM;CAGhD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Regex to match expressions in EDL
|
2
|
+
const expressionRegex = /{(\((?:(?!\)\}).)*\)|[^{}]*)}/g;
|
3
|
+
const ExpressionHelper = {
|
4
|
+
breakTemplateStringToExpressionsAndStaticString: (templateString) => {
|
5
|
+
const parts = [];
|
6
|
+
const regex = new RegExp(expressionRegex);
|
7
|
+
let match;
|
8
|
+
let lastIndex = 0;
|
9
|
+
while ((match = regex.exec(templateString)) !== null) {
|
10
|
+
const startIndex = match.index;
|
11
|
+
const endIndex = startIndex + match[0].length;
|
12
|
+
if (startIndex > lastIndex) {
|
13
|
+
parts.push({ startIndex, endIndex, type: 'string', value: templateString.slice(lastIndex, startIndex) });
|
14
|
+
}
|
15
|
+
parts.push({ startIndex, endIndex, type: 'expression', value: match[1] });
|
16
|
+
lastIndex = endIndex;
|
17
|
+
}
|
18
|
+
if (lastIndex < templateString.length) {
|
19
|
+
parts.push({ startIndex: lastIndex, endIndex: templateString.length, type: 'string', value: templateString.slice(lastIndex) });
|
20
|
+
}
|
21
|
+
return parts;
|
22
|
+
},
|
23
|
+
safelyCompileStringTemplate: (variables) => {
|
24
|
+
const variableNamesString = `{ ${variables.join(', ')} }`;
|
25
|
+
return (templateString) => {
|
26
|
+
try {
|
27
|
+
// replace all the {expression} with ${ expression } and wrap the whole template in a function
|
28
|
+
const processedTemplate = templateString.replace(expressionRegex, "${ $1 }");
|
29
|
+
if (processedTemplate === templateString)
|
30
|
+
return templateString;
|
31
|
+
return new Function(variableNamesString, `return \`${processedTemplate}\`;`);
|
32
|
+
}
|
33
|
+
catch (e) { }
|
34
|
+
};
|
35
|
+
},
|
36
|
+
safelyCompileExpression: (variables) => {
|
37
|
+
const variableNamesString = `{ ${variables.join(', ')} }`;
|
38
|
+
return (expression) => {
|
39
|
+
try {
|
40
|
+
return new Function(variableNamesString, `return ${expression};`);
|
41
|
+
}
|
42
|
+
catch (e) { }
|
43
|
+
};
|
44
|
+
},
|
45
|
+
evaluateExpressionForValue: (expression) => {
|
46
|
+
return eval(`(${expression})`);
|
47
|
+
}
|
48
|
+
};
|
49
|
+
export default ExpressionHelper;
|
50
|
+
//# sourceMappingURL=ExpressionHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ExpressionHelper.js","sourceRoot":"","sources":["../../../../src/edl/ExpressionHelper.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,MAAM,eAAe,GAAG,gCAAgC,CAAC;AAEzD,MAAM,gBAAgB,GAAG;IACvB,+CAA+C,EAAE,CAAC,cAAsB,EAAE,EAAE;QAC1E,MAAM,KAAK,GAAG,EAAE,CAAC;QAEjB,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,eAAe,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7E,IAAG,iBAAiB,KAAK,cAAc;oBAAE,OAAO,cAAc,CAAC;gBAE/D,OAAO,IAAI,QAAQ,CAAC,mBAAmB,EAAE,YAAY,iBAAiB,KAAK,CAAC,CAAC;aAC9E;YAAC,OAAM,CAAC,EAAC,GAAE;QACd,CAAC,CAAA;IACH,CAAC;IACD,uBAAuB,EAAG,CAAC,SAAmB,EAAE,EAAE;QAChD,MAAM,mBAAmB,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;QAC1D,OAAO,CAAC,UAAkB,EAAE,EAAE;YAC5B,IAAG;gBACD,OAAO,IAAI,QAAQ,CAAC,mBAAmB,EAAE,UAAU,UAAU,GAAG,CAAC,CAAC;aACnE;YAAC,OAAM,CAAC,EAAC,GAAE;QACd,CAAC,CAAA;IACH,CAAC;IACD,0BAA0B,EAAE,CAAC,UAAkB,EAAE,EAAE;QACjD,OAAO,IAAI,CAAC,IAAI,UAAU,GAAG,CAAC,CAAC;IACjC,CAAC;CACF,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAgLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAsKnE;AAGD,eAAe,QAAQ,CAAC"}
|
@@ -1,59 +1,13 @@
|
|
1
1
|
import { map, random, set, split, toPath, union } from "lodash";
|
2
2
|
import { decode as decodeHtmlEntities } from "he";
|
3
|
+
import ExpressionHelper from "./ExpressionHelper";
|
3
4
|
const inbuiltVariables = ['context', 'data', 'setRuntimeData', 'setState', 'setStates', 'state', 'dispatchAction', 'createAction'];
|
4
|
-
// Regex to match expressions in EDL
|
5
|
-
const expressionRegex = /{(\((?:(?!\)\}).)*\)|[^{}]*)}/g;
|
6
|
-
// Regex to match opening tag in EDL
|
7
|
-
const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+=(?:"[^"]*"|'[^']*'|`[^`]*`|\{\{(?:(?!\}\}).)*\}\}|\{\[(?:(?!\]\}).)*\]\}|\{\((?:(?!\)\}).)*\)\}|\{[^\}]*\}))*)\s*(\/)?>/s;
|
8
5
|
// Regex to match closing tag in EDL
|
9
6
|
const closingTagRegex = /<\/([a-zA-Z0-9_]+)>/;
|
10
|
-
// Regex to match attributes
|
11
|
-
const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)
|
12
|
-
// Regex to
|
13
|
-
const
|
14
|
-
const TemplateCompiler = {
|
15
|
-
breakTemplateStringToExpressionsAndStaticString: (templateString) => {
|
16
|
-
const parts = [];
|
17
|
-
const regex = new RegExp(expressionRegex);
|
18
|
-
let match;
|
19
|
-
let lastIndex = 0;
|
20
|
-
while ((match = regex.exec(templateString)) !== null) {
|
21
|
-
const startIndex = match.index;
|
22
|
-
const endIndex = startIndex + match[0].length;
|
23
|
-
if (startIndex > lastIndex) {
|
24
|
-
parts.push({ startIndex, endIndex, type: 'string', value: templateString.slice(lastIndex, startIndex) });
|
25
|
-
}
|
26
|
-
parts.push({ startIndex, endIndex, type: 'expression', value: match[1] });
|
27
|
-
lastIndex = endIndex;
|
28
|
-
}
|
29
|
-
if (lastIndex < templateString.length) {
|
30
|
-
parts.push({ startIndex: lastIndex, endIndex: templateString.length, type: 'string', value: templateString.slice(lastIndex) });
|
31
|
-
}
|
32
|
-
return parts;
|
33
|
-
},
|
34
|
-
compileStringTemplate: (variables) => {
|
35
|
-
const variableNamesString = `{ ${variables.join(', ')} }`;
|
36
|
-
return (templateString) => {
|
37
|
-
try {
|
38
|
-
// replace all the {expression} with ${ expression } and wrap the whole template in a function
|
39
|
-
const processedTemplate = templateString.replace(expressionRegex, "${ $1 }");
|
40
|
-
if (processedTemplate === templateString)
|
41
|
-
return templateString;
|
42
|
-
return new Function(variableNamesString, `return \`${processedTemplate}\`;`);
|
43
|
-
}
|
44
|
-
catch (e) { }
|
45
|
-
};
|
46
|
-
},
|
47
|
-
compileExpression: variables => {
|
48
|
-
const variableNamesString = `{ ${variables.join(', ')} }`;
|
49
|
-
return (expression) => {
|
50
|
-
try {
|
51
|
-
return new Function(variableNamesString, `return ${expression};`);
|
52
|
-
}
|
53
|
-
catch (e) { }
|
54
|
-
};
|
55
|
-
}
|
56
|
-
};
|
7
|
+
// Regex to match attributes - now supports valueless attributes
|
8
|
+
const attributeRegex = /([a-zA-Z0-9_\-\.\:]+)(?:=("[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))?/sg;
|
9
|
+
// Regex to match opening tag in EDL along with attributes
|
10
|
+
const openingTagRegex = /<([a-zA-Z0-9_]+)((?:\s+[a-zA-Z0-9_\-\.\:]+(?:=(?:"[^"]*"|'[^']*'|`[^`]*`|\{[^\}]*\}))?)*)\s*(\/)?>/s;
|
57
11
|
function generateUniqueId() {
|
58
12
|
return random(1000, 9999999999).toString(36);
|
59
13
|
}
|
@@ -81,6 +35,110 @@ function extractScriptsAndVariables(inputString) {
|
|
81
35
|
});
|
82
36
|
return { cleanedString, scriptsById, variables: Array.from(allVariables) };
|
83
37
|
}
|
38
|
+
const expressionBracketOpeningClosingPairs = {
|
39
|
+
'{': '}',
|
40
|
+
'(': ')',
|
41
|
+
'[': ']',
|
42
|
+
'`': '`',
|
43
|
+
'"': '"',
|
44
|
+
"'": "'",
|
45
|
+
};
|
46
|
+
const stringDelimiters = new Set(['`', '"', "'"]);
|
47
|
+
const openingBrackets = new Set(Object.keys(expressionBracketOpeningClosingPairs));
|
48
|
+
const closingBrackets = new Set(Object.values(expressionBracketOpeningClosingPairs));
|
49
|
+
const allBrackets = new Set([...openingBrackets, ...closingBrackets]);
|
50
|
+
const expressionStartSymbol = '{';
|
51
|
+
const tagOpenSymbol = '<';
|
52
|
+
const tagCloseSymbol = '>';
|
53
|
+
// look for { and go untill }, counting all (, {, } and ), untill all opening braces are matched with closing braces
|
54
|
+
function extractExpressions(inputString) {
|
55
|
+
let cleanedString = inputString;
|
56
|
+
const tokens = [];
|
57
|
+
const expressionBracketsStack = [];
|
58
|
+
let expressionStartPosition = -1;
|
59
|
+
// track the position of tag open and close
|
60
|
+
let startingTag = null;
|
61
|
+
for (let i = 0; i < inputString.length; i++) {
|
62
|
+
const char = inputString[i];
|
63
|
+
// Start new expression when we find an opening brace
|
64
|
+
if (expressionBracketsStack.length === 0) {
|
65
|
+
if (char === expressionStartSymbol) {
|
66
|
+
expressionStartPosition = i + 1;
|
67
|
+
expressionBracketsStack.push(char);
|
68
|
+
continue;
|
69
|
+
}
|
70
|
+
else if (char === tagOpenSymbol) {
|
71
|
+
startingTag = {
|
72
|
+
type: 'tag_start',
|
73
|
+
tagStartType: inputString[i + 1] === '/' ? 'closing' : 'opening',
|
74
|
+
index: i,
|
75
|
+
};
|
76
|
+
tokens.push(startingTag);
|
77
|
+
continue;
|
78
|
+
}
|
79
|
+
else if (char === tagCloseSymbol && startingTag) {
|
80
|
+
const closingTag = {
|
81
|
+
type: 'tag_end',
|
82
|
+
index: i,
|
83
|
+
tagEndType: null,
|
84
|
+
};
|
85
|
+
if (inputString[i - 1] === '/') {
|
86
|
+
closingTag.tagEndType = 'selfClosing';
|
87
|
+
}
|
88
|
+
tokens.push(closingTag);
|
89
|
+
startingTag = -1;
|
90
|
+
continue;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
if (expressionBracketsStack.length === 0)
|
94
|
+
continue; // if expression has not started yet, skip it
|
95
|
+
if (!allBrackets.has(char))
|
96
|
+
continue; // if the character is not a bracket, skip it
|
97
|
+
if (inputString[i - 1] === '\\')
|
98
|
+
continue; // if the character is escaped, skip it
|
99
|
+
const lastOpenedBracket = expressionBracketsStack[expressionBracketsStack.length - 1];
|
100
|
+
const requiredClosingBracket = expressionBracketOpeningClosingPairs[lastOpenedBracket];
|
101
|
+
if (char === requiredClosingBracket) {
|
102
|
+
expressionBracketsStack.pop();
|
103
|
+
if (expressionBracketsStack.length === 0) {
|
104
|
+
tokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
|
105
|
+
}
|
106
|
+
}
|
107
|
+
else if (stringDelimiters.has(lastOpenedBracket)) { // if a string delimiter is opened, we dont care obout other opening brackets
|
108
|
+
continue;
|
109
|
+
}
|
110
|
+
else if (openingBrackets.has(char)) {
|
111
|
+
expressionBracketsStack.push(char);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
let correctionFactor = 0;
|
115
|
+
const expressions = {};
|
116
|
+
const splitIndexes = [];
|
117
|
+
for (const token of tokens) {
|
118
|
+
const { type, start, end } = token;
|
119
|
+
switch (type) {
|
120
|
+
case 'tag_start': {
|
121
|
+
const { index } = token;
|
122
|
+
splitIndexes.push(index - correctionFactor);
|
123
|
+
break;
|
124
|
+
}
|
125
|
+
case 'tag_end': {
|
126
|
+
const { index } = token;
|
127
|
+
splitIndexes.push(index - correctionFactor + 1);
|
128
|
+
break;
|
129
|
+
}
|
130
|
+
case 'expression':
|
131
|
+
const expression = inputString.slice(start, end + 1);
|
132
|
+
const uniqueId = generateUniqueId();
|
133
|
+
expressions[uniqueId] = expression;
|
134
|
+
const newString = cleanedString.slice(0, start - correctionFactor) + uniqueId + cleanedString.slice(end - correctionFactor + 1);
|
135
|
+
cleanedString = newString;
|
136
|
+
correctionFactor += expression.length - uniqueId.length;
|
137
|
+
break;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
return { expressions, cleanedString, tagPositions: splitIndexes };
|
141
|
+
}
|
84
142
|
const asVariableRegex = /:as="([^"]+)"/g;
|
85
143
|
function extractAsVariables(inputString) {
|
86
144
|
const asVariables = new Set();
|
@@ -91,22 +149,51 @@ function extractAsVariables(inputString) {
|
|
91
149
|
return Array.from(asVariables);
|
92
150
|
}
|
93
151
|
// This function takes a JSX string as input and returns an array of objects representing the parsed JSX structure.
|
94
|
-
function parseEDL(
|
152
|
+
function parseEDL(_edlString, additionalVariables) {
|
153
|
+
let edlString = _edlString;
|
95
154
|
// separate the scripts and extract variables from the edl string
|
96
155
|
const { cleanedString: edlStringWithCodeRemovedFromScript, scriptsById, variables: scriptVariables } = extractScriptsAndVariables(edlString);
|
156
|
+
edlString = edlStringWithCodeRemovedFromScript;
|
97
157
|
// remove unnecessary whitespace from the edl string, after code has been removed from the script tags
|
98
|
-
|
158
|
+
edlString = removeUnnecessaryWhitespace(edlString);
|
159
|
+
// extract expressions from the edl string
|
160
|
+
const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTagPositions } = extractExpressions(edlString);
|
161
|
+
edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
|
99
162
|
// Extract :as variables and include them in the union
|
100
|
-
const asVariables = extractAsVariables(
|
163
|
+
const asVariables = extractAsVariables(edlString);
|
101
164
|
const variables = union(inbuiltVariables, Array.from(additionalVariables), scriptVariables, asVariables);
|
102
|
-
const
|
103
|
-
const
|
104
|
-
const
|
165
|
+
const safelyCompileStringTemplate = ExpressionHelper.safelyCompileStringTemplate(variables);
|
166
|
+
const safelyCompileExpression = ExpressionHelper.safelyCompileExpression(variables);
|
167
|
+
const evaluateExpressionForValue = ExpressionHelper.evaluateExpressionForValue;
|
168
|
+
const breakTemplateStringToExpressionsAndStaticString = ExpressionHelper.breakTemplateStringToExpressionsAndStaticString;
|
169
|
+
const safelyEvaluateExpressionForValueOrFunction = expression => {
|
170
|
+
try {
|
171
|
+
const evaluatedValue = evaluateExpressionForValue(expression);
|
172
|
+
if (typeof evaluatedValue === 'function')
|
173
|
+
throw new Error("Function cannot ke kept as static prop");
|
174
|
+
return evaluatedValue;
|
175
|
+
}
|
176
|
+
catch (e) {
|
177
|
+
return safelyCompileExpression(expression);
|
178
|
+
}
|
179
|
+
};
|
105
180
|
// Initialize an empty array to store the final JSX objects
|
106
181
|
const jsxObjects = [];
|
107
182
|
// Initialize an empty stack to keep track of the nested JSX elements
|
108
183
|
const jsxStack = [];
|
109
|
-
|
184
|
+
// split the string by tag positions
|
185
|
+
const tagPositions = [...edlTagPositions];
|
186
|
+
if (tagPositions[0] !== 0)
|
187
|
+
tagPositions.unshift(0);
|
188
|
+
if (tagPositions[tagPositions.length - 1] !== edlString.length)
|
189
|
+
tagPositions.push(edlString.length);
|
190
|
+
const tagGroups = [];
|
191
|
+
for (let i = 0; i < tagPositions.length - 1; i++) {
|
192
|
+
const positionDiff = tagPositions[i + 1] - tagPositions[i];
|
193
|
+
// if(positionDiff <= 1) continue;
|
194
|
+
tagGroups.push(edlString.substring(tagPositions[i], tagPositions[i + 1]));
|
195
|
+
}
|
196
|
+
tagGroups.forEach(token => {
|
110
197
|
// If the token is an empty string, skip it
|
111
198
|
if (token.trim() === '') {
|
112
199
|
return;
|
@@ -114,7 +201,7 @@ function parseEDL(edlString, additionalVariables) {
|
|
114
201
|
// If the token is not an opening or closing JSX tag, treat it as plain text
|
115
202
|
if (token[0] !== '<') {
|
116
203
|
const parentNode = jsxStack[jsxStack.length - 1];
|
117
|
-
const parts = breakTemplateStringToExpressionsAndStaticString(decodeHtmlEntities(token)).map(({ type, value }) => type == 'expression' ?
|
204
|
+
const parts = breakTemplateStringToExpressionsAndStaticString(decodeHtmlEntities(token)).map(({ type, value }) => type == 'expression' ? safelyEvaluateExpressionForValueOrFunction(expressionsById[value]) : value);
|
118
205
|
if (parentNode) {
|
119
206
|
parentNode.children.push(...parts);
|
120
207
|
}
|
@@ -146,21 +233,30 @@ function parseEDL(edlString, additionalVariables) {
|
|
146
233
|
if (attributeName === 'class') {
|
147
234
|
attributeName = 'className';
|
148
235
|
}
|
149
|
-
|
236
|
+
if (!attributeMatch[2]) {
|
237
|
+
set(staticProps, attributeName, true);
|
238
|
+
continue;
|
239
|
+
}
|
240
|
+
const value = attributeMatch[2]?.slice(1, -1);
|
241
|
+
const startingBracket = attributeMatch[2]?.[0];
|
150
242
|
// Check if the attribute value is dynamic (enclosed in curly braces) either variable or js expression
|
151
|
-
const
|
152
|
-
const isTemplateProp =
|
153
|
-
if (
|
243
|
+
const isJavascriptExpressionProp = startingBracket === '{';
|
244
|
+
const isTemplateProp = startingBracket === '`';
|
245
|
+
if (isJavascriptExpressionProp) {
|
246
|
+
const expression = expressionsById[value];
|
154
247
|
try {
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
248
|
+
const evaluatedValue = safelyEvaluateExpressionForValueOrFunction(expression);
|
249
|
+
if (typeof evaluatedValue === 'function') {
|
250
|
+
variableProps[attributeName] = safelyCompileExpression(expression);
|
251
|
+
}
|
252
|
+
else {
|
253
|
+
set(staticProps, attributeName, evaluatedValue);
|
254
|
+
}
|
160
255
|
}
|
256
|
+
catch (error) { }
|
161
257
|
}
|
162
258
|
else if (isTemplateProp) {
|
163
|
-
variableProps[attributeName] =
|
259
|
+
variableProps[attributeName] = safelyCompileStringTemplate(value);
|
164
260
|
}
|
165
261
|
else {
|
166
262
|
// If the value is not dynamic, assign it directly to the props object
|
@@ -179,7 +275,7 @@ function parseEDL(edlString, additionalVariables) {
|
|
179
275
|
delete newElement.staticProps[':scriptId'];
|
180
276
|
const code = scriptsById[scriptId].code;
|
181
277
|
const exportVariables = scriptsById[scriptId].variables;
|
182
|
-
newElement.variableProps[':function'] =
|
278
|
+
newElement.variableProps[':function'] = safelyCompileExpression(`()=>{ ${code} \n setRuntimeData({ ${exportVariables.join(', ')} }); }`);
|
183
279
|
}
|
184
280
|
// If there's a parent node, add the new element as a child to the parent node
|
185
281
|
if (jsxStack.length > 0) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChE,OAAO,EAAE,MAAM,IAAI,kBAAkB,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