@xuda.io/runtime-bundle 1.0.1427 → 1.0.1428
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -11650,6 +11650,18 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
11650
11650
|
'xu-on': true,
|
|
11651
11651
|
'xu-for-key': true,
|
|
11652
11652
|
'xu-for-val': true,
|
|
11653
|
+
'xu-click': true,
|
|
11654
|
+
'xu-change': true,
|
|
11655
|
+
'xu-blur': true,
|
|
11656
|
+
'xu-focus': true,
|
|
11657
|
+
'xu-init': true,
|
|
11658
|
+
'xu-attrs': true,
|
|
11659
|
+
'xu-cdn': true,
|
|
11660
|
+
'xu-style': true,
|
|
11661
|
+
'xu-style-global': true,
|
|
11662
|
+
'xu-script': true,
|
|
11663
|
+
'xu-viewport': true,
|
|
11664
|
+
'xu-ui-plugin': true,
|
|
11653
11665
|
};
|
|
11654
11666
|
|
|
11655
11667
|
const execution_plan = [];
|
|
@@ -11661,12 +11673,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
11661
11673
|
|
|
11662
11674
|
const attr_new = attr.split('xu-exp:')[1];
|
|
11663
11675
|
const xu_func = attr_new || attr;
|
|
11676
|
+
const is_raw_value_attribute = !!raw_value_attributes[attr] || attr.substr(0, 6) === 'xu-on:';
|
|
11664
11677
|
execution_plan.push({
|
|
11665
11678
|
attr,
|
|
11666
11679
|
attr_new,
|
|
11667
11680
|
xu_func,
|
|
11668
11681
|
is_regular_attribute: !!(attr_new && attr_new.substr(0, 2) !== 'xu'),
|
|
11669
|
-
requires_expression: !
|
|
11682
|
+
requires_expression: !is_raw_value_attribute && attr !== 'xu-class' && attr !== 'xu-ui-plugin',
|
|
11670
11683
|
regular_attr_name: attr_new ? (attr_new !== 'viewBox' ? attr_new.toLowerCase() : attr_new) : null,
|
|
11671
11684
|
});
|
|
11672
11685
|
}
|
|
@@ -11576,6 +11576,18 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
11576
11576
|
'xu-on': true,
|
|
11577
11577
|
'xu-for-key': true,
|
|
11578
11578
|
'xu-for-val': true,
|
|
11579
|
+
'xu-click': true,
|
|
11580
|
+
'xu-change': true,
|
|
11581
|
+
'xu-blur': true,
|
|
11582
|
+
'xu-focus': true,
|
|
11583
|
+
'xu-init': true,
|
|
11584
|
+
'xu-attrs': true,
|
|
11585
|
+
'xu-cdn': true,
|
|
11586
|
+
'xu-style': true,
|
|
11587
|
+
'xu-style-global': true,
|
|
11588
|
+
'xu-script': true,
|
|
11589
|
+
'xu-viewport': true,
|
|
11590
|
+
'xu-ui-plugin': true,
|
|
11579
11591
|
};
|
|
11580
11592
|
|
|
11581
11593
|
const execution_plan = [];
|
|
@@ -11587,12 +11599,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
11587
11599
|
|
|
11588
11600
|
const attr_new = attr.split('xu-exp:')[1];
|
|
11589
11601
|
const xu_func = attr_new || attr;
|
|
11602
|
+
const is_raw_value_attribute = !!raw_value_attributes[attr] || attr.substr(0, 6) === 'xu-on:';
|
|
11590
11603
|
execution_plan.push({
|
|
11591
11604
|
attr,
|
|
11592
11605
|
attr_new,
|
|
11593
11606
|
xu_func,
|
|
11594
11607
|
is_regular_attribute: !!(attr_new && attr_new.substr(0, 2) !== 'xu'),
|
|
11595
|
-
requires_expression: !
|
|
11608
|
+
requires_expression: !is_raw_value_attribute && attr !== 'xu-class' && attr !== 'xu-ui-plugin',
|
|
11596
11609
|
regular_attr_name: attr_new ? (attr_new !== 'viewBox' ? attr_new.toLowerCase() : attr_new) : null,
|
|
11597
11610
|
});
|
|
11598
11611
|
}
|