@realsee/vreo 2.6.2 → 2.6.4-alpha.2

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 (134) hide show
  1. package/lib/PlayController/createHTMLAudioElement.js +10 -14
  2. package/lib/PlayController/index.js +63 -73
  3. package/lib/Player/App.js +2 -2
  4. package/lib/Player/AudioFocus.d.ts +36 -0
  5. package/lib/Player/AudioFocus.js +139 -0
  6. package/lib/Player/Controller.d.ts +16 -0
  7. package/lib/Player/Controller.js +119 -61
  8. package/lib/Player/custom/SpatialScenePanel/index.js +34 -11
  9. package/lib/Player/index.d.ts +8 -2
  10. package/lib/Player/index.js +182 -123
  11. package/lib/Player/modules/Drawer/index.js +1 -2
  12. package/lib/Player/modules/VideoAgent/VideoAgentMesh.d.ts +8 -1
  13. package/lib/Player/modules/VideoAgent/VideoAgentMesh.js +173 -203
  14. package/lib/Player/modules/VideoAgent/VideoAgentScene.d.ts +1 -0
  15. package/lib/Player/modules/VideoAgent/VideoAgentScene.js +6 -2
  16. package/lib/Player/modules/VideoAgent/index.js +10 -2
  17. package/lib/Player/modules/keyframes/BgMusic/index.js +46 -54
  18. package/lib/Player/modules/keyframes/CameraMovement/index.js +43 -45
  19. package/lib/Player/modules/keyframes/InfoPanel/index.js +37 -32
  20. package/lib/Player/modules/keyframes/ModelVideo/index.js +98 -57
  21. package/lib/Player/modules/keyframes/PanoTag/index.js +1 -1
  22. package/lib/Player/modules/keyframes/PanoTextLabel/index.js +3 -3
  23. package/lib/Player/modules/keyframes/UpdateVRPanorama/index.js +3 -3
  24. package/lib/Player/modules/keyframes/VideoEffect/index.js +87 -74
  25. package/lib/Player/typings.d.ts +10 -0
  26. package/lib/fivePlugins/CSS3DRenderPlugin/index.js +6 -6
  27. package/lib/fivePlugins/CameraMovementPlugin/index.js +173 -180
  28. package/lib/fivePlugins/CameraMovementPlugin/typings.js +6 -6
  29. package/lib/fivePlugins/ModelTVVideoPlugin/index.d.ts +2 -0
  30. package/lib/fivePlugins/ModelTVVideoPlugin/index.js +87 -43
  31. package/lib/index.d.ts +1 -0
  32. package/lib/react/index.js +1 -1
  33. package/lib/shared-utils/Audio.js +53 -56
  34. package/lib/shared-utils/AudioLike.js +12 -14
  35. package/lib/shared-utils/animationFrame/BetterTween.js +13 -15
  36. package/lib/shared-utils/animationFrame/tween.js +1 -3
  37. package/lib/shared-utils/getMediaInfo.js +0 -1
  38. package/lib/typings/VreoUnit.js +134 -27
  39. package/package.json +6 -4
  40. package/docs/.nojekyll +0 -1
  41. package/docs/assets/custom.css +0 -78
  42. package/docs/assets/hierarchy.js +0 -1
  43. package/docs/assets/highlight.css +0 -127
  44. package/docs/assets/icons.js +0 -18
  45. package/docs/assets/icons.svg +0 -1
  46. package/docs/assets/main.js +0 -60
  47. package/docs/assets/navigation.js +0 -1
  48. package/docs/assets/search.js +0 -1
  49. package/docs/assets/style.css +0 -1640
  50. package/docs/classes/Player.AudioLike.html +0 -15
  51. package/docs/classes/Player.Controller.html +0 -87
  52. package/docs/classes/Player.Player.html +0 -54
  53. package/docs/classes/Player.VideoAgentMesh.html +0 -72
  54. package/docs/classes/Player.VideoAgentScene.html +0 -9
  55. package/docs/demo/assets/AppReact-CkuqZtcS.js +0 -1
  56. package/docs/demo/assets/default-BQGCQRLt.css +0 -1
  57. package/docs/demo/assets/default-CVvVdmSW.js +0 -5540
  58. package/docs/demo/assets/dynamic-CO5wq52h.js +0 -1
  59. package/docs/demo/assets/examples-BCLzFApO.css +0 -1
  60. package/docs/demo/assets/examples-DfiAz2fR.js +0 -25
  61. package/docs/demo/assets/index-CBBSwaYT.js +0 -1
  62. package/docs/demo/assets/index-CmEXi2sK.css +0 -1
  63. package/docs/demo/assets/main-BF1tvUg-.js +0 -25
  64. package/docs/demo/assets/react-BnzBLum3.css +0 -1
  65. package/docs/demo/assets/react-C4h9qndP.js +0 -25
  66. package/docs/demo/examples.html +0 -16
  67. package/docs/demo/index-react-dynamic.html +0 -18
  68. package/docs/demo/index-react.html +0 -19
  69. package/docs/demo/index.html +0 -19
  70. package/docs/enums/Player.InfoPanelStyleEnum.html +0 -3
  71. package/docs/enums/Player.InfoPanelTypeEnum.html +0 -4
  72. package/docs/enums/Player.PanoEffectEnum.html +0 -4
  73. package/docs/enums/Player.PanoTagEnum.html +0 -4
  74. package/docs/enums/Player.PanoTagStyleEnum.html +0 -6
  75. package/docs/enums/Player.VreoKeyframeEnum.html +0 -25
  76. package/docs/enums/fivePlugins.CameraMovementEffect.html +0 -3
  77. package/docs/enums/fivePlugins.Rotation.html +0 -4
  78. package/docs/functions/custom.SpatialScenePanel.html +0 -2
  79. package/docs/functions/react.useVreoAction.html +0 -8
  80. package/docs/functions/react.useVreoEventCallback.html +0 -10
  81. package/docs/functions/react.useVreoPausedState.html +0 -8
  82. package/docs/hierarchy.html +0 -1
  83. package/docs/index.html +0 -160
  84. package/docs/interfaces/Player.Appearance.html +0 -2
  85. package/docs/interfaces/Player.CustomVreoKeyframeProps.html +0 -3
  86. package/docs/interfaces/Player.PlayerConfigs.html +0 -20
  87. package/docs/interfaces/Player.Vertex.html +0 -5
  88. package/docs/interfaces/Player.VideoAgentMeshOptions.html +0 -9
  89. package/docs/interfaces/Player.VreoKeyframe.html +0 -8
  90. package/docs/interfaces/Player.VreoUnit.html +0 -9
  91. package/docs/interfaces/Player.VreoVideo.html +0 -7
  92. package/docs/interfaces/fivePlugins.CSS3DRenderPluginExportType.html +0 -8
  93. package/docs/interfaces/fivePlugins.CameraMovementOptsCallback.html +0 -3
  94. package/docs/interfaces/fivePlugins.CameraMovementPluginExportType.html +0 -5
  95. package/docs/interfaces/fivePlugins.CameraMovementPluginParameterType.html +0 -1
  96. package/docs/interfaces/fivePlugins.ModelTVVideoPluginData.html +0 -5
  97. package/docs/interfaces/fivePlugins.ModelTVVideoPluginExportType.html +0 -4
  98. package/docs/interfaces/fivePlugins.ModelTVVideoPluginParameterType.html +0 -2
  99. package/docs/interfaces/fivePlugins.Vector3Position.html +0 -5
  100. package/docs/interfaces/react.VreoActionCallbacks.html +0 -18
  101. package/docs/interfaces/react.VreoProviderProps.html +0 -6
  102. package/docs/modules/Player.html +0 -1
  103. package/docs/modules/custom.html +0 -1
  104. package/docs/modules/fivePlugins.html +0 -1
  105. package/docs/modules/react.html +0 -1
  106. package/docs/modules.html +0 -1
  107. package/docs/types/Player.AppSize.html +0 -1
  108. package/docs/types/Player.AudioLikeEvent.html +0 -6
  109. package/docs/types/Player.CameraMovementData.html +0 -2
  110. package/docs/types/Player.CustomData.html +0 -2
  111. package/docs/types/Player.InfoPanelData.html +0 -7
  112. package/docs/types/Player.ModelVideoData.html +0 -9
  113. package/docs/types/Player.PanoEffectData.html +0 -4
  114. package/docs/types/Player.PanoTagData.html +0 -6
  115. package/docs/types/Player.PanoTextLabelData.html +0 -7
  116. package/docs/types/Player.PrompterData.html +0 -3
  117. package/docs/types/Player.QuadrangleVertexs.html +0 -2
  118. package/docs/types/Player.Quaternion.html +0 -6
  119. package/docs/types/Player.UpdateVRPanoramaData.html +0 -7
  120. package/docs/types/Player.Vertexs.html +0 -2
  121. package/docs/types/Player.VideoEffectData.html +0 -7
  122. package/docs/types/Player.VreoKeyframeEvent.html +0 -2
  123. package/docs/types/Player.VreoKeyframeMap.html +0 -6
  124. package/docs/types/Player.VreoSubscribe.html +0 -1
  125. package/docs/types/Player.WaveAppearance.html +0 -1
  126. package/docs/types/fivePlugins.CSS3DRenderPluginParameterType.html +0 -1
  127. package/docs/types/fivePlugins.MoveArgs.html +0 -1
  128. package/docs/types/fivePlugins.MoveOpts.html +0 -1
  129. package/docs/types/fivePlugins.RotateArgs.html +0 -1
  130. package/docs/types/fivePlugins.RotateOpts.html +0 -1
  131. package/docs/variables/fivePlugins.CSS3DRenderPlugin.html +0 -3
  132. package/docs/variables/fivePlugins.CameraMovementPlugin.html +0 -2
  133. package/docs/variables/fivePlugins.ModelTVVideoPlugin.html +0 -1
  134. package/docs/variables/react.VreoProvider.html +0 -9
@@ -38,7 +38,7 @@ export var VreoProvider = function VreoProvider(props) {
38
38
  setPlayer(playerRef.current);
39
39
  return function () {
40
40
  var _playerRef$current;
41
- (_playerRef$current = playerRef.current) === null || _playerRef$current === void 0 ? void 0 : _playerRef$current.dispose();
41
+ (_playerRef$current = playerRef.current) === null || _playerRef$current === void 0 || _playerRef$current.dispose();
42
42
  };
43
43
  }, []);
44
44
  if (!player) return /*#__PURE__*/React.createElement(React.Fragment, null);
@@ -1,16 +1,17 @@
1
1
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/esm/createClass";
3
- import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
- import _inherits from "@babel/runtime/helpers/esm/inherits";
5
3
  import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
6
- import _get from "@babel/runtime/helpers/esm/get";
4
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
7
5
  import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
6
+ import _get from "@babel/runtime/helpers/esm/get";
8
7
  import _wrapNativeSuper from "@babel/runtime/helpers/esm/wrapNativeSuper";
9
8
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
10
9
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
11
- import _regeneratorRuntime from "@babel/runtime/regenerator";
12
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
13
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
10
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
11
+ function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
12
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
+ function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
14
15
  var blankAudioSrc = 'data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=';
15
16
  // 下面这段空音频居然在11pro和xr上播不出来
16
17
  // const blankAudioSrc = 'data:audio/mpeg;base64,//AAAAHGZ0eXBNNEEgAAAAAE00QSBpc29tbXA0MgAAAAFtZGF0AAAAAAAAABwA0AAHANAABwDQAAcAAAM+bW9vdgAAAGxtdmhkAAAAAN+jti7fo7YuAACsRAAADAAAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAdB0cmFrAAAAXHRraGQAAAAB36O2Lt+jti4AAAABAAAAAAAADAAAAAAAAAAAAAAAAAABAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAFsbWRpYQAAACBtZGhkAAAAAN+jti7fo7YuAACsRAAADABVxAAAAAAAMWhkbHIAAAAAAAAAAHNvdW4AAAAAAAAAAAAAAABDb3JlIE1lZGlhIEF1ZGlvAAAAARNtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAANdzdGJsAAAAZ3N0c2QAAAAAAAAAAQAAAFdtcDRhAAAAAAAAAAEAAAAAAAAAAAACABAAAAAArEQAAAAAADNlc2RzAAAAAAOAgIAiAAAABICAgBRAFAAYAAAA+gAAAPoABYCAgAISCAaAgIABAgAAABhzdHRzAAAAAAAAAAEAAAADAAAEAAAAABxzdHNjAAAAAAAAAAEAAAABAAAAAwAAAAEAAAAgc3RzegAAAAAAAAAAAAAAAwAAAAQAAAAEAAAABAAAABRzdGNvAAAAAAAAAAEAAAAsAAAA+nVkdGEAAADybWV0YQAAAAAAAAAiaGRscgAAAAAAAAAAbWRpcgAAAAAAAAAAAAAAAAAAAAAAxGlsc3QAAAC8LS0tLQAAABxtZWFuAAAAAGNvbS5hcHBsZS5pVHVuZXMAAAAUbmFtZQAAAABpVHVuU01QQgAAAIRkYXRhAAAAAQAAAAAgMDAwMDAwMDAgMDAwMDA4NDAgMDAwMDAzQzAgMDAwMDAwMDAwMDAwMDAwMCAwMDAwMDAwMCAwMDAwMDAwMCAwMDAwMDAwMCAwMDAwMDAwMCAwMDAwMDAwMCAwMDAwMDAwMCAwMDAwMDAwMA=='
@@ -34,49 +35,46 @@ export function waitForBlankAudioGenerated() {
34
35
  return _waitForBlankAudioGenerated.apply(this, arguments);
35
36
  }
36
37
  function _waitForBlankAudioGenerated() {
37
- _waitForBlankAudioGenerated = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
38
+ _waitForBlankAudioGenerated = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
38
39
  var checkInterval,
39
40
  timeout,
40
41
  startTime,
41
42
  isTimedOut,
42
43
  _args = arguments;
43
- return _regeneratorRuntime.wrap(function _callee$(_context) {
44
- while (1) {
45
- switch (_context.prev = _context.next) {
46
- case 0:
47
- checkInterval = _args.length > 0 && _args[0] !== undefined ? _args[0] : 100;
48
- timeout = _args.length > 1 && _args[1] !== undefined ? _args[1] : 2000;
49
- console.log('waitForBlankAudioGenerated, needGenerate: ', audioList.some(function (audio) {
50
- return !audio.ended && audio.src === blankAudioSrc;
51
- }));
52
- // while any audioList not ended
53
- startTime = Date.now();
54
- isTimedOut = false;
55
- case 5:
56
- if (!(audioList.some(function (audio) {
57
- return !audio.ended && audio.src === blankAudioSrc;
58
- }) && !isTimedOut)) {
59
- _context.next = 13;
60
- break;
61
- }
62
- if (!(Date.now() - startTime > timeout)) {
63
- _context.next = 9;
64
- break;
65
- }
66
- isTimedOut = true;
67
- return _context.abrupt("return", Promise.resolve());
68
- case 9:
69
- _context.next = 11;
70
- return new Promise(function (resolve) {
71
- return setTimeout(resolve, checkInterval);
72
- });
73
- case 11:
74
- _context.next = 5;
44
+ return _regenerator().w(function (_context) {
45
+ while (1) switch (_context.n) {
46
+ case 0:
47
+ checkInterval = _args.length > 0 && _args[0] !== undefined ? _args[0] : 100;
48
+ timeout = _args.length > 1 && _args[1] !== undefined ? _args[1] : 2000;
49
+ console.log('waitForBlankAudioGenerated, needGenerate: ', audioList.some(function (audio) {
50
+ return !audio.ended && audio.src === blankAudioSrc;
51
+ }));
52
+ // while any audioList not ended
53
+ startTime = Date.now();
54
+ isTimedOut = false;
55
+ case 1:
56
+ if (!(audioList.some(function (audio) {
57
+ return !audio.ended && audio.src === blankAudioSrc;
58
+ }) && !isTimedOut)) {
59
+ _context.n = 4;
75
60
  break;
76
- case 13:
77
- case "end":
78
- return _context.stop();
79
- }
61
+ }
62
+ if (!(Date.now() - startTime > timeout)) {
63
+ _context.n = 2;
64
+ break;
65
+ }
66
+ isTimedOut = true;
67
+ return _context.a(2, Promise.resolve());
68
+ case 2:
69
+ _context.n = 3;
70
+ return new Promise(function (resolve) {
71
+ return setTimeout(resolve, checkInterval);
72
+ });
73
+ case 3:
74
+ _context.n = 1;
75
+ break;
76
+ case 4:
77
+ return _context.a(2);
80
78
  }
81
79
  }, _callee);
82
80
  }));
@@ -101,21 +99,19 @@ function initAudio(audio) {
101
99
  }
102
100
  }
103
101
  var IAudio = /*#__PURE__*/function (_Audio) {
104
- _inherits(IAudio, _Audio);
105
- var _super = _createSuper(IAudio);
106
102
  function IAudio(src) {
107
- var _thisSuper, _this;
103
+ var _this;
108
104
  _classCallCheck(this, IAudio);
109
- _this = _super.call(this, src);
110
- _defineProperty(_assertThisInitialized(_this), "preload", 'auto');
111
- _defineProperty(_assertThisInitialized(_this), "realSrc", '');
112
- _defineProperty(_assertThisInitialized(_this), "inited", false);
105
+ _this = _callSuper(this, IAudio, [src]);
106
+ _defineProperty(_this, "preload", 'auto');
107
+ _defineProperty(_this, "realSrc", '');
108
+ _defineProperty(_this, "inited", false);
113
109
  _this.realSrc = src !== null && src !== void 0 ? src : '';
114
- _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(IAudio.prototype)), "addEventListener", _thisSuper).call(_thisSuper, 'ended', function () {
110
+ _superPropGet((_this, IAudio), "addEventListener", _this, 3)(['ended', function () {
115
111
  _this.src = '';
116
- });
112
+ }]);
117
113
  var init = function init() {
118
- return initAudio(_assertThisInitialized(_this));
114
+ return initAudio(_this);
119
115
  };
120
116
  document.addEventListener('click', init);
121
117
  document.addEventListener('touchend', init);
@@ -125,7 +121,8 @@ var IAudio = /*#__PURE__*/function (_Audio) {
125
121
  };
126
122
  return _this;
127
123
  }
128
- _createClass(IAudio, [{
124
+ _inherits(IAudio, _Audio);
125
+ return _createClass(IAudio, [{
129
126
  key: "src",
130
127
  get:
131
128
  /**
@@ -141,9 +138,9 @@ var IAudio = /*#__PURE__*/function (_Audio) {
141
138
  * @param paramsSrc - 音频源 URL
142
139
  */,
143
140
  set: function set(paramsSrc) {
141
+ this.muted = true;
144
142
  this.setAttribute('src', paramsSrc);
145
143
  this.realSrc = paramsSrc;
146
144
  }
147
145
  }]);
148
- return IAudio;
149
- }( /*#__PURE__*/_wrapNativeSuper(Audio));
146
+ }(/*#__PURE__*/_wrapNativeSuper(Audio));
@@ -1,12 +1,11 @@
1
1
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/esm/createClass";
3
- import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
- import _inherits from "@babel/runtime/helpers/esm/inherits";
5
3
  import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
6
4
  import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
5
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
7
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
7
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
9
  import { Subscribe } from '@realsee/five';
11
10
  import { requestAnimationFrameInterval } from "./animationFrame/index.js";
12
11
  /**
@@ -16,25 +15,24 @@ import { requestAnimationFrameInterval } from "./animationFrame/index.js";
16
15
  * 模拟 `<Audio>` 功能:没有音频,但执行逻辑跟 `<Audio>` 相似。
17
16
  */
18
17
  export var AudioLike = /*#__PURE__*/function (_Subscribe) {
19
- _inherits(AudioLike, _Subscribe);
20
- var _super = _createSuper(AudioLike);
21
18
  function AudioLike() {
22
19
  var _this;
23
20
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
24
21
  duration = _ref.duration;
25
22
  _classCallCheck(this, AudioLike);
26
- _this = _super.call(this);
27
- _defineProperty(_assertThisInitialized(_this), "$timestamp", null);
28
- _defineProperty(_assertThisInitialized(_this), "$currentTime", 0);
29
- _defineProperty(_assertThisInitialized(_this), "$duration", 0);
30
- _defineProperty(_assertThisInitialized(_this), "muted", false);
31
- _defineProperty(_assertThisInitialized(_this), "src", '');
23
+ _this = _callSuper(this, AudioLike);
24
+ _defineProperty(_this, "$timestamp", null);
25
+ _defineProperty(_this, "$currentTime", 0);
26
+ _defineProperty(_this, "$duration", 0);
27
+ _defineProperty(_this, "muted", false);
28
+ _defineProperty(_this, "src", '');
32
29
  if (duration) {
33
30
  _this.$duration = duration;
34
31
  }
35
32
  return _this;
36
33
  }
37
- _createClass(AudioLike, [{
34
+ _inherits(AudioLike, _Subscribe);
35
+ return _createClass(AudioLike, [{
38
36
  key: "setAttribute",
39
37
  value: function setAttribute(name, value) {
40
38
  // nothing todo
@@ -43,6 +41,7 @@ export var AudioLike = /*#__PURE__*/function (_Subscribe) {
43
41
  key: "play",
44
42
  value: function play() {
45
43
  var _this2 = this;
44
+ if (this.stopInterval) return;
46
45
  if (this.$currentTime === this.$duration) {
47
46
  this.$currentTime = 0;
48
47
  }
@@ -117,6 +116,5 @@ export var AudioLike = /*#__PURE__*/function (_Subscribe) {
117
116
  this.off(evtName, callback);
118
117
  }
119
118
  }]);
120
- return AudioLike;
121
119
  }(Subscribe);
122
120
  export default AudioLike;
@@ -1,48 +1,46 @@
1
1
  import _createClass from "@babel/runtime/helpers/esm/createClass";
2
2
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
- import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
- import _inherits from "@babel/runtime/helpers/esm/inherits";
5
3
  import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
6
4
  import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
5
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
7
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
7
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
9
  import * as TWEEN from '@tweenjs/tween.js';
11
10
  import { requestAnimationFrameInterval } from "./index.js";
12
11
  export var BetterTween = /*#__PURE__*/function (_TWEEN$Tween) {
13
- _inherits(BetterTween, _TWEEN$Tween);
14
- var _super = _createSuper(BetterTween);
15
12
  function BetterTween() {
16
13
  var _this;
17
14
  _classCallCheck(this, BetterTween);
18
15
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
19
16
  args[_key] = arguments[_key];
20
17
  }
21
- _this = _super.call.apply(_super, [this].concat(args));
22
- _defineProperty(_assertThisInitialized(_this), "disposeMethods", []);
23
- _defineProperty(_assertThisInitialized(_this), "onDispose", function (callback) {
18
+ _this = _callSuper(this, BetterTween, [].concat(args));
19
+ _defineProperty(_this, "disposeMethods", []);
20
+ _defineProperty(_this, "onDispose", function (callback) {
24
21
  _this.disposeMethods.push(callback);
25
- return _assertThisInitialized(_this);
22
+ return _this;
26
23
  });
27
- _defineProperty(_assertThisInitialized(_this), "play", function () {
24
+ _defineProperty(_this, "play", function () {
28
25
  _this.start();
29
26
  _this.animationFrameDisposer = requestAnimationFrameInterval(function () {
30
27
  return _this.update();
31
28
  });
32
- return _assertThisInitialized(_this);
29
+ return _this;
33
30
  });
34
- _defineProperty(_assertThisInitialized(_this), "dispose", function () {
31
+ _defineProperty(_this, "dispose", function () {
35
32
  var _this$animationFrameD, _this2;
36
33
  _this.stop();
37
- (_this$animationFrameD = (_this2 = _this).animationFrameDisposer) === null || _this$animationFrameD === void 0 ? void 0 : _this$animationFrameD.call(_this2);
34
+ (_this$animationFrameD = (_this2 = _this).animationFrameDisposer) === null || _this$animationFrameD === void 0 || _this$animationFrameD.call(_this2);
38
35
  _this.disposeMethods.forEach(function (fn) {
39
36
  return fn();
40
37
  });
41
38
  _this.disposeMethods = [];
42
- TWEEN.remove(_assertThisInitialized(_this));
39
+ TWEEN.remove(_this);
43
40
  });
44
41
  return _this;
45
42
  }
43
+ _inherits(BetterTween, _TWEEN$Tween);
46
44
  return _createClass(BetterTween);
47
45
  }(TWEEN.Tween);
48
46
  export function tweenProgress(duration) {
@@ -42,9 +42,7 @@ export default function tween(from, to, duration) {
42
42
  _onStopCallbackL: null
43
43
  });
44
44
  var destroyMethod;
45
- while (destroyMethod = destroyMethods.shift()) {
46
- destroyMethod();
47
- }
45
+ while (destroyMethod = destroyMethods.shift()) destroyMethod();
48
46
  cancelAnimationFrame();
49
47
  };
50
48
  return tween;
@@ -26,7 +26,6 @@ export default function getMediaInfo(fileUrl) {
26
26
  };
27
27
  });
28
28
  }
29
-
30
29
  export function getMediaType(url) {
31
30
  var fileExpandedName = getFileExpandedName(url);
32
31
  var type = getMediaTypeByExpandedName(fileExpandedName);
@@ -1,64 +1,171 @@
1
- export var VreoKeyframeEnum;
2
-
3
- /**
4
- * 支持自定义剧本关键帧配置项
5
- */
6
- (function (VreoKeyframeEnum) {
1
+ export var VreoKeyframeEnum = /*#__PURE__*/function (VreoKeyframeEnum) {
2
+ /** 运镜 */
7
3
  VreoKeyframeEnum["CameraMovement"] = "CameraMovement";
4
+ /**
5
+ * 全景标签
6
+ */
8
7
  VreoKeyframeEnum["PanoTag"] = "PanoTag";
8
+ /**
9
+ * 全景文本标签
10
+ */
9
11
  VreoKeyframeEnum["PanoTextLabel"] = "PanoTextLabel";
12
+ /**
13
+ * 提词器
14
+ */
10
15
  VreoKeyframeEnum["Prompter"] = "Prompter";
16
+ /**
17
+ * 更新 VR 全景
18
+ */
11
19
  VreoKeyframeEnum["UpdateVRPanorama"] = "UpdateVRPanorama";
20
+ /**
21
+ * 视频广告
22
+ */
12
23
  VreoKeyframeEnum["ModelVideo"] = "ModelVideo";
24
+ /**
25
+ * 全景特效
26
+ */
13
27
  VreoKeyframeEnum["PanoEffect"] = "PanoEffect";
28
+ /**
29
+ * 信息面板
30
+ */
14
31
  VreoKeyframeEnum["InfoPanel"] = "InfoPanel";
32
+ /**
33
+ * 视频特效
34
+ */
15
35
  VreoKeyframeEnum["VideoEffect"] = "VideoEffect";
36
+ /**
37
+ * 背景音乐
38
+ */
16
39
  VreoKeyframeEnum["BgMusic"] = "BgMusic";
40
+ /**
41
+ * 结束
42
+ */
17
43
  VreoKeyframeEnum["Exit"] = "Exit";
44
+ /**
45
+ * 自定义剧本帧
46
+ */
18
47
  VreoKeyframeEnum["Custom"] = "Custom";
19
- })(VreoKeyframeEnum || (VreoKeyframeEnum = {}));
48
+ return VreoKeyframeEnum;
49
+ }({});
50
+
20
51
  /**
21
- * 全景标签枚举
52
+ * 支持自定义剧本关键帧配置项
22
53
  */
23
- export var PanoTagEnum;
24
54
 
25
55
  /**
26
- * 标签样式种类
56
+ * 剧本关键帧
57
+ */
58
+
59
+ /**
60
+ * 虚拟视频角色
61
+ */
62
+
63
+ /**
64
+ * 剧本结构
65
+ */
66
+
67
+ /**
68
+ * 剧本事件
69
+ */
70
+
71
+ /**
72
+ * 相机运动
73
+ */
74
+
75
+ /**
76
+ * 提词器
77
+ */
78
+
79
+ /**
80
+ * VR 全景切换
81
+ */
82
+
83
+ /**
84
+ * 顶点
85
+ */
86
+
87
+ /**
88
+ * 矩形顶点
89
+ */
90
+
91
+ /**
92
+ * 顶点数组
93
+ */
94
+
95
+ /**
96
+ * 视频广告
27
97
  */
28
- (function (PanoTagEnum) {
98
+
99
+ /**
100
+ * 四元数
101
+ */
102
+
103
+ /**
104
+ * 全景文本标签
105
+ */
106
+
107
+ /**
108
+ * 全景标签枚举
109
+ */
110
+ export var PanoTagEnum = /*#__PURE__*/function (PanoTagEnum) {
29
111
  PanoTagEnum["Text"] = "Text";
30
112
  PanoTagEnum["Image"] = "Image";
31
- })(PanoTagEnum || (PanoTagEnum = {}));
32
- export var PanoTagStyleEnum;
33
- (function (PanoTagStyleEnum) {
113
+ return PanoTagEnum;
114
+ }({});
115
+
116
+ /**
117
+ * 标签样式种类
118
+ */
119
+ export var PanoTagStyleEnum = /*#__PURE__*/function (PanoTagStyleEnum) {
120
+ /**
121
+ * 生长动画:默认值
122
+ */
34
123
  PanoTagStyleEnum["Growth"] = "Growth";
124
+ /**
125
+ * 展开动画
126
+ */
35
127
  PanoTagStyleEnum["Expand"] = "Expand";
36
- })(PanoTagStyleEnum || (PanoTagStyleEnum = {}));
128
+ return PanoTagStyleEnum;
129
+ }({});
37
130
  /**
38
131
  * 全景特效枚举
39
132
  */
40
- export var PanoEffectEnum;
133
+ export var PanoEffectEnum = /*#__PURE__*/function (PanoEffectEnum) {
134
+ /**
135
+ * 两点距离
136
+ */
137
+ PanoEffectEnum["Distance"] = "Distance";
138
+ return PanoEffectEnum;
139
+ }({});
41
140
 
42
141
  /**
43
142
  * 全景特效
44
143
  */
45
- (function (PanoEffectEnum) {
46
- PanoEffectEnum["Distance"] = "Distance";
47
- })(PanoEffectEnum || (PanoEffectEnum = {}));
144
+
48
145
  /**
49
146
  * 信息面板类型枚举
50
147
  */
51
- export var InfoPanelTypeEnum;
52
- (function (InfoPanelTypeEnum) {
148
+ export var InfoPanelTypeEnum = /*#__PURE__*/function (InfoPanelTypeEnum) {
53
149
  InfoPanelTypeEnum["Image"] = "Image";
54
150
  InfoPanelTypeEnum["Video"] = "Video";
55
- })(InfoPanelTypeEnum || (InfoPanelTypeEnum = {}));
56
- export var InfoPanelStyleEnum;
151
+ return InfoPanelTypeEnum;
152
+ }({});
153
+ export var InfoPanelStyleEnum = /*#__PURE__*/function (InfoPanelStyleEnum) {
154
+ InfoPanelStyleEnum["Drawer"] = "Drawer";
155
+ InfoPanelStyleEnum["PopUp"] = "PopUp";
156
+ return InfoPanelStyleEnum;
157
+ }({});
57
158
 
58
159
  /**
59
160
  * 信息面板
60
161
  */
61
- (function (InfoPanelStyleEnum) {
62
- InfoPanelStyleEnum["Drawer"] = "Drawer";
63
- InfoPanelStyleEnum["PopUp"] = "PopUp";
64
- })(InfoPanelStyleEnum || (InfoPanelStyleEnum = {}));
162
+
163
+ /**
164
+ * 视频特效
165
+ */
166
+
167
+ /**
168
+ * 背景音乐
169
+ */
170
+
171
+ /** 自定义序列帧 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/vreo",
3
- "version": "2.6.2",
3
+ "version": "2.6.4-alpha.2",
4
4
  "type": "module",
5
5
  "description": "Vreo (VR Video 缩写) 是基于如视三维渲染引擎 Five 和 用户界面构建库 React 实现的如视 3D 空间剧本播放器。",
6
6
  "keywords": [
@@ -75,10 +75,11 @@
75
75
  "preview": "vite preview",
76
76
  "docs": "npx typedoc",
77
77
  "packages": "node ./dev-tools/build-packages.js",
78
- "postpublish": "cnpm sync @realsee/vreo"
78
+ "postpublish": "cnpm sync @realsee/vreo",
79
+ "test:audio-focus": "node --test test/audio-focus.test.mjs"
79
80
  },
80
81
  "peerDependencies": {
81
- "@realsee/dnalogel": "3.67.0",
82
+ "@realsee/dnalogel": "3.81.10-alpha.0",
82
83
  "@realsee/five": "^6.4.0-alpha.1",
83
84
  "react": "^18.0.0",
84
85
  "react-dom": "^18.0.0",
@@ -91,7 +92,7 @@
91
92
  "@babel/preset-env": "^7.16.4",
92
93
  "@babel/preset-react": "^7.16.0",
93
94
  "@babel/preset-typescript": "^7.16.0",
94
- "@realsee/dnalogel": "^3.67.2",
95
+ "@realsee/dnalogel": "3.81.10-alpha.0",
95
96
  "@realsee/five": "^6.4.0-alpha.38",
96
97
  "@tweenjs/tween.js": "18.6.4",
97
98
  "@types/node": "^18.11.17",
@@ -111,6 +112,7 @@
111
112
  "vite": "^6.3.5"
112
113
  },
113
114
  "dependencies": {
115
+ "@babel/runtime": "^7.24.3",
114
116
  "classnames": "^2.3.1",
115
117
  "mobx": "^6.3.7",
116
118
  "mobx-react": "^7.2.1"
package/docs/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -1,78 +0,0 @@
1
- body {
2
- font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
3
- font-size: 16px;
4
- color: #2e2e2e;
5
- }
6
-
7
- blockquote {
8
- color: #7f8fa4;
9
- padding: 8px 12px;
10
- margin: 16px 0;
11
- border-left: 3px solid #eaeaea;
12
- }
13
-
14
- blockquote p {
15
- color: #7f8fa4 !important;
16
- font-size: inherit;
17
- line-height: 1.5;
18
- margin: 0 !important;
19
- }
20
-
21
- .tsd-typography {
22
- font-size: 16px;
23
- }
24
-
25
- .tsd-typography h4 {
26
- line-height: 2;
27
- }
28
-
29
- .hljs {
30
- background-color: transparent;
31
- font-family: monospace;
32
- font-size: 0.85rem;
33
- }
34
- code {
35
- font-size: 14px;
36
- background-color: rgb(96 125 139 / 10%);
37
- }
38
-
39
- pre {
40
- background-color: rgb(205 220 57 / 8%);
41
- }
42
-
43
- p {
44
- line-height: 1.5;
45
- }
46
-
47
- a {
48
- color: #3832cf;
49
- }
50
-
51
- a:hover {
52
- color: darkred;
53
- }
54
-
55
- body.dark {
56
- color: #e9e9e9;
57
- }
58
-
59
- .dark a {
60
- color: var(--color-link);
61
- }
62
-
63
- .dark a:hover {
64
- color: #ed8e9f;
65
- }
66
-
67
- @media (prefers-color-scheme: dark) {
68
- body {
69
- color: #e9e9e9;
70
- }
71
- a {
72
- color: var(--color-link);
73
- }
74
-
75
- a:hover {
76
- color: #ed8e9f;
77
- }
78
- }
@@ -1 +0,0 @@
1
- window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg=="