Your IP : 3.145.38.14


Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/js/mobileapp/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/js/mobileapp/designer.map.js

{"version":3,"file":"designer.min.js","sources":["designer.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","data-id","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","data-platform","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","data-app","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","data-gid","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","table/sections_background_color","sectionText","textColor","table/sections_text_color","table/sections_text_shadow_color","setText","setTextSize","cellBack","table/cell_background/color","table/row_height","table/cell_background/image","cellText","table/cell_text_color","table/cell_text_shadow_color","detailText","table/cell_detail_text_color","cell","overflowY","overflowX","createTableScreen","overflow","getTopBarElement","getTitleElement","getButtonElement","getToolBarElement","createMainScreen","controller_settings/main_background/color","controller_settings/main_background/image","controller_settings/main_background/fill_mode","getBackButtonElement","getSlidingPanel","createLoadScreen","controller_settings/loading_background/color","controller_settings/loading_background/image","controller_settings/loading_background/fill_mode","buttons/type","buttons/text_color","buttons/main_background_image","backButton","buttons/default_back_button","_customHandle","foundBackIcon","handleParameter","controller_settings/title_color","panelElements","slidingPanel","sliding_panel/background/color","sliding_panel/background/image","sliding_panel/background/image_large","buttonWidth","round","sliding_panel/text_color","controller_settings/navigation_bar_background/color","controller_settings/navigation_bar_background/image","bottom","controller_settings/toolbar_background/color","controller_settings/toolbar_background/image","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","data-code","keyCode","blur","newCode","item","current","focus","select","fieldIndex","valueKey","inputValue","findChildren","tagName","valuesObject","background","deleteButton","clickHandler","pCont","oPar","OnSelect","Close","Open","changeColorHandler","oldValue"],"mappings":"CAKA,WAEC,GAAIA,OAAOC,GAAGC,IAAK,MACnB,IAAID,GAAKD,OAAOC,EAEhB,IAAIA,EAAGE,QAAQC,QAAUH,EAAGE,QAAQE,kBAAoB,EACxD,CACC,MAAO,OAGRJ,EAAGK,QACFC,QACCC,eAAgB,wBAChBC,aAAc,sBACdC,cAAe,qBACfC,qBAAsB,2BACtBC,aAAc,sBACdC,kBAAmB,mBACnBC,wBAAyB,yBACzBC,qBAAsB,UACtBC,sBAAuB,WACvBC,sBAAuB,uBACvBC,gBAAiB,mBACjBC,oBAAqB,SACrBC,oBAAqB,UAEtBC,OACCC,YAAa,SAAUC,EAAOC,GAE7B,IAAK,GAAIC,KAAWD,GACpB,CACCD,EAAMG,UAAUD,GAAWD,EAAMC,KAGnCE,UAAW,SAAUC,EAAMC,EAAUC,EAASC,GAE7C,GAAIC,GAAI,EAAaD,EAAW,EAEhC,IAAK9B,GAAGgC,IACPC,MAAO,EACPC,OAAQ,GACRC,KAAM,KACNC,KAAM,cACNC,KAAMN,EACNO,SAAU,SAAUC,GAEnBZ,EAAKa,MAAMC,gBAAkB,QAAUb,EAAS,GAAK,IAAMA,EAAS,GAAK,IAAMA,EAAS,GAAK,IAAMW,EAAQ,IAAM,KAElHG,eAAgB,aAIhBC,kBAAmB,WAElB,SAAWd,IAAW,aAAeA,IAAY,MAChD,MACD,IAAK7B,GAAGgC,IACPC,MAA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