@evlop/commons 1.0.269 → 1.0.271

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.
@@ -96,7 +96,7 @@ const parseEDLMemoized = lodash_1.memoize(edl => parser_1.default(edl, renderCon
96
96
  const RenderEDL = ({ edl, data: staticData, dataSources, scopes: scopesToInject }) => {
97
97
  const scope = hooks_1.useScope();
98
98
  const actionable = hooks_1.useActionable();
99
- const blocks = react_1.useMemo(() => parseEDLMemoized(edl), [edl]);
99
+ const blocks = parseEDLMemoized(edl);
100
100
  const [datasourceData, _setDatasourceData] = react_1.useState({});
101
101
  const [state, _setState] = react_1.useState({});
102
102
  const [runtimeData, _setRuntimeData] = react_1.useState({});
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/edl/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiE;AACjE,+CAA8D;AAC9D,0EAAkD;AAClD,0DAAsC;AACtC,oEAA+C;AAC/C,sDAAgC;AAChC,wCAAyC;AACzC,oCAAmD;AACnD,kEAA0C;AAC1C,uDAAqD;AACrD,+CAAiC;AAEjC,0EAA0E;AAC1E,MAAM,WAAW,GAAG;IAChB,GAAG,kBAAY;CAClB,CAAA;AAMD,MAAM,yBAAyB,GAA8B;IACzD,KAAK,EAAE,qBAAW;IAClB,CAAC,EAAE,MAAM;IACT,YAAY,EAAZ,sBAAY;CACf,CAAC;AAIF,uEAAuE;AACvE,2BAA2B;AAC3B,MAAM,mBAAmB,GAA2B;IAClD,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACjB,CAAA;AAQD,MAAM,OAAO,GAAe,EAAE,CAAA;AAE9B,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;IACrC,GAAG,MAAM,CAAC,IAAI,CAAC,yBAAyB,CAAC;IACzC,GAAG,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC;CACpC,CAAC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,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,GAAI,CAAC,CAC/I,EAAE,CAAC,WAAW,CAAC,CAAC,CAAA;IAEjB,MAAM,cAAc,GAAG,eAAO,CAAC,GAAE,EAAE,CAAA,gBAAgB,CAAC,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAA;IAEvH,OAAO,eAAO,CAAC,GAAE,EAAE,CAAA,8BAAC,wBAAW,IAAC,KAAK,EAAE,EAAC,cAAc,EAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,iBAAiB,EAAE,GAAG,cAAc,CAAC,GAAI,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,CAAC;AACzJ,CAAC,CAAC;AAEW,QAAA,GAAG,GAAG;IACf,MAAM,EAAE,SAAS;IACjB,eAAe;IACf,gBAAgB;IAChB,oBAAoB,EAAE,6BAA6B;IACnD,qBAAqB,EAAE,8BAA8B;IACrD,6BAA6B;IAC7B,8BAA8B;IAC9B,2BAA2B;IAC3B,0BAA0B;IAC1B,UAAU;IACV,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,gBAAgB;CAC1B,CAAC;AAEF,kBAAe,WAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAoLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAyKnE;AAGD,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAiMA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAqKnE;AAGD,eAAe,QAAQ,CAAC"}
@@ -62,7 +62,7 @@ const tagCloseSymbol = '>';
62
62
  // look for { and go untill }, counting all (, {, } and ), untill all opening braces are matched with closing braces
63
63
  function extractExpressions(inputString) {
64
64
  let cleanedString = inputString;
65
- const tokens = [];
65
+ const inputStringTokens = [];
66
66
  const expressionBracketsStack = [];
67
67
  let expressionStartPosition = -1;
68
68
  // track the position of tag open and close
@@ -78,24 +78,23 @@ function extractExpressions(inputString) {
78
78
  }
79
79
  else if (char === tagOpenSymbol) {
80
80
  startingTag = {
81
+ tagId: generateUniqueId(),
81
82
  type: 'tag_start',
82
83
  tagStartType: inputString[i + 1] === '/' ? 'closing' : 'opening',
83
84
  index: i,
84
85
  };
85
- tokens.push(startingTag);
86
+ inputStringTokens.push(startingTag);
86
87
  continue;
87
88
  }
88
89
  else if (char === tagCloseSymbol && startingTag) {
89
90
  const closingTag = {
91
+ tagId: startingTag.tagId,
90
92
  type: 'tag_end',
91
93
  index: i,
92
- tagEndType: null,
94
+ isSelfClosing: startingTag.tagStartType === 'opening' && inputString[i - 1] === '/',
93
95
  };
94
- if (inputString[i - 1] === '/') {
95
- closingTag.tagEndType = 'selfClosing';
96
- }
97
- tokens.push(closingTag);
98
- startingTag = -1;
96
+ inputStringTokens.push(closingTag);
97
+ startingTag = null;
99
98
  continue;
100
99
  }
101
100
  }
@@ -110,7 +109,7 @@ function extractExpressions(inputString) {
110
109
  if (char === requiredClosingBracket) {
111
110
  expressionBracketsStack.pop();
112
111
  if (expressionBracketsStack.length === 0) {
113
- tokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
112
+ inputStringTokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
114
113
  }
115
114
  }
116
115
  else if (stringDelimiters.has(lastOpenedBracket)) { // if a string delimiter is opened, we dont care obout other opening brackets
@@ -121,19 +120,29 @@ function extractExpressions(inputString) {
121
120
  }
122
121
  }
123
122
  let correctionFactor = 0;
123
+ const tagStartInfoById = {};
124
124
  const expressions = {};
125
- const splitIndexes = [];
126
- for (const token of tokens) {
125
+ const outputStringTokens = [];
126
+ for (const token of inputStringTokens) {
127
127
  const { type, start, end } = token;
128
128
  switch (type) {
129
129
  case 'tag_start': {
130
- const { index } = token;
131
- splitIndexes.push(index - correctionFactor);
130
+ const { index, tagStartType } = token;
131
+ tagStartInfoById[token.tagId] = { index: index - correctionFactor, type: tagStartType };
132
132
  break;
133
133
  }
134
134
  case 'tag_end': {
135
135
  const { index } = token;
136
- splitIndexes.push(index - correctionFactor + 1);
136
+ const tagStartInfo = tagStartInfoById[token.tagId];
137
+ const tagEndPosition = index - correctionFactor;
138
+ const tagPosition = { start: tagStartInfo.index, end: tagEndPosition, type: 'tag', tagType: tagStartInfo.type };
139
+ if (token.isSelfClosing)
140
+ tagPosition.tagType = 'selfClosing';
141
+ const previousTagPosition = outputStringTokens[outputStringTokens.length - 1] || { start: null, end: -1, type: 'uninitialized' };
142
+ if (tagPosition.start - previousTagPosition.end > 1) {
143
+ outputStringTokens.push({ start: previousTagPosition.end + 1, end: tagPosition.start - 1, type: 'text' });
144
+ }
145
+ outputStringTokens.push(tagPosition);
137
146
  break;
138
147
  }
139
148
  case 'expression':
@@ -146,7 +155,11 @@ function extractExpressions(inputString) {
146
155
  break;
147
156
  }
148
157
  }
149
- return { expressions, cleanedString, tagPositions: splitIndexes };
158
+ const lastOutputToken = outputStringTokens[outputStringTokens.length - 1] || { start: null, end: -1, type: 'uninitialized' };
159
+ if (cleanedString.length - lastOutputToken.end > 1) {
160
+ outputStringTokens.push({ start: lastOutputToken.end + 1, end: cleanedString.length - 1, type: 'text' });
161
+ }
162
+ return { expressions, cleanedString, tagPositions: outputStringTokens };
150
163
  }
151
164
  const asVariableRegex = /:as="([^"]+)"/g;
152
165
  function extractAsVariables(inputString) {
@@ -166,7 +179,7 @@ function parseEDL(_edlString, additionalVariables) {
166
179
  // remove unnecessary whitespace from the edl string, after code has been removed from the script tags
167
180
  edlString = removeUnnecessaryWhitespace(edlString);
168
181
  // extract expressions from the edl string
169
- const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTagPositions } = extractExpressions(edlString);
182
+ const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTokensInfo } = extractExpressions(edlString);
170
183
  edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
171
184
  // Extract :as variables and include them in the union
172
185
  const asVariables = extractAsVariables(edlString);
@@ -190,25 +203,14 @@ function parseEDL(_edlString, additionalVariables) {
190
203
  const rootElements = [];
191
204
  // Initialize an empty stack to keep track of the nested JSX elements
192
205
  const parentElementsStack = [];
193
- // split the string by tag positions
194
- const tagPositions = [...edlTagPositions];
195
- if (tagPositions[0] !== 0)
196
- tagPositions.unshift(0);
197
- if (tagPositions[tagPositions.length - 1] !== edlString.length)
198
- tagPositions.push(edlString.length);
199
- const tagGroups = [];
200
- for (let i = 0; i < tagPositions.length - 1; i++) {
201
- const positionDiff = tagPositions[i + 1] - tagPositions[i];
202
- // if(positionDiff <= 1) continue;
203
- tagGroups.push(edlString.substring(tagPositions[i], tagPositions[i + 1]));
204
- }
205
- tagGroups.forEach(token => {
206
- // If the token is an empty string, skip it
207
- if (token.trim() === '') {
208
- return;
209
- }
206
+ const tagGroups = edlTokensInfo.map(tokenInfo => ({
207
+ ...tokenInfo,
208
+ token: edlString.substring(tokenInfo.start, tokenInfo.end + 1)
209
+ }));
210
+ tagGroups.forEach(tokenInfo => {
211
+ const { token, type: tokenType, tagType } = tokenInfo;
210
212
  // If the token is not an opening or closing JSX tag, treat it as plain text
211
- if (token[0] !== '<') {
213
+ if (tokenType === 'text') {
212
214
  const parentNode = parentElementsStack[parentElementsStack.length - 1];
213
215
  const parts = breakTemplateStringToExpressionsAndStaticString(he_1.decode(token)).map(({ type, value }) => type == 'expression' ? safelyEvaluateExpressionForValueOrFunction(expressionsById[value]) : value);
214
216
  if (parentNode) {
@@ -219,14 +221,18 @@ function parseEDL(_edlString, additionalVariables) {
219
221
  }
220
222
  return;
221
223
  }
222
- // Check if the token matches a closing tag pattern
223
- const closingTagMatch = token.match(closingTagRegex);
224
- // If it's a closing tag, pop the last element from the JSX stack
225
- if (closingTagMatch) {
226
- const tagName = closingTagMatch[1];
227
- const isSelfClosing = selfClosingTags.has(tagName); // in case this is a closing for a self closing tag, we dont pop it from the stack as we never push it
228
- if (!isSelfClosing) {
229
- parentElementsStack.pop();
224
+ if (tokenType !== 'tag')
225
+ return;
226
+ if (tagType === 'closing') {
227
+ // Check if the token matches a closing tag pattern
228
+ const closingTagMatch = token.match(closingTagRegex);
229
+ // If it's a closing tag, pop the last element from the JSX stack
230
+ if (closingTagMatch) {
231
+ const tagName = closingTagMatch[1];
232
+ // in case this is a closing for a self closing tag, we dont pop it from the stack as we never push it
233
+ if (!selfClosingTags.has(tagName)) {
234
+ parentElementsStack.pop();
235
+ }
230
236
  }
231
237
  return;
232
238
  }
@@ -1 +1 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":";;;;;AAAA,2BAAkD;AAClD,mCAAgE;AAChE,0EAAkD;AAElD,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAEnI,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IAC9B,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK;IACjE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO;CAC3C,CAAC,CAAC;AAGH,oCAAoC;AACpC,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAE9C,gEAAgE;AAChE,MAAM,cAAc,GAAG,mEAAmE,CAAC;AAE3F,0DAA0D;AAC1D,MAAM,eAAe,GAAG,qGAAqG,CAAC;AAE9H,S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C;AAGD,kBAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAwB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAqB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -2,44 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.platformEventsMiddleware = void 0;
4
4
  const TYPE_REDUX_ACTION = 'REDUX_ACTION';
5
- const TYPE_CAPTURE_SCREENSHOT = 'CAPTURE_SCREENSHOT';
6
- async function captureScreenshot() {
7
- // Dynamically load html2canvas if not already loaded
8
- if (!window.html2canvas) {
9
- const script = document.createElement('script');
10
- script.src = 'https://html2canvas.hertzen.com/dist/html2canvas.min.js';
11
- script.async = true;
12
- await new Promise((resolve, reject) => {
13
- script.onload = resolve;
14
- script.onerror = reject;
15
- document.head.appendChild(script);
16
- });
17
- }
18
- try {
19
- // Get viewport dimensions
20
- const viewportWidth = window.innerWidth;
21
- const viewportHeight = window.innerHeight;
22
- // Capture the screenshot with viewport options
23
- const canvas = await window.html2canvas(document.body, {
24
- width: viewportWidth,
25
- height: viewportHeight,
26
- windowWidth: viewportWidth,
27
- windowHeight: viewportHeight,
28
- scrollX: window.scrollX,
29
- scrollY: window.scrollY,
30
- x: window.scrollX,
31
- y: window.scrollY
32
- });
33
- const screenshot = canvas.toDataURL('image/png');
34
- window.parent.postMessage({
35
- type: 'SCREENSHOT_CAPTURED',
36
- data: screenshot
37
- }, '*');
38
- }
39
- catch (error) {
40
- console.error('Failed to capture screenshot:', error);
41
- }
42
- }
43
5
  // listen to window message events and pass to redux
44
6
  const platformEventsMiddleware = (store) => {
45
7
  if (typeof window.addEventListener === 'function') {
@@ -50,9 +12,6 @@ const platformEventsMiddleware = (store) => {
50
12
  case TYPE_REDUX_ACTION:
51
13
  store.dispatch(messageObject.action);
52
14
  break;
53
- case TYPE_CAPTURE_SCREENSHOT:
54
- captureScreenshot();
55
- break;
56
15
  }
57
16
  }
58
17
  catch (e) { }
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AACzC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAErD,KAAK,UAAU,iBAAiB;IAC5B,qDAAqD;IACrD,IAAI,CAAE,MAAc,CAAC,WAAW,EAAE;QAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,CAAC,GAAG,GAAG,yDAAyD,CAAC;QACvE,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAEpB,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAClC,MAAM,CAAC,MAAM,GAAG,OAAO,CAAC;YACxB,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;YACxB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;KACN;IAED,IAAI;QACA,0BAA0B;QAC1B,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC;QACxC,MAAM,cAAc,GAAG,MAAM,CAAC,WAAW,CAAC;QAE1C,+CAA+C;QAC/C,MAAM,MAAM,GAAG,MAAO,MAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,EAAE;YAC5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AAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;QACD,IAAI,MAAM,CAAC,MAAM,EAAE;YACf,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;KACJ;IAED,OAAO,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACxD,CAAC,CAAC;AAtBW,QAAA,wBAAwB,4BAsBnC;AAEF,kBAAe,gCAAwB,CAAC"}
@@ -71,7 +71,7 @@ const parseEDLMemoized = memoize(edl => parseEDL(edl, renderContextVariables));
71
71
  const RenderEDL = ({ edl, data: staticData, dataSources, scopes: scopesToInject }) => {
72
72
  const scope = useScope();
73
73
  const actionable = useActionable();
74
- const blocks = useMemo(() => parseEDLMemoized(edl), [edl]);
74
+ const blocks = parseEDLMemoized(edl);
75
75
  const [datasourceData, _setDatasourceData] = useState({});
76
76
  const [state, _setState] = useState({});
77
77
  const [runtimeData, _setRuntimeData] = useState({});
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/edl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAU,MAAM,QAAQ,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,YAAY,MAAM,YAAY,CAAC;AACtC,OAAO,gBAAgB,MAAM,iBAAiB,CAAC;AAC/C,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU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A;IAEvH,OAAO,OAAO,CAAC,GAAE,EAAE,CAAA,oBAAC,WAAW,IAAC,KAAK,EAAE,EAAC,cAAc,EAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,iBAAiB,EAAE,GAAG,cAAc,CAAC,GAAI,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,CAAC;AACzJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAG;IACf,MAAM,EAAE,SAAS;IACjB,eAAe;IACf,gBAAgB;IAChB,oBAAoB,EAAE,6BAA6B;IACnD,qBAAqB,EAAE,8BAA8B;IACrD,6BAA6B;IAC7B,8BAA8B;IAC9B,2BAA2B;IAC3B,0BAA0B;IAC1B,UAAU;IACV,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,gBAAgB;CAC1B,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAoLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAyKnE;AAGD,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAiMA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAqKnE;AAGD,eAAe,QAAQ,CAAC"}
@@ -57,7 +57,7 @@ const tagCloseSymbol = '>';
57
57
  // look for { and go untill }, counting all (, {, } and ), untill all opening braces are matched with closing braces
58
58
  function extractExpressions(inputString) {
59
59
  let cleanedString = inputString;
60
- const tokens = [];
60
+ const inputStringTokens = [];
61
61
  const expressionBracketsStack = [];
62
62
  let expressionStartPosition = -1;
63
63
  // track the position of tag open and close
@@ -73,24 +73,23 @@ function extractExpressions(inputString) {
73
73
  }
74
74
  else if (char === tagOpenSymbol) {
75
75
  startingTag = {
76
+ tagId: generateUniqueId(),
76
77
  type: 'tag_start',
77
78
  tagStartType: inputString[i + 1] === '/' ? 'closing' : 'opening',
78
79
  index: i,
79
80
  };
80
- tokens.push(startingTag);
81
+ inputStringTokens.push(startingTag);
81
82
  continue;
82
83
  }
83
84
  else if (char === tagCloseSymbol && startingTag) {
84
85
  const closingTag = {
86
+ tagId: startingTag.tagId,
85
87
  type: 'tag_end',
86
88
  index: i,
87
- tagEndType: null,
89
+ isSelfClosing: startingTag.tagStartType === 'opening' && inputString[i - 1] === '/',
88
90
  };
89
- if (inputString[i - 1] === '/') {
90
- closingTag.tagEndType = 'selfClosing';
91
- }
92
- tokens.push(closingTag);
93
- startingTag = -1;
91
+ inputStringTokens.push(closingTag);
92
+ startingTag = null;
94
93
  continue;
95
94
  }
96
95
  }
@@ -105,7 +104,7 @@ function extractExpressions(inputString) {
105
104
  if (char === requiredClosingBracket) {
106
105
  expressionBracketsStack.pop();
107
106
  if (expressionBracketsStack.length === 0) {
108
- tokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
107
+ inputStringTokens.push({ type: 'expression', start: expressionStartPosition, end: i - 1 });
109
108
  }
110
109
  }
111
110
  else if (stringDelimiters.has(lastOpenedBracket)) { // if a string delimiter is opened, we dont care obout other opening brackets
@@ -116,19 +115,29 @@ function extractExpressions(inputString) {
116
115
  }
117
116
  }
118
117
  let correctionFactor = 0;
118
+ const tagStartInfoById = {};
119
119
  const expressions = {};
120
- const splitIndexes = [];
121
- for (const token of tokens) {
120
+ const outputStringTokens = [];
121
+ for (const token of inputStringTokens) {
122
122
  const { type, start, end } = token;
123
123
  switch (type) {
124
124
  case 'tag_start': {
125
- const { index } = token;
126
- splitIndexes.push(index - correctionFactor);
125
+ const { index, tagStartType } = token;
126
+ tagStartInfoById[token.tagId] = { index: index - correctionFactor, type: tagStartType };
127
127
  break;
128
128
  }
129
129
  case 'tag_end': {
130
130
  const { index } = token;
131
- splitIndexes.push(index - correctionFactor + 1);
131
+ const tagStartInfo = tagStartInfoById[token.tagId];
132
+ const tagEndPosition = index - correctionFactor;
133
+ const tagPosition = { start: tagStartInfo.index, end: tagEndPosition, type: 'tag', tagType: tagStartInfo.type };
134
+ if (token.isSelfClosing)
135
+ tagPosition.tagType = 'selfClosing';
136
+ const previousTagPosition = outputStringTokens[outputStringTokens.length - 1] || { start: null, end: -1, type: 'uninitialized' };
137
+ if (tagPosition.start - previousTagPosition.end > 1) {
138
+ outputStringTokens.push({ start: previousTagPosition.end + 1, end: tagPosition.start - 1, type: 'text' });
139
+ }
140
+ outputStringTokens.push(tagPosition);
132
141
  break;
133
142
  }
134
143
  case 'expression':
@@ -141,7 +150,11 @@ function extractExpressions(inputString) {
141
150
  break;
142
151
  }
143
152
  }
144
- return { expressions, cleanedString, tagPositions: splitIndexes };
153
+ const lastOutputToken = outputStringTokens[outputStringTokens.length - 1] || { start: null, end: -1, type: 'uninitialized' };
154
+ if (cleanedString.length - lastOutputToken.end > 1) {
155
+ outputStringTokens.push({ start: lastOutputToken.end + 1, end: cleanedString.length - 1, type: 'text' });
156
+ }
157
+ return { expressions, cleanedString, tagPositions: outputStringTokens };
145
158
  }
146
159
  const asVariableRegex = /:as="([^"]+)"/g;
147
160
  function extractAsVariables(inputString) {
@@ -161,7 +174,7 @@ function parseEDL(_edlString, additionalVariables) {
161
174
  // remove unnecessary whitespace from the edl string, after code has been removed from the script tags
162
175
  edlString = removeUnnecessaryWhitespace(edlString);
163
176
  // extract expressions from the edl string
164
- const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTagPositions } = extractExpressions(edlString);
177
+ const { expressions: expressionsById, cleanedString: edlStringWithCodeRemovedFromScriptAndExpressionsRemoved, tagPositions: edlTokensInfo } = extractExpressions(edlString);
165
178
  edlString = edlStringWithCodeRemovedFromScriptAndExpressionsRemoved;
166
179
  // Extract :as variables and include them in the union
167
180
  const asVariables = extractAsVariables(edlString);
@@ -185,25 +198,14 @@ function parseEDL(_edlString, additionalVariables) {
185
198
  const rootElements = [];
186
199
  // Initialize an empty stack to keep track of the nested JSX elements
187
200
  const parentElementsStack = [];
188
- // split the string by tag positions
189
- const tagPositions = [...edlTagPositions];
190
- if (tagPositions[0] !== 0)
191
- tagPositions.unshift(0);
192
- if (tagPositions[tagPositions.length - 1] !== edlString.length)
193
- tagPositions.push(edlString.length);
194
- const tagGroups = [];
195
- for (let i = 0; i < tagPositions.length - 1; i++) {
196
- const positionDiff = tagPositions[i + 1] - tagPositions[i];
197
- // if(positionDiff <= 1) continue;
198
- tagGroups.push(edlString.substring(tagPositions[i], tagPositions[i + 1]));
199
- }
200
- tagGroups.forEach(token => {
201
- // If the token is an empty string, skip it
202
- if (token.trim() === '') {
203
- return;
204
- }
201
+ const tagGroups = edlTokensInfo.map(tokenInfo => ({
202
+ ...tokenInfo,
203
+ token: edlString.substring(tokenInfo.start, tokenInfo.end + 1)
204
+ }));
205
+ tagGroups.forEach(tokenInfo => {
206
+ const { token, type: tokenType, tagType } = tokenInfo;
205
207
  // If the token is not an opening or closing JSX tag, treat it as plain text
206
- if (token[0] !== '<') {
208
+ if (tokenType === 'text') {
207
209
  const parentNode = parentElementsStack[parentElementsStack.length - 1];
208
210
  const parts = breakTemplateStringToExpressionsAndStaticString(decodeHtmlEntities(token)).map(({ type, value }) => type == 'expression' ? safelyEvaluateExpressionForValueOrFunction(expressionsById[value]) : value);
209
211
  if (parentNode) {
@@ -214,14 +216,18 @@ function parseEDL(_edlString, additionalVariables) {
214
216
  }
215
217
  return;
216
218
  }
217
- // Check if the token matches a closing tag pattern
218
- const closingTagMatch = token.match(closingTagRegex);
219
- // If it's a closing tag, pop the last element from the JSX stack
220
- if (closingTagMatch) {
221
- const tagName = closingTagMatch[1];
222
- const isSelfClosing = selfClosingTags.has(tagName); // in case this is a closing for a self closing tag, we dont pop it from the stack as we never push it
223
- if (!isSelfClosing) {
224
- parentElementsStack.pop();
219
+ if (tokenType !== 'tag')
220
+ return;
221
+ if (tagType === 'closing') {
222
+ // Check if the token matches a closing tag pattern
223
+ const closingTagMatch = token.match(closingTagRegex);
224
+ // If it's a closing tag, pop the last element from the JSX stack
225
+ if (closingTagMatch) {
226
+ const tagName = closingTagMatch[1];
227
+ // in case this is a closing for a self closing tag, we dont pop it from the stack as we never push it
228
+ if (!selfClosingTags.has(tagName)) {
229
+ parentElementsStack.pop();
230
+ }
225
231
  }
226
232
  return;
227
233
  }
@@ -1 +1 @@
1
- {"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChE,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAEnI,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IAC9B,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK;IACjE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO;CAC3C,CAAC,CAAC;AAGH,oCAAoC;AACpC,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAE9C,gEAAgE;AAChE,MAAM,cAAc,GAAG,mEAAmE,CAAC;AAE3F,0DAA0D;AAC1D,MAAM,eAAe,GAAG,qGAAqG,CAAC;AAE9H,SAAS,gBAAgB;IACvB,OAAO,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,EAAE,C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CAAC,CAAC;aACtC;SACF;IACH,CAAC,CAAC,CAAC;IACH,OAAO,YAAY,CAAC;AACtB,CAAC;AAGD,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAwB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAqB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1,42 +1,4 @@
1
1
  const TYPE_REDUX_ACTION = 'REDUX_ACTION';
2
- const TYPE_CAPTURE_SCREENSHOT = 'CAPTURE_SCREENSHOT';
3
- async function captureScreenshot() {
4
- // Dynamically load html2canvas if not already loaded
5
- if (!window.html2canvas) {
6
- const script = document.createElement('script');
7
- script.src = 'https://html2canvas.hertzen.com/dist/html2canvas.min.js';
8
- script.async = true;
9
- await new Promise((resolve, reject) => {
10
- script.onload = resolve;
11
- script.onerror = reject;
12
- document.head.appendChild(script);
13
- });
14
- }
15
- try {
16
- // Get viewport dimensions
17
- const viewportWidth = window.innerWidth;
18
- const viewportHeight = window.innerHeight;
19
- // Capture the screenshot with viewport options
20
- const canvas = await window.html2canvas(document.body, {
21
- width: viewportWidth,
22
- height: viewportHeight,
23
- windowWidth: viewportWidth,
24
- windowHeight: viewportHeight,
25
- scrollX: window.scrollX,
26
- scrollY: window.scrollY,
27
- x: window.scrollX,
28
- y: window.scrollY
29
- });
30
- const screenshot = canvas.toDataURL('image/png');
31
- window.parent.postMessage({
32
- type: 'SCREENSHOT_CAPTURED',
33
- data: screenshot
34
- }, '*');
35
- }
36
- catch (error) {
37
- console.error('Failed to capture screenshot:', error);
38
- }
39
- }
40
2
  // listen to window message events and pass to redux
41
3
  export const platformEventsMiddleware = (store) => {
42
4
  if (typeof window.addEventListener === 'function') {
@@ -47,9 +9,6 @@ export const platformEventsMiddleware = (store) => {
47
9
  case TYPE_REDUX_ACTION:
48
10
  store.dispatch(messageObject.action);
49
11
  break;
50
- case TYPE_CAPTURE_SCREENSHOT:
51
- captureScreenshot();
52
- break;
53
12
  }
54
13
  }
55
14
  catch (e) { }
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AACzC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAErD,KAAK,UAAU,iBAAiB;IAC5B,qDAAqD;IACrD,IAAI,CAAE,MAAc,CAAC,WAAW,EAAE;QAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,CAAC,GAAG,GAAG,yDAAyD,CAAC;QACvE,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAEpB,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAClC,MAAM,CAAC,MAAM,GAAG,OAAO,CAAC;YACxB,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;YACxB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;KACN;IAED,IAAI;QACA,0BAA0B;QAC1B,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC;QACxC,MAAM,cAAc,GAAG,MAAM,CAAC,WAAW,CAAC;QAE1C,+CAA+C;QAC/C,MAAM,MAAM,GAAG,MAAO,MAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,IAA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AAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;QACD,IAAI,MAAM,CAAC,MAAM,EAAE;YACf,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;KACJ;IAED,OAAO,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACxD,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAoLA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAyKnE;AAGD,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":"AAiMA,iBAAS,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,SAqKnE;AAGD,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAwB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAqB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.269",
3
+ "version": "1.0.271",
4
4
  "description": "",
5
5
  "main": "dist/cjs/main.js",
6
6
  "module": "dist/esm/main.js",