@realsee/dnalogel 2.27.2 → 2.27.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 (324) hide show
  1. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  4. package/dist/index.cjs.js +3 -3
  5. package/dist/index.js +3 -3
  6. package/dist/index.umd.js +3 -3
  7. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  8. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  9. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  10. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
  11. package/libs/base/BasePlugin.js +1 -1
  12. package/libs/shared-utils/logger.js +1 -1
  13. package/package.json +2 -2
  14. package/docs/.nojekyll +0 -1
  15. package/docs/assets/highlight.css +0 -120
  16. package/docs/assets/main.js +0 -58
  17. package/docs/assets/search.js +0 -1
  18. package/docs/assets/style.css +0 -1367
  19. package/docs/classes/CSS3DRender.html +0 -767
  20. package/docs/classes/CruisePluginController.html +0 -666
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -485
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -786
  23. package/docs/classes/Magnifier.html +0 -474
  24. package/docs/classes/ModelRoomLabelController.html +0 -392
  25. package/docs/classes/Object3DHelperController.html +0 -634
  26. package/docs/classes/PaintBrush.html +0 -496
  27. package/docs/classes/PanoMeasurePluginLine.html +0 -516
  28. package/docs/classes/PanoMeasurePluginModel.html +0 -565
  29. package/docs/classes/PanoMeasurePluginPoint.html +0 -356
  30. package/docs/classes/PanoMeasurePluginPolyline.html +0 -561
  31. package/docs/classes/PanoTagPluginController.html +0 -1084
  32. package/docs/classes/Util.BetterTween.html +0 -406
  33. package/docs/classes/Util.Interval.html +0 -422
  34. package/docs/classes/Util.Magnifier.html +0 -493
  35. package/docs/classes/Util.PointDomHelper.html +0 -397
  36. package/docs/classes/Util.PointHelper.html +0 -388
  37. package/docs/classes/Util.PointSelectorHelper.html +0 -444
  38. package/docs/classes/Util.Rectangle.html +0 -445
  39. package/docs/enums/CameraMovementEffect.html +0 -304
  40. package/docs/enums/ContentType.html +0 -440
  41. package/docs/enums/DIRECTION.html +0 -314
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -314
  43. package/docs/enums/DimensionType.html +0 -304
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -307
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -314
  46. package/docs/enums/PaintBrushTypeEnum.html +0 -307
  47. package/docs/enums/PointType.html +0 -304
  48. package/docs/enums/Rotation.html +0 -311
  49. package/docs/functions/CSS3DRenderPlugin.html +0 -282
  50. package/docs/functions/CameraMovementPlugin.html +0 -287
  51. package/docs/functions/CruisePlugin.html +0 -284
  52. package/docs/functions/GuideLinePlugin.html +0 -284
  53. package/docs/functions/ItemLabelPlugin.html +0 -284
  54. package/docs/functions/MapviewFloorplanPlugin.html +0 -284
  55. package/docs/functions/ModelChassisCompassPlugin.html +0 -287
  56. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -287
  57. package/docs/functions/ModelFloorplanPlugin.html +0 -284
  58. package/docs/functions/ModelItemLabelPlugin.html +0 -284
  59. package/docs/functions/ModelRoomLabelPlugin.html +0 -282
  60. package/docs/functions/ModelTVVideoPlugin.html +0 -284
  61. package/docs/functions/ModelViewPlugin.html +0 -287
  62. package/docs/functions/Object3DHelperPlugin.html +0 -282
  63. package/docs/functions/PanoCompassPlugin.html +0 -284
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -288
  65. package/docs/functions/PanoDoorLabelPlugin.html +0 -284
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -284
  67. package/docs/functions/PanoMeasurePlugin.html +0 -284
  68. package/docs/functions/PanoRulerPlugin.html +0 -287
  69. package/docs/functions/PanoRulerProPlugin.html +0 -287
  70. package/docs/functions/PanoSpatialTagPlugin.html +0 -287
  71. package/docs/functions/PanoTagPlugin.html +0 -289
  72. package/docs/functions/PanoVideoPlugin.html +0 -293
  73. package/docs/functions/PipelinePlugin.html +0 -282
  74. package/docs/functions/TopviewFloorplanPlugin.html +0 -284
  75. package/docs/functions/Util.absoluteUrl.html +0 -316
  76. package/docs/functions/Util.getCoordsFromClient.html +0 -318
  77. package/docs/functions/Util.getCoordsFromElement.html +0 -318
  78. package/docs/functions/Util.getFrameTime.html +0 -310
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -318
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -318
  81. package/docs/functions/Util.isAbsoluteURL.html +0 -311
  82. package/docs/functions/Util.isModelLike.html +0 -311
  83. package/docs/functions/Util.isNil.html +0 -319
  84. package/docs/functions/Util.isPanoramaLike.html +0 -311
  85. package/docs/functions/Util.nextFrame.html +0 -324
  86. package/docs/functions/Util.notNil.html +0 -319
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -340
  88. package/docs/functions/Util.tweenProgress.html +0 -313
  89. package/docs/functions/Util.uuid.html +0 -309
  90. package/docs/functions/pluginFlag.html +0 -282
  91. package/docs/index.html +0 -348
  92. package/docs/interfaces/AddTagConfig.html +0 -297
  93. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -443
  94. package/docs/interfaces/CSS3DRenderPluginState.html +0 -319
  95. package/docs/interfaces/CameraMovementPluginExportType.html +0 -352
  96. package/docs/interfaces/CruisePluginTypes.Config.html +0 -353
  97. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -355
  98. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -690
  99. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -379
  100. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -415
  101. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -405
  102. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -345
  103. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -313
  104. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -402
  105. package/docs/interfaces/EventMap.html +0 -536
  106. package/docs/interfaces/FloorplanBounding.html +0 -326
  107. package/docs/interfaces/FloorplanData.html +0 -329
  108. package/docs/interfaces/FloorplanEntrance.html +0 -354
  109. package/docs/interfaces/FloorplanExtraObject.html +0 -344
  110. package/docs/interfaces/FloorplanExtraObject3D.html +0 -333
  111. package/docs/interfaces/FloorplanFloorData.html +0 -322
  112. package/docs/interfaces/FloorplanImagePosition.html +0 -308
  113. package/docs/interfaces/FloorplanObserver.html +0 -326
  114. package/docs/interfaces/FloorplanOutlineItem.html +0 -322
  115. package/docs/interfaces/FloorplanPosition.html +0 -308
  116. package/docs/interfaces/FloorplanRoomItem.html +0 -373
  117. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -314
  118. package/docs/interfaces/FloorplanServerBounding.html +0 -326
  119. package/docs/interfaces/FloorplanServerComputedData.html +0 -325
  120. package/docs/interfaces/FloorplanServerData.html +0 -308
  121. package/docs/interfaces/FloorplanServerDoorItem.html +0 -325
  122. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -311
  123. package/docs/interfaces/FloorplanServerEntrance.html +0 -354
  124. package/docs/interfaces/FloorplanServerFloorData.html +0 -322
  125. package/docs/interfaces/FloorplanServerImagePosition.html +0 -308
  126. package/docs/interfaces/FloorplanServerObserver.html +0 -326
  127. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -322
  128. package/docs/interfaces/FloorplanServerPosition.html +0 -308
  129. package/docs/interfaces/FloorplanServerRoomItem.html +0 -385
  130. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -314
  131. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -317
  132. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -355
  133. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -519
  134. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -350
  135. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -341
  136. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -408
  137. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -340
  138. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -465
  139. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -337
  140. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -465
  141. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -302
  142. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -323
  143. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -348
  144. package/docs/interfaces/GuideLinePluginType.Route.html +0 -364
  145. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -346
  146. package/docs/interfaces/HelperOffset.html +0 -326
  147. package/docs/interfaces/ImagePlaneGroup.html +0 -300
  148. package/docs/interfaces/ItemLabelPluginData.html +0 -297
  149. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -382
  150. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -318
  151. package/docs/interfaces/MinMax.html +0 -304
  152. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -304
  153. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -340
  154. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -304
  155. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -311
  156. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -348
  157. package/docs/interfaces/ModelItemLabelPluginData.html +0 -297
  158. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -382
  159. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -304
  160. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -297
  161. package/docs/interfaces/ModelTVVideoPluginData.html +0 -318
  162. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -342
  163. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -297
  164. package/docs/interfaces/ModelViewPluginExportType.html +0 -410
  165. package/docs/interfaces/Object3DHelperState.html +0 -311
  166. package/docs/interfaces/ObjectHelperControllers.html +0 -318
  167. package/docs/interfaces/PaintBrushAction.html +0 -357
  168. package/docs/interfaces/PaintBrushConfigs.html +0 -355
  169. package/docs/interfaces/PaintBrushState.html +0 -339
  170. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -419
  171. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -276
  172. package/docs/interfaces/PanoMeasureParameterType.html +0 -443
  173. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -311
  174. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -308
  175. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -304
  176. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -314
  177. package/docs/interfaces/PanoRulerPluginExportType.html +0 -371
  178. package/docs/interfaces/PanoRulerPluginOptions.html +0 -320
  179. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -311
  180. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -347
  181. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -317
  182. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -304
  183. package/docs/interfaces/PanoRulerProPluginState.html +0 -311
  184. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -290
  185. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -279
  186. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -347
  187. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -329
  188. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -425
  189. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -325
  190. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -346
  191. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -332
  192. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -325
  193. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -317
  194. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -335
  195. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -308
  196. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -414
  197. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -308
  198. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -343
  199. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -362
  200. package/docs/interfaces/Point.html +0 -311
  201. package/docs/interfaces/Room.html +0 -318
  202. package/docs/interfaces/RoomInfo.html +0 -304
  203. package/docs/interfaces/RoomLabel.html +0 -380
  204. package/docs/interfaces/RoomRules.html +0 -279
  205. package/docs/interfaces/Rooms.html +0 -279
  206. package/docs/interfaces/Scissor.html +0 -338
  207. package/docs/interfaces/State.html +0 -325
  208. package/docs/interfaces/TagCacheInterface.html +0 -349
  209. package/docs/interfaces/TagConfig.html +0 -539
  210. package/docs/interfaces/TagGLTFObjectGroup.html +0 -300
  211. package/docs/interfaces/TagIconUrl.html +0 -357
  212. package/docs/interfaces/TagObjectGroup.html +0 -300
  213. package/docs/interfaces/TagStyle.html +0 -310
  214. package/docs/interfaces/Tags.html +0 -540
  215. package/docs/interfaces/TemporaryState.html +0 -297
  216. package/docs/interfaces/Util.MagnifierParameter.html +0 -381
  217. package/docs/interfaces/Util.MouseGroupParameter.html +0 -340
  218. package/docs/interfaces/Util.PointIntersection.html +0 -355
  219. package/docs/modules/CruisePluginTypes.html +0 -322
  220. package/docs/modules/GuideLineItem.html +0 -283
  221. package/docs/modules/GuideLineModeItem.html +0 -288
  222. package/docs/modules/GuideLinePluginType.html +0 -342
  223. package/docs/modules/PanoVideoPluginType.html +0 -295
  224. package/docs/modules/Util.html +0 -337
  225. package/docs/modules.html +0 -528
  226. package/docs/types/ArrayPosition.html +0 -273
  227. package/docs/types/AudioAppearance.html +0 -273
  228. package/docs/types/AudioTagTypeConfigKey.html +0 -273
  229. package/docs/types/CSS3DRenderExportType.html +0 -273
  230. package/docs/types/CSS3DRenderPluginExportType.html +0 -273
  231. package/docs/types/CSS3DRenderPluginParameterType.html +0 -273
  232. package/docs/types/ClassFunctionParameters.html +0 -280
  233. package/docs/types/Color.html +0 -273
  234. package/docs/types/ContentTypeConfigKey.html +0 -273
  235. package/docs/types/ContentTypeConfigKeySplit.html +0 -273
  236. package/docs/types/ContentTypeMap.html +0 -273
  237. package/docs/types/Create3DDomContainerReturnType.html +0 -273
  238. package/docs/types/Create3DElementReturnType.html +0 -273
  239. package/docs/types/CruisePluginExportType.html +0 -273
  240. package/docs/types/CruisePluginTypes.CruiseData.html +0 -312
  241. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -289
  242. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -285
  243. package/docs/types/DeprecatedTagProperty.html +0 -288
  244. package/docs/types/Direction-1.html +0 -273
  245. package/docs/types/Direction4.html +0 -273
  246. package/docs/types/ElementRenderer.html +0 -297
  247. package/docs/types/FloorplanRuleLabels.html +0 -276
  248. package/docs/types/FloorplanServerRuleLabels.html +0 -273
  249. package/docs/types/GuideLinePluginExportType.html +0 -273
  250. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -345
  251. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -366
  252. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -299
  253. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -302
  254. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -302
  255. package/docs/types/GuideLinePluginType.PathItem.html +0 -302
  256. package/docs/types/GuideLinePluginType.PluginData.html +0 -311
  257. package/docs/types/HelperEventMap.html +0 -511
  258. package/docs/types/LoadTagConfig.html +0 -273
  259. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -273
  260. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -273
  261. package/docs/types/MediaData.html +0 -289
  262. package/docs/types/MediaStore.html +0 -278
  263. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -280
  264. package/docs/types/ModelFloorplanPluginParameterType.html +0 -273
  265. package/docs/types/ModelFloorplanPluginReturnType.html +0 -273
  266. package/docs/types/ModelRoomLabelPluginParameters.html +0 -273
  267. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -273
  268. package/docs/types/MoveArgs.html +0 -283
  269. package/docs/types/MoveOpts.html +0 -281
  270. package/docs/types/Object3DHelperEventMap.html +0 -366
  271. package/docs/types/ObjectFit.html +0 -273
  272. package/docs/types/PaintBrushEventMap.html +0 -304
  273. package/docs/types/PanoCompassPluginData.html +0 -273
  274. package/docs/types/PanoCompassPluginExportType.html +0 -273
  275. package/docs/types/PanoCompassPluginParameterType.html +0 -273
  276. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -273
  277. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -273
  278. package/docs/types/PanoIndex.html +0 -273
  279. package/docs/types/PanoMeasurePluginEvent.html +0 -273
  280. package/docs/types/PanoMeasureReturnType.html +0 -273
  281. package/docs/types/PanoSpatialTagPluginId.html +0 -273
  282. package/docs/types/PanoTagPluginExportInterface.html +0 -273
  283. package/docs/types/PanoTagPluginParamsInterface.html +0 -273
  284. package/docs/types/PanoVideoPluginParameterType.html +0 -273
  285. package/docs/types/PanoVideoPluginReturnType.html +0 -273
  286. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -281
  287. package/docs/types/PipelinePluginParameterType.html +0 -273
  288. package/docs/types/PipelinePluginReturnType.html +0 -273
  289. package/docs/types/PlaneTag.html +0 -281
  290. package/docs/types/Point2DTag.html +0 -281
  291. package/docs/types/Point3DTag.html +0 -281
  292. package/docs/types/PointTag.html +0 -278
  293. package/docs/types/PointTagInstance.html +0 -278
  294. package/docs/types/Position.html +0 -273
  295. package/docs/types/RotateArgs.html +0 -285
  296. package/docs/types/RotateOpts.html +0 -281
  297. package/docs/types/RuleLabelsKey.html +0 -273
  298. package/docs/types/RuleLabelsValue.html +0 -273
  299. package/docs/types/StickType.html +0 -273
  300. package/docs/types/Tag.html +0 -339
  301. package/docs/types/Tag2D.html +0 -281
  302. package/docs/types/Tag3D.html +0 -281
  303. package/docs/types/TagConfigByKey.html +0 -278
  304. package/docs/types/TagContentType.html +0 -273
  305. package/docs/types/TagDimensionType.html +0 -275
  306. package/docs/types/TagElement.html +0 -283
  307. package/docs/types/TagEvents.html +0 -326
  308. package/docs/types/TagGLTFObject.html +0 -296
  309. package/docs/types/TagHooks.html +0 -273
  310. package/docs/types/TagId.html +0 -273
  311. package/docs/types/TagInstance.html +0 -345
  312. package/docs/types/TagPointType.html +0 -276
  313. package/docs/types/TagRendererMap.html +0 -278
  314. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -273
  315. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -273
  316. package/docs/types/WorkCode.html +0 -273
  317. package/docs/variables/FLOOR_TYPE_MAP.html +0 -283
  318. package/docs/variables/PLUGIN.html +0 -273
  319. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -276
  320. package/docs/variables/ROOM_TYPE_MAP.html +0 -283
  321. package/docs/variables/defaultGlobalConfig.html +0 -273
  322. package/docs/variables/itemLabelPluginServerParams.html +0 -280
  323. package/docs/variables/modelItemLabelPluginServerParams.html +0 -280
  324. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -280
@@ -33,7 +33,7 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
33
33
  /** 标签 wrapper 的 classname */
34
34
  className?: string;
35
35
  /** 标签数据 */
36
- data: C extends TagContentType ? ContentTypeMap[C] : ContentTypeMap[keyof ContentTypeMap];
36
+ data: ContentTypeMap[C];
37
37
  /** 「展开/收起」 「可见/不可见」 的策略配置 */
38
38
  config?: TagConfig<C>;
39
39
  /** 打标签时的 five state */
@@ -141,9 +141,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
141
141
  * @description: 标签的默认数据,会将 tag.data 深度合并进来
142
142
  * @code `tag.data = ObjectAssignDeep(initialData, tag.data)`
143
143
  */
144
- initialData?: (C extends TagContentType ? PartialObjectDeep<ContentTypeMap[C]> : {
145
- [key: string]: any;
146
- }) & {
144
+ initialData?: PartialObjectDeep<ContentTypeMap[C]> & {
147
145
  /**
148
146
  * @description: 类似 css 的 !important,会覆盖掉 tag.data 中对应的数据
149
147
  * @code
@@ -173,5 +171,5 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
173
171
  clickable?: boolean;
174
172
  isMerged?: boolean;
175
173
  }
176
- export declare const defaultGlobalConfig: TagConfig<any>;
174
+ export declare const defaultGlobalConfig: TagConfig;
177
175
  export {};
@@ -156,6 +156,8 @@ interface ContentTypeMapInterface {
156
156
  type ContentTypeMapInterfaceWithExtraData = {
157
157
  [key in keyof ContentTypeMapInterface]: ContentTypeMapInterface[key] & {
158
158
  extraData?: Object;
159
+ } & {
160
+ [key: string]: any;
159
161
  };
160
162
  };
161
163
  export type ContentTypeMap = Pick<ContentTypeMapInterfaceWithExtraData, TagContentType>;