|
|
|
@ -35,6 +35,7 @@ |
|
|
|
formControlName="getLocationFunction" |
|
|
|
functionName="getLocation" |
|
|
|
[functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</ng-template> |
|
|
|
@ -43,6 +44,7 @@ |
|
|
|
formControlName="getPhoneNumberFunction" |
|
|
|
functionName="getPhoneNumber" |
|
|
|
[functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</ng-template> |
|
|
|
@ -54,6 +56,7 @@ |
|
|
|
formControlName="processImageFunction" |
|
|
|
functionName="processImage" |
|
|
|
[functionArgs]="['imageUrl', '$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</ng-template> |
|
|
|
@ -62,6 +65,7 @@ |
|
|
|
formControlName="processQrCodeFunction" |
|
|
|
functionName="processQrCode" |
|
|
|
[functionArgs]="['code', 'format', '$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</ng-template> |
|
|
|
@ -70,6 +74,7 @@ |
|
|
|
formControlName="processLocationFunction" |
|
|
|
functionName="processLocation" |
|
|
|
[functionArgs]="['latitude', 'longitude', '$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</ng-template> |
|
|
|
@ -81,6 +86,7 @@ |
|
|
|
formControlName="processLaunchResultFunction" |
|
|
|
functionName="processLaunchResult" |
|
|
|
[functionArgs]="['launched', '$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</ng-template> |
|
|
|
@ -89,12 +95,14 @@ |
|
|
|
formControlName="handleEmptyResultFunction" |
|
|
|
functionName="handleEmptyResult" |
|
|
|
[functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
<tb-js-func *ngIf="mobileActionFormGroup.get('type').value" |
|
|
|
formControlName="handleErrorFunction" |
|
|
|
functionName="handleError" |
|
|
|
[functionArgs]="['error', '$event', 'widgetContext', 'entityId', 'entityName', 'additionalParams', 'entityLabel']" |
|
|
|
[globalVariables]="functionScopeVariables" |
|
|
|
[editorCompleter]="customActionEditorCompleter" |
|
|
|
></tb-js-func> |
|
|
|
</div> |
|
|
|
|