cadviewer 7.0.3 → 7.0.4
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.
|
@@ -2377,7 +2377,8 @@ cadviewer_full_commands_01;
|
|
|
2377
2377
|
//*/
|
|
2378
2378
|
|
|
2379
2379
|
|
|
2380
|
-
|
|
2380
|
+
|
|
2381
|
+
var cvjs_versionNumber="CADViewer - v7.0.04b",cvjs_AXversionNumber="",cvjs_Community_Version=!0,cvjs_svg_creation_contentData="",rest_customConversionEndpointExtension=!1,cvjs_cadviewer_version7=!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=
|
|
2381
2382
|
0,cvjs_interactiveZoomWidthAdjustment=!0,cvjs_tmsMinLineWidth_init=0,cvjs_tmsMinFixedLineWidth_init=0,cvjs_measurementSnapMode="none",cvjs_dragModalTouchPad_x=0,cvjs_dragModalTouchPad_y=0,cvjs_jsonLocation="",cvjs_isAngular=!1,cvjs_firstCloneHandle="",cvjs_firstCloneHandleFlag=!1,cvjs_setProcessHandleObjects=!1,cvjs_setProcessSpaceObjects=!0,cvjs_layerlist_layeritemsmax=120,pt1="htt",lt1="log",lt2="oJS",lt3=".p",lt4="ng",cvjs_insertSpaceObjectCustomCodePlaceholder,cvjs_EmailSentStatus,cvjs_OnLoadEnd,
|
|
2382
2383
|
cvjs_graphicalObjectOnChange,cvjs_OnLoadEndRedlines,cvjs_ObjectSelected,cvjs_measurementCallback,cvjs_CalibrateMeasurementCallback,cvjs_Url_callback,cvjs_loadSpaceImage_UserConfiguration,cvjs_NoObjectSelected,cvjs_SVGfileObjectClicked,cvjs_SVGfileObjectMouseEnter,cvjs_SVGfileObjectMouseLeave,cvjs_SVGfileObjectMouseMove,cvjs_ParseDisplayDataMaps,cvjs_QuickCountCallback,cvjs_OnHyperlinkClick,cvjs_setUpStickyNotesRedlines,custom_host_parser_PopUpMenu,cvjs_customHostParser,drawPathsGeneric,cvjs_callbackForModalDisplay,
|
|
2383
2384
|
cvjs_populateMyCustomPopUpBody,cvjs_customModalPopUpBody,cvjs_NoObjectSelectedStickyNotes,cvjs_NoObjectSelectedHyperlinks,cvjs_ObjectSelectedHyperlink,cvjs_ObjectSelectedStickyNotes,cvjs_saveStickyNotesRedlinesUser,cvjs_loadStickyNotesRedlinesUser,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,
|
|
@@ -3056,19 +3057,9 @@ cvjs_MinWidthSVGZWfactor_zoomCalculated*cvjs_MinWidthSVGZWfactor*cvjs_MinWidthSV
|
|
|
3056
3057
|
100)}})});jQuery("#spaceobjectSize_"+b).change(function(){var a=jQuery("#spaceobjectSize_"+b).val();cvjs_setGlobalSpaceImageObjectScaleFactor(a/100);jQuery("#cvjs_objectslider2_"+b).slider("value",a)});jQuery("#sortable").sortable({disabled:!1});jQuery(function(){jQuery("#floatNavigationMenu_"+b).draggable()});jQuery("#floatNavigationMenu_"+b).hide();jQuery("#cvjs_zoomextents_"+b).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(17);
|
|
3057
3058
|
cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.ZoomExtents);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left-30).css("top",jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_zoomextents_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});
|
|
3058
3059
|
jQuery("#cvjs_zoomwindow_"+b).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(16);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.ZoomWindow);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left).css("top",
|
|
3059
|
-
jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_zoomwindow_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
jQuery(this).attr("id").substring(14);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.First);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left+90).css("top",jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_fastback_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});
|
|
3063
|
-
jQuery("#cvjs_back_"+b).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(10);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.Previous);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left+120).css("top",
|
|
3064
|
-
jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_back_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});jQuery("#cvjs_enterpagenumber_"+b).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(21);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.EnterPage);
|
|
3065
|
-
tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left+160).css("top",jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_enterpagenumber_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});jQuery("#cvjs_selectpagefromlist_"+b).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(24);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);
|
|
3066
|
-
tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.SelectPageFromList);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left+240).css("top",jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_selectpagefromlist_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});jQuery("#cvjs_selectpagefromlist_"+
|
|
3067
|
-
b).mousedown(function(){cvjs_PageChangeList(b)});jQuery("#cvjs_forward_"+b).mouseover(function(){cvjs_debug&&console.log(cvjs_active_floorplan_div_nr+" "+jQuery(this).attr("id"));try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(13);console.log(a);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.Next);
|
|
3068
|
-
tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left+290).css("top",jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_forward_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});jQuery("#cvjs_fastforward_"+b).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(l){}var a=jQuery(this).attr("id").substring(17);cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});
|
|
3069
|
-
tip[cvjs_active_floorplan_div_nr].html(languageTable.languages[cvjs_currentLanguage].PageModal.Last);tip[cvjs_active_floorplan_div_nr].show();tip[cvjs_active_floorplan_div_nr].css("left",jQuery("#floatNavigationMenu_"+b).position().left+305).css("top",jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_fastforward_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});cvjs_initialize_allColorCheckboxes(b);c=!1;0==cvjs_frontEndHandlerType.indexOf("reactjs")&&-1==cvjs_backEndHandlerType.indexOf("dotnetcore")&&
|
|
3070
|
-
reactstaticbindbitmap&&(c=!0);0==cvjs_frontEndHandlerType.indexOf("vuejs")&&vuestaticbindbitmap&&(c=!0);0==cvjs_frontEndHandlerType.indexOf("angular")&&angularstaticbindbitmap&&(c=!0);e="";e=c?"url("+pageChange_08+")":"url("+cvjs_imagesLocation+"pageChange_08.png)";jQuery(".changePagebox1").css("background-image",e);e=c?"url("+compareDrawingName_11B+")":"url("+cvjs_imagesLocation+"compareDrawingName_11B.png)";jQuery(".compareDrawingbox1").css("background-image",e);e=c?"url("+cvjsToolbar_dra_pageChange_11B+
|
|
3071
|
-
")":"url("+cvjs_imagesLocation+"cvjsToolbar_dra_pageChange_11B.png)";jQuery(".changePagebox_topBar").css("background-image",e);jQuery("#"+a).append('<div id="cvjs_qrcode_'+b+'" style="width:200px; height:200px; margin-top:15px;"></div>');jQuery("#cvjs_qrcode_"+b).hide();cvjs_modalsInitialized=!0}
|
|
3060
|
+
jQuery("#floatNavigationMenu_"+b).position().top+33)});jQuery("#cvjs_zoomwindow_"+b).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide()});cvjs_initialize_allColorCheckboxes(b);c=!1;0==cvjs_frontEndHandlerType.indexOf("reactjs")&&-1==cvjs_backEndHandlerType.indexOf("dotnetcore")&&reactstaticbindbitmap&&(c=!0);0==cvjs_frontEndHandlerType.indexOf("vuejs")&&vuestaticbindbitmap&&(c=!0);0==cvjs_frontEndHandlerType.indexOf("angular")&&angularstaticbindbitmap&&(c=!0);e="";e=c?"url("+pageChange_08+
|
|
3061
|
+
")":"url("+cvjs_imagesLocation+"pageChange_08.png)";jQuery(".changePagebox1").css("background-image",e);e=c?"url("+compareDrawingName_11B+")":"url("+cvjs_imagesLocation+"compareDrawingName_11B.png)";jQuery(".compareDrawingbox1").css("background-image",e);e=c?"url("+cvjsToolbar_dra_pageChange_11B+")":"url("+cvjs_imagesLocation+"cvjsToolbar_dra_pageChange_11B.png)";jQuery(".changePagebox_topBar").css("background-image",e);jQuery("#"+a).append('<div id="cvjs_qrcode_'+b+'" style="width:200px; height:200px; margin-top:15px;"></div>');
|
|
3062
|
+
jQuery("#cvjs_qrcode_"+b).hide();cvjs_modalsInitialized=!0}
|
|
3072
3063
|
function cvjs_InitializeModals_helper07_allMethodsAfterLanguageLoad(a,b,c){cvjs_debug&&console.log("Languages: "+languageTable.numberOfLanguages);try{cvjs_currentLanguage=1;for(var d=0;d<languageTable.numberOfLanguages;d++)0==cvjs_loadCADViewerLanguageName.toLowerCase().indexOf(languageTable.languages[d].thisLanguage.toLowerCase())&&cvjs_loadCADViewerLanguageName.length==languageTable.languages[d].thisLanguage.length&&(cvjs_currentLanguage=d);cvjs_debug&&console.log("thisLanguage:"+languageTable.languages[cvjs_currentLanguage].thisLanguage)}catch(e){console.log("Error:"+
|
|
3073
3064
|
e)}try{for(d=0;d<languageTable.numberOfLanguages;d++)0==cvjs_loadCADViewerLanguageName.indexOf(languageTable.languages[d].languageCode)&&(cvjs_currentLanguage=d)}catch(e){console.log(e)}cvjs_debug&&console.log("cvjs_InitializeModals_helper07_allMethodsAfterLanguageLoad: "+languageTable.languages[cvjs_currentLanguage].thisLanguage);cvjs_debug&&console.log("cvjs_LoadTopNavigationMenu()");try{cvjs_LoadTopNavigationMenu(a)}catch(e){console.log("err-cvjs_LoadTopNavigationMenu: "+a+" "+e)}cvjs_debug&&console.log("cvjs_LoadCoordinatesMenu()");
|
|
3074
3065
|
try{cvjs_LoadCoordinatesMenu(b)}catch(e){console.log("err cvjs_LoadCoordinatesMenu: "+b+" "+e)}try{cvjs_LoadSpaceObjectsCustomMenuFlag&&cvjs_LoadSpaceObjectsCustomMenu(b)}catch(e){console.log("err cvjs_LoadSpaceObjectsCustomMenu: "+b+" "+e)}cvjs_debug&&console.log("cvjs_topIconMenuXML[cvjs_interfaceCounterIndex(floorplan_div)]:"+cvjs_topIconMenuXML[cvjs_interfaceCounterIndex(b)]);-1==cvjs_topIconMenuXML[cvjs_interfaceCounterIndex(b)].indexOf("cadviewer_full_commands_01")&&-1==cvjs_topIconMenuXML[cvjs_interfaceCounterIndex(b)].indexOf("cadviewer_horizontal_zoomonly_01")?
|
|
@@ -3717,7 +3708,7 @@ function(){cvjs_debug&&console.log("we have clicked: #"+c+"_"+a);cvjs_customComm
|
|
|
3717
3708
|
console.log("we have clicked: #"+c+"_"+a);cvjs_customCommand_16()});if(0==d.indexOf("cvjs_customCommand_17"))jQuery("#"+c+"_"+a).on("click",function(){cvjs_debug&&console.log("we have clicked: #"+c+"_"+a);cvjs_customCommand_17()});if(0==d.indexOf("cvjs_customCommand_18"))jQuery("#"+c+"_"+a).on("click",function(){cvjs_debug&&console.log("we have clicked: #"+c+"_"+a);cvjs_customCommand_18()});if(0==d.indexOf("cvjs_customCommand_19"))jQuery("#"+c+"_"+a).on("click",function(){cvjs_debug&&console.log("we have clicked: #"+
|
|
3718
3709
|
c+"_"+a);cvjs_customCommand_19()});if(0==d.indexOf("cvjs_customCommand_20"))jQuery("#"+c+"_"+a).on("click",function(){cvjs_debug&&console.log("we have clicked: #"+c+"_"+a);cvjs_customCommand_20()})}
|
|
3719
3710
|
function cvjs_navigationMenuItemHighlight(a,b,c,d,e){jQuery("#"+c+"_"+a).mouseover(function(){try{tip[cvjs_active_floorplan_div_nr].hide()}catch(g){}cvjs_active_floorplan_div_nr=cvjs_rPaperIndex(a);jQuery("#"+c+"_"+a).css("cursor","pointer");jQuery("#"+c+"_"+a).css("opacity","0.1");cvjs_leafletJS&&(cvjs_active_floorplan_div_nr=0);tip[cvjs_active_floorplan_div_nr].css({position:"absolute"});tip[cvjs_active_floorplan_div_nr].html(d);var f=0;1==e&&(f=31);2==e&&(f=-130);tip[cvjs_active_floorplan_div_nr].css("left",
|
|
3720
|
-
jQuery("#"+a+"_svg").position().left+jQuery("#"+b+"_"+a+"_svg").position().left+jQuery("#"+c+"_"+a).position().left+f-jQuery("#"+a+"_svg").position().left);tip[cvjs_active_floorplan_div_nr].css("top",jQuery("#"+a+"_svg").position().top+jQuery("#"+b+"_"+a+"_svg").position().top
|
|
3711
|
+
jQuery("#"+a+"_svg").position().left+jQuery("#"+b+"_"+a+"_svg").position().left+jQuery("#"+c+"_"+a).position().left+f-jQuery("#"+a+"_svg").position().left);tip[cvjs_active_floorplan_div_nr].css("top",jQuery("#"+a+"_svg").position().top+jQuery("#"+b+"_"+a+"_svg").position().top-25-jQuery("#"+a+"_svg").position().top);tip[cvjs_active_floorplan_div_nr].show()});jQuery("#"+c+"_"+a).mouseout(function(){tip[cvjs_active_floorplan_div_nr].hide();jQuery("#"+c+"_"+a).css("opacity","0.0")})}
|
|
3721
3712
|
function cvjs_allowFileLoadToServer(a){cvjs_fileLoadToServer=a}
|
|
3722
3713
|
var cvjs_buildFolderTree_crossDomain=!1,cvjs_compareDrawingsFirstDrawing="",cvjs_compareDrawingsSecondDrawing="",cvjs_compareDrawings=!1,colorFlag=!0,firstOverlayCompareFile=!0,layers_all_overlay,layers_all_overlay2,fileOverlay=!1,cvjs_SVG_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,
|
|
3723
3714
|
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",pageName:"Single Page"}]},{multiPages:1,currentPage:1,pages:[{fileName:"default",
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cadviewer",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "CADViewer - JavaScript CAD Viewer Library for FrameWorks (ReactJS, Angular, VueJS, etc.)",
|
|
5
|
-
"main": "app/cv/cv-pro/npm_cadviewer_7.0.
|
|
5
|
+
"main": "app/cv/cv-pro/npm_cadviewer_7.0.04b.min.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Use test samples on Github https://github.com/CADViewer/cadviewer-testapp-react-01 \" && exit 1"
|
|
8
8
|
},
|