-
Notifications
You must be signed in to change notification settings - Fork 10
/
ec-about.js
1 lines (1 loc) · 10.2 KB
/
ec-about.js
1
define(["client.property-panel/components/components","client.property-panel/component-utils","translator","require"],function(a,b){var c=window.location.href+"#gradient-cl-about";c=c.replace("state/analysis","state/edit");var d='<svg width="241" height="88" xmlns="http://www.w3.org/2000/svg"> <!-- Generator: Sketch 3.2.2 (9983) - http://www.bohemiancoding.com/sketch --> <title>ecraft-logo</title> <desc>Created with Sketch.</desc> <g> <title>background</title> <rect fill="none" id="canvas_background" height="90" width="243" y="-1" x="-1"/> </g> <g> <title>Layer 1</title> <g fill-rule="evenodd" fill="none" id="Page-1"> <g fill="#000000" id="ecraft-logo"> <path id="Fill-1" d="m125.80314,44.5584c0.6157,0 1.10749,0.48576 1.10749,1.08864c0,0.60192 -0.49179,1.0896 -1.09877,1.0896l-3.36313,0l0.0697,1.50528l-0.00387,2.85696c0,0.60192 -0.49179,1.09152 -1.09878,1.09152c-0.60699,0 -1.09878,-0.4896 -1.09878,-1.10016l0,-8.16192c0,-2.11584 1.72126,-3.82464 3.84621,-3.82464l2.73871,0c0.6157,0 1.10749,0.48768 1.10749,1.0896c0,0.60288 -0.49179,1.09152 -1.09878,1.09152l-2.73871,0c-0.91968,0 -1.65736,0.73152 -1.65736,1.63488l-0.06583,1.63872l3.35441,0"/> <path id="Fill-2" d="m91.04308,48.37248c0,0.90336 0.73865,1.63584 1.64768,1.63584l2.74839,0c0.60699,0 1.09878,0.48768 1.09878,1.09056c0,0.60192 -0.49179,1.09152 -1.10846,1.09152l-2.73,0c-2.13269,0 -3.85491,-1.7088 -3.85491,-3.81792l0.00097,-5.44416c0,-2.11488 1.71835,-3.82272 3.84039,-3.82464l2.75323,0c0.60699,0 1.09878,0.48768 1.09878,1.0896c0,0.60288 -0.49179,1.09152 -1.10846,1.09152l-2.73,0c-0.91774,0 -1.65639,0.73152 -1.65639,1.63488l0,5.4528"/> <path id="Fill-3" d="m135.79765,46.73664l-3.36312,0l0.07454,1.63584c0,0.90336 0.73865,1.63584 1.65833,1.63584l2.73871,0c0.60699,0 1.09878,0.48768 1.09878,1.09056c0,0.60192 -0.49179,1.0896 -1.10749,1.0896l-2.73872,0c-2.12494,0 -3.84717,-1.70784 -3.84717,-3.82464l0,-8.16192c0,-0.61056 0.49276,-1.09824 1.09878,-1.09824c0.60699,0 1.09878,0.48768 1.09878,1.0896l0,2.73504l-0.07454,1.62816l3.37184,0c0.60699,0 1.09974,0.48768 1.09974,1.0896c0,0.60192 -0.49275,1.09056 -1.10846,1.09056"/> <path id="Fill-4" d="m101.30865,42.91968l0,8.1792c0,0.60192 -0.49178,1.09152 -1.09877,1.09152c-0.60699,0 -1.09878,-0.4896 -1.09878,-1.10016l0,-8.16192c0,-2.11584 1.72222,-3.82464 3.84717,-3.82464l2.73871,0c0.61474,0 1.10749,0.48768 1.10749,1.0896c0,0.60288 -0.49275,1.09152 -1.09974,1.09152l-2.73775,0c-0.91968,0 -1.65833,0.73152 -1.65833,1.63488"/> <path id="Fill-5" d="m114.85604,46.60512l-6.1183,0.1392l0,1.62816c0,0.91104 0.73768,1.64352 1.64962,1.64352l2.73871,0c0.91871,0 1.65736,-0.73248 1.65736,-1.63584l0.07261,-1.77504l0,0zm0,-2.04192l-0.07261,-1.62624c0,-0.912 -0.73865,-1.64544 -1.64962,-1.64544l-2.74645,0c-0.60699,0 -1.09975,-0.48768 -1.09975,-1.09056c0,-0.60192 0.49276,-1.0896 1.10749,-1.0896l2.73097,0c2.13269,0 3.85491,1.7088 3.85491,3.81696l0,5.44416c-0.00871,2.12256 -1.72416,3.82176 -3.84233,3.82368l-2.74355,0c-2.13947,-0.00768 -3.85201,-1.71072 -3.85492,-3.8112l0,-2.73216c0,-0.6 0.49179,-1.0896 1.09878,-1.0896l7.21708,0l0,0z"/> <path id="Fill-6" d="m78.13173,44.69472l6.11055,-0.13824l0,-1.62816c0,-0.912 -0.73865,-1.64352 -1.64865,-1.64352l-2.73871,0c-0.91871,0 -1.65736,0.73152 -1.65736,1.63488l-0.06583,1.77504l0,0zm0,2.04192l0.06583,1.6272c0,0.912 0.73865,1.64448 1.64865,1.64448l2.74742,0c0.60699,0 1.09975,0.48768 1.09975,1.09056c0,0.60192 -0.49276,1.09152 -1.10749,1.09152l-2.73097,0c-2.13269,0 -3.85492,-1.7088 -3.85492,-3.81792l0,-5.44416c0.00775,-2.12256 1.72416,-3.82272 3.8404,-3.82464l2.74549,0c2.13947,0.00768 3.85201,1.71072 3.85394,3.81216l0,2.7312c0,0.60192 -0.49178,1.0896 -1.09877,1.0896l-7.20933,0l0,0z"/> <path id="Fill-7" d="m136.86158,25.31616c0.57504,-0.0192 0.89548,0.83328 0.98648,1.70976c0.12585,1.22208 -0.06486,3.75936 -1.10846,3.75936c-0.98454,0 -1.27013,-0.67104 -1.26238,-1.53984c0.0029,-0.4128 0.05615,-1.3824 0.2546,-2.25408c0.19749,-0.86784 0.54019,-1.65504 1.12976,-1.6752"/> <path id="Fill-8" d="m153.85631,39.41856c0.33496,-0.02112 1.66898,-0.06048 2.90813,-0.01824c1.14234,0.0384 2.44345,0.13344 2.42796,0.5616c-0.01743,0.54528 -1.33112,0.7872 -2.49863,0.92256c-1.22656,0.14112 -2.51218,0.21024 -2.94104,0.22848c-0.14134,0.00672 -1.03392,0 -1.24786,-0.02784c-0.4308,-0.05664 -0.81804,-0.2688 -0.80061,-0.7584c0.01646,-0.47808 0.455,-0.67776 0.88289,-0.7824c0.22073,-0.0528 1.10846,-0.11616 1.26916,-0.12576"/> <path id="Fill-9" d="m149.09624,45.41952c0.77737,0.43008 1.40566,0.92448 1.26819,1.34016c-0.15683,0.47328 -1.11523,0.21024 -1.99135,-0.01536c-0.41821,-0.10848 -1.274,-0.3456 -2.00491,-0.77184c-0.75704,-0.44352 -1.29142,-0.91968 -1.11329,-1.272c0.39401,-0.74208 1.20236,-0.44736 1.86453,-0.18912c0.32334,0.13344 1.20817,0.48288 1.97683,0.90816"/> <path id="Fill-10" d="m142.79594,45.62784c0.29043,0.54048 0.51212,1.22016 0.08519,1.64352c-0.63893,0.6336 -3.70002,-2.32704 -2.94491,-3.02016c0.62732,-0.5664 1.22366,-0.61536 1.85485,0.00864c0.25267,0.27072 0.70283,0.80544 1.00487,1.368"/> <path id="Fill-11" d="m138.25078,34.90368c-0.01839,0.51168 -0.23137,0.99744 -0.60505,1.35168c-0.84514,0.80064 -0.76479,2.21088 0.03775,3.09408c0.88386,0.84384 2.19756,0.73632 3.05818,-0.08064c0.65152,-0.61632 1.66317,-0.71904 2.34664,-0.0912c0.63216,0.672 0.52567,1.67136 -0.09874,2.31168c-0.65443,0.5904 -1.64381,0.67872 -2.31276,0.06144c-0.87224,-0.80544 -2.17432,-0.75264 -3.02817,0.0528c-0.62538,0.5904 -1.57023,0.61056 -2.19949,0.01344c-0.59247,-0.64416 -0.57407,-1.60512 0.00968,-2.24928c0.78996,-0.8688 0.81997,-2.15328 0.11036,-3.07968c-0.30591,-0.40032 -0.55955,-0.82752 -0.56148,-1.32768c-0.00194,-0.4752 0.17038,-0.93504 0.4821,-1.296c0.64378,-0.67968 1.65833,-0.73536 2.3176,-0.04416c0.30591,0.35712 0.45887,0.81504 0.44338,1.28352"/> <path id="Fill-12" d="m146.55501,34.1664c0.17813,-0.11712 0.364,-0.22176 0.53536,-0.31872c0.34947,-0.19872 1.36984,-0.75168 2.36696,-1.15776c1.00681,-0.41088 1.96038,-0.64896 2.21982,-0.23904c0.30785,0.48672 -0.637,1.23168 -1.54893,1.84128c-0.22169,0.1488 -0.57214,0.40224 -0.98067,0.67488c-0.40854,0.27264 -0.87515,0.56352 -1.33209,0.7872c-0.93517,0.45888 -1.73868,0.59808 -1.99038,-0.11424c-0.1578,-0.44928 -0.0242,-0.79584 0.24686,-1.08288c0.13747,-0.14496 0.30592,-0.2736 0.48307,-0.39072"/> <path id="Fill-13" d="m148.85422,39.34656c0.72412,0.10848 1.43179,0.28512 1.45406,0.93792c0.02227,0.63936 -1.26045,0.98112 -2.43377,1.05696c-1.1646,0.07392 -2.47152,-0.1008 -2.47152,-0.6864c0,-0.86592 0.48889,-1.28736 1.41922,-1.38048c0.34367,-0.03456 1.26044,-0.04416 2.03201,0.072"/> <path id="Fill-14" d="m141.97113,33.17376c0.59634,-0.41952 1.33209,-0.76704 1.84324,-0.37056c1.00874,0.78144 -2.45797,4.49856 -3.27697,3.6864c-0.66992,-0.66432 -0.61474,-1.29984 -0.03389,-1.98912c0.25558,-0.30432 0.84514,-0.88896 1.46762,-1.32672"/> <path id="Fill-15" d="m148.87261,19.55712c1.02133,-1.59456 2.3873,-4.53504 4.0495,-7.416c1.64962,-2.86176 3.52964,-5.55552 5.36997,-6.10368c0.12779,-0.03744 0.22847,0.03648 0.22653,0.168c-0.0213,2.29824 -1.56346,5.02944 -3.3641,7.62624c-1.80354,2.60064 -3.78908,4.90272 -5.01177,6.75552c-0.22363,0.33504 -0.88193,1.4832 -1.43374,2.23488c-0.27396,0.37248 -0.56826,0.72864 -0.84901,0.95424c-0.25944,0.21024 -0.61086,0.384 -0.90322,0.14496c-0.2759,-0.23808 -0.25848,-0.6192 -0.15586,-0.96768c0.10746,-0.36192 0.32527,-0.77472 0.56923,-1.17216c0.48889,-0.7968 1.26335,-1.848 1.50247,-2.22432"/> <path id="Fill-16" d="m141.30799,27.41472c0.28268,-0.49632 0.60602,-0.96096 0.94582,-1.4544c0.72026,-1.04928 1.38727,-1.90848 1.90035,-1.75104c0.55956,0.17184 0.12489,1.57248 -0.33011,2.71488c-0.22654,0.56928 -0.40563,1.06752 -0.64088,1.56c-0.23621,0.4896 -0.5276,0.97248 -0.9826,1.51392c-0.41241,0.49056 -1.00778,0.88608 -1.41341,0.65184c-0.40272,-0.23424 -0.38239,-0.96096 -0.20233,-1.60128c0.17329,-0.61728 0.44145,-1.13952 0.72316,-1.63392"/> <path id="Fill-17" d="m152.65201,30.10272c-1.16751,-0.8352 2.19369,-2.85984 2.6332,-3.17376c2.36116,-1.67808 7.15511,-7.32 10.33237,-7.12032c0.30301,0.0192 0.38917,0.11616 0.31753,0.40992c-0.73284,2.98272 -7.63819,6.48864 -9.63825,8.08896c-0.7735,0.61824 -1.56443,1.46304 -2.4996,1.86048c-0.40563,0.1728 -0.7706,0.20256 -1.14525,-0.06528"/> <path id="Fill-18" d="m154.39166,22.30368c0.94292,1.34592 -4.36412,5.57376 -5.13375,6.3312c-0.55762,0.5472 -1.0223,1.15584 -1.67188,1.60224c-0.36013,0.24768 -0.819,0.25728 -1.13847,-0.05664c-0.31753,-0.312 -0.27784,-0.74976 -0.06583,-1.11168c0.38336,-0.65856 1.09393,-1.13664 1.62348,-1.67328c0.75123,-0.76128 5.04275,-6.03744 6.38645,-5.09184"/> <path id="Fill-19" d="m161.72394,29.9184c0.32431,0.42624 -1.23624,1.96608 -3.05044,2.9856c-1.81225,1.02048 -2.639,1.22304 -3.60127,1.79424c-0.3853,0.22752 -0.64765,0.41472 -0.96615,0.6144c-0.31947,0.20064 -0.65346,0.3696 -1.02327,0.51648c-0.34948,0.1392 -0.85869,0.03456 -1.07941,-0.34656c-0.21685,-0.37536 -0.02711,-0.84384 0.22459,-1.08576c0.28268,-0.27072 0.61474,-0.47136 0.96518,-0.64512c0.35239,-0.1728 0.71639,-0.32448 1.05038,-0.51072c0.48501,-0.27168 1.81419,-1.3104 3.44735,-2.2416c1.55281,-0.88416 3.70776,-1.50912 4.03304,-1.08096"/> <path id="Fill-20" d="m145.84831,11.89728c1.65059,0.21984 -1.91681,8.10144 -2.32147,9.22368c-0.3001,0.82848 -0.50534,1.7424 -0.97002,2.49888c-0.23815,0.38688 -0.60021,0.73248 -1.09103,0.55488c-0.45984,-0.16608 -0.54793,-0.6576 -0.49856,-1.0896c0.10261,-0.88416 0.58182,-1.73952 0.87224,-2.57376c0.38627,-1.11456 2.36407,-8.83296 4.00884,-8.61408"/> </g> </g> <text font-weight="normal" xml:space="preserve" text-anchor="start" font-family="Lato, \'Trebuchet MS\', Gadget, sans-serif" font-size="18" id="svg_1" y="76.5" x="29.265625" stroke-width="0" stroke="#000" fill="#000000">eCraft Business Insight</text> </g></svg>',e='<div><a href="http://bi.ecraft.com" target="_blank" title="bi.ecraft.com" style="height:0px;">'+d+'</a> <div style="padding: 5px">Developed by: Markus Lehtola & Sam Roos. For more information contact <a href="mailto:markus.lehtola@ecraft.com" target="_blank">markus.lehtola@ecraft.com</a></div></div><div style="text-align:right; padding-right:5px;"></div>',f={template:e,controller:["$scope",function(a){var c=function(){return a.data};b.defineLabel(a,a.definition,c,a.args.handler),b.defineVisible(a,a.args.handler),b.defineReadOnly(a,a.args.handler),b.defineChange(a,a.args.handler),b.defineValue(a,a.definition,c),a.getDescription=function(a){return"About"===a}}]};return a.addComponent("pp-ec-about",f),f});