@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.
|
@@ -30570,6 +30570,18 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
30570
30570
|
'xu-on': true,
|
|
30571
30571
|
'xu-for-key': true,
|
|
30572
30572
|
'xu-for-val': true,
|
|
30573
|
+
'xu-click': true,
|
|
30574
|
+
'xu-change': true,
|
|
30575
|
+
'xu-blur': true,
|
|
30576
|
+
'xu-focus': true,
|
|
30577
|
+
'xu-init': true,
|
|
30578
|
+
'xu-attrs': true,
|
|
30579
|
+
'xu-cdn': true,
|
|
30580
|
+
'xu-style': true,
|
|
30581
|
+
'xu-style-global': true,
|
|
30582
|
+
'xu-script': true,
|
|
30583
|
+
'xu-viewport': true,
|
|
30584
|
+
'xu-ui-plugin': true,
|
|
30573
30585
|
};
|
|
30574
30586
|
|
|
30575
30587
|
const execution_plan = [];
|
|
@@ -30581,12 +30593,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
30581
30593
|
|
|
30582
30594
|
const attr_new = attr.split('xu-exp:')[1];
|
|
30583
30595
|
const xu_func = attr_new || attr;
|
|
30596
|
+
const is_raw_value_attribute = !!raw_value_attributes[attr] || attr.substr(0, 6) === 'xu-on:';
|
|
30584
30597
|
execution_plan.push({
|
|
30585
30598
|
attr,
|
|
30586
30599
|
attr_new,
|
|
30587
30600
|
xu_func,
|
|
30588
30601
|
is_regular_attribute: !!(attr_new && attr_new.substr(0, 2) !== 'xu'),
|
|
30589
|
-
requires_expression: !
|
|
30602
|
+
requires_expression: !is_raw_value_attribute && attr !== 'xu-class' && attr !== 'xu-ui-plugin',
|
|
30590
30603
|
regular_attr_name: attr_new ? (attr_new !== 'viewBox' ? attr_new.toLowerCase() : attr_new) : null,
|
|
30591
30604
|
});
|
|
30592
30605
|
}
|