@silexlabs/silex-dashboard 1.0.44 → 1.0.46

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.
Files changed (36) hide show
  1. package/_site/assets/bg-purpel-silex.webp +0 -0
  2. package/_site/assets/bg-silex-purpel.webp +0 -0
  3. package/_site/assets/empty-projects-sos.gif +0 -0
  4. package/_site/assets/favicon-32x32.png +0 -0
  5. package/_site/assets/logo-silex.svg +1 -0
  6. package/_site/assets/picto-silex@3x.png +0 -0
  7. package/_site/css/connectors-61bd21c2345101e48cc530cacf3afc0156ce7e089fcef3a34f853a537f0c55f2.css +1 -0
  8. package/_site/css/websites-4b9b2b0a0a907b33eca109d50c2a3eee97f1955c742cef487110d21a0bbf8f50.css +1 -0
  9. package/_site/en/connectors/index.html +384 -0
  10. package/_site/en/index.html +384 -0
  11. package/_site/fr/connectors/index.html +384 -0
  12. package/_site/fr/index.html +384 -0
  13. package/_site/js/main.js +362 -0
  14. package/_site/js/main.js.LICENSE.txt +38 -0
  15. package/_site/js/vue.cjs.js +89 -0
  16. package/_site/js/vue.cjs.prod.js +75 -0
  17. package/_site/js/vue.d.mts +7 -0
  18. package/_site/js/vue.d.ts +7 -0
  19. package/_site/js/vue.esm-browser.js +16744 -0
  20. package/_site/js/vue.esm-browser.prod.js +12 -0
  21. package/_site/js/vue.esm-bundler.js +80 -0
  22. package/_site/js/vue.global.js +16729 -0
  23. package/_site/js/vue.global.prod.js +12 -0
  24. package/_site/js/vue.runtime.esm-browser.js +11158 -0
  25. package/_site/js/vue.runtime.esm-browser.prod.js +12 -0
  26. package/_site/js/vue.runtime.esm-bundler.js +26 -0
  27. package/_site/js/vue.runtime.global.js +11305 -0
  28. package/_site/js/vue.runtime.global.prod.js +12 -0
  29. package/collections/connectors/en.md +16 -34
  30. package/collections/connectors/fr.md +16 -34
  31. package/package.json +1 -1
  32. package/silex/server-config.js +0 -2
  33. package/templates/connectors-en.html +49 -51
  34. package/templates/connectors-fr.html +49 -51
  35. package/templates/websites-en.html +79 -79
  36. package/templates/websites-fr.html +79 -79
Binary file
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="158px" height="54px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:10;"><rect id="logo-silex" x="0" y="0" width="158" height="54" style="fill:none;"/><g id="logo-silex1" serif:id="logo-silex"><g><path d="M59.741,37.533l-0.039,0c-0.082,-0.024 -0.189,-0.048 -0.322,-0.073c-0.132,-0.026 -0.248,-0.038 -0.349,-0.038c-0.32,0 -0.553,0.071 -0.697,0.213c-0.144,0.141 -0.216,0.397 -0.216,0.767l0,0.152l1.345,-0l0,0.627l-1.321,-0l-0,3.807l-0.747,-0l0,-3.807l-0.504,-0l0,-0.627l0.504,-0l0,-0.147c0,-0.527 0.131,-0.931 0.393,-1.213c0.262,-0.282 0.641,-0.423 1.136,-0.423c0.166,-0 0.316,0.008 0.45,0.024c0.134,0.016 0.256,0.034 0.367,0.055l0,0.683Z" style="fill:#333;fill-rule:nonzero;"/><path d="M63.404,39.367l-0.04,0c-0.111,-0.026 -0.219,-0.045 -0.324,-0.057c-0.104,-0.012 -0.228,-0.018 -0.37,-0.018c-0.231,-0 -0.453,0.051 -0.668,0.153c-0.214,0.101 -0.42,0.234 -0.619,0.395l0,3.148l-0.746,-0l-0,-4.435l0.746,0l0,0.656c0.297,-0.239 0.558,-0.407 0.784,-0.507c0.227,-0.099 0.457,-0.149 0.693,-0.149c0.13,0 0.223,0.004 0.282,0.01c0.058,0.007 0.145,0.02 0.262,0.038l-0,0.766Z" style="fill:#333;fill-rule:nonzero;"/><path d="M67.515,40.276c-0.003,-0.391 -0.102,-0.694 -0.296,-0.909c-0.195,-0.214 -0.49,-0.321 -0.888,-0.321c-0.399,-0 -0.717,0.117 -0.954,0.353c-0.237,0.236 -0.371,0.528 -0.403,0.877l2.541,0Zm0.726,0.572l-3.267,0c-0,0.273 0.041,0.51 0.123,0.712c0.082,0.203 0.194,0.369 0.337,0.499c0.138,0.127 0.301,0.222 0.491,0.286c0.189,0.063 0.397,0.095 0.625,0.095c0.302,0 0.605,-0.06 0.911,-0.181c0.306,-0.12 0.524,-0.238 0.653,-0.355l0.04,0l-0,0.814c-0.252,0.106 -0.508,0.194 -0.77,0.266c-0.262,0.071 -0.538,0.107 -0.826,0.107c-0.736,0 -1.31,-0.199 -1.723,-0.597c-0.413,-0.399 -0.619,-0.965 -0.619,-1.697c-0,-0.726 0.197,-1.301 0.593,-1.728c0.396,-0.425 0.916,-0.639 1.562,-0.639c0.598,0 1.06,0.175 1.384,0.524c0.324,0.35 0.486,0.846 0.486,1.489l0,0.405Z" style="fill:#333;fill-rule:nonzero;"/><path d="M72.781,40.276c-0.003,-0.391 -0.102,-0.694 -0.296,-0.909c-0.195,-0.214 -0.49,-0.321 -0.888,-0.321c-0.399,-0 -0.717,0.117 -0.954,0.353c-0.237,0.236 -0.371,0.528 -0.403,0.877l2.541,0Zm0.726,0.572l-3.267,0c-0,0.273 0.041,0.51 0.123,0.712c0.082,0.203 0.194,0.369 0.337,0.499c0.138,0.127 0.301,0.222 0.491,0.286c0.189,0.063 0.397,0.095 0.625,0.095c0.302,0 0.605,-0.06 0.911,-0.181c0.306,-0.12 0.524,-0.238 0.653,-0.355l0.04,0l-0,0.814c-0.252,0.106 -0.508,0.194 -0.77,0.266c-0.262,0.071 -0.538,0.107 -0.826,0.107c-0.736,0 -1.31,-0.199 -1.723,-0.597c-0.413,-0.399 -0.619,-0.965 -0.619,-1.697c-0,-0.726 0.197,-1.301 0.593,-1.728c0.396,-0.425 0.916,-0.639 1.562,-0.639c0.598,0 1.06,0.175 1.384,0.524c0.324,0.35 0.486,0.846 0.486,1.489l0,0.405Z" style="fill:#333;fill-rule:nonzero;"/><path d="M83.92,38.554l-1.155,4.434l-0.691,-0l-1.139,-3.418l-1.132,3.418l-0.686,-0l-1.168,-4.434l0.778,-0l0.814,3.433l1.108,-3.433l0.616,-0l1.135,3.433l0.77,-3.433l0.75,-0Z" style="fill:#333;fill-rule:nonzero;"/><path d="M88.404,40.276c-0.002,-0.391 -0.101,-0.694 -0.296,-0.909c-0.194,-0.214 -0.49,-0.321 -0.887,-0.321c-0.399,-0 -0.718,0.117 -0.955,0.353c-0.237,0.236 -0.371,0.528 -0.402,0.877l2.54,0Zm0.727,0.572l-3.267,0c-0,0.273 0.04,0.51 0.122,0.712c0.082,0.203 0.195,0.369 0.338,0.499c0.137,0.127 0.301,0.222 0.49,0.286c0.189,0.063 0.398,0.095 0.625,0.095c0.302,0 0.606,-0.06 0.911,-0.181c0.306,-0.12 0.524,-0.238 0.654,-0.355l0.039,0l0,0.814c-0.251,0.106 -0.508,0.194 -0.77,0.266c-0.262,0.071 -0.537,0.107 -0.826,0.107c-0.735,0 -1.31,-0.199 -1.723,-0.597c-0.412,-0.399 -0.619,-0.965 -0.619,-1.697c0,-0.726 0.198,-1.301 0.594,-1.728c0.395,-0.425 0.916,-0.639 1.562,-0.639c0.598,0 1.059,0.175 1.383,0.524c0.324,0.35 0.487,0.846 0.487,1.489l-0,0.405Z" style="fill:#333;fill-rule:nonzero;"/><path d="M93.817,40.757c0,-0.53 -0.087,-0.931 -0.262,-1.205c-0.174,-0.274 -0.456,-0.411 -0.845,-0.411c-0.218,0 -0.437,0.047 -0.659,0.141c-0.223,0.094 -0.429,0.215 -0.62,0.363l0,2.541c0.212,0.095 0.394,0.161 0.546,0.198c0.152,0.038 0.325,0.056 0.518,0.056c0.413,0 0.737,-0.136 0.971,-0.407c0.234,-0.271 0.351,-0.697 0.351,-1.276m0.77,-0.02c0,0.37 -0.052,0.704 -0.156,1c-0.105,0.297 -0.246,0.546 -0.423,0.746c-0.188,0.21 -0.394,0.366 -0.619,0.471c-0.225,0.104 -0.473,0.157 -0.743,0.157c-0.252,0 -0.471,-0.03 -0.659,-0.089c-0.188,-0.06 -0.373,-0.14 -0.556,-0.241l-0.047,0.207l-0.699,-0l-0,-6.177l0.746,-0l0,2.207c0.209,-0.172 0.432,-0.313 0.667,-0.423c0.236,-0.11 0.501,-0.165 0.794,-0.165c0.524,0 0.938,0.202 1.241,0.604c0.303,0.402 0.454,0.97 0.454,1.703" style="fill:#333;fill-rule:nonzero;"/><path d="M99.341,41.71c0,0.405 -0.167,0.737 -0.502,0.996c-0.335,0.259 -0.792,0.389 -1.372,0.389c-0.328,0 -0.629,-0.039 -0.903,-0.117c-0.274,-0.078 -0.503,-0.164 -0.688,-0.256l-0,-0.838l0.039,0c0.236,0.177 0.498,0.318 0.786,0.423c0.289,0.104 0.565,0.157 0.83,0.157c0.328,-0 0.585,-0.053 0.77,-0.159c0.185,-0.106 0.278,-0.273 0.278,-0.5c-0,-0.175 -0.051,-0.307 -0.151,-0.397c-0.1,-0.09 -0.294,-0.167 -0.579,-0.23c-0.106,-0.024 -0.244,-0.052 -0.415,-0.084c-0.171,-0.031 -0.327,-0.066 -0.467,-0.103c-0.389,-0.103 -0.665,-0.255 -0.828,-0.455c-0.162,-0.199 -0.244,-0.445 -0.244,-0.736c0,-0.182 0.038,-0.355 0.114,-0.516c0.075,-0.161 0.19,-0.306 0.343,-0.433c0.148,-0.124 0.336,-0.223 0.566,-0.295c0.228,-0.073 0.485,-0.11 0.768,-0.11c0.264,0 0.532,0.033 0.804,0.097c0.271,0.065 0.497,0.144 0.677,0.237l-0,0.797l-0.04,0c-0.191,-0.139 -0.422,-0.258 -0.695,-0.355c-0.272,-0.096 -0.54,-0.144 -0.802,-0.144c-0.272,-0 -0.503,0.052 -0.69,0.156c-0.188,0.105 -0.283,0.26 -0.283,0.467c0,0.182 0.058,0.32 0.171,0.413c0.112,0.092 0.292,0.168 0.54,0.226c0.138,0.032 0.292,0.063 0.463,0.095c0.171,0.032 0.313,0.061 0.426,0.088c0.347,0.079 0.615,0.215 0.802,0.408c0.188,0.196 0.282,0.456 0.282,0.779" style="fill:#333;fill-rule:nonzero;"/><path d="M101.586,42.988l-0.746,-0l-0,-4.434l0.746,-0l0,4.434Zm0.048,-5.177l-0.842,-0l0,-0.774l0.842,-0l-0,0.774Z" style="fill:#333;fill-rule:nonzero;"/><path d="M105.788,42.948c-0.14,0.037 -0.293,0.068 -0.458,0.091c-0.165,0.025 -0.313,0.036 -0.443,0.036c-0.452,0 -0.796,-0.121 -1.032,-0.365c-0.236,-0.243 -0.353,-0.634 -0.353,-1.171l-0,-2.358l-0.504,-0l-0,-0.628l0.504,0l-0,-1.274l0.746,-0l-0,1.274l1.54,0l0,0.628l-1.54,-0l-0,2.02c-0,0.233 0.005,0.415 0.016,0.546c0.01,0.131 0.048,0.254 0.111,0.368c0.058,0.105 0.138,0.183 0.241,0.231c0.101,0.05 0.257,0.074 0.466,0.074c0.121,0 0.248,-0.018 0.381,-0.053c0.132,-0.036 0.227,-0.066 0.285,-0.09l0.04,0l0,0.671Z" style="fill:#333;fill-rule:nonzero;"/><path d="M110.098,40.276c-0.003,-0.391 -0.101,-0.694 -0.296,-0.909c-0.194,-0.214 -0.49,-0.321 -0.887,-0.321c-0.4,-0 -0.718,0.117 -0.955,0.353c-0.237,0.236 -0.371,0.528 -0.403,0.877l2.541,0Zm0.726,0.572l-3.267,0c0,0.273 0.041,0.51 0.123,0.712c0.082,0.203 0.195,0.369 0.338,0.499c0.137,0.127 0.3,0.222 0.49,0.286c0.189,0.063 0.398,0.095 0.625,0.095c0.302,0 0.605,-0.06 0.911,-0.181c0.306,-0.12 0.524,-0.238 0.653,-0.355l0.04,0l-0,0.814c-0.251,0.106 -0.508,0.194 -0.77,0.266c-0.262,0.071 -0.538,0.107 -0.826,0.107c-0.736,0 -1.31,-0.199 -1.723,-0.597c-0.413,-0.399 -0.619,-0.965 -0.619,-1.697c-0,-0.726 0.198,-1.301 0.594,-1.728c0.395,-0.425 0.916,-0.639 1.561,-0.639c0.599,0 1.06,0.175 1.384,0.524c0.324,0.35 0.486,0.846 0.486,1.489l0,0.405Z" style="fill:#333;fill-rule:nonzero;"/><path d="M118.792,40.757c-0,-0.53 -0.088,-0.931 -0.262,-1.205c-0.175,-0.274 -0.457,-0.411 -0.846,-0.411c-0.217,0 -0.437,0.047 -0.659,0.141c-0.222,0.094 -0.429,0.215 -0.619,0.363l-0,2.541c0.212,0.095 0.393,0.161 0.546,0.198c0.152,0.038 0.324,0.056 0.518,0.056c0.412,0 0.736,-0.136 0.971,-0.407c0.234,-0.271 0.351,-0.697 0.351,-1.276m0.77,-0.02c-0,0.37 -0.052,0.704 -0.157,1c-0.105,0.297 -0.245,0.546 -0.423,0.746c-0.187,0.21 -0.394,0.366 -0.619,0.471c-0.225,0.104 -0.472,0.157 -0.742,0.157c-0.252,0 -0.472,-0.03 -0.66,-0.089c-0.187,-0.06 -0.373,-0.14 -0.555,-0.241l-0.048,0.207l-0.699,-0l0,-6.177l0.747,-0l-0,2.207c0.209,-0.172 0.431,-0.313 0.667,-0.423c0.235,-0.11 0.5,-0.165 0.794,-0.165c0.524,0 0.937,0.202 1.24,0.604c0.303,0.402 0.455,0.97 0.455,1.703" style="fill:#333;fill-rule:nonzero;"/><path d="M124.824,42.988l-0.746,-0l-0,-0.492c-0.252,0.198 -0.492,0.351 -0.723,0.456c-0.23,0.106 -0.484,0.159 -0.762,0.159c-0.466,-0 -0.828,-0.143 -1.088,-0.427c-0.259,-0.285 -0.389,-0.702 -0.389,-1.253l0,-2.877l0.747,-0l-0,2.524c-0,0.225 0.01,0.418 0.032,0.578c0.02,0.16 0.066,0.297 0.134,0.411c0.072,0.116 0.164,0.201 0.278,0.254c0.114,0.053 0.279,0.079 0.496,0.079c0.193,0 0.404,-0.05 0.634,-0.15c0.228,-0.101 0.443,-0.229 0.641,-0.386l-0,-3.31l0.746,-0l0,4.434Z" style="fill:#333;fill-rule:nonzero;"/><path d="M127.47,42.988l-0.746,-0l-0,-4.434l0.746,-0l-0,4.434Zm0.048,-5.177l-0.842,-0l-0,-0.774l0.842,-0l-0,0.774Z" style="fill:#333;fill-rule:nonzero;"/><rect x="129.378" y="36.811" width="0.746" height="6.177" style="fill:#333;"/><path d="M134.874,41.896l0,-2.545c-0.202,-0.09 -0.381,-0.152 -0.54,-0.187c-0.159,-0.034 -0.332,-0.051 -0.52,-0.051c-0.418,0 -0.744,0.146 -0.977,0.437c-0.232,0.291 -0.349,0.704 -0.349,1.239c0,0.526 0.09,0.926 0.27,1.2c0.18,0.274 0.468,0.411 0.866,0.411c0.211,0 0.425,-0.046 0.643,-0.141c0.216,-0.094 0.419,-0.214 0.607,-0.363m0.747,1.092l-0.747,-0l0,-0.465c-0.215,0.186 -0.438,0.33 -0.671,0.433c-0.233,0.103 -0.486,0.155 -0.758,0.155c-0.53,0 -0.95,-0.204 -1.26,-0.612c-0.312,-0.407 -0.467,-0.972 -0.467,-1.694c0,-0.376 0.053,-0.711 0.161,-1.005c0.107,-0.294 0.252,-0.544 0.434,-0.75c0.18,-0.201 0.39,-0.355 0.63,-0.461c0.239,-0.106 0.487,-0.159 0.744,-0.159c0.233,0 0.439,0.025 0.619,0.074c0.18,0.049 0.369,0.125 0.568,0.228l0,-1.921l0.747,-0l-0,6.177Z" style="fill:#333;fill-rule:nonzero;"/><path d="M140.497,40.276c-0.003,-0.391 -0.101,-0.694 -0.296,-0.909c-0.194,-0.214 -0.49,-0.321 -0.887,-0.321c-0.4,-0 -0.718,0.117 -0.954,0.353c-0.237,0.236 -0.372,0.528 -0.404,0.877l2.541,0Zm0.727,0.572l-3.268,0c0,0.273 0.042,0.51 0.124,0.712c0.082,0.203 0.194,0.369 0.337,0.499c0.137,0.127 0.301,0.222 0.49,0.286c0.19,0.063 0.398,0.095 0.626,0.095c0.301,0 0.605,-0.06 0.911,-0.181c0.305,-0.12 0.523,-0.238 0.653,-0.355l0.039,0l0,0.814c-0.251,0.106 -0.508,0.194 -0.77,0.266c-0.262,0.071 -0.537,0.107 -0.826,0.107c-0.735,0 -1.309,-0.199 -1.723,-0.597c-0.412,-0.399 -0.619,-0.965 -0.619,-1.697c0,-0.726 0.198,-1.301 0.594,-1.728c0.395,-0.425 0.916,-0.639 1.562,-0.639c0.598,0 1.059,0.175 1.383,0.524c0.325,0.35 0.487,0.846 0.487,1.489l-0,0.405Z" style="fill:#333;fill-rule:nonzero;"/><path d="M145.545,39.367l-0.04,0c-0.111,-0.026 -0.218,-0.045 -0.323,-0.057c-0.104,-0.012 -0.228,-0.018 -0.371,-0.018c-0.23,-0 -0.452,0.051 -0.667,0.153c-0.214,0.101 -0.421,0.234 -0.62,0.395l0,3.148l-0.746,-0l0,-4.435l0.746,0l0,0.656c0.297,-0.239 0.559,-0.407 0.785,-0.507c0.226,-0.099 0.457,-0.149 0.692,-0.149c0.13,0 0.224,0.004 0.282,0.01c0.059,0.007 0.146,0.02 0.262,0.038l0,0.766Z" style="fill:#333;fill-rule:nonzero;"/><path d="M61.808,26.078c0.169,0.14 0.385,0.326 0.649,0.559c0.263,0.234 0.564,0.465 0.902,0.693c0.506,0.338 1.008,0.602 1.505,0.791c0.497,0.188 1.018,0.283 1.565,0.283c0.507,-0 0.932,-0.057 1.275,-0.172c0.342,-0.114 0.613,-0.266 0.812,-0.454c0.199,-0.189 0.34,-0.407 0.425,-0.655c0.084,-0.248 0.126,-0.512 0.126,-0.79c0,-0.307 -0.117,-0.583 -0.35,-0.826c-0.234,-0.243 -0.519,-0.459 -0.857,-0.648c-0.338,-0.188 -0.691,-0.35 -1.058,-0.484c-0.368,-0.134 -0.686,-0.246 -0.954,-0.335c-1.192,-0.417 -2.236,-0.866 -3.131,-1.348c-0.894,-0.481 -1.639,-1.018 -2.235,-1.608c-0.597,-0.591 -1.044,-1.241 -1.342,-1.951c-0.298,-0.71 -0.447,-1.502 -0.447,-2.376c-0,-0.923 0.187,-1.762 0.559,-2.517c0.372,-0.755 0.904,-1.4 1.595,-1.936c0.69,-0.536 1.522,-0.951 2.497,-1.244c0.973,-0.292 2.062,-0.439 3.264,-0.439c0.904,0 1.771,0.102 2.601,0.306c0.83,0.203 1.647,0.529 2.452,0.976c0.338,0.199 0.658,0.405 0.962,0.618c0.302,0.215 0.568,0.42 0.797,0.619c0.228,0.199 0.41,0.388 0.544,0.567c0.134,0.178 0.201,0.332 0.201,0.461c0,0.13 -0.032,0.249 -0.097,0.359c-0.064,0.109 -0.162,0.233 -0.29,0.372l-2.281,2.429c-0.169,0.17 -0.338,0.254 -0.507,0.254c-0.139,-0 -0.266,-0.039 -0.38,-0.119c-0.114,-0.08 -0.241,-0.179 -0.38,-0.298l-0.134,-0.12c-0.199,-0.168 -0.42,-0.342 -0.664,-0.522c-0.243,-0.178 -0.504,-0.34 -0.782,-0.484c-0.278,-0.144 -0.571,-0.263 -0.88,-0.358c-0.307,-0.094 -0.621,-0.141 -0.939,-0.141c-0.327,-0 -0.636,0.028 -0.924,0.082c-0.288,0.055 -0.541,0.141 -0.76,0.261c-0.218,0.119 -0.393,0.275 -0.522,0.469c-0.129,0.194 -0.194,0.43 -0.194,0.708c0,0.278 0.07,0.52 0.209,0.723c0.14,0.204 0.348,0.393 0.627,0.567c0.277,0.174 0.623,0.338 1.035,0.491c0.413,0.155 0.892,0.321 1.439,0.5c1.053,0.348 2.024,0.713 2.914,1.096c0.889,0.382 1.657,0.834 2.303,1.356c0.646,0.522 1.15,1.145 1.513,1.871c0.362,0.725 0.543,1.604 0.543,2.638c0,1.093 -0.223,2.084 -0.67,2.973c-0.447,0.89 -1.061,1.647 -1.841,2.273c-0.78,0.627 -1.697,1.111 -2.75,1.454c-1.053,0.343 -2.186,0.514 -3.399,0.514c-1.142,0 -2.265,-0.204 -3.368,-0.613c-1.103,-0.408 -2.132,-0.956 -3.086,-1.644c-0.397,-0.289 -0.732,-0.573 -1.006,-0.852c-0.273,-0.279 -0.489,-0.504 -0.648,-0.673l-0.045,-0.045c-0.01,-0.019 -0.02,-0.032 -0.03,-0.037c-0.01,-0.005 -0.02,-0.012 -0.03,-0.023c-0.009,-0.019 -0.02,-0.032 -0.03,-0.037c-0.009,-0.005 -0.02,-0.013 -0.029,-0.022c-0.229,-0.249 -0.343,-0.449 -0.343,-0.598c-0,-0.17 0.114,-0.359 0.343,-0.568l2.578,-2.46c0.209,-0.149 0.378,-0.223 0.507,-0.223c0.09,-0 0.184,0.029 0.283,0.089c0.1,0.06 0.219,0.149 0.358,0.268" style="fill:#333;fill-rule:nonzero;"/><path d="M78.726,11.754c0,-0.179 0.055,-0.333 0.164,-0.462c0.11,-0.129 0.273,-0.194 0.492,-0.194l4.382,0c0.15,0 0.309,0.06 0.477,0.179c0.169,0.119 0.254,0.278 0.254,0.477l-0,20.823c-0,0.437 -0.243,0.656 -0.731,0.656l-4.382,0c-0.437,0 -0.656,-0.219 -0.656,-0.656l0,-20.823Z" style="fill:#333;fill-rule:nonzero;"/><path d="M88.862,11.739c-0,-0.179 0.059,-0.333 0.179,-0.462c0.119,-0.129 0.283,-0.194 0.492,-0.194l4.412,0c0.169,0 0.323,0.06 0.462,0.179c0.139,0.119 0.213,0.278 0.223,0.477l0,16.217l8.199,0c0.178,0 0.333,0.06 0.462,0.179c0.129,0.119 0.193,0.284 0.193,0.492l0,3.92c0,0.169 -0.057,0.324 -0.171,0.463c-0.114,0.139 -0.276,0.213 -0.484,0.223l-13.311,-0c-0.438,-0 -0.656,-0.218 -0.656,-0.656l-0,-20.838Z" style="fill:#333;fill-rule:nonzero;"/><path d="M107.047,11.784c-0,-0.209 0.056,-0.375 0.17,-0.5c0.114,-0.124 0.276,-0.186 0.484,-0.186l14.788,0c0.218,0 0.388,0.065 0.507,0.193c0.119,0.129 0.179,0.302 0.179,0.52l-0,3.686c-0,0.169 -0.06,0.33 -0.179,0.483c-0.119,0.154 -0.293,0.231 -0.522,0.231l-9.659,-0l-0,3.696l7.453,0c0.189,0 0.345,0.045 0.469,0.134c0.125,0.09 0.187,0.239 0.187,0.448l-0,3.219c-0,0.14 -0.055,0.274 -0.164,0.403c-0.109,0.129 -0.268,0.194 -0.477,0.194l-7.468,-0l-0,3.815l10.016,0c0.448,0 0.671,0.228 0.671,0.684l0,3.745c0,0.1 -0.039,0.189 -0.119,0.268c-0.039,0.277 -0.243,0.416 -0.611,0.416l-15.071,-0c-0.198,-0 -0.357,-0.052 -0.476,-0.157c-0.119,-0.104 -0.178,-0.265 -0.178,-0.484l-0,-20.808Z" style="fill:#333;fill-rule:nonzero;"/><path d="M125.097,32.845c0.079,-0.149 0.161,-0.3 0.246,-0.454c0.084,-0.154 0.181,-0.311 0.29,-0.47l6.708,-10.016c-1.143,-1.719 -2.273,-3.419 -3.391,-5.098c-1.118,-1.679 -2.248,-3.378 -3.391,-5.098c-0.06,-0.079 -0.107,-0.154 -0.142,-0.223c-0.035,-0.07 -0.057,-0.144 -0.067,-0.224c0.02,-0.079 0.077,-0.117 0.172,-0.112c0.094,0.006 0.191,-0.017 0.29,-0.067l5.187,0c0.368,0 0.656,0.189 0.865,0.567l3.652,5.485l3.696,-5.485c0.209,-0.378 0.497,-0.567 0.865,-0.567l4.964,0c0.109,0 0.211,0.002 0.305,0.007c0.095,0.005 0.177,0.023 0.246,0.053c0.069,0.03 0.104,0.074 0.104,0.134c0,0.119 -0.054,0.248 -0.164,0.388l-6.856,10.24l6.991,10.434c0.099,0.139 0.176,0.266 0.231,0.38c0.054,0.114 0.076,0.211 0.066,0.291c0,0.149 -0.089,0.223 -0.268,0.223l-5.336,-0c-0.169,-0 -0.323,-0.05 -0.462,-0.149c-0.139,-0.1 -0.248,-0.233 -0.328,-0.403l-4.054,-6.007l-4.01,6.007c-0.079,0.17 -0.189,0.303 -0.328,0.403c-0.139,0.099 -0.293,0.149 -0.462,0.149l-5.351,-0c-0.08,-0 -0.149,-0.022 -0.209,-0.067c-0.059,-0.045 -0.089,-0.107 -0.089,-0.186c0,-0.05 0.01,-0.095 0.03,-0.135" style="fill:#333;fill-rule:nonzero;"/><g><g><clipPath id="_clip1"><rect x="14.978" y="10.953" width="31.623" height="31.623" clip-rule="nonzero"/></clipPath><g clip-path="url(#_clip1)"><path d="M122.818,46.182c-1.046,32.853 -28.528,58.638 -61.381,57.592c-32.853,-1.047 -58.639,-28.528 -57.592,-61.381c1.046,-32.854 28.528,-58.639 61.381,-57.593c32.854,1.047 58.639,28.528 57.592,61.382" style="fill:#56e3ff;fill-rule:nonzero;"/><path d="M109.212,32.915c-0.782,24.563 -21.329,43.842 -45.892,43.059c-24.563,-0.782 -43.842,-21.329 -43.06,-45.892c0.783,-24.563 21.33,-43.842 45.893,-43.06c24.563,0.783 43.842,21.329 43.059,45.893" style="fill:#8873fe;fill-rule:nonzero;"/><path d="M98.913,21.493c-0.616,19.344 -16.797,34.526 -36.141,33.909c-19.343,-0.615 -34.525,-16.796 -33.909,-36.139c0.616,-19.344 16.797,-34.526 36.141,-33.91c19.343,0.616 34.525,16.797 33.909,36.14" style="fill:#ff557a;fill-rule:nonzero;"/><path d="M91.392,12.906c-0.479,15.045 -13.064,26.853 -28.109,26.374c-15.045,-0.479 -26.853,-13.064 -26.374,-28.109c0.479,-15.045 13.064,-26.853 28.109,-26.374c15.045,0.479 26.853,13.064 26.374,28.109" style="fill:#ffac54;fill-rule:nonzero;"/></g></g><rect x="14.978" y="10.953" width="31.623" height="31.623" style="fill:none;stroke:#333;stroke-width:1.16px;"/><path d="M49.023,13.891l-5.115,0c-0.214,0 -0.387,-0.173 -0.387,-0.387l-0,-5.116c-0,-0.213 0.173,-0.387 0.387,-0.387l5.115,0c0.214,0 0.388,0.174 0.388,0.387l-0,5.116c-0,0.214 -0.174,0.387 -0.388,0.387Z" style="fill:#fff;fill-rule:nonzero;stroke:#333;stroke-width:1.16px;"/><path d="M49.023,45.556l-5.115,-0c-0.214,-0 -0.387,-0.173 -0.387,-0.387l-0,-5.116c-0,-0.213 0.173,-0.387 0.387,-0.387l5.115,0c0.214,0 0.388,0.174 0.388,0.387l-0,5.116c-0,0.214 -0.174,0.387 -0.388,0.387Z" style="fill:#fff;fill-rule:nonzero;stroke:#333;stroke-width:1.16px;"/><path d="M17.536,13.891l-5.116,0c-0.213,0 -0.387,-0.173 -0.387,-0.387l0,-5.116c0,-0.213 0.174,-0.387 0.387,-0.387l5.116,0c0.214,0 0.387,0.174 0.387,0.387l0,5.116c0,0.214 -0.173,0.387 -0.387,0.387Z" style="fill:#fff;fill-rule:nonzero;stroke:#333;stroke-width:1.16px;"/><path d="M17.536,45.556l-5.116,-0c-0.213,-0 -0.387,-0.173 -0.387,-0.387l0,-5.116c0,-0.213 0.174,-0.387 0.387,-0.387l5.116,0c0.214,0 0.387,0.174 0.387,0.387l0,5.116c0,0.214 -0.173,0.387 -0.387,0.387Z" style="fill:#fff;fill-rule:nonzero;stroke:#333;stroke-width:1.16px;"/></g></g></g></svg>
Binary file
@@ -0,0 +1 @@
1
+ * { box-sizing: border-box; } body {margin: 0;}.body{font-family:"Ubuntu", sans-serif;background-color:#f0f0f0;color:#2b1b63;}.subtitle-16{font-size:1rem;margin:0px 0px 20px 0px;}.subtitle-16.color--light{color:#636363;font-weight:700;}.button{font-size:0.8rem;padding:10px 20px 10px 20px;display:inline-block;border:2px solid #8873fe;transition:all 0.18s ease-out;font-weight:700;line-height:1.2rem;}.button.button--primary{background-color:#8873fe;color:white;}.button-bar{margin:20px 0px 20px 0px;display:flex;padding:30px 30px 30px 30px;align-items:center;justify-content:space-between;border-radius:4px 4px 4px 4px;background-color:#ffffff;}.button-bar.button-bar--full-width{justify-content:space-between;align-items:center;}.button-bar_item.button-bar__item--secondary{font-size:0.8rem;}.button.button--secondary{font-weight:400;color:#8873fe;border:2px solid #8873fe;}.box{border-radius:4px 4px 4px 4px;background-color:#ffffff;}.box.flex-between{align-items:center;}.button--tertiary{background-color:transparent;font-weight:400;}.button:hover{color:#8873fe;border:2px solid #8873fe;}.button.button--secondary:hover{background-color:white;border:2px solid rgba(136,115,254,0.5);}#imgx81{min-height:100vh;display:flex;justify-content:center;align-items:center;flex-direction:column;}#in62y2{justify-content:center;}.big-button{border-radius:5px 5px 5px 5px;font-size:15px;margin:10px 10px 10px 10px;padding:15px 30px 15px 30px;font-weight:700;background-color:#ffffff;}#i9msnk{padding:10px;display:inline;}#i6akll{padding:10px;display:inline;}#ixzhcr{padding:10px;position:absolute;display:none;}.bg-silex-purpel{background-repeat:repeat-y;background-position:center top;background-attachment:scroll;background-size:contain;background-image:url(/assets/../assets/bg-purpel-silex.webp);}.text-centered{text-align:center;}.text-white{color:#ffffff;}.box.box_transp{background-color:rgba(255,255,255,0.5);}.top-space-20{margin:20px 0 0 0;}.button.button--tertiary{border:2px solid transparent;background-color:rgba(221,221,221,0.5);}.box_login{max-width:450px;width:100%;padding:30px 30px 30px 30px;}.button-bar__item--link.text-white{color:#ffffff;}.button.big-button{border:2px solid transparent;}.button.button--tertiary:hover{border:2px solid #8873fe;color:#8873fe;background-color:white;}.button-bar__item__icon{float:left;height:40px;margin:5px 5px 5px 5px;width:40px;}.button-bar__item--secondary{font-size:0.8rem;}.connector__card{align-items:center;margin:5px auto 5px auto;border:1px solid;border-radius:5px 5px 5px 5px;max-width:100%;display:flex;color:black;}#i3cney{width:100%;display:none;justify-content:center;}.connector__description{padding:5px 15px 5px 15px;}#ie0dxn{min-height:100px;}#ior0hl{color:black;}#igp4xl{justify-content:center;display:inline-block;}#isqe61{display:inline-block;}.margin-top{margin:80px 0px 30px 0px;}.margin-30{margin:30px 0px 30px 0px;}.connector__card:link{text-decoration:none;color:black;border:1px solid;}.connector__card:hover{background-color:#8873fe;color:white;}
@@ -0,0 +1 @@
1
+ * { box-sizing: border-box; } body {margin: 0;}.nav__item{margin:0px 10px 0px 10px;font-size:0.8rem;padding:24px 0px 24px 0px;color:#4a4a4a;}.body{font-family:"Ubuntu", sans-serif;background-color:#f0f0f0;color:#2b1b63;}.menu-bar{display:flex;align-items:center;justify-content:space-between;background-color:#ffffff;height:94px;padding:0px 100px 0px 100px;width:100%;}.padding-normal{padding:0px 24px 0px 24px;}#i9jq{display:flex;}.nav{width:100%;margin:0px 20px 0px 20px;}.subtitle-16{font-size:1rem;margin:0px 0px 20px 0px;}.subtitle-16.color--light{color:#636363;font-weight:700;}.button{font-size:0.8rem;padding:10px 20px 10px 20px;display:inline-block;border:2px solid #8873fe;transition:all 0.18s ease-out;font-weight:700;line-height:1.2rem;}.button.button--primary{background-color:#8873fe;color:white;}.button-bar{margin:20px 0px 20px 0px;display:flex;padding:30px 30px 30px 30px;align-items:center;justify-content:space-between;border-radius:4px 4px 4px 4px;background-color:#ffffff;}#ibsgw{position:relative;top:3px;}.button-bar.button-bar--full-width{justify-content:space-between;align-items:center;}.button-bar_item.button-bar__item--secondary{font-size:0.8rem;}.button.button--secondary{font-weight:400;color:#8873fe;border:2px solid #8873fe;}.rounded{border-radius:4px 4px 4px 4px;}.footer{display:flex;margin:50px 0px 0px 0px;background-color:#ffffff;justify-content:space-evenly;padding:30px 30px 60px 30px;}.skeleton-text.skeleton{background-color:#dddddd;color:transparent;opacity:0.31;border-radius:5px 5px 5px 5px;}.skeleton.skeleton-button{color:transparent;opacity:0.31;background-color:#dddddd;border-radius:5px 5px 5px 5px;width:140px;}.skeleton-anim{position:relative;}.nav__item.active{color:black;}.margin-20{margin:20px 0px 20px 0px;}#i0ro3{display:none;}.loading__item.loaded-true{display:none;}.flex-no-shrink{flex-shrink:0;}.form{padding:10px 0px 10px 0px;border-radius:5px 5px 5px 5px;}#i1nmbc{flex-shrink:0;}.input{padding:10px 10px 10px 10px;background-color:transparent;border:2px solid #8873fe;margin:10px 0px 10px 0px;border-radius:4px 4px 4px 4px;}.full-width{width:100%;}.v-space{margin:10px 0px 10px 0px;}.box{border-radius:4px 4px 4px 4px;background-color:#ffffff;}.box__header{margin:0px 0px 0px 0px;padding:10px 0px 10px 0px;font-weight:700;font-size:1.625rem;color:rgba(43,27,99,0.5);}.box.flex-between{align-items:center;}.flex-between{display:flex;align-items:center;justify-content:space-between;}.button--tertiary{background-color:transparent;font-weight:400;}.icon-font{font-size:1.5rem;line-height:1px;margin:0px 2px 0px 2px;}.lang__item{margin:0px 5px 0px 5px;}.top-space-40{margin:40px 0 0 0;}.nav__logo{height:50px;}.user-icon__image{width:100%;height:100%;}.user__wrapper{border:1px solid white;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 0 0 20px;}.right-space-20{margin:0px 20px 0px 0px;}#iksw4d{padding:10px;}.button:hover{color:#8873fe;border:2px solid #8873fe;}.button.button--secondary:hover{background-color:white;border:2px solid rgba(136,115,254,0.5);}.user-icon__wrapper{border:1px solid #f0f0f0;background-color:#f0f0f0;border-radius:50% 50% 50% 50%;width:40px;height:40px;overflow:hidden hidden;}.title-40{margin:0 0 10px 0;font-size:2.5rem;font-weight:700;}.bg-silex-purpel{background-repeat:repeat-y;background-position:center top;background-attachment:scroll;background-size:contain;background-image:url(/assets/../assets/bg-purpel-silex.webp);}.section-top{max-width:1200px;padding:40px 30px 40px 30px;height:226px;display:flex;flex-direction:column;justify-content:center;margin:0px auto 0px auto;}.text-centered{text-align:center;}.box-message{background-color:rgba(43,27,99,0.3);border-radius:4px 4px 4px 4px;padding:20px 30px 20px 30px;margin:10px 0px 10px 0px;}.text-white{color:#ffffff;}.bold{font-weight:800;}.button-bar__item--link{background-color:transparent;border:0px solid black;font-size:0.8rem;color:#8873fe;}.padding-30{padding:30px 30px 30px 30px;}.right-space-40{margin:0 40px 0 0;}.title-26{font-size:1.625rem;margin:10px 0px 10px 0px;}.empty-image{min-height:500px;background-image:url(/assets/../assets/empty-projects-sos.gif);background-repeat:no-repeat;background-position:center center;background-attachment:scroll;background-size:contain;}.padding-50-30{padding:50px 30px 50px 30px;}.box.box_transp{background-color:rgba(255,255,255,0.5);}.button.button--tertiary{border:2px solid transparent;background-color:rgba(221,221,221,0.5);}.button-bar__item--link.text-white{color:#ffffff;}.button.big-button{border:2px solid transparent;}.color-2B1B63-80{color:rgba(43,27,99,0.8);}.button.button--tertiary:hover{border:2px solid #8873fe;color:#8873fe;background-color:white;}.box-message-text{margin:0px 0 0 0;font-weight:300;}.website-max-width{max-width:1200px;}.margin-80{margin:80px auto 80px auto;}.button-bar__item--secondary{font-size:0.8rem;}.skeleton{line-height:1.1rem;}#isucae{min-height:100px;}.footer__column{display:flex;flex-direction:column;flex-grow:1;text-align:center;}.footer__item{padding:10px 10px 10px 10px;}#igsxoc{position:relative;top:3px;}.box--centered{display:flex;flex-direction:column;align-items:center;}.button-bar__title:hover{color:#8873fe;}.button-bar__item--icon{margin:0px 0 0 0;padding:5px 5px 5px 5px;}.nav__item:hover{text-decoration:none;color:#8873fe;}.nav_item--active:first-child{color:#8873fe;}
@@ -0,0 +1,384 @@
1
+ <!DOCTYPE html>
2
+ <html lang="">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <link rel="stylesheet" href="/css/connectors-61bd21c2345101e48cc530cacf3afc0156ce7e089fcef3a34f853a537f0c55f2.css" />
6
+ <!-- font google -->
7
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
8
+ <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap" rel="stylesheet">
9
+
10
+ <style>
11
+ .before-js > * {
12
+ visibility: hidden;
13
+ opacity: 0;
14
+ transition: opacity .5s ease;
15
+ }
16
+ .before-js[data-gjs-type] > *, /* This is only inside the editor, .before-js needs to be on the body */
17
+ .after-js > * {
18
+ visibility: visible;
19
+ opacity: 1;
20
+ }
21
+ .before-js:before {
22
+ content: 'Loading';
23
+ position: absolute;
24
+ top: 49%;
25
+ left: 49%;
26
+ }
27
+ .before-js[data-gjs-type]:before, /* This is only inside the editor, .before-js needs to be on the body */
28
+ .after-js:before {
29
+ content: none;
30
+ }
31
+ /*BTNS*/
32
+ .button, .pointer {
33
+ cursor: pointer!important}
34
+ .button{
35
+ min-width:110px;
36
+ }
37
+ /*BTNS*/
38
+ a {
39
+ text-decoration: none;
40
+ color:#8873FE;
41
+ }
42
+ a:hover {
43
+ text-decoration: underline;
44
+ }
45
+ .uppercase {
46
+ text-transform: uppercase;
47
+ }
48
+ .underline:hover{
49
+ text-decoration: underline;
50
+ text-decoration-thickness: from-font;
51
+ text-underline-position: under;
52
+ }
53
+ /*footer position*/
54
+ .main-min-height {
55
+ min-height: calc(100vh - 560px);
56
+ }
57
+ /*footer position*/
58
+ /*label*/
59
+ ::placeholder {
60
+ color: #8873FE;
61
+ }
62
+ input:focus {
63
+ border: 2px solid #9977FE;
64
+ background-color:#ffffff;
65
+ }
66
+ :focus {
67
+ outline: none;
68
+ }
69
+ /*label*/
70
+ .skeleton-anim:after {
71
+ width: 100%;
72
+ height: 100%;
73
+ position: absolute;
74
+ top: 0;
75
+ left: 0;
76
+ content: "";
77
+ background:
78
+ linear-gradient(0.25turn, transparent, rgba(255,255,255,.75), transparent),
79
+ linear-gradient(transparent, transparent),
80
+ radial-gradient(38px circle at 19px 19px, transparent 50%, transparent 51%),
81
+ linear-gradient(transparent, transparent);
82
+ background-repeat: no-repeat;
83
+ background-size: 315px 250px, 315px 180px, 100px 100px, 225px 30px;
84
+ background-position: -315px 0, 0 0, 0px 190px, 50px 195px;
85
+ animation: loading 1.5s infinite;
86
+ }
87
+ @keyframes loading {
88
+ to {
89
+ background-position: 200% 0, 0 0, 0 190px, 50px 195px;
90
+ }
91
+ }
92
+ /*FX ANIMATIONS*/
93
+ /*scale-round-inside_pour-BTN*/
94
+ .fx-scale-round {
95
+ position:relative;
96
+ z-index: 10;
97
+ overflow: hidden;
98
+ }
99
+ .fx-scale-round::after {
100
+ content: "";
101
+ background: #ffffff;
102
+ position: absolute;
103
+ z-index: -1;
104
+ border-radius: 50%;
105
+ left: -50%;
106
+ right: -50%;
107
+ top: -100%;
108
+ bottom: -100%;
109
+ transform: scale(0, 0);
110
+ transform-origin: center bottom;
111
+ transition: all 0.3s ease-out;
112
+ }
113
+ .fx-scale-round:hover {
114
+ transform-origin: center bottom;
115
+ transform: scale(1.1);
116
+ transition: transform 0.2s cubic-bezier(0, -0.530, 0.405, 2.8);
117
+ }
118
+ .fx-scale-round:hover::after {
119
+ transform: scale(1, 1);
120
+ transition: transform 0.2s cubic-bezier(0, -0.530, 0.405, 2.8);
121
+ }
122
+ /*scale-round-inside_pour-BTN*/
123
+ /*scale*/
124
+ .fx-scale:hover {
125
+ transform-origin: center bottom;
126
+ transform: scale(1.1);
127
+ transition: transform 0.2s cubic-bezier(0, -0.530, 0.405, 2.8);
128
+ }
129
+ /*flash*/
130
+ .fx-flash:hover {
131
+ animation: flash-in .25s ;
132
+ }
133
+ /*flash-in animation*/
134
+ @keyframes flash-in{
135
+ 0% {
136
+ opacity:.25;
137
+ }
138
+ 100% {
139
+ opacity:1;
140
+ }
141
+ }
142
+ /*flash-in animation*/
143
+ /*FX ANIMATIONS*/
144
+ </style>
145
+ <script src="/js/vue.global.prod.js"></script>
146
+ <script src="/js/main.js"></script>
147
+ <script type="module">
148
+ const CONNECTORS_PATH = '/connectors/'
149
+ window.addEventListener('load', function() {
150
+ const { createApp } = Vue;
151
+ const { api, constants, types } = silex;
152
+ const {
153
+ ConnectorType,
154
+ } = types
155
+ const {
156
+ setServerUrl,
157
+ getUser,
158
+ logout,
159
+ websiteDelete,
160
+ websiteDuplicate,
161
+ websiteList,
162
+ websiteCreate,
163
+ websiteMetaWrite,
164
+ } = api
165
+ function toSafeId(name) {
166
+ return name.replace(/[/\\?%*:|"<>]/g, '_')
167
+ }
168
+
169
+ const App = {
170
+ data() {
171
+ return {
172
+ websites: [],
173
+ newWebsiteName: '',
174
+ showCreationForm: false,
175
+ error: null,
176
+ message: null,
177
+ loggedIn: false,
178
+ loading: true,
179
+ storage: null,
180
+ user: null,
181
+ showMenu: false,
182
+ empty: false,
183
+ }
184
+ },
185
+ mounted() {
186
+ this.init()
187
+ },
188
+
189
+ methods: {
190
+ async init() {
191
+ try {
192
+ // Init Silex server path
193
+ // Go up one level because of the language prefix
194
+ setServerUrl(window.location.origin)
195
+ // Start
196
+ const user = await getUser({type: ConnectorType.STORAGE})
197
+ // Escape single quotes in the picture URL and decode the picture URL
198
+ user.picture = decodeURIComponent(user.picture).replace(/'/g, "\\'")
199
+ if(user) {
200
+ this.user = user
201
+ this.loggedIn = true
202
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
203
+ this.empty = this.websites.length === 0
204
+ this.loading = false
205
+ } else {
206
+ this.openLogin()
207
+ }
208
+ } catch (error) {
209
+ console.error(error)
210
+ this.loading = false
211
+ if(error.code === 401 || error.httpStatusCode === 401) {
212
+ this.loggedIn = false
213
+ this.openLogin()
214
+ } else {
215
+ this.error = `Failed to start dashboard - ${error.message}`
216
+ this.message = ''
217
+ }
218
+ }
219
+ },
220
+
221
+ openLogin(id, lang) {
222
+ //throw new Error('debug')
223
+ const path = `/en${CONNECTORS_PATH}`
224
+ console.log(window.location.pathname, window.location.path, path)
225
+ if(window.location.pathname === path) return
226
+ window.open(path, '_self')
227
+ },
228
+
229
+ openEditor(id, lang) {
230
+ window.open(`/?id=${id}&lang=${lang}&connectorId=${this.user.storage.connectorId}`, '_self')
231
+ },
232
+
233
+ async logout() {
234
+ await logout({
235
+ type: ConnectorType.STORAGE,
236
+ connectorId: this.user.storage.connectorId,
237
+ })
238
+ window.location.reload()
239
+ },
240
+
241
+ async createWebsite() {
242
+ try {
243
+ if (!this.newWebsiteName) throw new Error('You need to provide a website name')
244
+ this.loading = true
245
+ const websiteId = toSafeId(this.newWebsiteName)
246
+ const result = await websiteCreate({
247
+ websiteId,
248
+ data: {
249
+ name: this.newWebsiteName,
250
+ imageUrl: null,
251
+ },
252
+ connectorId: this.user.storage.connectorId
253
+ })
254
+ this.message = 'Website created successfully'
255
+ this.error = ''
256
+ this.newWebsiteName = ''
257
+ this.showCreationForm = false;
258
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
259
+ this.empty = this.websites.length === 0
260
+ this.loading = false
261
+ return result
262
+ } catch (error) {
263
+ this.loading = false
264
+ console.error(error)
265
+ this.error = `Failed to create website - ${error.message}`
266
+ this.message = ''
267
+ }
268
+ },
269
+
270
+ async deleteWebsite(websiteId) {
271
+ const ok = confirm('Deleting a website? Are your sure? Really?')
272
+ if (!ok) return
273
+ this.loading = true
274
+ try {
275
+ const result = await websiteDelete({websiteId, connectorId: this.user.storage.connectorId})
276
+ this.message = 'Website deleted successfully'
277
+ this.error = ''
278
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
279
+ this.empty = this.websites.length === 0
280
+ this.loading = false
281
+ return result
282
+ } catch (error) {
283
+ this.loading = false
284
+ this.error = `Failed to delete website - ${error.message}`
285
+ this.message = ''
286
+ }
287
+ },
288
+
289
+ async duplicateWebsite(websiteId) {
290
+ this.loading = true
291
+ try {
292
+ await websiteDuplicate({websiteId, connectorId: this.user.storage.connectorId, data: { name }})
293
+ this.error = ''
294
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
295
+ this.message = 'Website duplicated successfully'
296
+ this.empty = this.websites.length === 0
297
+ this.loading = false
298
+ } catch (error) {
299
+ this.loading = false
300
+ this.error = `Failed to duplicate website - ${error.message}`
301
+ this.message = ''
302
+ }
303
+ },
304
+
305
+ async renameWebsite(websiteId) {
306
+ const website = this.websites.find(w => w.websiteId === websiteId)
307
+ const name = prompt('New name for this website', website.name)
308
+ if (!name) return
309
+ this.loading = true
310
+ try {
311
+ const result = await websiteMetaWrite({websiteId, connectorId: this.user.storage.connectorId, data: { name }})
312
+ this.message = 'Website renamed successfully'
313
+ this.error = ''
314
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
315
+ this.empty = this.websites.length === 0
316
+ this.loading = false
317
+ return result
318
+ } catch (error) {
319
+ this.loading = false
320
+ this.error = `Failed to rename website - ${error.message}`
321
+ this.message = ''
322
+ }
323
+ },
324
+ },
325
+ };
326
+ // Prepare elements for vue
327
+ document.querySelectorAll('[v-text], [v-html]')
328
+ .forEach(el => el.innerText = '')
329
+
330
+ // Create the app
331
+ const app = createApp(App);
332
+
333
+ // Suppress "v-text will override element children" warning
334
+ app.config.compilerOptions.directiveTransforms = {
335
+ text: false,
336
+ }
337
+
338
+ // Mount the app
339
+ app.mount('.app');
340
+
341
+
342
+ // Remove loading
343
+ setTimeout(() => {
344
+ document.querySelector('.before-js').classList.add('after-js')
345
+ }, 100)
346
+ })
347
+ </script>
348
+
349
+ <title>Silex Dashboard</title>
350
+ <link rel="icon" href="/assets/favicon-32x32.png" />
351
+ <meta name="og:title" property="og:title" content="Silex Dashboard"/>
352
+ <link href="https://www.googleapis.com" rel="preconnect" ><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin ><link href="https://www.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet" ></head>
353
+ <body id="i2hcfw" class="body app before-js"><A id="ixzhcr" href="/" class="button button-bar__item--secondary">< Back</A><div id="imawg3" class="bg-silex-purpel"><div id="imgx81" class=""><div id="iikf0s" class="box box_login"><div id="ie0dxn" class="text-centered"><img id="ior0hl" src="/assets/logo-silex.svg"/><p id="it2175" class="subtitle-16">Please login to continue</p><div id="ilq8ui" class="text-centered">Do you need help? Check <a href="https://docs.silex.me/en/user/login" target="_blank">the documentation</a>.</div></div><h3 id="iqc1xf" class="margin-top">Recommended and free</h3><div id="in62y2">
354
+
355
+
356
+
357
+ <div id="isqe61" class="">
358
+ <a id="i0vhjr" href="/api/connector/login?connectorId=gitlab&type=STORAGE" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Gitlab.com is the service we recommend to host your Silex website. We trust the company behind the service, go check them out."><div id="io3lid" class="button-bar__item__icon"><svg xmlns:svg="http://www.w3.org/2000/svg"
359
+ xmlns="http://www.w3.org/2000/svg"
360
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
361
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
362
+ width="100%" height="100%" viewBox="0 0 1000 963.197" version="1.1" id="svg85">
363
+ <sodipodi:namedview id="namedview87" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="1" inkscape:cx="991.5" inkscape:cy="964.5" inkscape:window-width="1126" inkscape:window-height="895" inkscape:window-x="774" inkscape:window-y="12" inkscape:window-maximized="0" inkscape:current-layer="svg85" />
364
+ <defs id="defs74">
365
+ <!-- Styles will be applied inline -->
366
+ </defs>
367
+ <g id="LOGO" transform="matrix(5.2068817,0,0,5.2068817,-489.30756,-507.76085)">
368
+ <path class="cls-1" style="fill:#e24329;" d="m 282.83,170.73 -0.27,-0.69 -26.14,-68.22 a 6.81,6.81 0 0 0 -2.69,-3.24 7,7 0 0 0 -8,0.43 7,7 0 0 0 -2.32,3.52 l -17.65,54 h -71.47 l -17.65,-54 a 6.86,6.86 0 0 0 -2.32,-3.53 7,7 0 0 0 -8,-0.43 6.87,6.87 0 0 0 -2.69,3.24 L 97.44,170 l -0.26,0.69 a 48.54,48.54 0 0 0 16.1,56.1 l 0.09,0.07 0.24,0.17 39.82,29.82 19.7,14.91 12,9.06 a 8.07,8.07 0 0 0 9.76,0 l 12,-9.06 19.7,-14.91 40.06,-30 0.1,-0.08 a 48.56,48.56 0 0 0 16.08,-56.04 z" id="path76" />
369
+ <path class="cls-2" style="fill:#fc6d26;" d="m 282.83,170.73 -0.27,-0.69 a 88.3,88.3 0 0 0 -35.15,15.8 L 190,229.25 c 19.55,14.79 36.57,27.64 36.57,27.64 l 40.06,-30 0.1,-0.08 a 48.56,48.56 0 0 0 16.1,-56.08 z" id="path78" />
370
+ <path class="cls-3" style="fill:#fca326;" d="m 153.43,256.89 19.7,14.91 12,9.06 a 8.07,8.07 0 0 0 9.76,0 l 12,-9.06 19.7,-14.91 c 0,0 -17.04,-12.89 -36.59,-27.64 -19.55,14.75 -36.57,27.64 -36.57,27.64 z" id="path80" />
371
+ <path class="cls-2" style="fill:#fc6d26;" d="M 132.58,185.84 A 88.19,88.19 0 0 0 97.44,170 l -0.26,0.69 a 48.54,48.54 0 0 0 16.1,56.1 l 0.09,0.07 0.24,0.17 39.82,29.82 c 0,0 17,-12.85 36.57,-27.64 z" id="path82" />
372
+ </g>
373
+ </svg></div><div id="i87asw" class="connector__description">Connect with GitLab.com</div></a></div>
374
+
375
+ </div><h3 id="i8w75b" class="margin-30">Advanced users</h3><div id="igp4xl">
376
+
377
+
378
+
379
+
380
+
381
+ <div id="id9k25" href="" class="">
382
+ <a href="/api/connector/login?connectorId=ftp&type=STORAGE" id="irgt6z" class="connector__card" data-style="background: #0066CC; color: #ffffff;" title="FTP is for professional users who want to host their websites with a hosting company of their choice
383
+ "><div class="button-bar__item__icon"><svg xmlns='http://www.w3.org/2000/svg' height='100%' viewBox='0 0 512 512'> <path d='M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z' /> </svg></div><div class="connector__description">Connect with FTP</div></a></div></div><div id="i3cney" class="button-bar"><a id="iacshy" class="button big-button connector__card" v-if="!loading" :key="index" :style="{ backgroundColor: connector.background, color: connector.color }" v-for="(connector, index) in connectors" v-on-click="openLogin(connector)"><div id="iiwn36"><div class="button-bar__item__icon" :style="`background: url('${connector.icon}'); background-repeat: no-repeat; background-size: contain;`"></div><div id="if4gvb" class="" v-text="connector.displayName">Name<br/></div></div><div id="isndui">This connector is about blablabla<br/></div></a></div></div><div id="i9msnk" class="text-white top-space-20" v-if="error" v-text="message" :test="message">Insert your text here</div><div id="i6akll" class="button button--tertiary text-centered" v-if="error" v-on:click="logout()">Logout</div></div></div></body>
384
+ </html>