Dataset Viewer
Auto-converted to Parquet Duplicate
project
stringclasses
15 values
file
stringclasses
19 values
content
stringlengths
692
76.8k
ACAProd
onlinehelper.js
let deviceid; // Funcion generica que permite hacer llamadas online asyncronas de forma sencilla function callOnlineApi(objself,apiName,data,callBackSuccess,callBackError,extra) { var objThis=this; let headers={"Content-Type" : "application/json"}; if (!isEmptyString(user["TOKEN"])) { headers["Autho...
ACAProd
logger.js
let DEBUG_WRITE_LOGS = false; function setLoggingEnabled(bEnabled) { DEBUG_WRITE_LOGS = bEnabled; } function getLogDirectory(fileManager) { let sExternalStorage = appData.getFilesPath(); let sACALogsDirectory = sExternalStorage + "/aca_logs"; if (fileManager.directoryExists(sACALogsDirectory) === 0) {...
ACAProd
smartdelay.js
function initSmartView(objSelf) { objSelf.MAP_TLTOP="Smart Delay"; // ##XONE_TRANSLATE_NEXT_LINE## objSelf.MAP_INFO="Cada d铆a es m谩s frecuente que cientos de viajeros escojan el avi贸n como medio de transporte habitual. En muchos casos, existe la posibilidad de experimentar retrasos en los horarios previstos...
ACAProd
ClassApp.js
var AppClass= function() { this.startLogin = function(objSelf) { this.apiUrl=null; this.racUrl=null; this.racAuth=null; this.acaWebUrl=null; this.chat=new ChatClass(objSelf); this.auth=new AuthClass(objSelf); this.racc=new RaccClass(objSelf); this...
ACAProd
vbscriptsupport.js
function VBScriptSupport() { this.cstr = function(value) { return safeToString(value); }; this.now = function() { return new Date(); }; this.len = function(str) { return safeToString(str).length; }; this.cint = function(value) { return parseInt(value); }; this.left = function(str, n) { if (n ...
ACAProd
ClassAser.js
var PolizaClass=function(objSelf) { this.timers = {}; this.loadPolizas=function(objSelf) { callOnlineApi(objSelf,"api/core/Polizas", { nsocio:user.NSOCIO, token:user.TOKEN, tokenExpired: user.TOKENEXPIRED, nif: objSelf.NIF } ,this.p...
ACAProd
funciones_chat.js
// Funcion para bloquear un listado de contents. // listContents: Listado de contents function lockContents(listContents){ var content = null; for(var i = 0; i < listContents.length; i++){ content = self.getContents(listContents[i]); if(content !== null){ content.lock(); } ...
ACAProd
funciones.js
function resultado(msg,prop,err) { this.mensaje = msg; this.prop = prop; this.error = err; } function isWatch() { return getDeviceType().indexOf("watch") != -1; } function getDeviceType(){ return appData.getGlobalMacro("##DEVICE_TYPE##"); } function getOS(){ return appData.getGlobalMacro("##D...
ACAProd
ClassChat.js
var ChatClass=function(objSelf) { this.objSelf=objSelf; this.actionsExecuted={checkEstado:0}; this.readMessages=function(objSelf, page) { callOnlineApi(objSelf,"api/Chat/ReadMessages", { chat:objSelf.MAP_CHAT, usuariofrom:user.LOGIN, count: 100, ...
ACAProd
ClassRACC.js
var RaccClass=function(objSelf) { this.objSelf=objSelf; this.actionsExecuted={checkEstado:0}; this.initView=function(objSelf, opcion) { if (opcion===3) { this.makeAsistCall(objSelf); return; } var inc=appData.getCollection("MasterIncidencias").getObject("ESTAD...
ACAProd
login.js
// Comprobar primero si el usuario puede entrar function checkFirstLogin(objSelf) { var coll=appData.getCollection("MasterSocios").loadAll(); if (coll.getCount()===0) { return loginSocio(objSelf); } var usr=coll.get(0); if (isEmptyString(usr.TOKEN)) { return loginSocio(objSelf); ...
ACAProd
utils.js
// Copiamos las propiedades de un objeto a otro // en fields va el formato // { // NOMBREOBJFROM:NOMBREOBJTO // } function copyObject(fromObject,toObject, fields) { try{ for (let fld in fields) { toObject[fld]=fromObject[fields[fld]]; } } catch(e){ ui.showToast(e.message);...
ACAProd
ClassAuth.js
var AuthClass = function(objSelf) { this.objSelf=objSelf; // Grabar el usuario this.saveUser=function(jsResult) { user.TOKEN = jsResult.token; user.FECHATOKEN = safeToDate(jsResult.fechatoken); user.save(); }; this.startLoginViewParams = function(objSelf) { objSe...
LottieJSON_EXP
functions.js
let sAllFiles = null; let nLastAnimationIndex = 0; // Funcion que se encarga de cargar una lista de archivos de animaciones en un formato espec铆fico function loadAnimationList() { // Inicia el gestor de archivos y configura los parametros let fm = new FileManager(); let params = { source : appDat...
Crypto_EXP
functions.js
// Funcion que obtiene una lista de algoritmos de resumen disponible y luego actualiza la vista de interfaz de usuario function listAvailableDigestAlgorithms() { // Obtiene la lista de algoritmos de resumen disponible let sAlgorithms = crypto.getAvailableDigestAlgorithms(); // Inicia un mensaje vacio e ite...
End of preview. Expand in Data Studio

Dataset Card for "xone_copilot_js"

More Information needed

Downloads last month
6