@@ -329,7 +329,7 @@ class JsView extends UI5View {
329
329
exists ( DataFlow:: ObjectLiteralNode control , string type , string path , string property |
330
330
this = control .getFile ( ) and
331
331
type = result .getControlTypeName ( ) and
332
- ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" , _ ) and
332
+ ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" ) and
333
333
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
334
334
result .getBinding ( ) .getBindingTarget ( ) .asDataFlowNode ( ) = control .getAPropertyWrite ( property )
335
335
)
@@ -339,7 +339,7 @@ class JsView extends UI5View {
339
339
exists ( DataFlow:: ObjectLiteralNode control , string type , string path , string property |
340
340
this = control .getFile ( ) and
341
341
type = result .getControlTypeName ( ) and
342
- ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" , _ ) and
342
+ ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" ) and
343
343
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
344
344
result .getBinding ( ) .getBindingTarget ( ) .asDataFlowNode ( ) = control .getAPropertyWrite ( property )
345
345
)
@@ -382,7 +382,7 @@ class JsonView extends UI5View {
382
382
exists ( JsonObject control , string type , string path , string property |
383
383
root = control .getParent + ( ) and
384
384
type = result .getControlTypeName ( ) and
385
- ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" , _ ) and
385
+ ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" ) and
386
386
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
387
387
result .getBindingTarget ( ) = control
388
388
)
@@ -392,7 +392,7 @@ class JsonView extends UI5View {
392
392
exists ( JsonObject control , string type , string path , string property |
393
393
root = control .getParent + ( ) and
394
394
type = result .getControlTypeName ( ) and
395
- ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" , _ ) and
395
+ ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" ) and
396
396
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
397
397
result .getBindingTarget ( ) = control
398
398
)
@@ -533,7 +533,7 @@ class HtmlView extends UI5View, HTML::HtmlFile {
533
533
exists ( HTML:: Element control , string type , string path , string property |
534
534
this = control .getFile ( ) and
535
535
type = result .getControlTypeName ( ) and
536
- ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" , _ ) and
536
+ ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" ) and
537
537
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
538
538
result .getBindingTarget ( ) = control .getAttributeByName ( "data-" + property )
539
539
)
@@ -543,7 +543,7 @@ class HtmlView extends UI5View, HTML::HtmlFile {
543
543
exists ( HTML:: Element control , string type , string path , string property |
544
544
this = control .getFile ( ) and
545
545
type = result .getControlTypeName ( ) and
546
- ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" , _ ) and
546
+ ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" ) and
547
547
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
548
548
result .getBindingTarget ( ) = control .getAttributeByName ( "data-" + property )
549
549
)
@@ -659,7 +659,7 @@ class XmlView extends UI5View instanceof XmlFile {
659
659
exists ( XmlElement control , string type , string path , string property |
660
660
this = control .getFile ( ) and
661
661
type = result .getControlTypeName ( ) and
662
- ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" , _ ) and
662
+ ApiGraphModelsExtensions:: sourceModel ( getASuperType ( type ) , path , "remote" ) and
663
663
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
664
664
result .getBindingTarget ( ) = control .getAttribute ( property )
665
665
)
@@ -669,7 +669,7 @@ class XmlView extends UI5View instanceof XmlFile {
669
669
exists ( XmlElement control , string type , string path , string property |
670
670
this = control .getFile ( ) and
671
671
type = result .getControlTypeName ( ) and
672
- ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" , _ ) and
672
+ ApiGraphModelsExtensions:: sinkModel ( getASuperType ( type ) , path , "ui5-html-injection" ) and
673
673
property = path .replaceAll ( " " , "" ) .regexpCapture ( "Member\\[([^\\]]+)\\]" , 1 ) and
674
674
result .getBindingTarget ( ) = control .getAttribute ( property ) and
675
675
/* If the control is an `sap.ui.core.HTML` then the control should be missing the `sanitizeContent` attribute */
0 commit comments