cadviewer 6.8.66 → 6.8.71
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.
|
@@ -308,9 +308,7 @@ import white_color from '../../images/white_color.png';
|
|
|
308
308
|
import yellow_color from '../../images/yellow_color.png';
|
|
309
309
|
import ZoomExtentsDevice from '../../images/ZoomExtentsDevice.png';
|
|
310
310
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
// for Angular asset import is needed
|
|
311
|
+
// for Angular asset import is needed
|
|
314
312
|
|
|
315
313
|
const jQuery = require('jquery'); // reactjs headers - npm i jquery
|
|
316
314
|
const Snap = require('snapsvg-cjs'); // reactjs headers - npm i snapsvg-cjs
|
|
@@ -326,7 +324,6 @@ const multiselect = require('react-bootstrap-multiselect'); // reactjs - npm i
|
|
|
326
324
|
const qtip = require('qtip2'); // reactjs - npm i qtip2
|
|
327
325
|
const jscolor = require('@eastdesire/jscolor'); // reactjs - npm install @eastdesire/jscolor
|
|
328
326
|
|
|
329
|
-
|
|
330
327
|
// REACTJS export interface
|
|
331
328
|
// VUEJS export interface
|
|
332
329
|
// ANGULAR export interface
|
|
@@ -2235,14 +2232,14 @@ cadviewer_full_commands_01;
|
|
|
2235
2232
|
// END REACTJS and ANGULAR placeholders for all callbackmethods
|
|
2236
2233
|
//*/
|
|
2237
2234
|
|
|
2238
|
-
var cvjs_versionNumber="CADViewer - v6.8.
|
|
2235
|
+
var cvjs_versionNumber="CADViewer - v6.8.70l",cvjs_AXversionNumber="",cvjs_Community_Version=!0,reactstaticbindxml=!1,reactstaticbindbitmap=!0,vuestaticbindxml=!1,vuestaticbindbitmap=!0,angularstaticbindxml=!1,angularstaticbindbitmap=!1,llccktrace=!1,cvjs_firstLoadViewBoxX=0,cvjs_firstLoadViewBoxY=0,cvjs_firstLoadViewBoxW=0,cvjs_firstLoadViewBoxH=0,cvjs_interactiveZoomWidthAdjustment=!0,cvjs_tmsMinLineWidth_init=0,cvjs_tmsMinFixedLineWidth_init=0,cvjs_measurementSnapMode="none",cvjs_dragModalTouchPad_x=0,cvjs_dragModalTouchPad_y=
|
|
2239
2236
|
0,cvjs_jsonLocation="",cvjs_isAngular=!1,cvjs_firstCloneHandle="",cvjs_firstCloneHandleFlag=!1,cvjs_setProcessHandleObjects=!1,cvjs_layerlist_layeritemsmax=120,pt1="htt",lt1="log",lt2="oJS",lt3=".p",lt4="ng",cvjs_insertSpaceObjectCustomCodePlaceholder,cvjs_EmailSentStatus,cvjs_OnLoadEnd,cvjs_graphicalObjectOnChange,cvjs_OnLoadEndRedlines,cvjs_ObjectSelected,cvjs_measurementCallback,cvjs_CalibrateMeasurementCallback,cvjs_Url_callback,cvjs_loadSpaceImage_UserConfiguration,cvjs_NoObjectSelected,cvjs_SVGfileObjectClicked,
|
|
2240
2237
|
cvjs_SVGfileObjectMouseEnter,cvjs_SVGfileObjectMouseLeave,cvjs_SVGfileObjectMouseMove,cvjs_ParseDisplayDataMaps,cvjs_QuickCountCallback,cvjs_OnHyperlinkClick,cvjs_setUpStickyNotesRedlines,custom_host_parser_PopUpMenu,cvjs_customHostParser,drawPathsGeneric,cvjs_callbackForModalDisplay,cvjs_populateMyCustomPopUpBody,cvjs_customModalPopUpBody,cvjs_NoObjectSelectedStickyNotes,cvjs_NoObjectSelectedHyperlinks,cvjs_ObjectSelectedHyperlink,cvjs_ObjectSelectedStickyNotes,cvjs_saveStickyNotesRedlinesUser,cvjs_loadStickyNotesRedlinesUser,
|
|
2241
|
-
my_own_clickmenu1,my_own_clickmenu2,cvjs_popupTitleClick,cvjs_mousedown,cvjs_click,cvjs_dblclick,cvjs_mouseout,cvjs_mouseover,cvjs_mouseleave,cvjs_mouseenter,cvjs_graphicalObjectCreated,printWindow,tms_rest_api_url,api_data,vBHo,vBWo,spc,bRoom,spaceLayer,tipText,brd,cvjs_svgWidth,rebuild_drop_spaces,cvjs_active_floorplan_div_nr=
|
|
2242
|
-
FacMgr_phone,refresh_rate,id_data_connector,id_data_parser,id_publish_location,id_main_data_layer,id_datafield1_name,id_datafield1_value,id_datafield2_name,id_datafield2_value,id_datalayer1_name,id_datalayer1_value,id_datalayer2_name,id_datalayer2_value,FileName="",layer_hyperlinks,user_name,user_id,current_selected_filename,
|
|
2243
|
-
printDebugFlag=!1,cvjs_3Ddrawings=!1,cvjs_NodeJSserver=!1,cvjs_AngularFlag=!1,cvjs_layerList_checkbox=!1,cvjs_CompareFiles_CustomFileModalContent_flag=!1,cvjs_CompareFiles_CustomFileModalContent=[],cvjs_directFileLoad=!1,cvjs_directFileLoadPath="",cvjs_mergeDXFDWG_downloadMode=!1,demoonly_customHandleChange=!1,cvjs_PrintIconDisabled=
|
|
2244
|
-
"",rest_ServiceToken="",rest_leaveStreamOnServer=0,cvjs_preConversionFileExtension=[],cvjs_preConversionFileName=[],cvjs_interactiveMethod_Active=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],cvjs_devMode=!1,fileExtensionLower="",cvjs_custom_print_to_pdf=!1,cvjs_encodeURIcall_server
|
|
2245
|
-
!1,cvjs_multipagePDFtoSVG_PhpLoadFlag=!1,cvjs_bitmapFileNameIsServerPath_flag=!1,cvjs_bitmapLoadFlag=!1,cvjs_last_FileName_PDF="",cvjs_rPaper=[],cvjs_masterBackground=[];cvjs_active_floorplan_div_nr=0;
|
|
2238
|
+
my_own_clickmenu1,my_own_clickmenu2,cvjs_popupTitleClick,cvjs_mousedown,cvjs_click,cvjs_dblclick,cvjs_mouseout,cvjs_mouseover,cvjs_mouseleave,cvjs_mouseenter,cvjs_graphicalObjectCreated,custom_callback1,custom_callback2,custom_callback3,custom_callback4,custom_callback5,custom_callback6,custom_callback7,custom_callback8,custom_callback9,custom_callback10,printWindow,tms_rest_api_url,api_data,vBHo,vBWo,spc,bRoom,spaceLayer,tipText,brd,cvjs_svgWidth,rebuild_drop_spaces,cvjs_active_floorplan_div_nr=
|
|
2239
|
+
0,layer_thumb,fileName,unlink_flag,unlink_file,worldUnits,api_proxy_url,usr,pwd,building_name,company,address,city,zipcode,state,country,FacMgr_name,FacMgr_title,FacMgr_email,FacMgr_phone,refresh_rate,id_data_connector,id_data_parser,id_publish_location,id_main_data_layer,id_datafield1_name,id_datafield1_value,id_datafield2_name,id_datafield2_value,id_datalayer1_name,id_datalayer1_value,id_datalayer2_name,id_datalayer2_value,FileName="",layer_hyperlinks,user_name,user_id,current_selected_filename,
|
|
2240
|
+
current_selected_shortname,delete_filename,delete_floor,hidefield_name1,hidefield_name2,pt2="ps://",qrcode,use_as_QR_code_bitmap_filname,handleUpdates,dataHandleString,myLocation,printDebugFlag=!1,cvjs_3Ddrawings=!1,cvjs_NodeJSserver=!1,cvjs_AngularFlag=!1,cvjs_layerList_checkbox=!1,cvjs_CompareFiles_CustomFileModalContent_flag=!1,cvjs_CompareFiles_CustomFileModalContent=[],cvjs_directFileLoad=!1,cvjs_directFileLoadPath="",cvjs_mergeDXFDWG_downloadMode=!1,demoonly_customHandleChange=!1,cvjs_PrintIconDisabled=
|
|
2241
|
+
[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],rest_serviceCall=!1,rest_applicationPlatform="",rest_applicationPlatformUsername="",rest_applicationPlatformUserID="",rest_ServiceToken="",rest_leaveStreamOnServer=0,cvjs_preConversionFileExtension=[],cvjs_preConversionFileName=[],cvjs_interactiveMethod_Active=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],cvjs_devMode=!1,fileExtensionLower="",cvjs_custom_print_to_pdf=!1,cvjs_encodeURIcall_server=
|
|
2242
|
+
!0,cvjs_currentFileFromJSTreeFolder="",cvjs_PrintModal_PrintPDF=!1,cvjs_PrintModal_PrintResolution=!1,cvjs_PrintModal_PrintToScale=!1,cvjs_print_to_pdf_windowRelativeSize=.4,cvjs_addedObjectsToExtents=!1,cvjs_multipagePDFtoSVG_PhpLoadFlag=!1,cvjs_bitmapFileNameIsServerPath_flag=!1,cvjs_bitmapLoadFlag=!1,cvjs_last_FileName_PDF="",cvjs_rPaper=[],cvjs_masterBackground=[];cvjs_active_floorplan_div_nr=0;
|
|
2246
2243
|
var floorplans_divs_Initialized=" ".split(" "),cvjs_loaddrawing_FileNamePath=" ".split(" "),cvjs_loadDrawing_conversionMode=!1,cvjs_conversion_originatingFile=" ".split(" "),cvjs_conversion_originatingFileNameNoExtension=" ".split(" "),cvjs_conversion_originatingUsername=" ".split(" "),
|
|
2247
2244
|
cvjs_conversion_originatingPassword=" ".split(" "),pt3="ca",cvjs_loadInProgress=!1,layers_all,multiPages=[{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,
|
|
2248
2245
|
pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",
|
|
@@ -2617,15 +2614,15 @@ success:function(a){cvjs_ajaxPostStatus_thumbNails=!0;7==cvjs_serverSavePrintMod
|
|
|
2617
2614
|
cvjs_serverSavePrintModeController=0)}}):2==cvjs_serverSavePrintModeController?jQuery.ajax({url:cvjs_phpImagesUrlController,type:"post",data:cvjs_serverSave_php_controllerArray,success:function(a){cvjs_LoadDrawing(floorplan_div_Array[cvjs_active_floorplan_div_nr],cvjs_drawingFilesArray[cvjs_batchDrawingsArrLength_globalCounter++])}}):3==cvjs_serverSavePrintModeController||4==cvjs_serverSavePrintModeController||5==cvjs_serverSavePrintModeController?(3==cvjs_serverSavePrintModeController&&cvjs_printSavedBitmapToPDF(),
|
|
2618
2615
|
4==cvjs_serverSavePrintModeController&&cvjs_printSavedBitmapToPDF_email(),5==cvjs_serverSavePrintModeController&&cvjs_printSavedBitmapToPDF_uploadServer()):(jQuery("#cvjs_wait_looper_"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).hide(),0==cvjs_serverSavePrintModeController&&(printWindow=window.open(u,"CADViewer - Print","height="+.5*window.screen.height+",width="+.5*window.screen.width),printWindow.focus()),6==cvjs_serverSavePrintModeController&&cvjs_pngForSVG(u)):cvjs_debug&&console.log(r+
|
|
2619
2616
|
" saving serverString 11 not implemented")}}))}}))}}))}}))}}))}}))}}))}}))}}))}})}var cvjs_displayMagnifyingGlassFlag=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],cvjs_firstDisplayMagnifying=[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0];
|
|
2620
|
-
function cvjs_displayMagnifyingGlass(a){a.lastIndexOf("_svg")!=a.length-4&&(a+="_svg");cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr]=!cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr];if(cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr]){if(
|
|
2621
|
-
viewBox_X_magn=0;if(cvjs_firstDisplayMagnifying[cvjs_active_floorplan_div_nr]){cvjs_firstDisplayMagnifying[cvjs_active_floorplan_div_nr]=!1;var b=jQuery("#"+a).position(),c=b.top+40;b=b.left+jQuery("#"+a).width()-648;400>b&&(b=400);console.log(c+" "+b);jQuery("#cvjs_floorPlanMagnifyingGlassEncapsulate_"+a).offset({left:150+jQuery("#"+a).position().left,top:150+jQuery("#"+a).position().top})}jQuery("#cvjs_floorPlanMagnifyingGlassEncapsulate_"+a).show();cvjs_addHandleFunc_ZoomMagnifyingGlass()}
|
|
2622
|
-
a).hide(),cvjs_removeHandleFunc_ZoomMagnifyingGlass(),cvjs_interactiveMethod_Active[cvjs_active_floorplan_div_nr]=!1,tPath_r="M0,0",tRubberBand_r.attr({path:tPath_r})
|
|
2617
|
+
function cvjs_displayMagnifyingGlass(a){a.lastIndexOf("_svg")!=a.length-4&&(a+="_svg");cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr]=!cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr];if(cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr]){if(cvjs_interactiveMethod_Active[cvjs_active_floorplan_div_nr])return;cvjs_interactiveMethod_Active[cvjs_active_floorplan_div_nr]=!0;viewBoxWidth_magn=viewBoxHeight_magn=viewBox_Y_magn=
|
|
2618
|
+
viewBox_X_magn=0;if(cvjs_firstDisplayMagnifying[cvjs_active_floorplan_div_nr]){cvjs_firstDisplayMagnifying[cvjs_active_floorplan_div_nr]=!1;var b=jQuery("#"+a).position(),c=b.top+40;b=b.left+jQuery("#"+a).width()-648;400>b&&(b=400);console.log(c+" "+b);jQuery("#cvjs_floorPlanMagnifyingGlassEncapsulate_"+a).offset({left:150+jQuery("#"+a).position().left,top:150+jQuery("#"+a).position().top})}jQuery("#cvjs_floorPlanMagnifyingGlassEncapsulate_"+a).show();cvjs_addHandleFunc_ZoomMagnifyingGlass()}else jQuery("#cvjs_floorPlanMagnifyingGlassEncapsulate_"+
|
|
2619
|
+
a).hide(),cvjs_removeHandleFunc_ZoomMagnifyingGlass(),cvjs_interactiveMethod_Active[cvjs_active_floorplan_div_nr]=!1,tPath_r="M0,0",tRubberBand_r.attr({path:tPath_r});jQuery(this).ready(function(){idleTime=0;setInterval(function(){idleTime++;2<idleTime&&cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr]&&magnify_startflag&&(magnify_startflag=!1,cvjs_magnifyCanvasDrawn&&0==!viewBox_X_magn&&0==!viewBox_Y_magn&&(cvjs_magnifyCanvasDrawn=!1,cvjs_renderMagnifyingGlass(viewBox_X_magn,viewBox_Y_magn,
|
|
2620
|
+
viewBoxWidth_magn,viewBoxHeight_magn)))},100);jQuery(this).mousemove(function(a){idleTime=0;magnify_startflag=!0})})}function cvjs_exitBirdsEye(a){cvjs_interactiveMethod_Active[cvjs_active_floorplan_div_nr]=!1;cvjs_displayMagnifyingGlassFlag[cvjs_active_floorplan_div_nr]=!1;jQuery("#cvjs_floorPlanMagnifyingGlassEncapsulate_"+a).hide();cvjs_removeHandleFunc_ZoomMagnifyingGlass();tPath_r="M0,0";tRubberBand_r.attr({path:tPath_r})}
|
|
2623
2621
|
function cvjs_addHandleFunc_ZoomMagnifyingGlass(){tPath_r="M"+firstX_r+","+firstY_r;tRubberBand_r=cvjs_rPaper[cvjs_active_floorplan_div_nr].path(tPath_r).attr({stroke:"#b00000",fill:"none"});canvas_width=jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).width();canvas_height=jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).height();var a=jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).position();global_scale_X=canvas_width/viewBoxWidth[cvjs_active_floorplan_div_nr];
|
|
2624
2622
|
global_scale_Y=canvas_height/viewBoxHeight[cvjs_active_floorplan_div_nr];global_scale=global_scale_X<global_scale_Y?global_scale_X:global_scale_Y;delta_x=(canvas_width-viewBoxWidth[cvjs_active_floorplan_div_nr]*global_scale)/2-viewBox[cvjs_active_floorplan_div_nr].X*global_scale+a.left;delta_y=(canvas_height-viewBoxHeight[cvjs_active_floorplan_div_nr]*global_scale)/2-viewBox[cvjs_active_floorplan_div_nr].Y*global_scale+a.top;handleGroup=cvjs_rPaper[cvjs_active_floorplan_div_nr].rect(actualLLX[cvjs_active_floorplan_div_nr],
|
|
2625
2623
|
actualLLY[cvjs_active_floorplan_div_nr],actualURX[cvjs_active_floorplan_div_nr]-actualLLX[cvjs_active_floorplan_div_nr],actualURY[cvjs_active_floorplan_div_nr]-actualLLY[cvjs_active_floorplan_div_nr]).attr({fill:"#fff","fill-opacity":"0.01"});handleGroup.mousemove(move_cvjs_create_zoommagnify_rectangle)}function cvjs_removeHandleFunc_ZoomMagnifyingGlass(){handleGroup.selectAll("handler").remove();handleGroup.remove()}
|
|
2626
2624
|
var start_cvjs_create_zoommagnify_rectangle=function(){flag_rectangle=!1;var a=viewBoxWidth[cvjs_active_floorplan_div_nr]/400,b="#0b0b0b";cvjs_blackBackground&&(b="#FbFbFb");console.log(cvjs_blackBackground+" "+b);a=jQuery.parseJSON('{"stroke": "'+b+'", "fill" : "none", "stroke-opacity": "0.5", "stroke-width": "'+a+'"}');tRubberBand_r.attr(a)},zoomwindow_counter=0,cvjs_magnifyingGlassWidth=648,cvjs_magnifyingGlassHeight=450,cvjs_magnifyCanvasDrawn=!0,magnify_startflag=!0,startTime,deltaDist_pre,
|
|
2627
|
-
delta_dist,idleTime
|
|
2628
|
-
var viewBox_X_magn,viewBox_Y_magn,viewBoxHeight_magn,viewBoxWidth_magn;
|
|
2625
|
+
delta_dist,idleTime,viewBox_X_magn,viewBox_Y_magn,viewBoxHeight_magn,viewBoxWidth_magn;
|
|
2629
2626
|
function cvjs_move_birdseye(a,b){var c=(actualURX[cvjs_active_floorplan_div_nr]-actualLLX[cvjs_active_floorplan_div_nr])/20;a+=document.body.scrollLeft;b+=document.body.scrollTop;firstX_r=a;firstY_r=b;tPath_r="M"+((firstX_r-delta_x)/global_scale-1.44*c)+","+((firstY_r-delta_y)/global_scale-c);tPath_r+="h"+2.88*c+"v"+2*c+"h"+-2.88*c+"v"+-2*c+" Z";tRubberBand_r.attr({path:tPath_r});viewBox_X_magn=(firstX_r-delta_x)/global_scale-.98*c;viewBox_Y_magn=(firstY_r-delta_y)/global_scale-.98*c;viewBoxHeight_magn=
|
|
2630
2627
|
1.92*c;viewBoxWidth_magn=1.92*c;delta_dist=Math.sqrt(Math.pow(a-lastX_r,2)+Math.pow(b-lastY_r,2))}var move_cvjs_create_zoommagnify_rectangle=function(a,b,c){cvjs_move_birdseye(b,c)};
|
|
2631
2628
|
function cvjs_renderMagnifyingGlass(a,b,c,d){-1<navigator.userAgent.indexOf("MSIE")||navigator.userAgent.indexOf("Trident");navigator.userAgent.indexOf("Firefox");var e=cvjs_rPaper[cvjs_active_floorplan_div_nr].toString();var f=e.substring(0,e.indexOf("width:")+6);e=e.substring(e.indexOf("height:")+6);e=e.substring(e.indexOf(";"));e=f+cvjs_magnifyingGlassWidth+"; height:"+cvjs_magnifyingGlassHeight+e;f=e.substring(0,e.indexOf("viewBox=")+9);e=e.substring(e.indexOf("viewBox=")+10);e=e.substring(e.indexOf('"'));
|
|
@@ -3733,23 +3730,32 @@ case "cvjs_CalibrateMeasurementCallback":cvjs_CalibrateMeasurementCallback=b;bre
|
|
|
3733
3730
|
b;break;case "cvjs_ParseDisplayDataMaps":cvjs_ParseDisplayDataMaps=b;break;case "cvjs_QuickCountCallback":cvjs_QuickCountCallback=b;break;case "cvjs_OnHyperlinkClick":cvjs_OnHyperlinkClick=b;break;case "cvjs_setUpStickyNotesRedlines":cvjs_setUpStickyNotesRedlines=b;break;case "custom_host_parser_PopUpMenu":custom_host_parser_PopUpMenu=b;break;case "cvjs_customHostParser":cvjs_customHostParser=b;break;case "drawPathsGeneric":drawPathsGeneric=b;break;case "cvjs_callbackForModalDisplay":cvjs_callbackForModalDisplay=
|
|
3734
3731
|
b;break;case "cvjs_populateMyCustomPopUpBody":cvjs_populateMyCustomPopUpBody=b;break;case "cvjs_customModalPopUpBody":cvjs_customModalPopUpBody=b;break;case "cvjs_NoObjectSelectedStickyNotes":cvjs_NoObjectSelectedStickyNotes=b;break;case "cvjs_NoObjectSelectedHyperlinks":cvjs_NoObjectSelectedHyperlinks=b;break;case "cvjs_ObjectSelectedHyperlink":cvjs_ObjectSelectedHyperlink=b;break;case "cvjs_ObjectSelectedStickyNotes":cvjs_ObjectSelectedStickyNotes=b;break;case "cvjs_saveStickyNotesRedlinesUser":cvjs_saveStickyNotesRedlinesUser=
|
|
3735
3732
|
b;break;case "cvjs_loadStickyNotesRedlinesUser":cvjs_loadStickyNotesRedlinesUser=b;break;case "my_own_clickmenu1":my_own_clickmenu1=b;break;case "my_own_clickmenu2":my_own_clickmenu2=b;break;case "cvjs_popupTitleClick":cvjs_popupTitleClick=b;break;case "cvjs_mousedown":cvjs_mousedown=b;break;case "cvjs_click":cvjs_click=b;break;case "cvjs_dblclick":cvjs_dblclick=b;break;case "cvjs_mouseout":cvjs_mouseout=b;break;case "cvjs_mouseover":cvjs_mouseover=b;break;case "cvjs_mouseleave":cvjs_mouseleave=b;
|
|
3736
|
-
break;case "cvjs_mouseenter":cvjs_mouseenter=b;break;case "cvjs_change_space":cvjs_change_space=b;break;case "cvjs_graphicalObjectCreated":cvjs_graphicalObjectCreated=b;break;
|
|
3733
|
+
break;case "cvjs_mouseenter":cvjs_mouseenter=b;break;case "cvjs_change_space":cvjs_change_space=b;break;case "cvjs_graphicalObjectCreated":cvjs_graphicalObjectCreated=b;break;case "custom_callback1":custom_callback1=b;break;case "custom_callback2":custom_callback2=b;break;case "custom_callback3":custom_callback3=b;break;case "custom_callback4":custom_callback4=b;break;case "custom_callback5":custom_callback5=b;break;case "custom_callback6":custom_callback6=b;break;case "custom_callback7":custom_callback7=
|
|
3734
|
+
b;break;case "custom_callback8":custom_callback8=b;break;case "custom_callback9":custom_callback9=b;break;case "custom_callback10":custom_callback10=b;break;default:console.log("NO cvjs_setCallbackMethod "+a)}}var cvjs_supressHyperlinkColors=!1,cvjs_callbackForModalDisplayVar=!1,cvjs_standardHighLightColors=!0;function cvjs_setCallbackForModalDisplay(a,b,c){cvjs_callbackForModalDisplayVar=a;cvjs_customModalPopUpBody=b;cvjs_populateMyCustomPopUpBody=c}
|
|
3737
3735
|
function cvjs_setCreationMode(a,b,c){cvjs_supressPopUpModal=a;cvjs_standardHighLightColors=1==b?!1:!0;if(1==cvjs_supressPopUpModal)for(var d in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:"",title:""},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"true"}),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip("destroy");
|
|
3738
3736
|
else for(d in textLayer1=cvjs_clearTextLayer(textLayer1),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")!=c){a=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id_link",a);a='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+a+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("name")+
|
|
3739
|
-
'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+a+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("type")+"</h4></td></tr></table>";b=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))b=b.
|
|
3740
|
-
b=b.
|
|
3741
|
-
|
|
3742
|
-
|
|
3737
|
+
'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+a+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("type")+"</h4></td></tr></table>";b=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))b=b.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),
|
|
3738
|
+
b=b.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=
|
|
3739
|
+
b.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),
|
|
3740
|
+
b=b.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),b=b.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id"));
|
|
3741
|
+
dual_hbody_flag&&(-1<=parseInt(cvjs_currentNode_id)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:b,title:a},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:hbody_2,title:a},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
3742
|
+
at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:b,title:a},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"})}else cvjs_debug&&console.log("here "+c)}
|
|
3743
3743
|
function cvjs_setNoModalMode(a){cvjs_supressPopUpModal=a;cvjs_standardHighLightColors=!0;if(1==cvjs_supressPopUpModal)for(var b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip({content:{text:"",title:""},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"true"}),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip("destroy");
|
|
3744
3744
|
else for(b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr]){a=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id_link",a);a='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+a+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+a+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+
|
|
3745
|
-
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("type")+"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.
|
|
3746
|
-
c=c.
|
|
3747
|
-
|
|
3745
|
+
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("type")+"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),
|
|
3746
|
+
c=c.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback4()",
|
|
3747
|
+
"custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback8()",
|
|
3748
|
+
"custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")),c=c.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"));dual_hbody_flag&&(-1<=parseInt(cvjs_currentNode_id)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip({content:{text:c,title:a},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
3749
|
+
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip({content:{text:hbody_2,title:a},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip({content:{text:c,title:a},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
3750
|
+
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"})}}
|
|
3748
3751
|
function cvjs_setCustomModalsContent(a,b,c){cvjs_supressPopUpModal=!1;cvjs_standardHighLightColors=!0;if(1==cvjs_supressPopUpModal)for(var d in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:"",title:""},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"true"}),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip("destroy");
|
|
3749
3752
|
else for(d in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr]){b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id_link",b);b='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+b+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+
|
|
3750
|
-
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("type")+"</h4></td></tr></table>";c=a;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.
|
|
3751
|
-
"cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id"))
|
|
3752
|
-
|
|
3753
|
+
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("type")+"</h4></td></tr></table>";c=a;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),
|
|
3754
|
+
c=c.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback4()",
|
|
3755
|
+
"custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback8()",
|
|
3756
|
+
"custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),c=c.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id"));cvjs_debug&&console.log(" "+d);dual_hbody_flag&&(-1<=parseInt(cvjs_currentNode_id)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:c,
|
|
3757
|
+
title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:hbody_2,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:c,
|
|
3758
|
+
title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"})}}
|
|
3753
3759
|
var cvjs_currentNode_underbar="NODE_",cvjs_currentNode_name="unassigned",cvjs_currentNode_id="unassigned",cvjs_currentNode_layer="unassigned",cvjs_currentNode_group="unassigned",cvjs_currentNode_attributes="unassigned",cvjs_currentNode_attributeStatus="unpopulated",cvjs_currentNode_occupancy="unassigned",cvjs_currentNode_type="unassigned",cvjs_currentNode_tags="unassigned",cvjs_currentNode_linked=!1,cvjs_currentNode_tborderId="unassigned",cvjs_currentNode_textId=[],cvjs_currentNode_translate_x=0,
|
|
3754
3760
|
cvjs_currentNode_translate_y=0,cvjs_currentNode_scale_x=1,cvjs_currentNode_scale_y=1,cvjs_currentNode_rotate=1,cvjs_currentNode_transform="",cvjs_currentNode_area="",cvjs_currentNode_defaultcolor="undefined",cvjs_currentNode_highlightcolor="undefined",cvjs_currentNode_selectcolor="undefined",cvjs_currentNode_displaySpaceObject="on",cvjs_currentNode_customContent="undefined",cvjs_currentNode_pageNumber=0,cvjs_currentNode_pageName="Model",cvjs_currentStickyNote_underbar="SNOTE_",cvjs_currentStickyNote_name=
|
|
3755
3761
|
"unassigned",cvjs_currentStickyNote_id="unassigned",cvjs_currentStickyNote_layer="RedlineLayer",cvjs_currentStickyNote_group="unassigned",cvjs_currentStickyNote_text="",cvjs_currentStickyNote_userid="unassigned",cvjs_currentStickyNote_date="unassigned",cvjs_currentStickyNote_linked=!0,cvjs_currentStickyNote_transform="none",cvjs_currentStickyNote_currentPage=1,cvjs_currentStickyNote_drawingRotation=0,cvjs_currentRedline_underbar="RED_",cvjs_currentRedline_name="unassigned",cvjs_currentRedline_id=
|
|
@@ -3822,9 +3828,11 @@ cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].removeData("attributes
|
|
|
3822
3828
|
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("area",q),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id",b),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("name",c),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("layer",d),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("group",e),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("attributes",f),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("attributeStatus",
|
|
3823
3829
|
g),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("type",h),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("tags",k),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("occupancy",l),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("linked",m),1==cvjs_supressPopUpModal)jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].node).qtip({content:{text:"",title:""},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
3824
3830
|
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"true"}),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].node).qtip("destroy");else{var t=b.replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id_link",t);t='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+t+'">'+c+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+t+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+
|
|
3825
|
-
h+"</h4></td></tr></table>";var r=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))r=r.
|
|
3826
|
-
|
|
3827
|
-
|
|
3831
|
+
h+"</h4></td></tr></table>";var r=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))r=r.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+b),r=r.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+b),r=r.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+b),r=r.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback2()",
|
|
3832
|
+
"custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback6()",
|
|
3833
|
+
"custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id")),r=r.replaceAll("custom_callback10()",
|
|
3834
|
+
"custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].data("id"));dual_hbody_flag&&(-1<=parseInt(b)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].node).qtip({content:{text:r,title:t},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].node).qtip({content:{text:hbody_2,title:t},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
3835
|
+
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][p].node).qtip({content:{text:r,title:t},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"})}}function cvjs_addVqRoomsGraphics_newNode_polygon(a,b){a=b.data("node",a);cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr].push(a)}
|
|
3828
3836
|
function cvjs_addVqRoomsGraphics_newNode_circle(a,b){var c=b.toString();b.attr({transform:"S0.001",opacity:"1"});cvjs_rPaper[cvjs_active_floorplan_div_nr].circle(0,0,1,1).attr({stroke:"#000000","stroke-width":"0.01",fill:"none","fill-opacity":"0.01",opacity:"0.01"});b=c.indexOf(" cx=");b=c.substring(b+5);var d=b.indexOf('"');b=b.substring(0,d);d=c.indexOf(" cy=");d=c.substring(d+5);var e=d.indexOf('"');d=d.substring(0,e);e=c.indexOf(" r=");e=c.substring(e+4);var f=e.indexOf('"');e=e.substring(0,f);
|
|
3829
3837
|
f=c.indexOf("transform=");f=c.substring(f+11);var g=f.indexOf('"');if(-1<f.substring(0,g).indexOf("matrix")){d=c.indexOf("(");c=c.substring(d+1);b=c.indexOf(",");e=c.substring(0,b);for(b=0;4>b;b++)d=c.indexOf(","),c=c.substring(d+1);d=c.indexOf(",");b=c.substring(0,d);c=c.substring(d+1);d=c.indexOf(")");d=c.substring(0,d)}cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr].push(cvjs_rPaper[cvjs_active_floorplan_div_nr].circle(b,d,e,e).attr({fill:"#ff9999","fill-opacity":"0.5",stroke:"#ff9999",
|
|
3830
3838
|
"stroke-opacity":"1"}).data("node",a))}function cvjs_addVqStickyNotesGraphics_newNode(a,b){a=b.data("node",a);vqStickyNotes.push(a)}
|
|
@@ -3856,20 +3864,22 @@ cvjs_currentNode_selectcolor){b=jQuery("#cv_"+e).attr("d");b=b.substring(1);f=b.
|
|
|
3856
3864
|
f);g=0!=cvjs_currentNode_rotate?" rotate("+cvjs_currentNode_rotate+" "+b+" "+f+")":"";cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][resize_spc].data("transform",g);""!=g&&jQuery("#cv_"+e+"_group").attr({transform:g})}!cvjs_supressPopUpModal||cvjs_standardHighLightColors?-1<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("defaultcolor").toString().indexOf("undefined")?jQuery(a).attr(defaultColor):(jQuery(a).attr(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("defaultcolor")),
|
|
3857
3865
|
console.log("6.8.45 init:"+a)):cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("linked")?(e=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("node"),a="#"+jQuery('[cvjs\\:node="'+e+'"]').attr("id"),jQuery(a).attr(defaultColor_linked)):(e=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("node"),a="#"+jQuery('[cvjs\\:node="'+e+'"]').attr("id"),jQuery(a).attr(defaultColor_unlinked));if(1==cvjs_supressPopUpModal)jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:"",
|
|
3858
3866
|
title:""},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"true"}),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip("destroy");else{e=cvjs_currentNode_id.replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id_link",e);e='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+e+'">'+cvjs_currentNode_name+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+
|
|
3859
|
-
e+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_currentNode_type+"</h4></td></tr></table>";a=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))a=a.
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
a.
|
|
3871
|
-
|
|
3872
|
-
|
|
3867
|
+
e+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_currentNode_type+"</h4></td></tr></table>";a=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))a=a.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_currentNode_id),a=a.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_currentNode_id),a=a.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_currentNode_id),
|
|
3868
|
+
a=a.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),
|
|
3869
|
+
a=a.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),
|
|
3870
|
+
a=a.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id")),a=a.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].data("id"));dual_hbody_flag&&(-1<=parseInt(cvjs_currentNode_id)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:a,title:e},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
3871
|
+
at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:hbody_2,title:e},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].node).qtip({content:{text:a,title:e},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
3872
|
+
at:"top left"},hideOnHTMLClick:"false"})}cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d].mousedown(function(a){vqRoomMouseSelect=!0;cvjs_debug&&console.log("A Domousedown");DoMouseDown(a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop,cvjs_active_floorplan_div_nr)}).mouseout(function(a){try{jQuery("#tip_"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).hide();currentRoomId=this.data("id");var b=findRoom(this.data("id"));if(!vqRoomMouseSelect&&(!cvjs_supressPopUpModal||
|
|
3873
|
+
cvjs_standardHighLightColors))if(-1<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("defaultcolor").toString().indexOf("undefined")){var c=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),d="#"+jQuery('[cvjs\\:node="'+c+'"]').attr("id");jQuery(d).attr(defaultColor)}else c=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),d="#"+jQuery('[cvjs\\:node="'+c+'"]').attr("id"),jQuery(d).attr(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("defaultcolor"))}catch(r){cvjs_debug&&
|
|
3874
|
+
console.log("mouseout: "+r)}}).mousemove(function(a){currentRoomId=this.data("id");currentRoomName=this.data("name");if(bMouseDown||bTempMouseDown)DoMouseMove(a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);else{var b=findRoom(this.data("id"));if(0<=b&&b!=cvjs_lastObj[cvjs_active_floorplan_div_nr]&&cvjs_location_flag){if(tooltipLast[cvjs_active_floorplan_div_nr]!=cvjs_lastObj[cvjs_active_floorplan_div_nr]&&-1!=tooltipLast[cvjs_active_floorplan_div_nr])if(!cvjs_supressPopUpModal||
|
|
3875
|
+
cvjs_standardHighLightColors)try{if(-1<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("highlightcolor").toString().indexOf("undefined")){var d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),e="#"+jQuery('[cvjs\\:node="'+d+'"]').attr("id");jQuery(e).attr(defaultColor)}else d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),e="#"+jQuery('[cvjs\\:node="'+d+'"]').attr("id"),jQuery(e).attr(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("highlightcolor"))}catch(r){console.log("vqRoom mousemove:"+
|
|
3876
|
+
r+" ")}else cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("linked")?(d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),e="#"+jQuery('[cvjs\\:node="'+d+'"]').attr("id"),jQuery(e).attr(defaultColor_linked)):(d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),e="#"+jQuery('[cvjs\\:node="'+d+'"]').attr("id"),jQuery(e).attr(defaultColor_unlinked));tooltipLast[cvjs_active_floorplan_div_nr]=b}c=!cvjs_supressPopUpModal||cvjs_standardHighLightColors?
|
|
3877
|
+
this.data("name"):this.data("id");cvjs_customToolTip&&(c=cvjs_displayCustomToolTip(this.data("id")));tip[cvjs_active_floorplan_div_nr].html(c);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css({position:"fixed"});b=jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).position();"absolute"==jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).css("position")?tip[cvjs_active_floorplan_div_nr].css("left",a.clientX+document.documentElement.scrollLeft+10).css("top",
|
|
3878
|
+
a.clientY+document.documentElement.scrollTop-25):tip[cvjs_active_floorplan_div_nr].css("left",a.clientX-b.left+document.documentElement.scrollLeft+10).css("top",a.clientY-b.top+document.documentElement.scrollTop-25)}}).mouseup(function(a){console.log("6.8.45 mouseup ");if(bPan)DoMouseUp(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);else try{layer_cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr].attr(show)}catch(q){}c=!cvjs_supressPopUpModal||cvjs_standardHighLightColors?
|
|
3879
|
+
this.data("name"):this.data("id");cvjs_customToolTip&&(c=cvjs_displayCustomToolTip(this.data("id")));tip[cvjs_active_floorplan_div_nr].html(c);bMouseDown=!1;cvjs_clearDrawing();rid=this.data("id");change_space_fixed_location(rid,cvjs_active_floorplan_div_nr);bPan=!1}).touchstart(function(a){DoTouchStart(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop)}).touchend(function(a){console.log("6.8.45 touchend ");if(!bPan&&!locked){var b=this.data("id");cvjs_change_space(b);c=!cvjs_supressPopUpModal||
|
|
3880
|
+
cvjs_standardHighLightColors?this.data("name"):this.data("id");cvjs_customToolTip&&(c=cvjs_displayCustomToolTip(this.data("id")));tip[cvjs_active_floorplan_div_nr].html(c)}DoTouchEnd(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);c=cvjs_supressPopUpModal?this.data("id"):this.data("name");cvjs_customToolTip&&(c=cvjs_displayCustomToolTip(this.data("id")));tip[cvjs_active_floorplan_div_nr].html(c);bMouseDown=!1;cvjs_clearDrawing();b=this.data("id");change_space_fixed_location(b,
|
|
3881
|
+
cvjs_active_floorplan_div_nr)}).touchmove(function(a){if(!bPan){var b=jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).position();"absolute"==jQuery("#"+floorplan_div_Array[cvjs_active_floorplan_div_nr]).css("position")?tip[cvjs_active_floorplan_div_nr].css("left",a.clientX+document.documentElement.scrollLeft+10).css("top",a.clientY+document.documentElement.scrollTop-25):tip[cvjs_active_floorplan_div_nr].css("left",a.clientX-b.left+document.documentElement.scrollLeft+10).css("top",a.clientY-
|
|
3882
|
+
b.top+document.documentElement.scrollTop-25);tip[cvjs_active_floorplan_div_nr].html(c);cvjs_customToolTip&&(c=cvjs_displayCustomToolTip(this.data("id")))}DoTouchMove(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop)}).dblclick(function(a){a.preventDefault();a.stopPropagation()})}layer_cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr].add(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][d])}
|
|
3873
3883
|
function cvjs_setUpVqStickyNotes_currentNode_vqIndex(a,b,c,d){floorplan_height=.9*jQuery(window).height();floorplan_width=.9*jQuery(window).width();tip[cvjs_active_floorplan_div_nr]=jQuery("#tip_"+floorplan_div_Array[cvjs_active_floorplan_div_nr]);tip[cvjs_active_floorplan_div_nr].hide().css("left",floorplan_width).css("top",floorplan_height);var e="";try{jQuery.fn.qtip.defaults.show.event="click",jQuery.fn.qtip.defaults.hide.event=null}catch(k){}var f=vqStickyNotes[c].data("node");if(b==f){vqStickyNotes[c].data("name",
|
|
3874
3884
|
cvjs_currentStickyNote_name);vqStickyNotes[c].data("id",cvjs_currentStickyNote_id);vqStickyNotes[c].data("text",cvjs_currentStickyNote_text);try{vqStickyNotes[c].data("layer",cvjs_currentStickyNote_layer),vqStickyNotes[c].data("group",cvjs_currentStickyNote_group),vqStickyNotes[c].data("linked",cvjs_currentStickyNote_linked),vqStickyNotes[c].data("userid",cvjs_currentStickyNote_userid),vqStickyNotes[c].data("date",cvjs_currentStickyNote_date),vqStickyNotes[c].data("currentPage",cvjs_currentStickyNote_currentPage),
|
|
3875
3885
|
vqStickyNotes[c].data("transform",cvjs_currentStickyNote_transform),vqStickyNotes[c].data("drawingRotation",cvjs_currentStickyNote_drawingRotation)}catch(k){console.log(k)}!cvjs_supressPopUpModal||cvjs_standardHighLightColors?vqStickyNotes[c].attr(defaultColor_StickyNotes):vqStickyNotes[c].data("linked")?vqStickyNotes[c].attr(defaultColor_linked):vqStickyNotes[c].attr(defaultColor_unlinked);if(1==cvjs_supressPopUpModal)jQuery(vqStickyNotes[c].node).qtip({content:{text:"",title:""},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
@@ -5161,14 +5171,28 @@ function cvjs_highlightRoomImmediateNoClearDrawing(a){a=findRoom(a);if(0<=a){cvj
|
|
|
5161
5171
|
b+'"]').attr("id"),jQuery(b).attr(selectColor_linked)):(b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("node"),b="#"+jQuery('[cvjs\\:node="'+b+'"]').attr("id"),jQuery(b).attr(selectColor_unlinked));return a}}function highlightRoomVqId(a){cvjs_clearDrawing();cvjs_lastObj[cvjs_active_floorplan_div_nr]=a;cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].attr(highlight)}
|
|
5162
5172
|
function highlightRoom(a){cvjs_clearDrawing();a=findRoom(a);if(0<=a)return cvjs_lastObj[cvjs_active_floorplan_div_nr]=a,cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].animate(highlight,300),a}function cvjs_activateSpaceObjectModal_Id(a){change_space_fixed_location(a)}function cvjs_activateSpaceObjectModal_Node(a){a=findIdFromNode(a);change_space_fixed_location(a)}var cvjs_supressPopUpModal_callback_JS=!1;
|
|
5163
5173
|
function change_space_fixed_location(a,b){void 0!=b&&(cvjs_active_floorplan_div_nr=b);cvjs_debug&&console.log("change_space_fixed_location "+a+" "+b+" cvjs_supressPopUpModal_callback_JS: "+cvjs_supressPopUpModal_callback_JS);if(cvjs_supressPopUpModal_callback_JS){hidePop();if(0==a){closeAllPopups(-1);try{cvjs_NoObjectSelected()}catch(k){}}else{var c=cvjs_highlightRoomImmediate(a,!0);0<=c&&(spaceId=a,cvjs_lastObj[cvjs_active_floorplan_div_nr]=c,jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].node).qtip("destroy"))}cvjs_change_space(a);
|
|
5164
|
-
cvjs_ObjectSelected(a);cvjs_graphicalObjectOnChange("Click","SpaceObject",a)}else{if(cvjs_callbackForModalDisplayVar){var d=cvjs_customModalPopUpBody(a)
|
|
5165
|
-
|
|
5166
|
-
d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][
|
|
5167
|
-
|
|
5168
|
-
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][
|
|
5169
|
-
jQuery("#
|
|
5170
|
-
|
|
5171
|
-
|
|
5174
|
+
cvjs_ObjectSelected(a);cvjs_graphicalObjectOnChange("Click","SpaceObject",a)}else{if(cvjs_callbackForModalDisplayVar){var d=cvjs_customModalPopUpBody(a),e=findRoom(a);b="";if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))d=d.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+
|
|
5175
|
+
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),
|
|
5176
|
+
d=d.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),
|
|
5177
|
+
d=d.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),d=d.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id"));cvjs_isLicensed=!0;b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link");b='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+
|
|
5178
|
+
b+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("type")+"</h4></td></tr></table>";cvjs_debug&&console.log("we are licensed "+cvjs_licensedDaysLeft);jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].node).qtip({content:{text:d,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
5179
|
+
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"});if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))jQuery("#hideOnlyPop_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){hideOnlyPop()}),jQuery("#cvjs_popupTitleClick_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){cvjs_popupTitleClick(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),
|
|
5180
|
+
jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("hover",function(){jQuery(this).css("cursor","pointer")}),jQuery("#my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",
|
|
5181
|
+
function(){my_own_clickmenu2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){cvjs_zoomHere()}),jQuery("#custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",
|
|
5182
|
+
function(){custom_callback2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback3(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback4(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),
|
|
5183
|
+
jQuery("#custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback5(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback6(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",
|
|
5184
|
+
function(){custom_callback7(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback8(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),jQuery("#custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback9(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))}),
|
|
5185
|
+
jQuery("#custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link")).on("click",function(){custom_callback10(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link"))});d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("node");cvjs_getAttributeStatus(d)}hidePop();if(0==a){closeAllPopups(-1);try{cvjs_NoObjectSelected()}catch(k){}}else{cvjs_debug&&console.log("fixed location 2 cvjs_supressPopUpModal "+cvjs_supressPopUpModal);c=cvjs_highlightRoomImmediate(a,
|
|
5186
|
+
!1);if(0<=c){spaceId=a;cvjs_lastObj[cvjs_active_floorplan_div_nr]=c;if(1==cvjs_supressPopUpModal)console.log("cv changespace fixed destroy "),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].node).qtip("destroy");else{cvjs_debug&&console.log("cv changespace fixed show/hide/destroy");jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].node).qtip("show");b=!1;try{b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("qtip")}catch(k){console.log(k+" QTIP not defined")}b||
|
|
5187
|
+
(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("qtip",!0),jQuery("#hideOnlyPop_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){hideOnlyPop()}),jQuery("#cvjs_popupTitleClick_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){cvjs_popupTitleClick(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),0!=cvjs_frontEndHandlerType.indexOf("reactjs")&&0!=cvjs_frontEndHandlerType.indexOf("vuejs")&&
|
|
5188
|
+
0!=cvjs_frontEndHandlerType.indexOf("angular"))||(jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("hover",function(){jQuery(this).css("cursor","pointer")}),jQuery("#my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",
|
|
5189
|
+
function(){my_own_clickmenu2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){cvjs_zoomHere()}),jQuery("#custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",
|
|
5190
|
+
function(){custom_callback2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback3(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback4(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),
|
|
5191
|
+
jQuery("#custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback5(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback6(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",
|
|
5192
|
+
function(){custom_callback7(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback8(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}),jQuery("#custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback9(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][spac].data("id_link"))}),
|
|
5193
|
+
jQuery("#custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link")).on("click",function(){custom_callback10(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id_link"))}));var f={};jQuery("*[id]").each(function(){var a=jQuery(this).attr("id");f[a]||(f[a]=!0)});for(var g in f){var h="#"+g;try{0!=jQuery(h).attr("id").indexOf("qtip-")||0<h.indexOf("-title")||0<h.indexOf("-content")||jQuery(function(){jQuery(h).draggable({cancel:"+content+"})})}catch(k){}}cvjs_callbackForModalDisplayVar&&
|
|
5194
|
+
("unpopulated"==cvjs_getAttributeStatus(d)?cvjs_callbackForModalDisplay(a,d):cvjs_populateMyCustomPopUpBody(a,d))}cvjs_popObj[cvjs_active_floorplan_div_nr]=c}try{console.log("cluster host = creation mode "+cluster_host_flag),1==cluster_host_flag&&1==cvjs_supressPopUpModal?xcvjs_ObjectSelected(a,floorplan_div_Array[cvjs_active_floorplan_div_nr]):cvjs_ObjectSelected(a,floorplan_div_Array[cvjs_active_floorplan_div_nr]),cvjs_graphicalObjectOnChange("Click","SpaceObject",a)}catch(k){console.log(a+"cvjs_highlightRoomImmediate: "+
|
|
5195
|
+
k),cvjs_ObjectSelected(a,null),cvjs_graphicalObjectOnChange("Click","SpaceObject",a)}}cvjs_supressPopUpModal&&cvjs_update_done_edit_location_fields(a)}}
|
|
5172
5196
|
function change_space_fixed_locationStickyNotes(a){hidePopStickyNotes();if(0==a){closeAllPopupsStickyNotes(-1);try{cvjs_NoObjectSelectedStickyNotes()}catch(e){console.log("change_space_fixed_locationStickyNotes:"+e)}}else{var b=cvjs_highlightRoomImmediateStickyNotes(a);cvjs_debug_stickynotes&&window.alert("X in change_space_fixed cvjs_supressPopUpModal "+cvjs_supressPopUpModal+" "+b+" spaceIdStickNote "+spaceIdStickyNote[cvjs_active_floorplan_div_nr]+" lastObjStickyNote[cvjs_active_floorplan_div_nr] "+
|
|
5173
5197
|
lastObjStickyNote[cvjs_active_floorplan_div_nr]);if(0<=b){spaceIdStickyNote[cvjs_active_floorplan_div_nr]=a;lastObjStickyNote[cvjs_active_floorplan_div_nr]=b;if(1==cvjs_supressPopUpModal)jQuery(vqStickyNotes[b].node.qtip).is(":visible")&&jQuery(vqStickyNotes[b].node).qtip("hide");else{jQuery(vqStickyNotes[b].node.qtip).is(":visible")||jQuery.when(jQuery(vqStickyNotes[b].node).qtip("show")).then(function(a,b,c){});for(var c=document.getElementsByTagName("div"),d=0;d<c.length;d++)-1<c[d].id.indexOf("qtip-")&&
|
|
5174
5198
|
-1==c[d].id.indexOf("-content")&&-1==c[d].id.indexOf("-title")&&(StickNoteQtipDiv=c[d].id)}popObjStickyNote[cvjs_active_floorplan_div_nr]=b}try{cvjs_ObjectSelectedStickyNotes(a),cvjs_graphicalObjectOnChange("Click","StickyNote",a)}catch(e){console.log("change_space_fixed_locationStickyNotes:"+e)}}}
|
|
@@ -5248,10 +5272,19 @@ cvjs_supressPopUpModal?vqStickyNotes[lastObjStickyNote[cvjs_active_floorplan_div
|
|
|
5248
5272
|
-1;try{cvjs_NoObjectSelected()}catch(b){}}else popObjStickyNote[cvjs_active_floorplan_div_nr]=-1}function closeAllPopups(a){cvjs_debug&&console.log("closeAllPopups");for(var b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])b!=a&&jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip("hide")}function closeAllPopupsStickyNotes(a){for(var b in vqStickyNotes)b!=a&&jQuery(vqStickyNotes[b].node).qtip("hide")}
|
|
5249
5273
|
function pick_space(a){jQuery("#SearchResultsPanel").hide();cvjs_change_space(a);var b=findRoom(a);if(b){cvjs_debug&&console.log("pickspace");jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip("show");cvjs_popObj[cvjs_active_floorplan_div_nr]=b;a=!1;try{a=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("qtip")}catch(c){console.log(c+" QTIP not defined")}a||(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("qtip",!0),jQuery("#hideOnlyPop_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id_link")).on("click",
|
|
5250
5274
|
function(){hideOnlyPop()}),jQuery("#cvjs_popupTitleClick_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id_link")).on("click",function(){cvjs_popupTitleClick(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),0!=cvjs_frontEndHandlerType.indexOf("reactjs")&&0!=cvjs_frontEndHandlerType.indexOf("vuejs")&&0!=cvjs_frontEndHandlerType.indexOf("angular"))||(jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5251
|
-
function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#
|
|
5275
|
+
function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id_link")).on("hover",function(){jQuery(this).css("cursor","pointer")}),jQuery("#my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){my_own_clickmenu2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#cvjs_zoomHere_"+
|
|
5276
|
+
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){cvjs_zoomHere()}),jQuery("#custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),
|
|
5277
|
+
jQuery("#custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback3(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback4(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5278
|
+
function(){custom_callback5(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback6(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback7(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),
|
|
5279
|
+
jQuery("#custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback8(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback9(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5280
|
+
function(){custom_callback10(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}))}}
|
|
5252
5281
|
function cvjs_pick_space(a){cvjs_change_space(a);var b=findRoom(a);if(b){cvjs_debug&&console.log("cv pickspace");jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip("show");cvjs_popObj[cvjs_active_floorplan_div_nr]=b;a=!1;try{a=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("qtip")}catch(c){console.log(c+" QTIP not defined")}a||(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("qtip",!0),jQuery("#hideOnlyPop_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id_link")).on("click",
|
|
5253
5282
|
function(){hideOnlyPop()}),jQuery("#cvjs_popupTitleClick_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id_link")).on("click",function(){cvjs_popupTitleClick(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),0!=cvjs_frontEndHandlerType.indexOf("reactjs")&&0!=cvjs_frontEndHandlerType.indexOf("vuejs")&&0!=cvjs_frontEndHandlerType.indexOf("angular"))||(jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5254
|
-
function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){my_own_clickmenu2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5283
|
+
function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("hover",function(){jQuery(this).css("cursor","pointer")}),jQuery("#my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){my_own_clickmenu2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5284
|
+
function(){cvjs_zoomHere()}),jQuery("#custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5285
|
+
function(){custom_callback3(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback4(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback5(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),
|
|
5286
|
+
jQuery("#custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback6(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback7(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5287
|
+
function(){custom_callback8(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback9(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback10(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}))}}
|
|
5255
5288
|
var cvjs_lastObj=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],cvjs_popObj=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],lastObjHyperlink=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],popObjHyperlink=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],lastObjStickyNote=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],spaceIdStickyNote=[-1,
|
|
5256
5289
|
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],popObjStickyNote=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];function findRoom(a){for(var b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")==a)return b;return-1}function findStickyNotes(a){for(var b in vqStickyNotes)if(vqStickyNotes[b].data("id")==a)return b;return-1}
|
|
5257
5290
|
function findUrl(a){for(var b in vqURLs)if(vqURLs[b].data("id")==a)return b;return-1}function findRoomById(a){for(var b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")==a)return b;return-1}
|
|
@@ -5343,20 +5376,26 @@ if(void 0!=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("pageN
|
|
|
5343
5376
|
k="#cv_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("node")+"_image",jQuery(k).hide()):(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].attr(show),k="#cv_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("node")+"_image",jQuery(k).show())}catch(l){console.log(l)}return!0}function cvjs_changeSpaceObjectLayer(a,b){a=findFixtureIndex(a);if(-1==a)return!1;cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("layer",b);return!0}
|
|
5344
5377
|
function cvjs_changeSpaceObjectLinkStatus(a,b){a=findFixtureIndex(a);if(-1==a)return!1;cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("linked",b);return!0}
|
|
5345
5378
|
function cvjs_changeSpaceObjectName(a,b){a=findFixtureIndex(a);if(-1==a)return!1;cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("name",b);jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip("destroy");b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id_link",b);b='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")+
|
|
5346
|
-
'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type")+"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.
|
|
5347
|
-
"my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.
|
|
5348
|
-
|
|
5349
|
-
|
|
5379
|
+
'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type")+"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.replaceAll("my_own_clickmenu1()",
|
|
5380
|
+
"my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback2()",
|
|
5381
|
+
"custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback6()",
|
|
5382
|
+
"custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback10()",
|
|
5383
|
+
"custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"));dual_hbody_flag&&(-1<=parseInt(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"))?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:hbody_2,
|
|
5384
|
+
title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"});return!0}
|
|
5350
5385
|
function cvjs_changeSpaceObjectType(a,b){a=findFixtureIndex(a);if(-1==a)return!1;cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type",b);jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip("destroy");b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id_link",b);b='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+b+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("name")+
|
|
5351
|
-
'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type")+"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.
|
|
5352
|
-
c=c.
|
|
5353
|
-
|
|
5354
|
-
|
|
5386
|
+
'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type")+"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5387
|
+
c=c.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=
|
|
5388
|
+
c.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5389
|
+
c=c.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"));
|
|
5390
|
+
dual_hbody_flag&&(-1<=parseInt(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"))?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:hbody_2,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
5391
|
+
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"});return!0}
|
|
5355
5392
|
function cvjs_changeSpaceObjectID(a,b){for(var c=0;c<vqRooms.lenght;c++)if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id")==b)return!1;a=findFixtureIndex(a);if(-1==a)return!1;cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id",b);jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip("destroy");b=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id_link",
|
|
5356
5393
|
b);b='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+b+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type")+"</h4></td></tr></table>";c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||
|
|
5357
|
-
0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.
|
|
5358
|
-
|
|
5359
|
-
|
|
5394
|
+
0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5395
|
+
c=c.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5396
|
+
c=c.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5397
|
+
c=c.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"));dual_hbody_flag&&(-1<=parseInt(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"))?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:hbody_2,
|
|
5398
|
+
title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"});return!0}var selected_current_jsonStrucure;
|
|
5360
5399
|
function CADViewer_floorplan_methods_newVersion(){selected_current_jsonStrucure=cvjs_returnSpaceObjectClicked();jQuery("#cvjs_spaceobjectchangeLayerFromModal").val(selected_current_jsonStrucure.layer);jQuery("#cvjs_spaceobjectchangeIdFromModal").val(selected_current_jsonStrucure.id);jQuery("#cvjs_spaceobjectchangeTypeFromModal").val(selected_current_jsonStrucure.type)}
|
|
5361
5400
|
function CADViewer_floorplan_methods_2(a){selected_current_jsonStrucure=cvjs_returnSpaceObjectID(a);jQuery("#cvjs_spaceobjectchangeLayerFromModal").val(selected_current_jsonStrucure.layer);jQuery("#cvjs_spaceobjectchangeIdFromModal").val(selected_current_jsonStrucure.id);jQuery("#cvjs_spaceobjectchangeTypeFromModal").val(selected_current_jsonStrucure.type)}
|
|
5362
5401
|
var elementOriginalColor=[],elementOriginalFill=[],elementOriginalStroke=[],elementOriginalStrokeWidth=[],elementOriginalTag=[],elementOriginalFillOpacity=[],elementOriginalOpacity=[],myOverColor="#F00",myOverStroke="#F00",myOverStrokeWidth=6,myOverStrokeWidthFactor=4,myOverFill="#F00",myFillOpacity=.2,myOpacity=1,cvjs_handleToolTip=!0,cvjs_highlightHandleArray=[];
|
|
@@ -5587,26 +5626,28 @@ rid):cvjs_SpaceObjectsContent[b][g].data("id",f.rooms[bRoom].id);cvjs_SpaceObjec
|
|
|
5587
5626
|
!1),cvjs_SpaceObjectsContent[b][g].data("handle",f.rooms[bRoom].handle),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("displaySpaceObject",f.rooms[bRoom].displaySpaceObject),cvjs_SpaceObjectsContent[b][g].data("block",f.rooms[bRoom].block),cvjs_SpaceObjectsContent[b][g].data("blockAttributeId",f.rooms[bRoom].blockAttributeId),cvjs_SpaceObjectsContent[b][g].data("blockAttributeCount",f.rooms[bRoom].blockAttributeCount),cvjs_SpaceObjectsContent[b][g].data("clickhandler",f.rooms[bRoom].clickhandler)}catch(q){console.log(q)}!cvjs_supressPopUpModal||
|
|
5588
5627
|
cvjs_standardHighLightColors?-1<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("defaultcolor").toString().indexOf("undefined")?(e=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("node"),e="#"+jQuery('[cvjs\\:node="'+e+'"]').attr("id"),jQuery(e).attr(defaultColor)):(e=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("node"),e="#"+jQuery('[cvjs\\:node="'+e+'"]').attr("id"),jQuery(e).attr(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("defaultcolor"))):
|
|
5589
5628
|
cvjs_SpaceObjectsContent[b][g].data("linked")?(e=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("node"),e="#"+jQuery('[cvjs\\:node="'+e+'"]').attr("id"),jQuery(e).attr(defaultColor_linked)):(e=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("node"),e="#"+jQuery('[cvjs\\:node="'+e+'"]').attr("id"),jQuery(e).attr(defaultColor_unlinked));e=f.rooms[bRoom].id.replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id_link",e);e='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+
|
|
5590
|
-
e+'">'+f.rooms[bRoom].name+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+e+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+f.rooms[bRoom].type+"</h4></td></tr></table>";h=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))h=h.
|
|
5591
|
-
f.rooms[bRoom].id),h=h.
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id")
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
cvjs_active_floorplan_div_nr)}).
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5629
|
+
e+'">'+f.rooms[bRoom].name+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+e+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+f.rooms[bRoom].type+"</h4></td></tr></table>";h=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))h=h.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+f.rooms[bRoom].id),h=h.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+
|
|
5630
|
+
f.rooms[bRoom].id),h=h.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+f.rooms[bRoom].id),h=h.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback4()",
|
|
5631
|
+
"custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback8()",
|
|
5632
|
+
"custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id")),h=h.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("id"));dual_hbody_flag&&(-1<=parseInt(f.rooms[bRoom].id)?jQuery(cvjs_SpaceObjectsContent[b][g].node).qtip({content:{text:h,title:e},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},
|
|
5633
|
+
position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[b][g].node).qtip({content:{text:hbody_2,title:e},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[b][g].node).qtip({content:{text:h,title:e},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
5634
|
+
at:"top left"},hideOnHTMLClick:"false"});cvjs_SpaceObjectsContent[b][g].mousedown(function(a){console.log("mousedown room"+g+" "+cvjs_SpaceObjectsContent[b][g].data("clickhandler"));try{if("disable"==this.data("clickhandler")){DoMouseDown(a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop,b);return}}catch(p){}cvjs_debug&&console.log("G Domousedown return direct "+a.clientX+" "+document.body.scrollLeft+" "+a.clientY+" "+document.body.scrollTop);vqRoomMouseSelect=!0;cvjs_disableClickDrag||
|
|
5635
|
+
DoMouseDown(a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop,b)}).mouseout(function(a){try{if("disable"==this.data("clickhandler"))return}catch(t){}cvjs_leafletJS&&(tip[b]=tip_leafletBase[b]);tip[b].hide();a=findRoom(this.data("id"));if(!vqRoomMouseSelect&&(!cvjs_supressPopUpModal||cvjs_standardHighLightColors))if(-1<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("defaultcolor").toString().indexOf("undefined")){var c=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("node");
|
|
5636
|
+
c="#"+jQuery('[cvjs\\:node="'+c+'"]').attr("id");jQuery(c).attr(defaultColor)}else c=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("node"),c="#"+jQuery('[cvjs\\:node="'+c+'"]').attr("id"),jQuery(c).attr(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("defaultcolor"))}).mousemove(function(a){try{if("disable"==this.data("clickhandler")){(bMouseDown||bTempMouseDown)&&DoMouseMove(a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);return}}catch(r){}cvjs_leafletJS&&
|
|
5637
|
+
(tip[b]=tip_leafletBase[b]);currentRoomId=this.data("id");currentRoomName=this.data("name");if(bMouseDown||bTempMouseDown)DoMouseMove(a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);else{var e=findRoom(this.data("id"));if(0<=e&&e!=cvjs_lastObj[cvjs_active_floorplan_div_nr]&&cvjs_location_flag){if(tooltipLast[b]!=cvjs_lastObj[cvjs_active_floorplan_div_nr]&&-1!=tooltipLast[b])if(!cvjs_supressPopUpModal||cvjs_standardHighLightColors)if(-1<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][tooltipLast[b]].data("defaultcolor").toString().indexOf("undefined")){var f=
|
|
5638
|
+
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][tooltipLast[b]].data("node");f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id");jQuery(f).attr(defaultColor)}else f=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][tooltipLast[b]].data("node"),f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id"),jQuery(f).attr(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][tooltipLast[b]].data("defaultcolor"));else cvjs_SpaceObjectsContent[b][tooltipLast[b]].data("linked")?(f=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][tooltipLast[b]].data("node"),
|
|
5639
|
+
f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id"),jQuery(f).attr(defaultColor_linked)):(f=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][tooltipLast[b]].data("node"),f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id"),jQuery(f).attr(defaultColor_unlinked));!cvjs_supressPopUpModal||cvjs_standardHighLightColors?(f=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("node"),f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id"),jQuery(f).attr(highlight)):cvjs_SpaceObjectsContent[b][e].data("linked")?
|
|
5640
|
+
(f=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("node"),f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id"),jQuery(f).attr(highlight_linked)):(f=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("node"),f="#"+jQuery('[cvjs\\:node="'+f+'"]').attr("id"),jQuery(f).attr(highlight_unlinked));tooltipLast[b]=e}d=!cvjs_supressPopUpModal||cvjs_standardHighLightColors?this.data("name"):this.data("id");cvjs_customToolTip&&(d=cvjs_displayCustomToolTip(this.data("id")));tip[b].html(d);
|
|
5641
|
+
tip[b].show();e=jQuery("#"+c).position();f=jQuery("#"+c).css("position");tip[b].css({position:"fixed"});"absolute"==f?tip[b].css("left",a.clientX+document.documentElement.scrollLeft+10).css("top",a.clientY+document.documentElement.scrollTop-25):tip[b].css("left",a.clientX-e.left+document.documentElement.scrollLeft+10).css("top",a.clientY-e.top+document.documentElement.scrollTop-25)}}).mouseup(function(a){cvjs_debug&&console.log(" 6.8 mouse up return= "+bPan);try{if("disable"==this.data("clickhandler")){DoMouseUp(a,
|
|
5642
|
+
a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);return}}catch(p){}cvjs_debug&&console.log("after 6.8 mouse up");if(bPan)DoMouseUp(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);else try{layer_cvjs_SpaceObjectsContent[b].attr(show),panWithThumb&&(layers_all.attr(show),layer_thumb.attr(hide))}catch(p){console.log("t5 "+p)}d=!cvjs_supressPopUpModal||cvjs_standardHighLightColors?this.data("name"):this.data("id");cvjs_customToolTip&&(d=cvjs_displayCustomToolTip(this.data("id")));
|
|
5643
|
+
tip[cvjs_active_floorplan_div_nr].html(d);bMouseDown=!1;rid=this.data("id");change_space_fixed_location(rid,cvjs_active_floorplan_div_nr);bPan=!1}).touchstart(function(a){cvjs_debug&&console.log(" 6.8 touchstart "+bPan);try{if("disable"==this.data("clickhandler")){DoTouchStart(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);return}}catch(p){}DoTouchStart(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop)}).touchend(function(a){cvjs_debug&&console.log(" 6.8 touchend "+
|
|
5644
|
+
bPan);try{if("disable"==this.data("clickhandler")){DoTouchEnd(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);return}}catch(p){}bPan||locked||(rid=this.data("id"),cvjs_change_space(rid),d=!cvjs_supressPopUpModal||cvjs_standardHighLightColors?this.data("name"):this.data("id"),cvjs_customToolTip&&(d=cvjs_displayCustomToolTip(this.data("id"))),tip[cvjs_active_floorplan_div_nr].html(d));DoTouchEnd(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);d=!cvjs_supressPopUpModal||
|
|
5645
|
+
cvjs_standardHighLightColors?this.data("name"):this.data("id");tip[cvjs_active_floorplan_div_nr].html(d);bMouseDown=!1;cvjs_clearDrawing();rid=this.data("id");change_space_fixed_location(rid,cvjs_active_floorplan_div_nr)}).touchmove(function(a){cvjs_debug&&console.log(" 6.8 touchmove "+bPan);try{if("disable"==this.data("clickhandler")){DoTouchMove(a,a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop);return}}catch(r){}if(!bPan){var b=jQuery("#"+c).position(),e=jQuery("#"+c).css("position");
|
|
5646
|
+
tip[cvjs_active_floorplan_div_nr].css({position:"fixed"});"absolute"==e?tip[cvjs_active_floorplan_div_nr].css("left",a.clientX+document.documentElement.scrollLeft+10).css("top",a.clientY+document.documentElement.scrollTop-25):tip[cvjs_active_floorplan_div_nr].css("left",a.clientX-b.left+document.documentElement.scrollLeft+10).css("top",a.clientY-b.top+document.documentElement.scrollTop-25);tip[cvjs_active_floorplan_div_nr].html(d);cvjs_customToolTip&&(d=cvjs_displayCustomToolTip(this.data("id")))}DoTouchMove(a,
|
|
5647
|
+
a.clientX+document.body.scrollLeft,a.clientY+document.body.scrollTop)}).dblclick(function(a){a.preventDefault();a.stopPropagation()})}0==a&&(a=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("node"),cvjs_debug&&console.log("room not found "+a),cvjs_SpaceObjectsContent[b][g].data("occupancy","undefined"),cvjs_SpaceObjectsContent[b][g].data("name","undefined"),cvjs_SpaceObjectsContent[b][g].data("type","undefined"),cvjs_SpaceObjectsContent[b][g].data("area",""),cvjs_SpaceObjectsContent[b][g].data("id",
|
|
5648
|
+
a),jQuery(cvjs_SpaceObjectsContent[b][g].node).qtip({title:"Undefined",content:"",placement:"top"}),cvjs_SpaceObjectsContent[b][g].data("layer","undefined"),cvjs_SpaceObjectsContent[b][g].data("group","undefined"),cvjs_SpaceObjectsContent[b][g].data("attributes","undefined"),cvjs_SpaceObjectsContent[b][g].data("attributeStatus","undefined"),cvjs_SpaceObjectsContent[b][g].data("linked",!1),cvjs_SpaceObjectsContent[b][g].data("handle",""),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("translate_x",
|
|
5649
|
+
"0"),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("translate_y","0"),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("scale_x","1"),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("scale_y","1"),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("rotate","0"),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][g].data("transform",""),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][spc].data("defaultcolor","undefined"),cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][spc].data("displaySpaceObject",
|
|
5650
|
+
"on"),cvjs_SpaceObjectsContent[b][g].data("block",f.rooms[bRoom].block),cvjs_SpaceObjectsContent[b][g].data("blockAttributeId",f.rooms[bRoom].blockAttributeId),cvjs_SpaceObjectsContent[b][g].data("blockAttributeCount",f.rooms[bRoom].blockAttributeCount),cvjs_SpaceObjectsContent[b][g].data("clickhandler",f.rooms[bRoom].clickhandler));layer_cvjs_SpaceObjectsContent[b].add(cvjs_SpaceObjectsContent[b][g])}cvjs_debug&&console.log(" LAYER VQROOMS We have active "+cvjs_active_floorplan_div_nr)}
|
|
5610
5651
|
function cvjs_setRootWidth(a,b){var c=document.querySelector(":root"),d=getComputedStyle(c);window.alert("The value of --tmsMinLineWidth is: "+d.getPropertyValue("--tmsMinLineWidth")+" new "+a);c.style.setProperty("--tmsMinFixedLineWidth",b);window.alert("The value of --tmsMinFixedLineWidth is: "+d.getPropertyValue("--tmsMinFixedLineWidth")+" new "+b);c.style.setProperty("--tmsMinLineWidth",a)}
|
|
5611
5652
|
(function(a){var b={init:function(b){return this.each(function(){function c(a){h.remotePath="function"==typeof h.remotePath?h.remotePath():h.remotePath;cvjs_debug&&console.log("1: "+h.remotePath);var b=-1==h.url.indexOf("?")?"?":"&";b=0==cvjs_ServerLocation.length?h.url+b+"ax-file-path="+encodeURIComponent(h.remotePath)+"&ax-allow-ext="+encodeURIComponent(t)+"&listtype=serverfolder":h.url+b+"ax-file-path="+encodeURIComponent(h.remotePath)+"&ax-allow-ext="+encodeURIComponent(t)+"&listtype=";h.data=
|
|
5612
5653
|
"function"==typeof h.data?h.data():h.data;cvjs_debug&&console.log("2: ax-file-path="+encodeURIComponent(h.remotePath));cvjs_debug&&console.log("url="+b+"&ax-file-name="+a+"&"+h.data);return b+"&ax-file-name="+a+"&"+h.data}function e(b,c,d,e){v--;d.attr("disabled",!1);h.success(b,c);if(0==v){var f=[];a(k).find(".ax-file-name").each(function(){f.push(a(this).attr("title"))});v=w;h.finish(b,f);z.attr("disabled",!1)}}function f(b,d,f,k,p){var r=f.split(".").pop().toLowerCase();m=d;if(!(0>t.indexOf(r)&&
|
|
@@ -5701,16 +5742,23 @@ a){var c=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("layer")
|
|
|
5701
5742
|
cvjs_setUpVqRooms_deleteNode(d);CADViewer_floorplan_methods(d);cvjs_debug&&console.log("HERE 1");try{jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip("destroy")}catch(g){console.log("check destroy: "+g)}}}catch(g){console.log("active command 3 "+g)}cvjs_debug&&console.log("HERE 2");icon_command_active=-1;try{cvjs_graphicalObjectOnChange("Delete","SpaceObject",c)}catch(g){console.log(g)}cvjs_displayModalAlreadyCalled||(cvjs_setCreationMode(!cvjs_supressPopUpModal,!0,a),cvjs_displayModalAlreadyCalled=
|
|
5702
5743
|
!1);cvjs_clearSpaceLayer();cvjs_standardHighLightColors=!0}if(33==icon_command_active)for(b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")==a){d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node");cvjs_setUpVqRooms_deleteNode(d);CADViewer_floorplan_methods(d);console.log("Delete Space Image - the node is: "+d);c="#cv_"+d+"_image";try{jQuery(c).remove()}catch(g){console.log(g)}cvjs_supressPopUpModal=
|
|
5703
5744
|
!1;cvjs_standardHighLightColors=!0;for(var e in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("node")!=d){c=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id_link",c);c='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+c+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("name")+
|
|
5704
|
-
'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+c+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("type")+"</h4></td></tr></table>";var f=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))f=f.
|
|
5705
|
-
f=f.
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5745
|
+
'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+c+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("type")+"</h4></td></tr></table>";var f=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))f=f.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),
|
|
5746
|
+
f=f.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=
|
|
5747
|
+
f.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),
|
|
5748
|
+
f=f.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id")),f=f.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].data("id"));
|
|
5749
|
+
dual_hbody_flag&&(-1<=parseInt(cvjs_currentNode_id)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].node).qtip({content:{text:f,title:c},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].node).qtip({content:{text:hbody_2,title:c},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
5750
|
+
at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][e].node).qtip({content:{text:f,title:c},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"})}hideOnlyPop();cvjs_clearDrawing()}if(34==icon_command_active){cvjs_debug&&console.log("IN 34 rmid "+a);try{for(b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")==
|
|
5751
|
+
a&&(d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),cvjs_debug&&console.log("node "+d),CADViewer_floorplan_methods_2(a),cvjs_supressPopUpModal=!1,cvjs_standardHighLightColors=!0,cvjs_clearSpaceLayer(),cvjs_addHandleFunc_ResizeDragSpace(d,a,b))}catch(g){console.log("ResizeDrag Space loop "+g)}}else for(b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")==a&&(d=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("node"),
|
|
5752
|
+
CADViewer_floorplan_methods(d))}currentSelectedId=a}function setLocationMode(){}function cvjs_setLastObj(a){for(var b in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])if(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")==a){cvjs_lastObj[cvjs_active_floorplan_div_nr]=b;break}}
|
|
5710
5753
|
function cvjsspace_change_space(a){if(cvjs_spaceObjectUserMode)if(cvjs_debug&&console.log("change space "+a),hidePop(),setLocationMode(),0==a)jQuery("#drop_locations").html('All Spaces<span class="caret"></span>');else{var b=cvjs_highlightRoomImmediate(a,!0);if(0<=b){spaceId=a;cvjs_lastObj[cvjs_active_floorplan_div_nr]=findRoom(a);jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].node).qtip("show");a=!1;try{a=cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("qtip")}catch(c){console.log(c+
|
|
5711
5754
|
" QTIP not defined")}a||(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("qtip",!0),jQuery("#hideOnlyPop_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){hideOnlyPop()}),jQuery("#cvjs_popupTitleClick_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){cvjs_popupTitleClick(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),0!=cvjs_frontEndHandlerType.indexOf("reactjs")&&0!=cvjs_frontEndHandlerType.indexOf("vuejs")&&
|
|
5712
|
-
0!=cvjs_frontEndHandlerType.indexOf("angular"))||(jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#
|
|
5713
|
-
function(){
|
|
5755
|
+
0!=cvjs_frontEndHandlerType.indexOf("angular"))||(jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){my_own_clickmenu1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][room].data("id")).on("hover",function(){jQuery(this).css("cursor","pointer")}),jQuery("#my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5756
|
+
function(){my_own_clickmenu2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){cvjs_zoomHere()}),jQuery("#custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback1(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5757
|
+
function(){custom_callback2(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback3(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback4(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),
|
|
5758
|
+
jQuery("#custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback5(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback6(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",
|
|
5759
|
+
function(){custom_callback7(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback8(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),jQuery("#custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback9(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}),
|
|
5760
|
+
jQuery("#custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id")).on("click",function(){custom_callback10(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id"))}));cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("id");jQuery("#drop_locations").html(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][b].data("name")+'<span class="caret"></span>')}}}
|
|
5761
|
+
function cvjsspace_displaySpaceObjectsStructure(a){a.lastIndexOf("_svg")!=a.length-4&&(a+="_svg");cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);cvjs_displaySpaceObjectsStructureInternal(a,"","","","")}
|
|
5714
5762
|
function cvjsspace_displaySpaceObjectsStructureInternal(a,b,c,d,e){-1<a.indexOf("_svg")&&(a=a.substring(0,a.indexOf("_svg")));console.log("cvjs_displaySpaceObjectsStructure: "+a);cvjs_setCreationMode(!1,!0);hideOnlyPop();cvjs_clearDrawing();cvjs_debug&&console.log("1 display Space Object Structure");"undefined"!==typeof id_supress_call_cluster_host&&1==id_supress_call_cluster_host||call_cluster_host();cvjs_setSpaceObjectUserMode(!0);cvjs_debug&&console.log("2 display Space Object Structure");jQuery("<link/>",
|
|
5715
5763
|
{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/topbar.css"}).appendTo("head");jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/navbar.css"}).appendTo("head");jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/headerbar.css"}).appendTo("head");jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/legend.css"}).appendTo("head");
|
|
5716
5764
|
jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/tempbar.css"}).appendTo("head");jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/wizards.css"}).appendTo("head");jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/font-awesome.css"}).appendTo("head");jQuery("<link/>",{rel:"stylesheet",type:"text/css",href:cvjs_applicationFolder+"/user_resources/css/modal_01.css"}).appendTo("head");
|
|
@@ -5752,9 +5800,12 @@ l,q=(resize_width+a/global_scale)/resize_width,p=(resize_height+b/global_scale)/
|
|
|
5752
5800
|
p*resize_scale_y)}void 0==q&&(q=1);void 0==p&&(p=1);void 0==d&&(d=0);e=0!=d+resize_rotate?" rotate("+(d+resize_rotate)+" "+(resize_origio_x+g)+" "+(resize_origio_y+h)+")":"";console.log("trans2:"+e);cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][resize_spc].data("transform",e);k="#cv_"+resize_node+"_group";""!=e&&jQuery(k).attr({transform:e});resize_color_layer=cvjs_clearLayer(resize_color_layer);cvjs_highlightSpaceObjectIdDiv(resize_rmid,cvjs_object_selected_colorgrade_move_resize_rotate,
|
|
5753
5801
|
resize_color_layer,resize_fplan)},stop_cvjs_resize_spaceobject_rectangle=function(){cvjs_removeHandleFunc_ResizeSpace();resize_color_layer=cvjs_clearLayer(resize_color_layer);cvjs_rotateSpaceObjectFlag?cvjs_graphicalObjectOnChange("Rotate","SpaceObject",resize_rmid):cvjs_moveSpaceObjectFlag?cvjs_graphicalObjectOnChange("Move","SpaceObject",resize_rmid):cvjs_graphicalObjectOnChange("Resize","SpaceObject",resize_rmid);cvjs_standardHighLightColors=!0;cvjs_supressPopUpModal=!1;for(var a in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr]){var b=
|
|
5754
5802
|
cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id").replace(/\./g,"_");cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id_link",b);b='<table width="100%"><tr><td class="cvjs_modal_header_1" id="cvjs_popupTitleClick_'+b+'">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("name")+'</td><td class="cvjs_modal_header_info_1"><i id="hideOnlyPop_'+b+'" class="fa fa-times"></i></td></tr><tr><td cols="2"><h4 id="cvjs_modal_header_info_2">'+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("type")+
|
|
5755
|
-
"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.
|
|
5756
|
-
|
|
5757
|
-
|
|
5803
|
+
"</h4></td></tr></table>";var c=hbody;if(0==cvjs_frontEndHandlerType.indexOf("reactjs")||0==cvjs_frontEndHandlerType.indexOf("vuejs")||0==cvjs_frontEndHandlerType.indexOf("angular"))c=c.replaceAll("my_own_clickmenu1()","my_own_clickmenu1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("my_own_clickmenu2()","my_own_clickmenu2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("cvjs_zoomHere()","cvjs_zoomHere_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5804
|
+
c=c.replaceAll("custom_callback1()","custom_callback1_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback2()","custom_callback2_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback3()","custom_callback3_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback4()","custom_callback4_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5805
|
+
c=c.replaceAll("custom_callback5()","custom_callback5_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback6()","custom_callback6_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback7()","custom_callback7_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback8()","custom_callback8_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),
|
|
5806
|
+
c=c.replaceAll("custom_callback9()","custom_callback9_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id")),c=c.replaceAll("custom_callback10()","custom_callback10_"+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("id"));dual_hbody_flag&&(-1<=parseInt(cvjs_currentNode_id)?jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
5807
|
+
at:"top left"},hideOnHTMLClick:"false"}):jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:hbody_2,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",at:"top left"},hideOnHTMLClick:"false"}));dual_hbody_flag||jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip({content:{text:c,title:b},style:{classes:"cvjs_qtip qtip-bootstrap qtip-shadow qtip-rounded qtip-zindex"},position:{my:"bottom center",
|
|
5808
|
+
at:"top left"},hideOnHTMLClick:"false"})}hideOnlyPop();cvjs_clearDrawing()};
|
|
5758
5809
|
function cvjs_spaceObjectClickHandlerControlAll(a){if(a)for(a=0;a<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr].length;a++)cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("clickhandler","enable"),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip("enable");else for(a=0;a<cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr].length;a++)cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].data("clickhandler","disable"),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][a].node).qtip("disable")}
|
|
5759
5810
|
function cvjs_spaceObjectClickHandlerControlID(a,b){if(a)for(var c in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id")==b&&(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("clickhandler","enable"),console.log("spc"+c+" "+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("clickhandler")+" "+b),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].node).qtip("enable"));else for(c in cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr])cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("id")==
|
|
5760
5811
|
b&&(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("clickhandler","disable"),console.log("spc"+c+" "+cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].data("clickhandler")+" "+b),jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][c].node).qtip("disable"))}function setllccktrace(a){llccktrace=a};
|