Gitlab CSE Unil

Commit d973ef56 authored by M. Chardon's avatar M. Chardon
Browse files

maj erreur compilation

parent e11eca60
......@@ -33175,7 +33175,7 @@ define("jquery.hotkeys", ["jquery"], function(){});
define('env/shortcuts',["jquery","paper","signals","adim/config","adim/view","adim/tools","adim/ui","jquery.hotkeys"],function(c,e,n,t,i,o,a){var r="edit review",d="#annotation-display-container";function f(e){var t=c("#inputGroupSize");return function(){var n=parseInt(t.val(),10)+e;return 0<n&&t.val(n).change(),!1}}return{"backspace del":[{event:"keydown",ctxt:"edit",fn:function(){return i.removeSelectedItems(),!1}},{event:"keydown",ctxt:"review",fn:function(){return!1}}],space:[{event:"keydown",ctxt:r,fn:function(){return c("#tool-pan").click(),!1}},{event:"keyup",ctxt:r,fn:function(){return c("#tool-pan").click(),!1}}],"1 2 3":{ctxt:"edit",fn:function(n){return 0<e.project.selectedItems.length&&c("#confidence-input").val([n.key]).change().siblings("[data-value]").trigger("mouseleave"),!1}},a:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-select").click(),!1}}],"ctrl+a meta+a":[{event:"keydown",ctxt:"edit",fn:function(){return e.project.activeLayer.children.map(function(n){n.selected=!0}),!1}},{event:"keydown",ctxt:"review",fn:function(){return!1}}],c:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-concordantstr").is(":disabled")||c("#tool-concordantstr").click(),!1}},{event:"keydown",ctxt:"analysis",fn:function(){var n=c("#checkShowConcordance");return n.val([n.is(":checked")?"off":"on"]).change(),!1}}],d:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-discordantstr").is(":disabled")||c("#tool-discordantstr").click(),!1}},{event:"keydown",ctxt:"analysis",fn:function(){var n=c("#checkShowDiscordance");return n.val([n.is(":checked")?"off":"on"]).change(),!1}}],"shift+d shift+c":{ctxt:r,fn:function(){c(d).find("[data-type-name='concordantstr,discordantstr']").click()}},"e b":[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-fieldedges").is(":disabled")||c("#tool-fieldedges").click(),!1}}],"shift+e":{ctxt:r,fn:function(){c(d).find("[data-type-name='fieldedges']").click()}},f:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-arrow").click(),!1}}],"shift+i":{ctxt:r,fn:function(){c(d).find("[data-type-name='image']").click()}},n:[{event:"keydown",ctxt:"analysis",fn:function(){var n=c("#checkShowConfidence");return n.val([n.is(":checked")?"off":"on"]).change(),!1}}],z:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-cmsarea").is(":disabled")||c("#tool-cmsarea").click(),!1}}],"shift+z":{ctxt:r,fn:function(){c(d).find("[data-type-name='cmsarea']").click()}},up:[{event:"keydown",ctxt:"analysis",fn:f(1)}],down:[{event:"keydown",ctxt:"analysis",fn:f(-1)}]}});
/*! AdIm - v3.1.0 - 2019-08-26 - Copyright (C) 2019 Université de Lausanne - see licence */
define('env/env',["jquery","underscore","paper","signals","adim/config","adim/view","adim/attributes","adim/io","adim/tools","adim/ui","env/shortcuts"],function(i,t,m,e,g,p,o,n,r,f,a){return{name:"cimaf",shortcuts:a,initSignalRouting:function(){var u;function e(t){if(!(t&&["cmsarea","concordantstr"].indexOf(t.data.type)<0)&&(u||(u=p.getOrCreateUserLayer(g.user.id,g.user.full_name)),u)){var e,n,a,i,o=u.children.filter(function(t){return t.data.type&&"cmsarea"===t.data.type}),s=u.children.filter(function(t){return t.data.type&&"concordantstr"===t.data.type}),r=m.project.getSelectedItems(),d=1===r.length&&"cmsarea"===r[0].data.type?r[0]:null,c=d?d.data.prop.nbConcordances:null,l=s.length;for(a=0;e=o[a];a++){for(i=n=0;i<l;i++)n+=Math.round(e.getIntersections(s[i]).length/2);e.data.prop.nbConcordances=n}null!==c&&d.data.prop.nbConcordances!==c&&f.displayProperties(d)}}console.info("_initSignalRouting from env/cimaf"),r.events.annotationAdded.add(function(t){e(t)},this,100),r.events.annotationChanged.add(function(t){e(1===t.length?t[0]:void 0)},this,100),n.events.annotableLoaded.add(function(t){var e=r.tools.concordantstr,n=r.tools.discordantstr,a=r.tools.cmsarea,i=r.tools.cmsarea,o=t.envparam&&t.envparam.cimaf_cut_pos,s=t.envparam&&t.envparam.cimaf_cut_margin;p.events.imageLoaded.add(function(t){o=o||t.raster.scaling.x*t.raster.width/2,s=s||25,e.listeners.onCutPositionChanged(o),e.listeners.onCutMarginChanged(s),n.listeners.onCutPositionChanged(o),a.listeners.onCutPositionChanged(o),a.listeners.onSetAreaWidth(2*s),i.listeners.onCutPositionChanged(o),i.listeners.onSetAreaWidth(2*s)})},100)},initUI:function(t){i(".adim-display-type-selector").find("button").on("click",function(t){var e=i(this),n=!e.hasClass("active"),a=e.data("typeName");t.metaKey?"image"!==a&&p.selectItemsByType(a):(e.toggleClass("active",n),"image"===a?o.setImageOpacity(n?100:0,!0):(p.toggleItemsByType(e.data("typeName"),n),f.enableTool(a,n)))})}}});
define('env/env',["jquery","underscore","paper","signals","adim/config","adim/view","adim/attributes","adim/io","adim/tools","adim/ui","env/shortcuts"],function(i,t,f,e,g,h,r,a,s,y,n){return{name:"cimaf",shortcuts:n,initSignalRouting:function(){var m;function e(t){if(m||(m=h.getOrCreateUserLayer(g.user.id,g.user.full_name)),m){if(t&&0<=["cmsarea","concordantstr"].indexOf(t.data.type)){var e=m.children.filter(function(t){return t.data.type&&"cmsarea"===t.data.type}),a=m.children.filter(function(t){return t.data.type&&"concordantstr"===t.data.type}),n=(o=1===(r=f.project.getSelectedItems()).length&&"cmsarea"===r[0].data.type?r[0]:null)?o.data.prop.nbConcordances:null,i=a.length;for(c=0;s=e[c];c++){for(l=d=0;l<i;l++)d+=Math.round(s.getIntersections(a[l]).length/2);s.data.prop.nbConcordances=d}null!==n&&o.data.prop.nbConcordances!==n&&y.displayProperties(o)}if(t&&0<=["dcmsarea","discordantstr"].indexOf(t.data.type)){var r,o,s,d,c,l,u=m.children.filter(function(t){return t.data.type&&"dcmsarea"===t.data.type}),p=m.children.filter(function(t){return t.data.type&&"discordantstr"===t.data.type});for(n=(o=1===(r=f.project.getSelectedItems()).length&&"dcmsarea"===r[0].data.type?r[0]:null)?o.data.prop.nbDiscordances:null,i=p.length,c=0;s=u[c];c++){for(l=d=0;l<i;l++)d+=Math.round(s.getIntersections(p[l]).length/2);s.data.prop.nbDiscordances=d}null!==n&&o.data.prop.nbDiscordances!==n&&y.displayProperties(o)}}}console.info("_initSignalRouting from env/cimaf"),s.events.annotationAdded.add(function(t){e(t)},this,100),s.events.annotationChanged.add(function(t){e(1===t.length?t[0]:void 0)},this,100),a.events.annotableLoaded.add(function(t){var e=s.tools.concordantstr,a=s.tools.discordantstr,n=s.tools.cmsarea,i=s.tools.dcmsarea,r=t.envparam&&t.envparam.cimaf_cut_pos,o=t.envparam&&t.envparam.cimaf_cut_margin;h.events.imageLoaded.add(function(t){r=r||t.raster.scaling.x*t.raster.width/2,o=o||25,e.listeners.onCutPositionChanged(r),e.listeners.onCutMarginChanged(o),a.listeners.onCutPositionChanged(r),n.listeners.onCutPositionChanged(r),n.listeners.onSetAreaWidth(2*o),i.listeners.onCutPositionChanged(r),i.listeners.onSetAreaWidth(2*o)})},100)},initUI:function(t){i(".adim-display-type-selector").find("button").on("click",function(t){var e=i(this),a=!e.hasClass("active"),n=e.data("typeName");t.metaKey?"image"!==n&&h.selectItemsByType(n):(e.toggleClass("active",a),"image"===n?r.setImageOpacity(a?100:0,!0):(h.toggleItemsByType(e.data("typeName"),a),y.enableTool(n,a)))})}}});
/**
* Copyright (C) 2014 Université de Lausanne, RISET,
* < http://www.unil.ch/riset/ >
......@@ -36034,7 +36034,7 @@ define("jquery.hotkeys", ["jquery"], function(){});
define('env/shortcuts',["jquery","paper","signals","adim/config","adim/view","adim/tools","adim/ui","jquery.hotkeys"],function(c,e,n,t,i,o,a){var r="edit review",d="#annotation-display-container";function f(e){var t=c("#inputGroupSize");return function(){var n=parseInt(t.val(),10)+e;return 0<n&&t.val(n).change(),!1}}return{"backspace del":[{event:"keydown",ctxt:"edit",fn:function(){return i.removeSelectedItems(),!1}},{event:"keydown",ctxt:"review",fn:function(){return!1}}],space:[{event:"keydown",ctxt:r,fn:function(){return c("#tool-pan").click(),!1}},{event:"keyup",ctxt:r,fn:function(){return c("#tool-pan").click(),!1}}],"1 2 3":{ctxt:"edit",fn:function(n){return 0<e.project.selectedItems.length&&c("#confidence-input").val([n.key]).change().siblings("[data-value]").trigger("mouseleave"),!1}},a:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-select").click(),!1}}],"ctrl+a meta+a":[{event:"keydown",ctxt:"edit",fn:function(){return e.project.activeLayer.children.map(function(n){n.selected=!0}),!1}},{event:"keydown",ctxt:"review",fn:function(){return!1}}],c:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-concordantstr").is(":disabled")||c("#tool-concordantstr").click(),!1}},{event:"keydown",ctxt:"analysis",fn:function(){var n=c("#checkShowConcordance");return n.val([n.is(":checked")?"off":"on"]).change(),!1}}],d:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-discordantstr").is(":disabled")||c("#tool-discordantstr").click(),!1}},{event:"keydown",ctxt:"analysis",fn:function(){var n=c("#checkShowDiscordance");return n.val([n.is(":checked")?"off":"on"]).change(),!1}}],"shift+d shift+c":{ctxt:r,fn:function(){c(d).find("[data-type-name='concordantstr,discordantstr']").click()}},"e b":[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-fieldedges").is(":disabled")||c("#tool-fieldedges").click(),!1}}],"shift+e":{ctxt:r,fn:function(){c(d).find("[data-type-name='fieldedges']").click()}},f:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-arrow").click(),!1}}],"shift+i":{ctxt:r,fn:function(){c(d).find("[data-type-name='image']").click()}},n:[{event:"keydown",ctxt:"analysis",fn:function(){var n=c("#checkShowConfidence");return n.val([n.is(":checked")?"off":"on"]).change(),!1}}],z:[{event:"keydown",ctxt:"edit",fn:function(){return c("#tool-cmsarea").is(":disabled")||c("#tool-cmsarea").click(),!1}}],"shift+z":{ctxt:r,fn:function(){c(d).find("[data-type-name='cmsarea']").click()}},up:[{event:"keydown",ctxt:"analysis",fn:f(1)}],down:[{event:"keydown",ctxt:"analysis",fn:f(-1)}]}});
/*! AdIm - v3.1.0 - 2019-08-26 - Copyright (C) 2019 Université de Lausanne - see licence */
define('env/env',["jquery","underscore","paper","signals","adim/config","adim/view","adim/attributes","adim/io","adim/tools","adim/ui","env/shortcuts"],function(i,t,m,e,g,p,o,n,r,f,a){return{name:"cimaf",shortcuts:a,initSignalRouting:function(){var u;function e(t){if(!(t&&["cmsarea","concordantstr"].indexOf(t.data.type)<0)&&(u||(u=p.getOrCreateUserLayer(g.user.id,g.user.full_name)),u)){var e,n,a,i,o=u.children.filter(function(t){return t.data.type&&"cmsarea"===t.data.type}),s=u.children.filter(function(t){return t.data.type&&"concordantstr"===t.data.type}),r=m.project.getSelectedItems(),d=1===r.length&&"cmsarea"===r[0].data.type?r[0]:null,c=d?d.data.prop.nbConcordances:null,l=s.length;for(a=0;e=o[a];a++){for(i=n=0;i<l;i++)n+=Math.round(e.getIntersections(s[i]).length/2);e.data.prop.nbConcordances=n}null!==c&&d.data.prop.nbConcordances!==c&&f.displayProperties(d)}}console.info("_initSignalRouting from env/cimaf"),r.events.annotationAdded.add(function(t){e(t)},this,100),r.events.annotationChanged.add(function(t){e(1===t.length?t[0]:void 0)},this,100),n.events.annotableLoaded.add(function(t){var e=r.tools.concordantstr,n=r.tools.discordantstr,a=r.tools.cmsarea,i=r.tools.cmsarea,o=t.envparam&&t.envparam.cimaf_cut_pos,s=t.envparam&&t.envparam.cimaf_cut_margin;p.events.imageLoaded.add(function(t){o=o||t.raster.scaling.x*t.raster.width/2,s=s||25,e.listeners.onCutPositionChanged(o),e.listeners.onCutMarginChanged(s),n.listeners.onCutPositionChanged(o),a.listeners.onCutPositionChanged(o),a.listeners.onSetAreaWidth(2*s),i.listeners.onCutPositionChanged(o),i.listeners.onSetAreaWidth(2*s)})},100)},initUI:function(t){i(".adim-display-type-selector").find("button").on("click",function(t){var e=i(this),n=!e.hasClass("active"),a=e.data("typeName");t.metaKey?"image"!==a&&p.selectItemsByType(a):(e.toggleClass("active",n),"image"===a?o.setImageOpacity(n?100:0,!0):(p.toggleItemsByType(e.data("typeName"),n),f.enableTool(a,n)))})}}});
define('env/env',["jquery","underscore","paper","signals","adim/config","adim/view","adim/attributes","adim/io","adim/tools","adim/ui","env/shortcuts"],function(i,t,f,e,g,h,r,a,s,y,n){return{name:"cimaf",shortcuts:n,initSignalRouting:function(){var m;function e(t){if(m||(m=h.getOrCreateUserLayer(g.user.id,g.user.full_name)),m){if(t&&0<=["cmsarea","concordantstr"].indexOf(t.data.type)){var e=m.children.filter(function(t){return t.data.type&&"cmsarea"===t.data.type}),a=m.children.filter(function(t){return t.data.type&&"concordantstr"===t.data.type}),n=(o=1===(r=f.project.getSelectedItems()).length&&"cmsarea"===r[0].data.type?r[0]:null)?o.data.prop.nbConcordances:null,i=a.length;for(c=0;s=e[c];c++){for(l=d=0;l<i;l++)d+=Math.round(s.getIntersections(a[l]).length/2);s.data.prop.nbConcordances=d}null!==n&&o.data.prop.nbConcordances!==n&&y.displayProperties(o)}if(t&&0<=["dcmsarea","discordantstr"].indexOf(t.data.type)){var r,o,s,d,c,l,u=m.children.filter(function(t){return t.data.type&&"dcmsarea"===t.data.type}),p=m.children.filter(function(t){return t.data.type&&"discordantstr"===t.data.type});for(n=(o=1===(r=f.project.getSelectedItems()).length&&"dcmsarea"===r[0].data.type?r[0]:null)?o.data.prop.nbDiscordances:null,i=p.length,c=0;s=u[c];c++){for(l=d=0;l<i;l++)d+=Math.round(s.getIntersections(p[l]).length/2);s.data.prop.nbDiscordances=d}null!==n&&o.data.prop.nbDiscordances!==n&&y.displayProperties(o)}}}console.info("_initSignalRouting from env/cimaf"),s.events.annotationAdded.add(function(t){e(t)},this,100),s.events.annotationChanged.add(function(t){e(1===t.length?t[0]:void 0)},this,100),a.events.annotableLoaded.add(function(t){var e=s.tools.concordantstr,a=s.tools.discordantstr,n=s.tools.cmsarea,i=s.tools.dcmsarea,r=t.envparam&&t.envparam.cimaf_cut_pos,o=t.envparam&&t.envparam.cimaf_cut_margin;h.events.imageLoaded.add(function(t){r=r||t.raster.scaling.x*t.raster.width/2,o=o||25,e.listeners.onCutPositionChanged(r),e.listeners.onCutMarginChanged(o),a.listeners.onCutPositionChanged(r),n.listeners.onCutPositionChanged(r),n.listeners.onSetAreaWidth(2*o),i.listeners.onCutPositionChanged(r),i.listeners.onSetAreaWidth(2*o)})},100)},initUI:function(t){i(".adim-display-type-selector").find("button").on("click",function(t){var e=i(this),a=!e.hasClass("active"),n=e.data("typeName");t.metaKey?"image"!==n&&h.selectItemsByType(n):(e.toggleClass("active",a),"image"===n?r.setImageOpacity(a?100:0,!0):(h.toggleItemsByType(e.data("typeName"),a),y.enableTool(n,a)))})}}});
/**
* Copyright (C) 2014 Université de Lausanne, RISET,
* < http://www.unil.ch/riset/ >
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment