Your IP : 18.118.164.100


Current Path : /var/www/www-root/data/webdav/www/www.monolith-realty.ru/bitrix/js/mobileapp/
Upload File :
Current File : /var/www/www-root/data/webdav/www/www.monolith-realty.ru/bitrix/js/mobileapp/designer.map.js

{"version":3,"file":"designer.map.js","names":["window","BX","app","browser","IsIE","DetectIeVersion","Mobile","Events","CONFIG_CHANGED","CONFIG_READY","CONFIG_LOADED","CONFIG_LOADED_BEFORE","CONFIG_SAVED","APP_FILE_LIST_GOT","VIEWER_ELEMENT_SET_SIZE","VIEWER_ELEMENT_APPLY","VIEWER_ELEMENT_REDRAW","VIEWER_NEW_CONFIG_SET","PROJECT_REMOVED","APP_SWITCHER_REMOVE","APP_SWITCHER_CHANGE","Tools","extendProto","child","proto","element","prototype","highlight","node","rbgColor","restore","duration","d","fx","start","finish","step","type","time","callback","value","style","backgroundColor","callback_start","callback_complete","Designer","params","this","designerContainer","containerId","container","create","attrs","id","previewContainer","projects","apps","configs","saveTimeOutId","saveTimeOut","useAutoSave","editor","currentProject","currentPlatform","map","createForm","availablePlatforms","platforms","currentPlatformTab","isDataSet","data","setData","Project","name","desc","folder","config","files","hasFiles","code","Editor","imager","activeGroupId","saved","groups","controlList","groupedParams","lang","props","className","appendChild","init","Viewer","ViewerElement","viewer","options","addCustomEvent","proxy","onParameterValueChanged","redrawElement","isEmpty","watched","elementStrokeColor","cageStrokeColor","baseElement","canvasElement","valuesSet","bindedParameters","defaultValues","textShadowColor","text","textSize","textPosition","x","y","setBaseElement","bindedParams","paramKey","bindParameter","Controls","Base","langs","picker","imageDialog","displayElement","startChoose","_startChoose","onCreate","Select","superclass","constructor","apply","_setValue","foundValue","key","input","selectedIndex","setList","list","innerHTML","currentValueExists","html","message","parentNode","setValue","_getDisplayElement","i","length","push","getMessage","param","children","events","change","String","placeholder","conditions","enabledIf","checkConditions","cond","disabled","Number","limits","setAttribute","Image","src","image","preview","show","imageView","hide","getSrcByID","button","mouseover","addClass","mouseout","removeClass","click","bind","open","MultiImage","MultiValue","Boolean","toLowerCase","variants","defaultIndex","default","Color","colorBox","ControlsFactory","getControl","control","onEditorConfigChanged","clearTimeout","setTimeout","save","templates","platform","setConfig","draw","drawPanel","editorContainer","display","initedApp","appSwitcher","setCurrentProject","activeApp","showEmptyScreen","onEditorConfigLoad","onEditorConfigSave","executeRequest","command","onsuccess","onfailure","project","add","setActiveApp","setReady","getFiles","uploader","appCode","setFileList","setSaved","configList","platformTab","createPlatformTab","loadConfig","getConfig","addConfigButton","visibility","getPlatformsToCreate","_that","getAttribute","getSaved","toUpperCase","event","stopPropagation","cancelBubble","removePlatformConfig","target","saveButton","createButton","showCreateForm","removeApp","addButtonArea","e","showCreateConfigForm","panel","getDisplayElement","connectButton","urlToConnect","document","location","protocol","host","qrcode","connectInstructionBlock","urlBlock","connectInstructionBlockQr","qrcodeContainer","QRCode","width","height","qrwindow","PopupWindow","Math","random","content","draggable","titleBar","closeByEsc","contentColor","overlay","opacity","zIndex","buttons","PopupWindowButton","close","configLabel","onCustomEvent","emptyScreen","closeEmptyScreen","removeChild","_createForm","inited","hasErrors","fields","popupError","validatedFields","onChangeValidate","error","validate","isValid","PreventDefault","test","reset","templateList","highlightAllErrors","showError","fieldName","errorMessage","autoHide","lightShadow","angle","position","offset","offsetTop","offsetLeft","bindOptions","forceTop","forceLeft","setBindElement","initCreateForm","designer","keyup","appTemplateList","useOffline","for","selector","templateFolderName","group","label","template","alert","appTemplateName","checked","createNew","bindTemplate","createProject","popup","formContent","setContent","bindNode","platformsToCreate","createPlatformConfig","platformContainer","createConfigForm","lightShow","closeIcon","waitMessage","status","confirm","removeProject","remove","arrayProjects","Object","keys","showWait","bitrix_sessid","ajax","url","method","dataType","closeWait","onRemove","projectId","caller","right","top","firstParent","images","margin","fileUploadSuccess","uploadResult","element_id","addImageToList","element_thumbnail","element_url","img","onImageChosen","resizeOverlay","activeAppNode","that","itemValue","util","htmlspecialchars","appItem","onDelete","popupList","onChange","activeValueNode","appListContainer","darkMode","configObject","clone","setConfigReady","setImageReady","ready","imageReady","configReady","sortByParent","result","parent","controlListImage","BXColorPicker","Create","imageControls","hasOwnProperty","fileID","fileData","initGroupTabs","tab","propCont","table","paramList","subgroupLine","colspan","values","firstVariant","variant","varParam","getParamNameLine","createControl","getParamControlLine","showGroup","groupList","tabDiv","arguments","gid","setOnChangeHandler","jumpToControl","controlId","additionalControlIds","pathComponents","split","section","pos","animation","scrollTop","addControl","openFileDialog","designerEditorFileChosen","filename","path","messKey","replace","RegExp","getListElement","cells","sectionCount","sectionNumber","sectionBack","left","size","fill_mode","sectionText","textColor","setText","setTextSize","cellBack","cellText","detailText","cell","overflowY","overflowX","createTableScreen","overflow","getTopBarElement","getTitleElement","getButtonElement","getToolBarElement","createMainScreen","getBackButtonElement","getSlidingPanel","createLoadScreen","backButton","_customHandle","foundBackIcon","handleParameter","panelElements","slidingPanel","buttonWidth","round","bottom","addScreen","screen","screens","screenList","screenView","option","selectScreens","jumpToScreen","indexOf","viewerWrapper","except","priority","color","jumpToParam","configKey","configKeys","keyParam","jsUtils","in_array","createNode","_createNode","isBackgroundNeeded","watchedImage","watchedColor","valueColor","valueImage","configParamName","propertyName","paramValue","customHandle","isRedraw","delayedParamData","applyTimeout","getParamValue","canvas","context","getContext","clearRect","setSize","drawColor","drawImage","drawText","drawEmpty","parseInt","shadow","fillStyle","font","shadowOffsetY","shadowOffsetX","shadowColor","shadowBlur","textAlign","fillText","squareHeight","countH","countV","strokeStyle","beginPath","moveTo","lineTo","j","stroke","closePath","rect","fill","imageObj","fillMode","aspectRatio","naturalWidth","naturalHeight","diff","pat","createPattern","fireChange","changeListener","getInput","_getInput","console","func","toString","extend","items","itemsNode","imgCode","addItem","getDefaultCode","number","prefix","continueSearch","keyCode","blur","newCode","item","current","focus","select","fieldIndex","valueKey","inputValue","findChildren","tagName","valuesObject","background","deleteButton","clickHandler","pCont","oPar","OnSelect","Close","Open","changeColorHandler","oldValue"],"sources":["designer.js"],"mappings":"CAKA,WAEC,GAAIA,OAAOC,GAAG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