diff --git a/dist/1.2.6/start-sygic-config.json b/dist/1.2.6/start-sygic-config.json new file mode 100644 index 0000000..921b228 --- /dev/null +++ b/dist/1.2.6/start-sygic-config.json @@ -0,0 +1,22 @@ +{ + "name": "Start Sygic Professional Navigation", + "supportEmail": "os-team@sygic.com", + "solutionId": "sygicSygic", + "version": "1.0", + "items": [ + { + "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/geotabdrive-start-sygic-addin/dist/start-sygic.html", + "path": "DriveAppLink/", + "menuName": { + "en": "Start Sygic Truck", + "de": "Sygic Truck Starten", + "es": "Iniciar Sygic Truck", + "fr": "Démarrer Sygic Truck", + "it": "Avviare Sygic Truck", + "pl": "Uruchom Sygic Truck" + }, + "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/geotabdrive-start-sygic-addin/dist/images/icon.svg" + } + ], + "isSigned": "false" +} \ No newline at end of file diff --git a/dist/1.2.6/truck-settings-config.json b/dist/1.2.6/truck-settings-config.json new file mode 100644 index 0000000..7e544b4 --- /dev/null +++ b/dist/1.2.6/truck-settings-config.json @@ -0,0 +1,35 @@ +{ + "name": "Sygic Professional Navigation", + "supportEmail": "os-team@sygic.com", + "solutionId": "sygicSygic", + "version": "1.0", + "items": [ + { + "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/mygeotab-sygic-page/dist/mygeotabSygicPage.html", + "path": "", + "menuName": { + "en": "Sygic Truck Settings", + "de": "Sygic Truck Einstellungen", + "es": "Configuración Sygic Truck", + "fr": "Paramètres Sygic Truck", + "it": "Sygic Truck Impostazioni", + "pl": "Ustawienia Sygic Truck" + }, + "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/mygeotab-sygic-page/dist/images/icon.svg" + }, + { + "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/geotabdrive-sygic-addin/dist/sygic.html", + "path": "DriveAppLink/", + "menuName": { + "en": "Sygic Truck Settings", + "de": "Sygic Truck Einstellungen", + "es": "Configuración Sygic Truck", + "fr": "Paramètres Sygic Truck", + "it": "Sygic Truck Impostazioni", + "pl": "Ustawienia Sygic Truck" + }, + "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/geotabdrive-sygic-addin/dist/images/icon.svg" + } + ], + "isSigned": "false" +} \ No newline at end of file diff --git a/geotabdrive-start-sygic-addin/dist/config.json b/geotabdrive-start-sygic-addin/dist/config.json index dc424a3..921b228 100644 --- a/geotabdrive-start-sygic-addin/dist/config.json +++ b/geotabdrive-start-sygic-addin/dist/config.json @@ -5,7 +5,7 @@ "version": "1.0", "items": [ { - "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.5/geotabdrive-start-sygic-addin/dist/start-sygic.html", + "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/geotabdrive-start-sygic-addin/dist/start-sygic.html", "path": "DriveAppLink/", "menuName": { "en": "Start Sygic Truck", @@ -15,7 +15,7 @@ "it": "Avviare Sygic Truck", "pl": "Uruchom Sygic Truck" }, - "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.5/geotabdrive-start-sygic-addin/dist/images/icon.svg" + "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.6/geotabdrive-start-sygic-addin/dist/images/icon.svg" } ], "isSigned": "false" diff --git a/geotabdrive-start-sygic-addin/dist/start-sygic.html b/geotabdrive-start-sygic-addin/dist/start-sygic.html index d22de8f..ef5a65c 100644 --- a/geotabdrive-start-sygic-addin/dist/start-sygic.html +++ b/geotabdrive-start-sygic-addin/dist/start-sygic.html @@ -1 +1 @@ - Sygic truck \ No newline at end of file + Sygic truck \ No newline at end of file diff --git a/geotabdrive-start-sygic-addin/dist/start-sygic.js b/geotabdrive-start-sygic-addin/dist/start-sygic.js index fb2e5be..2c50886 100644 --- a/geotabdrive-start-sygic-addin/dist/start-sygic.js +++ b/geotabdrive-start-sygic-addin/dist/start-sygic.js @@ -1 +1 @@ -!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.5/geotabdrive-start-sygic-addin/dist/",r(r.s=0)}([function(t,e,r){r(1),geotab.addin.sygic||r(2),r(3)},function(t,e,r){t=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(r){u=function(t,e,r){return t[e]=r}}function s(t,r,n,o){var i,a,c,u;r=r&&r.prototype instanceof g?r:g,r=Object.create(r.prototype),o=new j(o||[]);return r._invoke=(i=t,a=n,c=o,u=l,function(t,r){if(u===p)throw new Error("Generator is already running");if(u===y){if("throw"===t)throw r;return P()}for(c.method=t,c.arg=r;;){var n=c.delegate;if(n){var o=function t(r,n){var o;if((o=r.iterator[n.method])===e){if(n.delegate=null,"throw"===n.method){if(r.iterator.return&&(n.method="return",n.arg=e,t(r,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}return"throw"===(o=f(o,r.iterator,n.arg)).type?(n.method="throw",n.arg=o.arg,n.delegate=null,d):(o=o.arg)?o.done?(n[r.resultName]=o.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}(n,c);if(o){if(o===d)continue;return o}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===l)throw u=y,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(u=p,"normal"===(o=f(i,a,c)).type){if(u=c.done?y:h,o.arg!==d)return{value:o.arg,done:c.done}}else"throw"===o.type&&(u=y,c.method="throw",c.arg=o.arg)}}),r}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",h="suspendedYield",p="executing",y="completed",d={};function g(){}function v(){}function m(){}var w={};u(w,i,(function(){return this})),(o=(o=Object.getPrototypeOf)&&o(o(O([]))))&&o!==r&&n.call(o,i)&&(w=o);var b=m.prototype=g.prototype=Object.create(w);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!function r(o,i,a,c){if("throw"!==(o=f(t[o],t,i)).type){var u=o.arg;return(i=u.value)&&"object"==typeof i&&n.call(i,"__await")?e.resolve(i.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(i).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,c)}))}c(o.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){if(r=t[i])return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r,o=-1;return(r=function r(){for(;++o Sygic truck \ No newline at end of file + Sygic truck \ No newline at end of file diff --git a/geotabdrive-sygic-addin/dist/sygic.js b/geotabdrive-sygic-addin/dist/sygic.js index c00be88..259d663 100644 --- a/geotabdrive-sygic-addin/dist/sygic.js +++ b/geotabdrive-sygic-addin/dist/sygic.js @@ -1 +1 @@ -!function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.5/geotabdrive-sygic-addin/dist/",r(r.s=4)}([function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return u})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return a})),r.d(t,"q",(function(){return f})),r.d(t,"t",(function(){return l})),r.d(t,"i",(function(){return s})),r.d(t,"r",(function(){return d})),r.d(t,"s",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return w})),r.d(t,"n",(function(){return x})),r.d(t,"b",(function(){return j}));var e="1.13.1",u="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},i=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,a=i.push,f=i.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],j=Math.pow(2,53)-1}).call(this,r(3))},function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return u})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return a})),r.d(t,"q",(function(){return f})),r.d(t,"t",(function(){return l})),r.d(t,"i",(function(){return s})),r.d(t,"r",(function(){return d})),r.d(t,"s",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return w})),r.d(t,"n",(function(){return x})),r.d(t,"b",(function(){return j}));var e="1.13.1",u="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},i=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,a=i.push,f=i.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],j=Math.pow(2,53)-1}).call(this,r(3))},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiWrapper=function(n){return{callAsync:function(t,r){return new Promise((function(e,u){n.call(t,r,(function(n){return e(n)}),(function(n){return u(n)}))}))},getSessionAsync:function(){return new Promise((function(t,r){n.getSession((function(n){t(n)}))}))}}},t.DimensionsModel=t.Dimensions=void 0,t.DimensionsStorage=function(n){var t="ajk3ZmUzNmQtYjNlYS0yMGI";return{getAllDimensionsModelsAsync:function(){var r=o(regeneratorRuntime.mark((function r(){var e;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n.callAsync("Get",{typeName:"AddInData",search:{addInId:t}});case 2:return e=(e=r.sent).map((function(n){var t=void 0;return!1===n.details.dimensions.isMetric&&(t=!1),!0===n.details.dimensions.isMetric&&(t=!0),c({},n.details.vehicle_id,b.getFromStringInputs(n.details.dimensions,t))})),r.abrupt("return",Object.assign.apply(Object,[{}].concat(a(e.map((function(n){return n}))))));case 5:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),getDimensionsModelAsync:function(){var r=o(regeneratorRuntime.mark((function r(e){var u,i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n.callAsync("Get",{typeName:"AddInData",search:{addInId:t,whereClause:'vehicle_id="'.concat(e,'"')}});case 2:if((i=r.sent)&&0n.length)&&(t=n.length);for(var r=0,e=new Array(t);r":">",'"':""","'":"'","`":"`"}),Nn=Tn(en(b)),Bn=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Fn=/(.)^/,Ln={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Pn=/\\|'|\r|\n|\u2028|\u2029/g;function qn(n){return"\\"+Ln[n]}var Vn=/^\s*(\w|\$)+\s*$/;function Un(n,t,r){t=fn({},t=!t&&r?r:t,G.templateSettings);r=RegExp([(t.escape||Fn).source,(t.interpolate||Fn).source,(t.evaluate||Fn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(Pn,qn),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!Vn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,G)}).source="function("+r+"){\n"+i+"}",t}function Wn(n,t,r){var e=(t=vn(t)).length;if(!e)return x(r)?r.call(n):r;for(var u=0;un.length)&&(t=n.length);for(var r=0,e=new Array(t);r\n <% if (obj.hasOwnProperty(key)) { %>\n <% let dimension_label = obj[key].label; %>\n <% let value = obj[key].value; %>\n <%= dimension_label %><%= value %> \n <% }} %>\n "),e=hr.template("\n <% for (const key in obj) { %>\n <% if (obj.hasOwnProperty(key)) { %>\n <% let dimension_label = obj[key].label; %>\n <% let value = obj[key].value; %>\n \n <% }} %>\n "),u={};for(t in n){var i=n[t];u[t]={value:i.value,label:i.label}}document.getElementById("sygic-dimensions-summary-content").innerHTML=r(u),document.getElementById("sygic-dimensions-form-content").innerHTML=e(u)}function l(){document.getElementById("sygic-dimensions-form").classList.toggle("hidden"),document.getElementById("sygic-dimensions-summary").classList.toggle("hidden")}function s(n,t){return t="com.sygic.aura://coordinate|".concat(t,"|").concat(n,"|drive"),n=function(){var n="",t=vr.Dimensions.getInputValues(a),r=[];return t.total_weight&&r.push("wei=".concat(t.total_weight)),t.axle_weight&&r.push("axw=".concat(t.axle_weight)),t.total_length&&r.push("len=".concat(t.total_length)),t.width&&r.push("wid=".concat(t.width)),t.height&&r.push("hei=".concat(t.height)),0":">",'"':""","'":"'","`":"`"}),Rn=Dn(rn(b)),Nn=W.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Bn=/(.)^/,Fn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function Pn(n){return"\\"+Fn[n]}var qn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,r){t=an({},t=!t&&r?r:t,W.templateSettings);r=RegExp([(t.escape||Bn).source,(t.interpolate||Bn).source,(t.evaluate||Bn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(Ln,Pn),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!qn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,W)}).source="function("+r+"){\n"+i+"}",t}function Un(n,t,r){var e=(t=hn(t)).length;if(!e)return x(r)?r.call(n):r;for(var u=0;un.length)&&(t=n.length);for(var r=0,e=new Array(t);r":">",'"':""","'":"'","`":"`"}),Nn=Rn(en(b)),Fn=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Bn=/(.)^/,Ln={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Pn=/\\|'|\r|\n|\u2028|\u2029/g;function qn(n){return"\\"+Ln[n]}var Vn=/^\s*(\w|\$)+\s*$/;function Un(n,t,r){t=fn({},t=!t&&r?r:t,G.templateSettings);r=RegExp([(t.escape||Bn).source,(t.interpolate||Bn).source,(t.evaluate||Bn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(Pn,qn),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!Vn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,G)}).source="function("+r+"){\n"+i+"}",t}function Wn(n,t,r){var e=(t=vn(t)).length;if(!e)return x(r)?r.call(n):r;for(var u=0;un.length)&&(t=n.length);for(var r=0,e=new Array(t);r\n <% if (obj.hasOwnProperty(key)) { %>\n <% let dimension_label = obj[key].label; %>\n <% let value = obj[key].value; %>\n <%= dimension_label %><%= value %> \n <% }} %>\n "),e=hr.template("\n <% for (const key in obj) { %>\n <% if (obj.hasOwnProperty(key)) { %>\n <% let dimension_label = obj[key].label; %>\n <% let value = obj[key].value; %>\n \n <% }} %>\n "),u={};for(t in n){var i=n[t];u[t]={value:i.value,label:i.label}}document.getElementById("sygic-dimensions-summary-content").innerHTML=r(u),document.getElementById("sygic-dimensions-form-content").innerHTML=e(u)}function l(){document.getElementById("sygic-dimensions-form").classList.toggle("hidden"),document.getElementById("sygic-dimensions-summary").classList.toggle("hidden")}function s(){return(s=br(regeneratorRuntime.mark((function n(t,r){var e,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e="com.sygic.aura://coordinate|".concat(r,"|").concat(t,"|drive"),n.next=3,function(){return p.apply(this,arguments)}();case 3:return u=n.sent,u="".concat(e).concat(u).concat("&&&back_button|com.geotab.androidCheckmate"),n.abrupt("return",u);case 7:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function d(){return(d=br(regeneratorRuntime.mark((function n(t){var r,e,u,i,o,c,f;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:for(r={version:"3.1",directives:{vehicleType:"truck",routeComputeType:"truck"},vehicleRestrictions:{},routeParts:[]},e=0;e":">",'"':""","'":"'","`":"`"}),Tn=Dn(rn(b)),Nn=W.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Fn=/(.)^/,Bn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function Pn(n){return"\\"+Bn[n]}var qn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,r){t=an({},t=!t&&r?r:t,W.templateSettings);r=RegExp([(t.escape||Fn).source,(t.interpolate||Fn).source,(t.evaluate||Fn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(Ln,Pn),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!qn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,W)}).source="function("+r+"){\n"+i+"}",t}function Un(n,t,r){var e=(t=hn(t)).length;if(!e)return x(r)?r.call(n):r;for(var u=0;u Sygic Truck Settings

Sygic Truck Settings

Sygic Truck Settings tutorial

\ No newline at end of file + Sygic Truck Settings

Sygic Truck Settings

Sygic Truck Settings tutorial

\ No newline at end of file diff --git a/mygeotab-sygic-page/dist/mygeotabSygicPage.js b/mygeotab-sygic-page/dist/mygeotabSygicPage.js index 862b4fe..3511652 100644 --- a/mygeotab-sygic-page/dist/mygeotabSygicPage.js +++ b/mygeotab-sygic-page/dist/mygeotabSygicPage.js @@ -1 +1 @@ -!function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="https://cdn.jsdelivr.net/gh/sygic/geotab@1.2.5/mygeotab-sygic-page/dist/",r(r.s=4)}([function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return u})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return f})),r.d(t,"q",(function(){return a})),r.d(t,"t",(function(){return l})),r.d(t,"i",(function(){return s})),r.d(t,"r",(function(){return d})),r.d(t,"s",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return w})),r.d(t,"n",(function(){return j})),r.d(t,"b",(function(){return x}));var e="1.13.1",u="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},i=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,f=i.push,a=i.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1}).call(this,r(3))},function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return u})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return f})),r.d(t,"q",(function(){return a})),r.d(t,"t",(function(){return l})),r.d(t,"i",(function(){return s})),r.d(t,"r",(function(){return d})),r.d(t,"s",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return w})),r.d(t,"n",(function(){return j})),r.d(t,"b",(function(){return x}));var e="1.13.1",u="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},i=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,f=i.push,a=i.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1}).call(this,r(3))},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiWrapper=function(n){return{callAsync:function(t,r){return new Promise((function(e,u){n.call(t,r,(function(n){return e(n)}),(function(n){return u(n)}))}))},getSessionAsync:function(){return new Promise((function(t,r){n.getSession((function(n){t(n)}))}))}}},t.DimensionsModel=t.Dimensions=void 0,t.DimensionsStorage=function(n){var t="ajk3ZmUzNmQtYjNlYS0yMGI";return{getAllDimensionsModelsAsync:function(){var r=o(regeneratorRuntime.mark((function r(){var e;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n.callAsync("Get",{typeName:"AddInData",search:{addInId:t}});case 2:return e=(e=r.sent).map((function(n){var t=void 0;return!1===n.details.dimensions.isMetric&&(t=!1),!0===n.details.dimensions.isMetric&&(t=!0),c({},n.details.vehicle_id,b.getFromStringInputs(n.details.dimensions,t))})),r.abrupt("return",Object.assign.apply(Object,[{}].concat(f(e.map((function(n){return n}))))));case 5:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),getDimensionsModelAsync:function(){var r=o(regeneratorRuntime.mark((function r(e){var u,i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n.callAsync("Get",{typeName:"AddInData",search:{addInId:t,whereClause:'vehicle_id="'.concat(e,'"')}});case 2:if((i=r.sent)&&0n.length)&&(t=n.length);for(var r=0,e=new Array(t);r":">",'"':""","'":"'","`":"`"}),Fn=Dn(en(b)),Bn=z.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Rn=/(.)^/,qn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function Pn(n){return"\\"+qn[n]}var Vn=/^\s*(\w|\$)+\s*$/;function Wn(n,t,r){t=an({},t=!t&&r?r:t,z.templateSettings);r=RegExp([(t.escape||Rn).source,(t.interpolate||Rn).source,(t.evaluate||Rn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(Ln,Pn),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!Vn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,z)}).source="function("+r+"){\n"+i+"}",t}function Un(n,t,r){var e=(t=vn(t)).length;if(!e)return j(r)?r.call(n):r;for(var u=0;un.length)&&(t=n.length);for(var r=0,e=new Array(t);r'>\n
\n >\n
\n
\n
\n <%= vehicle.name %>\n
\n
\n
<%= vehicle_groups_string %>
\n
\n
\n
<%= vehicle_dimensions_string %>
\n
\n
\n \n
\n \n
\n\n "),l=0;l":">",'"':""","'":"'","`":"`"}),Tn=Nn(rn(b)),Fn=U.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Bn=/(.)^/,Rn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},qn=/\\|'|\r|\n|\u2028|\u2029/g;function Ln(n){return"\\"+Rn[n]}var Pn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,r){t=fn({},t=!t&&r?r:t,U.templateSettings);r=RegExp([(t.escape||Bn).source,(t.interpolate||Bn).source,(t.evaluate||Bn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(qn,Ln),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!Pn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,U)}).source="function("+r+"){\n"+i+"}",t}function Wn(n,t,r){var e=(t=hn(t)).length;if(!e)return j(r)?r.call(n):r;for(var u=0;un.length)&&(t=n.length);for(var r=0,e=new Array(t);r":">",'"':""","'":"'","`":"`"}),Fn=Dn(en(b)),Bn=z.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Rn=/(.)^/,qn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function Pn(n){return"\\"+qn[n]}var Vn=/^\s*(\w|\$)+\s*$/;function Wn(n,t,r){t=an({},t=!t&&r?r:t,z.templateSettings);r=RegExp([(t.escape||Rn).source,(t.interpolate||Rn).source,(t.evaluate||Rn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(Ln,Pn),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!Vn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,z)}).source="function("+r+"){\n"+i+"}",t}function Un(n,t,r){var e=(t=vn(t)).length;if(!e)return j(r)?r.call(n):r;for(var u=0;un.length)&&(t=n.length);for(var r=0,e=new Array(t);r'>\n
\n >\n
\n
\n
\n <%= vehicle.name %>\n
\n
\n
<%= vehicle_groups_string %>
\n
\n
\n
<%= vehicle_dimensions_string %>
\n
\n
\n \n
\n \n
\n\n "),l=0;l":">",'"':""","'":"'","`":"`"}),Tn=Nn(rn(b)),Fn=U.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Bn=/(.)^/,Rn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},qn=/\\|'|\r|\n|\u2028|\u2029/g;function Ln(n){return"\\"+Rn[n]}var Pn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,r){t=fn({},t=!t&&r?r:t,U.templateSettings);r=RegExp([(t.escape||Bn).source,(t.interpolate||Bn).source,(t.evaluate||Bn).source].join("|")+"|$","g");var e,u=0,i="__p+='";if(n.replace(r,(function(t,r,e,o,c){return i+=n.slice(u,c).replace(qn,Ln),u=c+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n",r=t.variable){if(!Pn.test(r))throw new Error("variable is not a bare identifier: "+r)}else i="with(obj||{}){\n"+i+"}\n",r="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{e=new Function(r,"_",i)}catch(t){throw t.source=i,t}return(t=function(n){return e.call(this,n,U)}).source="function("+r+"){\n"+i+"}",t}function Wn(n,t,r){var e=(t=hn(t)).length;if(!e)return j(r)?r.call(n):r;for(var u=0;u