@pitcher/canvas-ui 2025.12.31-005552-beta → 2025.12.31-012047-beta
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/canvas-ui.js +6 -6
- package/canvas-ui.js.map +1 -1
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -183424,9 +183424,9 @@ function evaluateIsExecutedCondition(condition, event) {
|
|
|
183424
183424
|
jsCondition = jsCondition.replace(fieldRegex, jsValue);
|
|
183425
183425
|
});
|
|
183426
183426
|
jsCondition = jsCondition.replace(
|
|
183427
|
-
/("(?:[^"\\]|\\.)*
|
|
183428
|
-
(match,
|
|
183429
|
-
return
|
|
183427
|
+
/(["'])((?:[^"\\]|\\.)*)\1\s*(===|!==)\s*(["'])((?:[^"\\]|\\.)*)\4/g,
|
|
183428
|
+
(match, leftQuote, leftValue, operator, rightQuote, rightValue) => {
|
|
183429
|
+
return `"${leftValue}".toLowerCase() ${operator} "${rightValue}".toLowerCase()`;
|
|
183430
183430
|
}
|
|
183431
183431
|
);
|
|
183432
183432
|
return eval(jsCondition) === true;
|
|
@@ -183459,9 +183459,9 @@ function evaluateIsExecutedForPascalCaseEvent(condition, event) {
|
|
|
183459
183459
|
jsCondition = jsCondition.replace(fieldRegex, jsValue);
|
|
183460
183460
|
});
|
|
183461
183461
|
jsCondition = jsCondition.replace(
|
|
183462
|
-
/("(?:[^"\\]|\\.)*
|
|
183463
|
-
(match,
|
|
183464
|
-
return
|
|
183462
|
+
/(["'])((?:[^"\\]|\\.)*)\1\s*(===|!==)\s*(["'])((?:[^"\\]|\\.)*)\4/g,
|
|
183463
|
+
(match, leftQuote, leftValue, operator, rightQuote, rightValue) => {
|
|
183464
|
+
return `"${leftValue}".toLowerCase() ${operator} "${rightValue}".toLowerCase()`;
|
|
183465
183465
|
}
|
|
183466
183466
|
);
|
|
183467
183467
|
return eval(jsCondition) === true;
|