@micromag/viewer-build 0.2.349 → 0.2.352

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 (60) hide show
  1. package/build/asset-manifest.json +44 -46
  2. package/build/index.html +1 -1
  3. package/build/static/css/main.84dd7324.chunk.css +2 -0
  4. package/build/static/css/main.84dd7324.chunk.css.map +1 -0
  5. package/build/static/js/{0.f79b9ef3.chunk.js → 0.e9d808b4.chunk.js} +2 -2
  6. package/build/static/js/{0.f79b9ef3.chunk.js.map → 0.e9d808b4.chunk.js.map} +1 -1
  7. package/build/static/js/{1.dc8210ea.chunk.js → 1.10b11229.chunk.js} +2 -2
  8. package/build/static/js/{1.dc8210ea.chunk.js.map → 1.10b11229.chunk.js.map} +1 -1
  9. package/build/static/js/{12.6fa9cc23.chunk.js → 10.5043cd3c.chunk.js} +2 -2
  10. package/build/static/js/{12.6fa9cc23.chunk.js.map → 10.5043cd3c.chunk.js.map} +1 -1
  11. package/build/static/js/{13.f18a2ee1.chunk.js → 11.505258e4.chunk.js} +2 -2
  12. package/build/static/js/{13.f18a2ee1.chunk.js.map → 11.505258e4.chunk.js.map} +1 -1
  13. package/build/static/js/{14.06caff0d.chunk.js → 12.db5d747d.chunk.js} +2 -2
  14. package/build/static/js/{14.06caff0d.chunk.js.map → 12.db5d747d.chunk.js.map} +1 -1
  15. package/build/static/js/{15.c10bab99.chunk.js → 13.eee02164.chunk.js} +2 -2
  16. package/build/static/js/{15.c10bab99.chunk.js.map → 13.eee02164.chunk.js.map} +1 -1
  17. package/build/static/js/{16.362ba203.chunk.js → 14.545de4b8.chunk.js} +2 -2
  18. package/build/static/js/{16.362ba203.chunk.js.map → 14.545de4b8.chunk.js.map} +1 -1
  19. package/build/static/js/15.bac0802a.chunk.js +2 -0
  20. package/build/static/js/15.bac0802a.chunk.js.map +1 -0
  21. package/build/static/js/{17.a3771ccd.chunk.js → 16.04903139.chunk.js} +2 -2
  22. package/build/static/js/{17.a3771ccd.chunk.js.map → 16.04903139.chunk.js.map} +1 -1
  23. package/build/static/js/17.ce3338f7.chunk.js +2 -0
  24. package/build/static/js/{18.d3cd761e.chunk.js.map → 17.ce3338f7.chunk.js.map} +1 -1
  25. package/build/static/js/{2.0b2dbffa.chunk.js → 2.1c01c038.chunk.js} +2 -2
  26. package/build/static/js/{2.0b2dbffa.chunk.js.map → 2.1c01c038.chunk.js.map} +1 -1
  27. package/build/static/js/5.b1de04f7.chunk.js +3 -0
  28. package/build/static/js/{5.35e5a74b.chunk.js.LICENSE.txt → 5.b1de04f7.chunk.js.LICENSE.txt} +0 -7
  29. package/build/static/js/5.b1de04f7.chunk.js.map +1 -0
  30. package/build/static/js/{6.07a76264.chunk.js → 6.cd3776b3.chunk.js} +3 -3
  31. package/build/static/js/{6.07a76264.chunk.js.LICENSE.txt → 6.cd3776b3.chunk.js.LICENSE.txt} +0 -0
  32. package/build/static/js/{6.07a76264.chunk.js.map → 6.cd3776b3.chunk.js.map} +1 -1
  33. package/build/static/js/{9.a413d252.chunk.js → 7.fbca3b10.chunk.js} +2 -2
  34. package/build/static/js/{9.a413d252.chunk.js.map → 7.fbca3b10.chunk.js.map} +1 -1
  35. package/build/static/js/8.33d32e6f.chunk.js +2 -0
  36. package/build/static/js/8.33d32e6f.chunk.js.map +1 -0
  37. package/build/static/js/9.294af4b0.chunk.js +2 -0
  38. package/build/static/js/9.294af4b0.chunk.js.map +1 -0
  39. package/build/static/js/main.ac6010b6.chunk.js +2 -0
  40. package/build/static/js/main.ac6010b6.chunk.js.map +1 -0
  41. package/build/static/js/runtime-main.7e86a7b4.js +2 -0
  42. package/build/static/js/runtime-main.7e86a7b4.js.map +1 -0
  43. package/package.json +7 -7
  44. package/build/static/css/main.143562a2.chunk.css +0 -2
  45. package/build/static/css/main.143562a2.chunk.css.map +0 -1
  46. package/build/static/js/10.ab3fb08c.chunk.js +0 -2
  47. package/build/static/js/10.ab3fb08c.chunk.js.map +0 -1
  48. package/build/static/js/11.bb0e7bef.chunk.js +0 -2
  49. package/build/static/js/11.bb0e7bef.chunk.js.map +0 -1
  50. package/build/static/js/18.d3cd761e.chunk.js +0 -2
  51. package/build/static/js/5.35e5a74b.chunk.js +0 -3
  52. package/build/static/js/5.35e5a74b.chunk.js.map +0 -1
  53. package/build/static/js/7.57910475.chunk.js +0 -2
  54. package/build/static/js/7.57910475.chunk.js.map +0 -1
  55. package/build/static/js/8.f6bad856.chunk.js +0 -2
  56. package/build/static/js/8.f6bad856.chunk.js.map +0 -1
  57. package/build/static/js/main.1947d720.chunk.js +0 -2
  58. package/build/static/js/main.1947d720.chunk.js.map +0 -1
  59. package/build/static/js/runtime-main.e1c8234d.js +0 -2
  60. package/build/static/js/runtime-main.e1c8234d.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ (this["webpackJsonp@micromag/viewer-build"]=this["webpackJsonp@micromag/viewer-build"]||[]).push([[9],{546:function(e,t,o){function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}var i=o(439).ProviderViews;e.exports=function(e){var t,o;function i(){return e.apply(this,arguments)||this}return o=e,(t=i).prototype=Object.create(o.prototype),t.prototype.constructor=t,r(t,o),i.prototype.toggleCheckbox=function(t,o){t.stopPropagation(),t.preventDefault(),o.custom.isTeamDrive||o.custom.isSharedDrive||e.prototype.toggleCheckbox.call(this,t,o)},i}(i)},555:function(e,t,o){var r,i;function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}var p=o(50).Plugin,a=o(432).Provider,c=o(546),u=o(21).h;e.exports=(i=r=function(e){var t,o;function r(t,o){var r;return(r=e.call(this,t,o)||this).id=r.opts.id||"GoogleDrive",r.title=r.opts.title||"Google Drive",a.initPlugin(n(r),o),r.title=r.opts.title||"Google Drive",r.icon=function(){return u("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},u("g",{fill:"none",fillRule:"evenodd"},u("rect",{className:"uppy-ProviderIconBg",fill:"#4285F4",width:"32",height:"32",rx:"16"}),u("path",{d:"M10.324 23.3l3-5.1H25l-3 5.1H10.324zM13 18.2l-3 5.1-3-5.1 5.839-9.924 2.999 5.1L13 18.2zm11.838-.276h-6L13 8h6l5.84 9.924h-.002z",fill:"#FFF"})))},r.provider=new a(t,{companionUrl:r.opts.companionUrl,companionHeaders:r.opts.companionHeaders||r.opts.serverHeaders,companionKeysParams:r.opts.companionKeysParams,companionCookiesRule:r.opts.companionCookiesRule,provider:"drive",pluginId:r.id}),r.onFirstRender=r.onFirstRender.bind(n(r)),r.render=r.render.bind(n(r)),r}o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,s(t,o);var i=r.prototype;return i.install=function(){this.view=new c(this,{provider:this.provider});var e=this.opts.target;e&&this.mount(e,this)},i.uninstall=function(){this.view.tearDown(),this.unmount()},i.onFirstRender=function(){return Promise.all([this.provider.fetchPreAuthToken(),this.view.getFolder("root","/")])},i.render=function(e){return this.view.render(e)},r}(p),r.VERSION="1.7.2",i)}}]);
2
+ //# sourceMappingURL=9.294af4b0.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../node_modules/@uppy/google-drive/lib/DriveProviderViews.js","../../../node_modules/@uppy/google-drive/lib/index.js"],"names":["_setPrototypeOf","o","p","Object","setPrototypeOf","__proto__","ProviderViews","require","module","exports","_ProviderViews","subClass","superClass","DriveProviderViews","apply","this","arguments","prototype","create","constructor","toggleCheckbox","e","file","stopPropagation","preventDefault","custom","isTeamDrive","isSharedDrive","call","_class","_temp","_assertThisInitialized","self","ReferenceError","Plugin","Provider","h","_Plugin","GoogleDrive","uppy","opts","_this","id","title","initPlugin","icon","focusable","width","height","viewBox","fill","fillRule","className","rx","d","provider","companionUrl","companionHeaders","serverHeaders","companionKeysParams","companionCookiesRule","pluginId","onFirstRender","bind","render","_proto","install","view","target","mount","uninstall","tearDown","unmount","Promise","all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oBAAqB5D,KAAKoD,KAAKS,UAAU,OAAQ,QAGrFX,EAAOD,OAAS,SAAgBa,GAC9B,OAAO9D,KAAKoD,KAAKH,OAAOa,IAGnBvC,EAzEuC,CA0E9CJ,GAASL,EAAOiD,QAAU,QAAShD","file":"static/js/9.294af4b0.chunk.js","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nvar _require = require('@uppy/provider-views'),\n ProviderViews = _require.ProviderViews;\n\nmodule.exports = /*#__PURE__*/function (_ProviderViews) {\n _inheritsLoose(DriveProviderViews, _ProviderViews);\n\n function DriveProviderViews() {\n return _ProviderViews.apply(this, arguments) || this;\n }\n\n var _proto = DriveProviderViews.prototype;\n\n _proto.toggleCheckbox = function toggleCheckbox(e, file) {\n e.stopPropagation();\n e.preventDefault(); // Shared Drives aren't selectable; for all else, defer to the base ProviderView.\n // @todo isTeamDrive is left for backward compatibility. We should remove it in the next\n // major release.\n\n if (!file.custom.isTeamDrive && !file.custom.isSharedDrive) {\n _ProviderViews.prototype.toggleCheckbox.call(this, e, file);\n }\n };\n\n return DriveProviderViews;\n}(ProviderViews);","var _class, _temp;\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nvar _require = require('@uppy/core'),\n Plugin = _require.Plugin;\n\nvar _require2 = require('@uppy/companion-client'),\n Provider = _require2.Provider;\n\nvar DriveProviderViews = require('./DriveProviderViews');\n\nvar _require3 = require('preact'),\n h = _require3.h;\n\nmodule.exports = (_temp = _class = /*#__PURE__*/function (_Plugin) {\n _inheritsLoose(GoogleDrive, _Plugin);\n\n function GoogleDrive(uppy, opts) {\n var _this;\n\n _this = _Plugin.call(this, uppy, opts) || this;\n _this.id = _this.opts.id || 'GoogleDrive';\n _this.title = _this.opts.title || 'Google Drive';\n Provider.initPlugin(_assertThisInitialized(_this), opts);\n _this.title = _this.opts.title || 'Google Drive';\n\n _this.icon = function () {\n return h(\"svg\", {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n width: \"32\",\n height: \"32\",\n viewBox: \"0 0 32 32\"\n }, h(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, h(\"rect\", {\n className: \"uppy-ProviderIconBg\",\n fill: \"#4285F4\",\n width: \"32\",\n height: \"32\",\n rx: \"16\"\n }), h(\"path\", {\n d: \"M10.324 23.3l3-5.1H25l-3 5.1H10.324zM13 18.2l-3 5.1-3-5.1 5.839-9.924 2.999 5.1L13 18.2zm11.838-.276h-6L13 8h6l5.84 9.924h-.002z\",\n fill: \"#FFF\"\n })));\n };\n\n _this.provider = new Provider(uppy, {\n companionUrl: _this.opts.companionUrl,\n companionHeaders: _this.opts.companionHeaders || _this.opts.serverHeaders,\n companionKeysParams: _this.opts.companionKeysParams,\n companionCookiesRule: _this.opts.companionCookiesRule,\n provider: 'drive',\n pluginId: _this.id\n });\n _this.onFirstRender = _this.onFirstRender.bind(_assertThisInitialized(_this));\n _this.render = _this.render.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = GoogleDrive.prototype;\n\n _proto.install = function install() {\n this.view = new DriveProviderViews(this, {\n provider: this.provider\n });\n var target = this.opts.target;\n\n if (target) {\n this.mount(target, this);\n }\n };\n\n _proto.uninstall = function uninstall() {\n this.view.tearDown();\n this.unmount();\n };\n\n _proto.onFirstRender = function onFirstRender() {\n return Promise.all([this.provider.fetchPreAuthToken(), this.view.getFolder('root', '/')]);\n };\n\n _proto.render = function render(state) {\n return this.view.render(state);\n };\n\n return GoogleDrive;\n}(Plugin), _class.VERSION = \"1.7.2\", _temp);"],"sourceRoot":""}