@realsee/dnalogel 2.10.4 → 2.11.0-alpha.0

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 (327) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
  2. package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
  3. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
  4. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
  5. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
  6. package/dist/PanoTagPlugin/utils/px2rem.d.ts +3 -1
  7. package/dist/base/BasePlugin.d.ts +4 -0
  8. package/dist/index.cjs.js +57 -57
  9. package/dist/index.js +4157 -3912
  10. package/dist/index.umd.js +50 -50
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/CSS3DRender.html +31 -31
  13. package/docs/classes/CruisePluginController.html +35 -25
  14. package/docs/classes/Magnifier.html +20 -20
  15. package/docs/classes/ModelRoomLabelController.html +11 -11
  16. package/docs/classes/Object3DHelperController.html +39 -29
  17. package/docs/classes/PaintBrush.html +15 -15
  18. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  19. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  20. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  21. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  22. package/docs/classes/PanoTagPluginController.html +99 -143
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.FivePointSelector.html +12 -12
  25. package/docs/classes/Util.Interval.html +12 -12
  26. package/docs/classes/Util.Magnifier.html +17 -17
  27. package/docs/classes/Util.PointDomHelper.html +11 -11
  28. package/docs/classes/Util.PointHelper.html +11 -11
  29. package/docs/classes/Util.Rectangle.html +13 -13
  30. package/docs/enums/CameraMovementEffect.html +7 -7
  31. package/docs/enums/ContentType.html +19 -19
  32. package/docs/enums/DIRECTION.html +9 -9
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  34. package/docs/enums/DimensionType.html +7 -7
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  37. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  38. package/docs/enums/PointType.html +7 -7
  39. package/docs/enums/Rotation.html +8 -8
  40. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  41. package/docs/functions/CameraMovementPlugin.html +5 -4
  42. package/docs/functions/CruisePlugin.html +5 -4
  43. package/docs/functions/GuideLinePlugin.html +6 -5
  44. package/docs/functions/ItemLabelPlugin.html +5 -4
  45. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  46. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  48. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  49. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  50. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  51. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  52. package/docs/functions/ModelViewPlugin.html +5 -4
  53. package/docs/functions/Object3DHelperPlugin.html +5 -4
  54. package/docs/functions/PanoCompassPlugin.html +5 -4
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  56. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  58. package/docs/functions/PanoMeasurePlugin.html +5 -4
  59. package/docs/functions/PanoRulerPlugin.html +5 -4
  60. package/docs/functions/PanoRulerProPlugin.html +5 -4
  61. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  62. package/docs/functions/PanoTagPlugin.html +5 -4
  63. package/docs/functions/PanoVideoPlugin.html +5 -4
  64. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  66. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  67. package/docs/functions/Util.getFrameTime.html +5 -5
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  70. package/docs/functions/Util.isNil.html +5 -5
  71. package/docs/functions/Util.nextFrame.html +5 -5
  72. package/docs/functions/Util.notNil.html +5 -5
  73. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  74. package/docs/functions/Util.tweenProgress.html +5 -5
  75. package/docs/functions/pluginFlag.html +6 -5
  76. package/docs/index.html +5 -4
  77. package/docs/interfaces/AddTagConfig.html +6 -6
  78. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  79. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  80. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  81. package/docs/interfaces/EventMap.html +15 -15
  82. package/docs/interfaces/FloorplanBounding.html +8 -8
  83. package/docs/interfaces/FloorplanData.html +10 -10
  84. package/docs/interfaces/FloorplanEntrance.html +11 -11
  85. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  86. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  87. package/docs/interfaces/FloorplanFloorData.html +9 -9
  88. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  89. package/docs/interfaces/FloorplanObserver.html +9 -9
  90. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  91. package/docs/interfaces/FloorplanPosition.html +7 -7
  92. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  93. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  94. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  95. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  96. package/docs/interfaces/FloorplanServerData.html +7 -7
  97. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  98. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  99. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  100. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  101. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  102. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  103. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  104. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  105. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  106. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  107. package/docs/interfaces/HelperOffset.html +8 -8
  108. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  109. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  110. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  111. package/docs/interfaces/MinMax.html +7 -7
  112. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  113. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  114. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  115. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  116. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  117. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  118. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  119. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  120. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  121. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  122. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  123. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  124. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  125. package/docs/interfaces/Object3DHelperState.html +8 -8
  126. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  127. package/docs/interfaces/PaintBrushAction.html +12 -12
  128. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  129. package/docs/interfaces/PaintBrushState.html +10 -10
  130. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  132. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  133. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  134. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  135. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  136. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  137. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  139. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  140. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  141. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  144. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  145. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  146. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  152. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  153. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  154. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  155. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  156. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  157. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  158. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  159. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  160. package/docs/interfaces/Point.html +8 -8
  161. package/docs/interfaces/Room.html +9 -9
  162. package/docs/interfaces/RoomInfo.html +7 -7
  163. package/docs/interfaces/RoomLabel.html +14 -14
  164. package/docs/interfaces/RoomRules.html +6 -5
  165. package/docs/interfaces/Rooms.html +6 -5
  166. package/docs/interfaces/Scissor.html +9 -9
  167. package/docs/interfaces/State.html +8 -8
  168. package/docs/interfaces/TagCache.html +12 -12
  169. package/docs/interfaces/TagConfig.html +10 -10
  170. package/docs/interfaces/TagIconUrl.html +28 -10
  171. package/docs/interfaces/TagStyle.html +67 -0
  172. package/docs/interfaces/Tags.html +10 -10
  173. package/docs/interfaces/TemporaryState.html +6 -6
  174. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  175. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  176. package/docs/modules/PanoVideoPluginType.html +5 -5
  177. package/docs/modules/Util.html +5 -5
  178. package/docs/modules.html +6 -4
  179. package/docs/types/ArrayPosition.html +6 -5
  180. package/docs/types/AudioAppearance.html +6 -5
  181. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  182. package/docs/types/CSS3DRenderExportType.html +6 -5
  183. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  184. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  185. package/docs/types/ClassFunctionParameters.html +6 -5
  186. package/docs/types/Color.html +6 -5
  187. package/docs/types/ContentTypeConfigKey.html +6 -5
  188. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  189. package/docs/types/ContentTypeMap.html +6 -5
  190. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  191. package/docs/types/Create3DElementReturnType.html +6 -5
  192. package/docs/types/CruisePluginExportType.html +6 -5
  193. package/docs/types/Direction-1.html +6 -5
  194. package/docs/types/Direction4.html +6 -5
  195. package/docs/types/FloorplanRuleLabels.html +6 -5
  196. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  197. package/docs/types/GuideLinePluginExportType.html +6 -5
  198. package/docs/types/HelperEventMap.html +6 -5
  199. package/docs/types/LoadTagConfig.html +6 -5
  200. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  201. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  202. package/docs/types/MediaData.html +6 -5
  203. package/docs/types/MediaStore.html +6 -5
  204. package/docs/types/ModelElement.html +6 -5
  205. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  206. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  207. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  208. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  209. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  210. package/docs/types/MoveArgs.html +6 -5
  211. package/docs/types/MoveOpts.html +6 -5
  212. package/docs/types/Object3DHelperEventMap.html +6 -5
  213. package/docs/types/ObjectFit.html +6 -5
  214. package/docs/types/PaintBrushEventMap.html +6 -5
  215. package/docs/types/PanoCompassPluginData.html +6 -5
  216. package/docs/types/PanoCompassPluginExportType.html +6 -5
  217. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  218. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  219. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  220. package/docs/types/PanoIndex.html +6 -5
  221. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  222. package/docs/types/PanoMeasureReturnType.html +6 -5
  223. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  224. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  225. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  226. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  227. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  228. package/docs/types/PlaneTag.html +6 -5
  229. package/docs/types/PlaneTagElement.html +6 -5
  230. package/docs/types/Point2DElement.html +6 -5
  231. package/docs/types/Point2DTag.html +6 -5
  232. package/docs/types/Point3DElement.html +6 -5
  233. package/docs/types/Point3DTag.html +6 -5
  234. package/docs/types/PointTag.html +6 -5
  235. package/docs/types/PointTagElement.html +6 -5
  236. package/docs/types/Position.html +6 -5
  237. package/docs/types/RotateArgs.html +6 -5
  238. package/docs/types/RotateOpts.html +6 -5
  239. package/docs/types/RuleLabelsKey.html +6 -5
  240. package/docs/types/RuleLabelsValue.html +6 -5
  241. package/docs/types/StickType.html +6 -5
  242. package/docs/types/Tag.html +7 -6
  243. package/docs/types/Tag2D.html +6 -5
  244. package/docs/types/Tag3D.html +6 -5
  245. package/docs/types/TagContentType.html +6 -5
  246. package/docs/types/TagDimensionType.html +6 -5
  247. package/docs/types/TagElement.html +6 -5
  248. package/docs/types/TagEvents.html +6 -5
  249. package/docs/types/TagGLTFObject.html +6 -5
  250. package/docs/types/TagHooks.html +6 -5
  251. package/docs/types/TagIconSize.html +6 -5
  252. package/docs/types/TagId.html +6 -5
  253. package/docs/types/TagPointType.html +6 -5
  254. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  255. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  256. package/docs/types/WorkCode.html +6 -5
  257. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  258. package/docs/variables/PLUGIN.html +6 -5
  259. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  260. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  261. package/docs/variables/VERSION.html +6 -5
  262. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  263. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  264. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  265. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
  266. package/libs/CSS3DRenderPlugin/Controller.js +24 -23
  267. package/libs/PanoTagPlugin/Components/Common/Audio.js +84 -83
  268. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +261 -121
  269. package/libs/PanoTagPlugin/Components/Common/Media.js +28 -28
  270. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +61 -61
  271. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
  272. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +15 -13
  273. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +2 -3
  274. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +45 -45
  275. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +72 -68
  276. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +88 -85
  277. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +60 -60
  278. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +13 -13
  279. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +48 -48
  280. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +44 -55
  281. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +114 -107
  282. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -25
  283. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +50 -49
  284. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +53 -50
  285. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +49 -49
  286. package/libs/PanoTagPlugin/Components/Tag/index.js +164 -153
  287. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  288. package/libs/PanoTagPlugin/Components/TagItem.js +85 -77
  289. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -3
  290. package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
  291. package/libs/PanoTagPlugin/controller/index.js +48 -49
  292. package/libs/PanoTagPlugin/index.js +1 -1
  293. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  294. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  295. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  296. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  297. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  298. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  299. package/libs/PanoTagPlugin/mocks/v1/mock1.js +121 -0
  300. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  301. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  302. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  303. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  304. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  305. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  306. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  307. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  308. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  309. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  310. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  311. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  312. package/libs/PanoTagPlugin/tsconfig.js +9 -0
  313. package/libs/PanoTagPlugin/typings/controller.js +1 -1
  314. package/libs/PanoTagPlugin/typings/index.js +5 -6
  315. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
  316. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
  317. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -5
  318. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
  319. package/libs/PanoTagPlugin/utils/getImageInfo.js +54 -36
  320. package/libs/PanoTagPlugin/utils/index.js +35 -36
  321. package/libs/PanoTagPlugin/utils/planeNormal.js +2 -3
  322. package/libs/PanoTagPlugin/utils/px2rem.d.ts +3 -1
  323. package/libs/PanoTagPlugin/utils/tagPosition.js +7 -8
  324. package/libs/base/BasePlugin.d.ts +4 -0
  325. package/libs/base/BasePlugin.js +3 -2
  326. package/libs/index.js +1 -1
  327. package/package.json +2 -2
@@ -1,11 +1,11 @@
1
- import { SvelteComponent as L, init as W, safe_not_equal as z, append_styles as N, element as k, attr as w, set_style as _, insert as u, transition_out as p, check_outros as q, transition_in as b, detach as d, group_outros as C, create_slot as E, update_slot_base as M, get_all_dirty_from_scope as S, get_slot_changes as T, space as j, empty as A, noop as m, text as x, set_data as g, append as B } from "../../../../vendor/svelte/internal/index.js";
2
- import h from "../../../utils/px2rem.js";
3
- function D(o) {
4
- N(o, "svelte-i9wdo4", ".text.svelte-i9wdo4{display:-webkit-box;display:-ms-box;display:-moz-box;position:relative;width:-moz-max-content;width:max-content;max-width:100%;-webkit-box-orient:vertical;-ms-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes svelte-i9wdo4-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.caret.svelte-i9wdo4{position:absolute;width:0.0625rem;height:100%;background-color:#fff;animation:svelte-i9wdo4-blink 1.2s infinite}.placeholder.svelte-i9wdo4{opacity:0.5}");
1
+ import { SvelteComponent as L, init as W, safe_not_equal as z, append_styles as N, element as k, attr as w, set_style as _, insert as d, transition_out as p, check_outros as q, transition_in as b, detach as u, group_outros as C, create_slot as E, update_slot_base as M, get_all_dirty_from_scope as S, get_slot_changes as T, space as j, empty as A, noop as m, text as x, set_data as g, append as B } from "../../../../vendor/svelte/internal/index.js";
2
+ import v from "../../../utils/px2rem.js";
3
+ function D(n) {
4
+ N(n, "svelte-i9wdo4", ".text.svelte-i9wdo4{display:-webkit-box;display:-ms-box;display:-moz-box;position:relative;width:-moz-max-content;width:max-content;max-width:100%;-webkit-box-orient:vertical;-ms-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes svelte-i9wdo4-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.caret.svelte-i9wdo4{position:absolute;width:0.0625rem;height:100%;background-color:#fff;animation:svelte-i9wdo4-blink 1.2s infinite}.placeholder.svelte-i9wdo4{opacity:0.5}");
5
5
  }
6
- function F(o) {
6
+ function F(n) {
7
7
  let t;
8
- const i = o[6].default, e = E(i, o, o[5], null);
8
+ const i = n[6].default, e = E(i, n, n[5], null);
9
9
  return {
10
10
  c() {
11
11
  e && e.c();
@@ -34,35 +34,35 @@ function F(o) {
34
34
  }
35
35
  };
36
36
  }
37
- function G(o) {
37
+ function G(n) {
38
38
  var a, c;
39
- let t, i, e = ((a = o[3]) == null ? void 0 : a.inputting) && v(), l = ((c = o[3]) == null ? void 0 : c.placeholder) && y(o);
39
+ let t, i, e = ((a = n[3]) == null ? void 0 : a.inputting) && h(), l = ((c = n[3]) == null ? void 0 : c.placeholder) && y(n);
40
40
  return {
41
41
  c() {
42
42
  e && e.c(), t = j(), l && l.c(), i = A();
43
43
  },
44
- m(f, n) {
45
- e && e.m(f, n), u(f, t, n), l && l.m(f, n), u(f, i, n);
44
+ m(f, o) {
45
+ e && e.m(f, o), d(f, t, o), l && l.m(f, o), d(f, i, o);
46
46
  },
47
- p(f, n) {
47
+ p(f, o) {
48
48
  var s, r;
49
- (s = f[3]) != null && s.inputting ? e || (e = v(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), (r = f[3]) != null && r.placeholder ? l ? l.p(f, n) : (l = y(f), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null);
49
+ (s = f[3]) != null && s.inputting ? e || (e = h(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), (r = f[3]) != null && r.placeholder ? l ? l.p(f, o) : (l = y(f), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null);
50
50
  },
51
51
  i: m,
52
52
  o: m,
53
53
  d(f) {
54
- e && e.d(f), f && d(t), l && l.d(f), f && d(i);
54
+ e && e.d(f), f && u(t), l && l.d(f), f && u(i);
55
55
  }
56
56
  };
57
57
  }
58
- function H(o) {
58
+ function H(n) {
59
59
  let t;
60
60
  return {
61
61
  c() {
62
- t = x(o[2]);
62
+ t = x(n[2]);
63
63
  },
64
64
  m(i, e) {
65
- u(i, t, e);
65
+ d(i, t, e);
66
66
  },
67
67
  p(i, e) {
68
68
  e & 4 && g(t, i[2]);
@@ -70,78 +70,78 @@ function H(o) {
70
70
  i: m,
71
71
  o: m,
72
72
  d(i) {
73
- i && d(t);
73
+ i && u(t);
74
74
  }
75
75
  };
76
76
  }
77
- function v(o) {
77
+ function h(n) {
78
78
  let t;
79
79
  return {
80
80
  c() {
81
81
  t = k("div"), w(t, "class", "caret svelte-i9wdo4");
82
82
  },
83
83
  m(i, e) {
84
- u(i, t, e);
84
+ d(i, t, e);
85
85
  },
86
86
  d(i) {
87
- i && d(t);
87
+ i && u(t);
88
88
  }
89
89
  };
90
90
  }
91
- function y(o) {
92
- let t, i = o[3].placeholder + "", e;
91
+ function y(n) {
92
+ let t, i = n[3].placeholder + "", e;
93
93
  return {
94
94
  c() {
95
95
  t = k("span"), e = x(i), w(t, "class", "placeholder svelte-i9wdo4");
96
96
  },
97
97
  m(l, a) {
98
- u(l, t, a), B(t, e);
98
+ d(l, t, a), B(t, e);
99
99
  },
100
100
  p(l, a) {
101
101
  a & 8 && i !== (i = l[3].placeholder + "") && g(e, i);
102
102
  },
103
103
  d(l) {
104
- l && d(t);
104
+ l && u(t);
105
105
  }
106
106
  };
107
107
  }
108
- function I(o) {
108
+ function I(n) {
109
109
  let t, i, e, l;
110
110
  const a = [H, G, F], c = [];
111
- function f(n, s) {
112
- return n[2] ? 0 : n[4] ? 1 : 2;
111
+ function f(o, s) {
112
+ return o[2] ? 0 : o[4] ? 1 : 2;
113
113
  }
114
- return i = f(o), e = c[i] = a[i](o), {
114
+ return i = f(n), e = c[i] = a[i](n), {
115
115
  c() {
116
- t = k("div"), e.c(), w(t, "class", "text svelte-i9wdo4"), _(t, "max-width", typeof o[1] == "number" ? h(o[1]) : o[1]), _(t, "-webkit-line-clamp", o[0]);
116
+ t = k("div"), e.c(), w(t, "class", "text svelte-i9wdo4"), _(t, "max-width", typeof n[1] == "number" ? v(n[1]) : n[1]), _(t, "-webkit-line-clamp", n[0]);
117
117
  },
118
- m(n, s) {
119
- u(n, t, s), c[i].m(t, null), l = !0;
118
+ m(o, s) {
119
+ d(o, t, s), c[i].m(t, null), l = !0;
120
120
  },
121
- p(n, [s]) {
121
+ p(o, [s]) {
122
122
  let r = i;
123
- i = f(n), i === r ? c[i].p(n, s) : (C(), p(c[r], 1, 1, () => {
123
+ i = f(o), i === r ? c[i].p(o, s) : (C(), p(c[r], 1, 1, () => {
124
124
  c[r] = null;
125
- }), q(), e = c[i], e ? e.p(n, s) : (e = c[i] = a[i](n), e.c()), b(e, 1), e.m(t, null)), s & 2 && _(t, "max-width", typeof n[1] == "number" ? h(n[1]) : n[1]), s & 1 && _(t, "-webkit-line-clamp", n[0]);
125
+ }), q(), e = c[i], e ? e.p(o, s) : (e = c[i] = a[i](o), e.c()), b(e, 1), e.m(t, null)), s & 2 && _(t, "max-width", typeof o[1] == "number" ? v(o[1]) : o[1]), s & 1 && _(t, "-webkit-line-clamp", o[0]);
126
126
  },
127
- i(n) {
127
+ i(o) {
128
128
  l || (b(e), l = !0);
129
129
  },
130
- o(n) {
130
+ o(o) {
131
131
  p(e), l = !1;
132
132
  },
133
- d(n) {
134
- n && d(t), c[i].d();
133
+ d(o) {
134
+ o && u(t), c[i].d();
135
135
  }
136
136
  };
137
137
  }
138
- function J(o, t, i) {
139
- let e, { $$slots: l = {}, $$scope: a } = t, { maxLine: c = 1 } = t, { maxWidth: f = null } = t, { text: n = null } = t, { edit: s = null } = t;
140
- return o.$$set = (r) => {
141
- "maxLine" in r && i(0, c = r.maxLine), "maxWidth" in r && i(1, f = r.maxWidth), "text" in r && i(2, n = r.text), "edit" in r && i(3, s = r.edit), "$$scope" in r && i(5, a = r.$$scope);
142
- }, o.$$.update = () => {
143
- o.$$.dirty & 8 && i(4, e = (s == null ? void 0 : s.placeholder) || (s == null ? void 0 : s.inputting));
144
- }, [c, f, n, s, e, a, l];
138
+ function J(n, t, i) {
139
+ let e, { $$slots: l = {}, $$scope: a } = t, { maxLine: c = 1 } = t, { maxWidth: f = null } = t, { text: o = null } = t, { edit: s = null } = t;
140
+ return n.$$set = (r) => {
141
+ "maxLine" in r && i(0, c = r.maxLine), "maxWidth" in r && i(1, f = r.maxWidth), "text" in r && i(2, o = r.text), "edit" in r && i(3, s = r.edit), "$$scope" in r && i(5, a = r.$$scope);
142
+ }, n.$$.update = () => {
143
+ n.$$.dirty & 8 && i(4, e = (s == null ? void 0 : s.placeholder) || (s == null ? void 0 : s.inputting));
144
+ }, [c, f, o, s, e, a, l];
145
145
  }
146
146
  class P extends L {
147
147
  constructor(t) {
@@ -1,173 +1,177 @@
1
- import { SvelteComponent as U, init as q, safe_not_equal as M, append_styles as N, empty as P, insert as v, transition_in as m, transition_out as g, check_outros as S, detach as $, element as p, create_component as w, attr as c, set_style as _, append as b, mount_component as j, destroy_component as k, space as W, group_outros as B, bubble as D, text as E, set_data as F } from "../../../../vendor/svelte/internal/index.js";
2
- import G from "../../Common/Icon/audioIcon.js";
3
- import H from "../../Common/Text/MText.js";
4
- import J from "../../Common/Audio.js";
1
+ import { SvelteComponent as q, init as M, safe_not_equal as N, append_styles as P, empty as S, insert as v, transition_in as m, transition_out as h, check_outros as W, detach as w, element as c, create_component as j, attr as g, set_style as _, append as b, mount_component as k, destroy_component as y, space as B, group_outros as D, bubble as E, text as F, set_data as G } from "../../../../vendor/svelte/internal/index.js";
2
+ import H from "../../Common/Icon/audioIcon.js";
3
+ import J from "../../Common/Text/MText.js";
4
+ import K from "../../Common/Audio.js";
5
5
  import "../../../utils/px2rem.js";
6
6
  import "../../Common/Shadow.js";
7
7
  import "../../../../vendor/svelte/transition/index.js";
8
8
  import "../../../../vendor/svelte/easing/index.js";
9
9
  import "../../../../shared-utils/audio.js";
10
10
  import "../../../utils/audio/SharedAudio.js";
11
- function K(o) {
12
- N(o, "svelte-58hfjf", ".audio-tag__wrapper.svelte-58hfjf{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-58hfjf{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.audio__inner.svelte-58hfjf{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-58hfjf{font-weight:bold;font-size:0.75rem;margin-left:0.25rem}.audio-icon__wrapper.svelte-58hfjf{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
11
+ function L(o) {
12
+ P(o, "svelte-58hfjf", ".audio-tag__wrapper.svelte-58hfjf{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-58hfjf{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.audio__inner.svelte-58hfjf{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-58hfjf{font-weight:bold;font-size:0.75rem;margin-left:0.25rem}.audio-icon__wrapper.svelte-58hfjf{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
13
13
  }
14
14
  function A(o) {
15
15
  let n, t, e, i;
16
- return e = new J({
16
+ return e = new K({
17
17
  props: {
18
18
  style: "width: max-content; height: max-content;",
19
19
  enable: o[0].state.visible,
20
20
  url: o[0].data.audioUrl,
21
21
  hooksInfo: { tag: o[0] },
22
- $$slots: { default: [O] },
22
+ $$slots: { default: [Q] },
23
23
  $$scope: { ctx: o }
24
24
  }
25
- }), e.$on("play", o[8]), e.$on("pause", o[9]), e.$on("timeupdate", o[10]), e.$on("duration", o[11]), e.$on("audioRef", o[12]), {
25
+ }), e.$on("play", o[11]), e.$on("pause", o[12]), e.$on("timeupdate", o[13]), e.$on("duration", o[14]), e.$on("audioRef", o[15]), {
26
26
  c() {
27
- n = p("div"), t = p("div"), w(e.$$.fragment), c(t, "class", "audio-tag svelte-58hfjf"), _(t, "background-color", o[5]), _(t, "color", o[4]), c(n, "class", "audio-tag__wrapper svelte-58hfjf");
27
+ n = c("div"), t = c("div"), j(e.$$.fragment), g(t, "class", "audio-tag svelte-58hfjf"), _(t, "background-color", o[5]), _(t, "color", o[4]), g(n, "class", "audio-tag__wrapper svelte-58hfjf");
28
28
  },
29
29
  m(r, a) {
30
- v(r, n, a), b(n, t), j(e, t, null), i = !0;
30
+ v(r, n, a), b(n, t), k(e, t, null), i = !0;
31
31
  },
32
32
  p(r, a) {
33
- const l = {};
34
- a & 1 && (l.enable = r[0].state.visible), a & 1 && (l.url = r[0].data.audioUrl), a & 1 && (l.hooksInfo = { tag: r[0] }), a & 8264 && (l.$$scope = { dirty: a, ctx: r }), e.$set(l), a & 32 && _(t, "background-color", r[5]), a & 16 && _(t, "color", r[4]);
33
+ const s = {};
34
+ a & 1 && (s.enable = r[0].state.visible), a & 1 && (s.url = r[0].data.audioUrl), a & 1 && (s.hooksInfo = { tag: r[0] }), a & 65608 && (s.$$scope = { dirty: a, ctx: r }), e.$set(s), a & 32 && _(t, "background-color", r[5]), a & 16 && _(t, "color", r[4]);
35
35
  },
36
36
  i(r) {
37
37
  i || (m(e.$$.fragment, r), i = !0);
38
38
  },
39
39
  o(r) {
40
- g(e.$$.fragment, r), i = !1;
40
+ h(e.$$.fragment, r), i = !1;
41
41
  },
42
42
  d(r) {
43
- r && $(n), k(e);
43
+ r && w(n), y(e);
44
44
  }
45
45
  };
46
46
  }
47
- function L(o) {
47
+ function O(o) {
48
48
  let n;
49
49
  return {
50
50
  c() {
51
- n = E(o[6]);
51
+ n = F(o[6]);
52
52
  },
53
53
  m(t, e) {
54
54
  v(t, n, e);
55
55
  },
56
56
  p(t, e) {
57
- e & 64 && F(n, t[6]);
57
+ e & 64 && G(n, t[6]);
58
58
  },
59
59
  d(t) {
60
- t && $(n);
60
+ t && w(n);
61
61
  }
62
62
  };
63
63
  }
64
- function O(o) {
65
- let n, t, e, i, r, a, l;
66
- return e = new G({ props: { playing: o[3] } }), a = new H({
64
+ function Q(o) {
65
+ let n, t, e, i, r, a, s;
66
+ return e = new H({ props: { playing: o[3] } }), a = new J({
67
67
  props: {
68
68
  maxWidth: 72,
69
- $$slots: { default: [L] },
69
+ $$slots: { default: [O] },
70
70
  $$scope: { ctx: o }
71
71
  }
72
72
  }), {
73
73
  c() {
74
- n = p("div"), t = p("div"), w(e.$$.fragment), i = W(), r = p("div"), w(a.$$.fragment), c(t, "class", "audio-icon__wrapper svelte-58hfjf"), c(r, "class", "text svelte-58hfjf"), c(n, "class", "audio__inner svelte-58hfjf");
74
+ n = c("div"), t = c("div"), j(e.$$.fragment), i = B(), r = c("div"), j(a.$$.fragment), g(t, "class", "audio-icon__wrapper svelte-58hfjf"), g(r, "class", "text svelte-58hfjf"), g(n, "class", "audio__inner svelte-58hfjf");
75
75
  },
76
- m(s, u) {
77
- v(s, n, u), b(n, t), j(e, t, null), b(n, i), b(n, r), j(a, r, null), l = !0;
76
+ m(l, f) {
77
+ v(l, n, f), b(n, t), k(e, t, null), b(n, i), b(n, r), k(a, r, null), s = !0;
78
78
  },
79
- p(s, u) {
80
- const d = {};
81
- u & 8 && (d.playing = s[3]), e.$set(d);
82
- const h = {};
83
- u & 8256 && (h.$$scope = { dirty: u, ctx: s }), a.$set(h);
79
+ p(l, f) {
80
+ const u = {};
81
+ f & 8 && (u.playing = l[3]), e.$set(u);
82
+ const p = {};
83
+ f & 65600 && (p.$$scope = { dirty: f, ctx: l }), a.$set(p);
84
84
  },
85
- i(s) {
86
- l || (m(e.$$.fragment, s), m(a.$$.fragment, s), l = !0);
85
+ i(l) {
86
+ s || (m(e.$$.fragment, l), m(a.$$.fragment, l), s = !0);
87
87
  },
88
- o(s) {
89
- g(e.$$.fragment, s), g(a.$$.fragment, s), l = !1;
88
+ o(l) {
89
+ h(e.$$.fragment, l), h(a.$$.fragment, l), s = !1;
90
90
  },
91
- d(s) {
92
- s && $(n), k(e), k(a);
91
+ d(l) {
92
+ l && w(n), y(e), y(a);
93
93
  }
94
94
  };
95
95
  }
96
- function Q(o) {
96
+ function V(o) {
97
97
  let n, t, e = o[0].state && A(o);
98
98
  return {
99
99
  c() {
100
- e && e.c(), n = P();
100
+ e && e.c(), n = S();
101
101
  },
102
102
  m(i, r) {
103
103
  e && e.m(i, r), v(i, n, r), t = !0;
104
104
  },
105
105
  p(i, [r]) {
106
- i[0].state ? e ? (e.p(i, r), r & 1 && m(e, 1)) : (e = A(i), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (B(), g(e, 1, 1, () => {
106
+ i[0].state ? e ? (e.p(i, r), r & 1 && m(e, 1)) : (e = A(i), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (D(), h(e, 1, 1, () => {
107
107
  e = null;
108
- }), S());
108
+ }), W());
109
109
  },
110
110
  i(i) {
111
111
  t || (m(e), t = !0);
112
112
  },
113
113
  o(i) {
114
- g(e), t = !1;
114
+ h(e), t = !1;
115
115
  },
116
116
  d(i) {
117
- e && e.d(i), i && $(n);
117
+ e && e.d(i), i && w(n);
118
118
  }
119
119
  };
120
120
  }
121
- function V(o, n, t) {
122
- let e, i, r, a, { tag: l } = n, s = 0, u = 0, d = !1;
123
- const h = () => {
124
- t(3, d = !0);
125
- }, C = () => {
126
- t(3, d = !1);
127
- }, I = (f) => {
128
- t(1, s = f.detail);
129
- }, T = (f) => {
130
- t(2, u = f.detail);
121
+ function X(o, n, t) {
122
+ let e, i, r, a;
123
+ var s, l, f;
124
+ let { tag: u } = n, p = 0, z = 0, $ = !1;
125
+ const C = () => {
126
+ t(3, $ = !0);
127
+ }, I = () => {
128
+ t(3, $ = !1);
129
+ }, T = (d) => {
130
+ t(1, p = d.detail);
131
+ }, R = (d) => {
132
+ t(2, z = d.detail);
131
133
  };
132
- function R(f) {
133
- D.call(this, o, f);
134
+ function U(d) {
135
+ E.call(this, o, d);
134
136
  }
135
- return o.$$set = (f) => {
136
- "tag" in f && t(0, l = f.tag);
137
+ return o.$$set = (d) => {
138
+ "tag" in d && t(0, u = d.tag);
137
139
  }, o.$$.update = () => {
138
- var f, y, z;
139
- o.$$.dirty & 1 && t(6, e = (y = (f = l.data.title) != null ? f : l.data.text) != null ? y : ""), o.$$.dirty & 1 && t(7, i = (z = l.data.theme) != null ? z : "light"), o.$$.dirty & 128 && t(5, r = (() => {
140
+ o.$$.dirty & 385 && t(6, e = t(8, l = t(7, s = u.data.title) !== null && s !== void 0 ? s : u.data.text) !== null && l !== void 0 ? l : ""), o.$$.dirty & 513 && t(10, i = t(9, f = u.data.theme) !== null && f !== void 0 ? f : "light"), o.$$.dirty & 1024 && t(5, r = (() => {
140
141
  if (i === "dark")
141
142
  return "rgba(0, 0, 0, 0.3)";
142
143
  if (i === "light")
143
144
  return "rgba(255, 255, 255, 0.3)";
144
- })()), o.$$.dirty & 128 && t(4, a = (() => {
145
+ })()), o.$$.dirty & 1024 && t(4, a = (() => {
145
146
  if (i === "dark")
146
147
  return "white";
147
148
  if (i === "light")
148
149
  return "rgba(0, 0, 0, 0.6)";
149
150
  })());
150
151
  }, [
151
- l,
152
- s,
153
152
  u,
154
- d,
153
+ p,
154
+ z,
155
+ $,
155
156
  a,
156
157
  r,
157
158
  e,
159
+ s,
160
+ l,
161
+ f,
158
162
  i,
159
- h,
160
163
  C,
161
164
  I,
162
165
  T,
163
- R
166
+ R,
167
+ U
164
168
  ];
165
169
  }
166
- class ae extends U {
170
+ class le extends q {
167
171
  constructor(n) {
168
- super(), q(this, n, V, Q, M, { tag: 0 }, K);
172
+ super(), M(this, n, X, V, N, { tag: 0 }, L);
169
173
  }
170
174
  }
171
175
  export {
172
- ae as default
176
+ le as default
173
177
  };