@realsee/dnalogel 2.3.2 → 2.3.3

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 (226) hide show
  1. package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -2
  2. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +5 -0
  3. package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +5 -1
  4. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -0
  5. package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +5 -2
  6. package/dist/index.cjs.js +36 -36
  7. package/dist/index.js +259 -193
  8. package/dist/index.umd.js +21 -21
  9. package/docs/classes/CSS3DRender.html +31 -31
  10. package/docs/classes/CruisePluginController.html +24 -24
  11. package/docs/classes/Magnifier.html +16 -16
  12. package/docs/classes/ModelRoomLabelController.html +11 -11
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +15 -15
  15. package/docs/classes/PanoTagPluginController.html +39 -39
  16. package/docs/classes/Util.BetterTween.html +8 -8
  17. package/docs/classes/Util.FivePointSelector.html +12 -12
  18. package/docs/classes/Util.Interval.html +12 -12
  19. package/docs/classes/Util.Magnifier.html +17 -17
  20. package/docs/classes/Util.PointDomHelper.html +11 -11
  21. package/docs/classes/Util.PointHelper.html +11 -11
  22. package/docs/classes/Util.Rectangle.html +13 -13
  23. package/docs/enums/CameraMovementEffect.html +7 -7
  24. package/docs/enums/ContentType.html +12 -12
  25. package/docs/enums/DIRECTION.html +9 -9
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/DimensionType.html +7 -7
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  30. package/docs/enums/LinkType.html +7 -7
  31. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  32. package/docs/enums/PointType.html +7 -7
  33. package/docs/enums/Rotation.html +8 -8
  34. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  35. package/docs/functions/CameraMovementPlugin.html +4 -4
  36. package/docs/functions/CruisePlugin.html +4 -4
  37. package/docs/functions/GuideLinePlugin.html +5 -5
  38. package/docs/functions/ItemLabelPlugin.html +4 -4
  39. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  42. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  43. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  44. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  45. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  46. package/docs/functions/ModelViewPlugin.html +4 -4
  47. package/docs/functions/Object3DHelperPlugin.html +4 -4
  48. package/docs/functions/PanoCompassPlugin.html +4 -4
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  50. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  52. package/docs/functions/PanoMeasurePlugin.html +4 -4
  53. package/docs/functions/PanoRulerPlugin.html +4 -4
  54. package/docs/functions/PanoRulerProPlugin.html +4 -4
  55. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  56. package/docs/functions/PanoTagPlugin.html +4 -4
  57. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  58. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  59. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  60. package/docs/functions/Util.getFrameTime.html +5 -5
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  63. package/docs/functions/Util.isNil.html +5 -5
  64. package/docs/functions/Util.nextFrame.html +5 -5
  65. package/docs/functions/Util.notNil.html +5 -5
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  67. package/docs/functions/Util.tweenProgress.html +5 -5
  68. package/docs/functions/pluginFlag.html +5 -5
  69. package/docs/index.html +4 -4
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  71. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  72. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  73. package/docs/interfaces/ContentTypeMap.html +12 -12
  74. package/docs/interfaces/FloorplanBounding.html +8 -8
  75. package/docs/interfaces/FloorplanData.html +10 -10
  76. package/docs/interfaces/FloorplanEntrance.html +11 -11
  77. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  78. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  79. package/docs/interfaces/FloorplanFloorData.html +9 -9
  80. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  81. package/docs/interfaces/FloorplanObserver.html +9 -9
  82. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  83. package/docs/interfaces/FloorplanPosition.html +7 -7
  84. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  87. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  88. package/docs/interfaces/FloorplanServerData.html +7 -7
  89. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  91. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  97. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  99. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  100. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  101. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  102. package/docs/interfaces/LineJson.html +7 -7
  103. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  105. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  106. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  107. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  108. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  110. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  111. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  112. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  113. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  114. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  115. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  116. package/docs/interfaces/Object3DHelperState.html +8 -8
  117. package/docs/interfaces/OpenParameter.html +7 -7
  118. package/docs/interfaces/PaintBrushAction.html +12 -12
  119. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  120. package/docs/interfaces/PaintBrushState.html +10 -10
  121. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  123. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  124. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  125. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  127. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  128. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  129. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  130. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  131. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  132. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  133. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  134. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  135. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  136. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  137. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  138. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  139. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  140. package/docs/interfaces/Point.html +8 -8
  141. package/docs/interfaces/PointJson.html +8 -8
  142. package/docs/interfaces/Room.html +9 -9
  143. package/docs/interfaces/RoomInfo.html +7 -7
  144. package/docs/interfaces/RoomLabel.html +14 -14
  145. package/docs/interfaces/RoomRules.html +5 -5
  146. package/docs/interfaces/Rooms.html +5 -5
  147. package/docs/interfaces/Scissor.html +9 -9
  148. package/docs/interfaces/TagConfig.html +10 -10
  149. package/docs/interfaces/Tags.html +9 -9
  150. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  151. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  152. package/docs/modules/Util.html +5 -5
  153. package/docs/modules.html +4 -4
  154. package/docs/types/ArrayPosition.html +5 -5
  155. package/docs/types/CSS3DRenderExportType.html +5 -5
  156. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  157. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  158. package/docs/types/Color.html +5 -5
  159. package/docs/types/ContentTypeConfigKey.html +5 -5
  160. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  161. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  162. package/docs/types/Create3DElementReturnType.html +5 -5
  163. package/docs/types/CruisePluginExportType.html +5 -5
  164. package/docs/types/Direction-1.html +5 -5
  165. package/docs/types/Direction4.html +5 -5
  166. package/docs/types/FloorplanRuleLabels.html +5 -5
  167. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  168. package/docs/types/GuideLinePluginExportType.html +5 -5
  169. package/docs/types/HelperEventMap.html +5 -5
  170. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  171. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  172. package/docs/types/MediaData.html +5 -5
  173. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  174. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  175. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  176. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  177. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  178. package/docs/types/MoveArgs.html +5 -5
  179. package/docs/types/MoveOpts.html +5 -5
  180. package/docs/types/Object3DHelperEventMap.html +5 -5
  181. package/docs/types/ObjectFit.html +5 -5
  182. package/docs/types/PaintBrushEventMap.html +5 -5
  183. package/docs/types/PanoCompassPluginData.html +5 -5
  184. package/docs/types/PanoCompassPluginExportType.html +5 -5
  185. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  186. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  187. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  188. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  189. package/docs/types/PanoMeasureReturnType.html +5 -5
  190. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  191. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  192. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  193. package/docs/types/PlaneTag.html +5 -5
  194. package/docs/types/PointTag.html +5 -5
  195. package/docs/types/Position.html +5 -5
  196. package/docs/types/RotateArgs.html +5 -5
  197. package/docs/types/RotateOpts.html +5 -5
  198. package/docs/types/RuleLabelsKey.html +5 -5
  199. package/docs/types/RuleLabelsValue.html +5 -5
  200. package/docs/types/Tag.html +5 -5
  201. package/docs/types/Tag2D.html +5 -5
  202. package/docs/types/Tag3D.html +5 -5
  203. package/docs/types/TagId.html +5 -5
  204. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  205. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  206. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  207. package/docs/variables/PLUGIN.html +5 -5
  208. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  209. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  210. package/docs/variables/VERSION.html +5 -5
  211. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  212. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  213. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  214. package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -2
  215. package/libs/PanoMeasurePlugin/Controller/index.js +63 -44
  216. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +5 -0
  217. package/libs/PanoMeasurePlugin/Modules/GuideController.js +15 -10
  218. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +3 -3
  219. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +5 -1
  220. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +38 -15
  221. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -0
  222. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +20 -15
  223. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  224. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +5 -2
  225. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +36 -22
  226. package/package.json +1 -1
@@ -4,12 +4,14 @@ import type { PanoMeasurePluginEvent } from '../typings/event.type';
4
4
  import type { UserDistanceItem } from '../utils/distanceDom';
5
5
  import Magnifier, { MagnifierParameter } from '../Modules/Magnifier';
6
6
  import { Five, Subscribe } from '@realsee/five';
7
+ import { UIControllerParams } from '../Modules/UIController';
8
+ import { GuideControllerParams } from '../Modules/GuideController';
7
9
  export declare type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
8
10
  export interface PanoMeasureParameterType extends Partial<Config> {
9
11
  openParams?: OpenParameter;
10
12
  magnifierParams?: MagnifierParameter;
11
- useUIController?: boolean;
12
- useGuideController?: boolean;
13
+ useUIController?: boolean | UIControllerParams;
14
+ useGuideController?: boolean | GuideControllerParams;
13
15
  userDistanceItemCreator?: () => UserDistanceItem;
14
16
  }
15
17
  export default class MeasureController {
@@ -1,12 +1,17 @@
1
1
  import type MeasureController from '../Controller';
2
2
  export interface GuideControllerParams {
3
3
  container: Element;
4
+ startTip?: string;
5
+ endTip?: string;
6
+ firstPointTip?: string;
7
+ nextPointTip?: string;
4
8
  }
5
9
  export declare class GuideController {
6
10
  private measureController;
7
11
  private textDom;
8
12
  private container;
9
13
  private hasAnchor;
14
+ private _params;
10
15
  constructor(measureController: MeasureController, params: GuideControllerParams);
11
16
  dispose(): void;
12
17
  show(): this;
@@ -1,11 +1,15 @@
1
+ import { UIControllerParams } from '.';
1
2
  import type MeasureController from '../../Controller';
2
3
  export declare class MainBtnController {
3
4
  private container;
4
5
  private measureController;
5
6
  private mainElement;
6
- constructor(measureController: MeasureController, container: Element);
7
+ private _params;
8
+ private _btnTexts;
9
+ constructor(measureController: MeasureController, container: Element, params: UIControllerParams);
7
10
  dispose(): void;
8
11
  private getMainElement;
12
+ private _getTextElement;
9
13
  private change2Add;
10
14
  private change2Done;
11
15
  private onMouseEnter;
@@ -3,6 +3,10 @@ import type { OpenParameter } from '../../typings/data';
3
3
  export interface UIControllerParams {
4
4
  container: Element;
5
5
  openParams?: OpenParameter;
6
+ startButtonText?: string;
7
+ endButtonText?: string;
8
+ revokeButtonText?: string;
9
+ exitButtonText?: string;
6
10
  }
7
11
  export declare type UIMode = 'pc' | 'mobile';
8
12
  export declare class UIController {
@@ -12,6 +16,7 @@ export declare class UIController {
12
16
  private disposers;
13
17
  private measureController;
14
18
  private mode;
19
+ private _params;
15
20
  constructor(measureController: MeasureController, params: UIControllerParams);
16
21
  dispose(): void;
17
22
  show(): this;
@@ -1,9 +1,12 @@
1
+ import { UIControllerParams } from '.';
1
2
  import type MeasureController from '../../Controller';
2
- export declare class mobileMainBtnController {
3
+ export declare class MobileMainBtnController {
3
4
  private container;
4
5
  private measureController;
5
6
  private mainElement;
6
- constructor(measureController: MeasureController, container: Element);
7
+ private _params;
8
+ private _btnTexts;
9
+ constructor(measureController: MeasureController, container: Element, params: UIControllerParams);
7
10
  dispose(): void;
8
11
  private getMainElement;
9
12
  private change2Add;