ecinc-cloud-mappaio 9.6.164 → 9.6.166

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.
@@ -41894,7 +41894,7 @@ var wfengine_install = function install(Vue) {
41894
41894
  };
41895
41895
  $scope.wfInstance.udmNodes = [udmNode];
41896
41896
  }
41897
- if ($scope.wfInstance.udmNodes) {
41897
+ if ($scope.wfInstance.udmNodes && $scope.curTN.tnNodeID !== null) {
41898
41898
  $scope.wfJsonData.routes = _this.setUdmCustomRoutes($scope);
41899
41899
  }
41900
41900
  $scope.commonIdeaList = $scope.wfInstance.passenger.commonIdeaList;
@@ -43853,50 +43853,32 @@ var src_install = function install(Vue) {
43853
43853
  }
43854
43854
  function _jsBridgeCallNativeMethod_harmony() {
43855
43855
  _jsBridgeCallNativeMethod_harmony = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(method, data, callback) {
43856
- var resultPromise;
43856
+ var resultPromise, args;
43857
43857
  return _regeneratorRuntime().wrap(function _callee22$(_context22) {
43858
43858
  while (1) switch (_context22.prev = _context22.next) {
43859
43859
  case 0:
43860
- // console.log('harmony====>>>>', window.WebViewJavascriptBridge.callHandler(method))
43861
- // await window.WebViewJavascriptBridge.callHandler(method, data, (res) => {
43862
- // console.log('11111==>resp=' + JSON.stringify(res))
43863
- // // if (callback !== undefined && callback !== null) {
43864
- // callback(res)
43865
- // if (result === null) return callback(result)
43866
- // if (result.hasOwnProperty('value')) {
43867
- // callback(result.value)
43868
- // } else if (result.hasOwnProperty('fileList')) {
43869
- // callback(result.fileList)
43870
- // } else if (result.hasOwnProperty('result') && typeof result.result !== 'boolean') {
43871
- // callback(result.result)
43872
- // } else {
43873
- // callback(result)
43874
- // }
43875
- // // }
43876
- // })
43877
43860
  resultPromise = null;
43878
- if (!(data === null || data === undefined)) {
43879
- _context22.next = 7;
43880
- break;
43861
+ if (data === null || data === undefined) {
43862
+ args = '';
43863
+ } else {
43864
+ if (src_typeof(data) === 'object') {
43865
+ args = JSON.stringify(data);
43866
+ } else {
43867
+ args = data;
43868
+ }
43881
43869
  }
43882
43870
  _context22.next = 4;
43883
- return window.WebViewJavascriptBridge.callHandler(method);
43871
+ return window.WebViewJavascriptBridge.callHandler(method, data, function (res) {
43872
+ console.log('resp=' + JSON.stringify(res));
43873
+ if (callback !== undefined && callback !== null) {
43874
+ callback(res);
43875
+ }
43876
+ });
43884
43877
  case 4:
43885
43878
  resultPromise = _context22.sent;
43886
- _context22.next = 11;
43887
- break;
43888
- case 7:
43889
- if (src_typeof(data) === 'object') data = JSON.stringify(data);
43890
- _context22.next = 10;
43891
- return window.WebViewJavascriptBridge.callHandler(method, data);
43892
- case 10:
43893
- resultPromise = _context22.sent;
43894
- case 11:
43895
43879
  console.log('resultPromise===>' + method, resultPromise);
43896
43880
  return _context22.abrupt("return", new Promise(function (resolve) {
43897
43881
  console.log('result====>', resultPromise);
43898
- if (false) {}
43899
- callback && callback(resultPromise);
43900
43882
  if (resultPromise === null) return resolve(resultPromise);
43901
43883
  if (resultPromise.hasOwnProperty('value')) {
43902
43884
  resolve(resultPromise.value);
@@ -43908,7 +43890,7 @@ var src_install = function install(Vue) {
43908
43890
  resolve(resultPromise);
43909
43891
  }
43910
43892
  }));
43911
- case 13:
43893
+ case 7:
43912
43894
  case "end":
43913
43895
  return _context22.stop();
43914
43896
  }
@@ -44521,6 +44503,9 @@ var src_install = function install(Vue) {
44521
44503
  clearAllNotification: function clearAllNotification() {
44522
44504
  this.jsBridgeCallNativeMethod('clearAllNotification', null);
44523
44505
  },
44506
+ showWebComplete: function showWebComplete() {
44507
+ this.jsBridgeCallNativeMethod('showWebComplete', null);
44508
+ },
44524
44509
  // jsBridgeCallNativeMethod: window.flutter_inappwebview ? jsBridgeCallNativeMethod_9 : jsBridgeCallNativeMethod_8
44525
44510
  jsBridgeCallNativeMethod: window.flutter_inappwebview ? jsBridgeCallNativeMethod_9 : navigator.userAgent && navigator.userAgent.indexOf('Harmony') > -1 ? jsBridgeCallNativeMethod_harmony : jsBridgeCallNativeMethod_8
44526
44511
  }
@@ -41904,7 +41904,7 @@ var wfengine_install = function install(Vue) {
41904
41904
  };
41905
41905
  $scope.wfInstance.udmNodes = [udmNode];
41906
41906
  }
41907
- if ($scope.wfInstance.udmNodes) {
41907
+ if ($scope.wfInstance.udmNodes && $scope.curTN.tnNodeID !== null) {
41908
41908
  $scope.wfJsonData.routes = _this.setUdmCustomRoutes($scope);
41909
41909
  }
41910
41910
  $scope.commonIdeaList = $scope.wfInstance.passenger.commonIdeaList;
@@ -43863,50 +43863,32 @@ var src_install = function install(Vue) {
43863
43863
  }
43864
43864
  function _jsBridgeCallNativeMethod_harmony() {
43865
43865
  _jsBridgeCallNativeMethod_harmony = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(method, data, callback) {
43866
- var resultPromise;
43866
+ var resultPromise, args;
43867
43867
  return _regeneratorRuntime().wrap(function _callee22$(_context22) {
43868
43868
  while (1) switch (_context22.prev = _context22.next) {
43869
43869
  case 0:
43870
- // console.log('harmony====>>>>', window.WebViewJavascriptBridge.callHandler(method))
43871
- // await window.WebViewJavascriptBridge.callHandler(method, data, (res) => {
43872
- // console.log('11111==>resp=' + JSON.stringify(res))
43873
- // // if (callback !== undefined && callback !== null) {
43874
- // callback(res)
43875
- // if (result === null) return callback(result)
43876
- // if (result.hasOwnProperty('value')) {
43877
- // callback(result.value)
43878
- // } else if (result.hasOwnProperty('fileList')) {
43879
- // callback(result.fileList)
43880
- // } else if (result.hasOwnProperty('result') && typeof result.result !== 'boolean') {
43881
- // callback(result.result)
43882
- // } else {
43883
- // callback(result)
43884
- // }
43885
- // // }
43886
- // })
43887
43870
  resultPromise = null;
43888
- if (!(data === null || data === undefined)) {
43889
- _context22.next = 7;
43890
- break;
43871
+ if (data === null || data === undefined) {
43872
+ args = '';
43873
+ } else {
43874
+ if (src_typeof(data) === 'object') {
43875
+ args = JSON.stringify(data);
43876
+ } else {
43877
+ args = data;
43878
+ }
43891
43879
  }
43892
43880
  _context22.next = 4;
43893
- return window.WebViewJavascriptBridge.callHandler(method);
43881
+ return window.WebViewJavascriptBridge.callHandler(method, data, function (res) {
43882
+ console.log('resp=' + JSON.stringify(res));
43883
+ if (callback !== undefined && callback !== null) {
43884
+ callback(res);
43885
+ }
43886
+ });
43894
43887
  case 4:
43895
43888
  resultPromise = _context22.sent;
43896
- _context22.next = 11;
43897
- break;
43898
- case 7:
43899
- if (src_typeof(data) === 'object') data = JSON.stringify(data);
43900
- _context22.next = 10;
43901
- return window.WebViewJavascriptBridge.callHandler(method, data);
43902
- case 10:
43903
- resultPromise = _context22.sent;
43904
- case 11:
43905
43889
  console.log('resultPromise===>' + method, resultPromise);
43906
43890
  return _context22.abrupt("return", new Promise(function (resolve) {
43907
43891
  console.log('result====>', resultPromise);
43908
- if (false) {}
43909
- callback && callback(resultPromise);
43910
43892
  if (resultPromise === null) return resolve(resultPromise);
43911
43893
  if (resultPromise.hasOwnProperty('value')) {
43912
43894
  resolve(resultPromise.value);
@@ -43918,7 +43900,7 @@ var src_install = function install(Vue) {
43918
43900
  resolve(resultPromise);
43919
43901
  }
43920
43902
  }));
43921
- case 13:
43903
+ case 7:
43922
43904
  case "end":
43923
43905
  return _context22.stop();
43924
43906
  }
@@ -44531,6 +44513,9 @@ var src_install = function install(Vue) {
44531
44513
  clearAllNotification: function clearAllNotification() {
44532
44514
  this.jsBridgeCallNativeMethod('clearAllNotification', null);
44533
44515
  },
44516
+ showWebComplete: function showWebComplete() {
44517
+ this.jsBridgeCallNativeMethod('showWebComplete', null);
44518
+ },
44534
44519
  // jsBridgeCallNativeMethod: window.flutter_inappwebview ? jsBridgeCallNativeMethod_9 : jsBridgeCallNativeMethod_8
44535
44520
  jsBridgeCallNativeMethod: window.flutter_inappwebview ? jsBridgeCallNativeMethod_9 : navigator.userAgent && navigator.userAgent.indexOf('Harmony') > -1 ? jsBridgeCallNativeMethod_harmony : jsBridgeCallNativeMethod_8
44536
44521
  }