coolcare-lite-scada-component 2.0.7 → 2.0.10

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 (241) hide show
  1. package/es/app.js +5 -5
  2. package/es/components/BoxShadowPicker/index.js +11 -11
  3. package/es/components/ColorPicker/index.js +11 -11
  4. package/es/components/DeviceSelect/DeviceTable.js +19 -18
  5. package/es/components/DeviceSelect/index.js +10 -10
  6. package/es/components/DialogExpression/ImagePicker/index.js +5 -5
  7. package/es/components/DialogExpression/index.js +13 -13
  8. package/es/components/DialogHistory/index.js +12 -12
  9. package/es/components/DialogIconPicker/index.js +5 -5
  10. package/es/components/DialogImagePicker/Gallery/index.js +14 -14
  11. package/es/components/DialogImagePicker/GroupPanel/index.js +10 -10
  12. package/es/components/DialogImagePicker/index.js +5 -5
  13. package/es/components/DialogPointWrite/PointItem.js +10 -10
  14. package/es/components/DialogPointWrite/index.js +11 -11
  15. package/es/components/ECharts/index.js +7 -7
  16. package/es/components/FontFamilySelect/list.js +1 -0
  17. package/es/components/FontStyleForm/index.js +11 -11
  18. package/es/components/FormBindPoint/FreedomScene.js +14 -14
  19. package/es/components/FormBindPoint/ProductionOrDeviceScene.js +14 -14
  20. package/es/components/FormIconSelect/index.js +5 -5
  21. package/es/components/FormNodeData/index.js +10 -9
  22. package/es/components/FormNodeData/utils/valueUtil.js +1 -1
  23. package/es/components/Icon/index.js +2 -1
  24. package/es/components/ImageUploader/index.js +17 -16
  25. package/es/components/LockBtn/index.js +5 -5
  26. package/es/components/Margin_Padding/index.js +8 -8
  27. package/es/components/ModalFanDevicePoint/index.js +12 -12
  28. package/es/components/MouseTooltip/index.js +11 -11
  29. package/es/components/PaddingPicker/index.js +11 -11
  30. package/es/components/PointInfoTip/index.js +15 -15
  31. package/es/components/PointSelect/DevicePointTable.js +5 -5
  32. package/es/components/PointSelect/ProductPointTable.js +5 -5
  33. package/es/components/PointSelect/index.js +13 -13
  34. package/es/components/Prompt/index.js +15 -15
  35. package/es/components/SliderWithInput/index.js +5 -5
  36. package/es/components/Switch/index.js +3 -3
  37. package/es/edge/EdgeLinePort/PropsSet/Flow.js +6 -6
  38. package/es/edge/EdgeLinePort/PropsSet/Line.js +6 -6
  39. package/es/edge/EdgeLinePort/PropsSet/Marker.js +6 -6
  40. package/es/edge/EdgeLinePort/index.js +16 -15
  41. package/es/edge/EdgePipe/PropsSet/Flow.js +6 -6
  42. package/es/edge/EdgePipe/PropsSet/Pipe.js +6 -6
  43. package/es/edge/EdgePipe/index.js +18 -16
  44. package/es/element/BasicShape/Circle/index.js +18 -16
  45. package/es/element/BasicShape/CommentBox/index.js +18 -16
  46. package/es/element/BasicShape/CommentBox2/index.js +18 -16
  47. package/es/element/BasicShape/Ellipse/index.js +18 -16
  48. package/es/element/BasicShape/Heart/index.js +18 -16
  49. package/es/element/BasicShape/Lightning/index.js +18 -16
  50. package/es/element/BasicShape/PropsForm/index.js +5 -5
  51. package/es/element/BasicShape/Rectangle/index.js +18 -16
  52. package/es/element/BasicShape/Star/index.js +18 -16
  53. package/es/element/BorderBox/BorderBox1/index.js +16 -15
  54. package/es/element/BorderBox/BorderBox10/Component.js +6 -6
  55. package/es/element/BorderBox/BorderBox10/index.js +16 -15
  56. package/es/element/BorderBox/BorderBox12/index.js +16 -15
  57. package/es/element/BorderBox/BorderBox13/index.js +16 -15
  58. package/es/element/BorderBox/BorderBox2/index.js +16 -15
  59. package/es/element/BorderBox/BorderBox3/index.js +16 -15
  60. package/es/element/BorderBox/BorderBox4/index.js +16 -15
  61. package/es/element/BorderBox/BorderBox5/index.js +16 -15
  62. package/es/element/BorderBox/BorderBox6/index.js +16 -15
  63. package/es/element/BorderBox/BorderBox7/Component.js +6 -6
  64. package/es/element/BorderBox/BorderBox7/index.js +16 -15
  65. package/es/element/BorderBox/BorderBox8/Component.js +5 -5
  66. package/es/element/BorderBox/BorderBox8/index.js +16 -15
  67. package/es/element/BorderBox/BorderBox9/Component.js +5 -5
  68. package/es/element/BorderBox/BorderBox9/index.js +16 -15
  69. package/es/element/BorderBox/PropsSet/ColorSet.js +5 -5
  70. package/es/element/Decoration/Decoration1/Component.js +5 -5
  71. package/es/element/Decoration/Decoration1/index.js +16 -15
  72. package/es/element/Decoration/Decoration10/index.js +16 -15
  73. package/es/element/Decoration/Decoration2/index.js +16 -15
  74. package/es/element/Decoration/Decoration3/Component.js +5 -5
  75. package/es/element/Decoration/Decoration3/index.js +16 -15
  76. package/es/element/Decoration/Decoration4/index.js +16 -15
  77. package/es/element/Decoration/Decoration5/index.js +16 -15
  78. package/es/element/Decoration/Decoration6/Component.js +11 -11
  79. package/es/element/Decoration/Decoration6/index.js +16 -15
  80. package/es/element/Decoration/Decoration8/Component.js +5 -5
  81. package/es/element/Decoration/Decoration8/index.js +16 -15
  82. package/es/element/Decoration/PropsSet/ColorSet.js +5 -5
  83. package/es/element/EleButton/Component.js +18 -10
  84. package/es/element/EleButton/index.js +16 -15
  85. package/es/element/EleClock/Component.js +11 -11
  86. package/es/element/EleClock/index.js +16 -15
  87. package/es/element/EleContainer/PropsSet/OtherPropsSet/index.js +5 -5
  88. package/es/element/EleContainer/index.js +16 -15
  89. package/es/element/EleDeviceName/Component.js +10 -10
  90. package/es/element/EleDeviceName/PropsSet/FormBindDevice/index.js +5 -5
  91. package/es/element/EleDeviceName/index.js +16 -15
  92. package/es/element/EleDeviceState/Component.js +16 -15
  93. package/es/element/EleDeviceState/PropsSet/FormBindDevice/index.js +5 -5
  94. package/es/element/EleDeviceState/index.js +16 -15
  95. package/es/element/EleDeviceUpdateTime/Component.js +10 -10
  96. package/es/element/EleDeviceUpdateTime/PropsSet/FormBindDevice/index.js +5 -5
  97. package/es/element/EleDeviceUpdateTime/index.js +16 -15
  98. package/es/element/EleFan/Component.js +19 -11
  99. package/es/element/EleFan/PropsSet/FormBindPoint/index.js +15 -15
  100. package/es/element/EleFan/PropsSet/index.js +5 -5
  101. package/es/element/EleFan/index.js +16 -15
  102. package/es/element/EleFanBySvg/PropsSet/FormBindPoint/index.js +15 -15
  103. package/es/element/EleFanBySvg/index.js +27 -22
  104. package/es/element/EleGauge/Component.js +23 -15
  105. package/es/element/EleGauge/PropsSet/OtherPropsSet/index.js +11 -11
  106. package/es/element/EleGauge/index.js +16 -15
  107. package/es/element/EleIcon/Component.js +18 -10
  108. package/es/element/EleIcon/PropsSet/IconPropsSet/index.js +5 -5
  109. package/es/element/EleIcon/index.js +16 -15
  110. package/es/element/EleImage/index.js +17 -16
  111. package/es/element/EleIndicatorLight/Component.js +18 -10
  112. package/es/element/EleIndicatorLight/PropsSet/ColorPropsSet/index.js +5 -5
  113. package/es/element/EleIndicatorLight/index.js +16 -15
  114. package/es/element/ElePointImage/Component.js +12 -4
  115. package/es/element/ElePointImage/PropsSet/ImagePropsSet/index.js +11 -11
  116. package/es/element/ElePointImage/index.js +16 -15
  117. package/es/element/ElePointList/Component.js +11 -11
  118. package/es/element/ElePointList/index.js +16 -15
  119. package/es/element/ElePointState/Component.js +18 -10
  120. package/es/element/ElePointState/PropsSet/IconPropsSet/index.js +5 -5
  121. package/es/element/ElePointState/index.js +16 -15
  122. package/es/element/ElePointValue/Component.js +18 -10
  123. package/es/element/ElePointValue/PropsSet/GlobalPropSet/index.js +11 -11
  124. package/es/element/ElePointValue/PropsSet/ValuePropsSet/index.js +11 -11
  125. package/es/element/ElePointValue/index.js +16 -15
  126. package/es/element/EleShine/Component.js +18 -10
  127. package/es/element/EleShine/PropsSet/OtherPropsSet/index.js +5 -5
  128. package/es/element/EleShine/index.js +16 -15
  129. package/es/element/EleState/index.js +19 -17
  130. package/es/element/EleSvg/index.js +16 -15
  131. package/es/element/EleSwitch/Component.js +5 -5
  132. package/es/element/EleSwitch/index.js +16 -15
  133. package/es/element/EleText/Component.js +6 -6
  134. package/es/element/EleText/index.js +18 -16
  135. package/es/element/PipeNodes/NodeBL/index.js +20 -19
  136. package/es/element/PipeNodes/NodeBR/index.js +20 -19
  137. package/es/element/PipeNodes/NodeBottom/index.js +20 -19
  138. package/es/element/PipeNodes/NodeCenter/index.js +20 -19
  139. package/es/element/PipeNodes/NodeHorizontal/index.js +20 -19
  140. package/es/element/PipeNodes/NodeLeft/index.js +20 -19
  141. package/es/element/PipeNodes/NodeRight/index.js +20 -19
  142. package/es/element/PipeNodes/NodeTL/index.js +20 -19
  143. package/es/element/PipeNodes/NodeTL.TEMP/index.js +16 -15
  144. package/es/element/PipeNodes/NodeTR/index.js +20 -19
  145. package/es/element/PipeNodes/NodeTop/index.js +20 -19
  146. package/es/element/PipeNodes/NodeVertical/index.js +20 -19
  147. package/es/element/PointCard/PointCard1/Component.js +18 -10
  148. package/es/element/PointCard/PointCard1/PropsSet/IconPropsSet/index.js +5 -5
  149. package/es/element/PointCard/PointCard1/PropsSet/PointValuePropsSet/index.js +11 -11
  150. package/es/element/PointCard/PointCard1/index.js +16 -15
  151. package/es/element/PointCard/PointCard2/Component/PointItem.js +18 -10
  152. package/es/element/PointCard/PointCard2/Component/PointItemPlaceholder.js +6 -6
  153. package/es/element/PointCard/PointCard2/Component/index.js +11 -11
  154. package/es/element/PointCard/PointCard2/PropsSet/PointItemSetDrawer/index.js +12 -11
  155. package/es/element/PointCard/PointCard2/index.js +16 -15
  156. package/es/element/PointCard/PointCard3/Component.js +18 -10
  157. package/es/element/PointCard/PointCard3/PropsSet/IconPropsSet/index.js +9 -9
  158. package/es/element/PointCard/PointCard3/index.js +16 -15
  159. package/es/element/PointCard/PointListCard/Component.js +26 -18
  160. package/es/element/PointCard/PointListCard/index.js +16 -15
  161. package/es/element/PointControl/PointControl1/Component.js +23 -15
  162. package/es/element/PointControl/PointControl1/index.js +16 -15
  163. package/es/element/PointControl/PointControl3/Component.js +23 -15
  164. package/es/element/PointControl/PointControl3/PropsSet/IconPropsSet/index.js +5 -5
  165. package/es/element/PointControl/PointControl3/index.js +16 -15
  166. package/es/element/nodeBase.js +18 -16
  167. package/es/element/reactShapeBase.js +18 -16
  168. package/es/element/type.d.ts +4 -2
  169. package/es/element/utils/handleEleEvent.js +3 -0
  170. package/es/element/utils/pointWrite.js +10 -10
  171. package/es/graph/graphCore.js +20 -10
  172. package/es/graph/tools/ToolTipTool.js +23 -22
  173. package/es/hooks/useCMDKey.js +5 -5
  174. package/es/hooks/useEleEventHandle.js +7 -1
  175. package/es/hooks/useForceUpdate.js +5 -5
  176. package/es/hooks/usePointWatch.js +5 -5
  177. package/es/models/useEditor.js +12 -12
  178. package/es/models/useElePanel.js +5 -5
  179. package/es/pages/display/Player/index.js +76 -43
  180. package/es/pages/display/components/Tools/index.js +5 -5
  181. package/es/pages/display/index.js +27 -19
  182. package/es/pages/document.ejs +1 -1
  183. package/es/pages/editor/Palette/PaletteDropdown/index.js +5 -5
  184. package/es/pages/editor/Palette/index.js +6 -6
  185. package/es/pages/editor/PanelLeft/BasicShapeList/index.js +1 -0
  186. package/es/pages/editor/PanelLeft/BasicShapeList/listData.js +8 -8
  187. package/es/pages/editor/PanelLeft/GroupManageDialog/index.js +22 -22
  188. package/es/pages/editor/PanelLeft/ImgConfigDialog/index.js +17 -17
  189. package/es/pages/editor/PanelLeft/ImgGroup/index.js +15 -15
  190. package/es/pages/editor/PanelLeft/MetaEleList/listData.js +14 -14
  191. package/es/pages/editor/PanelLeft/MineImgGroup/index.js +13 -13
  192. package/es/pages/editor/PanelLeft/PipeEleList/listData.js +11 -11
  193. package/es/pages/editor/PanelLeft/PointCardEleList/listData.js +6 -6
  194. package/es/pages/editor/PanelLeft/RecommendEleList/listData.js +4 -4
  195. package/es/pages/editor/PanelLeft/SystemImgGroupList/index.js +10 -10
  196. package/es/pages/editor/PanelLeft/index.js +5 -5
  197. package/es/pages/editor/PanelRight/components/FormBindEvent/index.js +33 -16
  198. package/es/pages/editor/PanelRight/components/FormEleBorderStyle/index.js +11 -11
  199. package/es/pages/editor/PanelRight/components/FormEleLayout/index.js +11 -11
  200. package/es/pages/editor/PanelRight/components/FormFillStyle/index.js +11 -11
  201. package/es/pages/editor/PanelRight/components/FormFontStyle/index.js +11 -11
  202. package/es/pages/editor/PanelRight/components/FormLayer/index.js +12 -12
  203. package/es/pages/editor/PanelRight/index.js +5 -5
  204. package/es/pages/editor/PanelTop/FullScreen/index.js +5 -5
  205. package/es/pages/editor/PanelTop/HistoryControl/index.js +12 -11
  206. package/es/pages/editor/PanelTop/Save/index.js +15 -15
  207. package/es/pages/editor/PanelTop/ZoomControl/index.js +5 -5
  208. package/es/pages/editor/PanelTop/index.js +11 -11
  209. package/es/pages/editor/index.js +7 -6
  210. package/es/services/common/Uploader.js +10 -10
  211. package/es/services/gateway/CompanyConfiguration.js +12 -12
  212. package/es/services/gateway/Device.js +26 -26
  213. package/es/services/gateway/DeviceAuthorizationApply.js +13 -13
  214. package/es/services/gateway/DeviceGroup.js +14 -14
  215. package/es/services/gateway/Gateway.js +26 -26
  216. package/es/services/gateway/GatewayGroup.js +13 -13
  217. package/es/services/gateway/Point.js +14 -14
  218. package/es/services/gateway/UserDevice.js +13 -13
  219. package/es/services/master/Func.js +10 -10
  220. package/es/services/master/Role.js +15 -15
  221. package/es/services/master/User.js +19 -19
  222. package/es/services/product/ConfigurationImg.js +12 -12
  223. package/es/services/product/ConfigurationImgGroup.js +12 -12
  224. package/es/services/product/DeviceType.js +10 -10
  225. package/es/services/product/Identifier.js +10 -10
  226. package/es/services/product/PointEnum.js +12 -12
  227. package/es/services/product/PointGroup.js +13 -13
  228. package/es/services/product/Product.js +23 -23
  229. package/es/services/product/ProductCompany.js +16 -16
  230. package/es/services/project/ProjectGateway.js +11 -11
  231. package/es/services/project/ProjectResource.js +16 -16
  232. package/es/services/project/ProjectRole.js +21 -21
  233. package/es/services/project/ProjectUserPermission.js +17 -17
  234. package/es/services/project/Subarea.js +18 -18
  235. package/es/services/project/UserSubarea.js +11 -11
  236. package/es/services/request.js +20 -14
  237. package/es/utils/auth.js +2 -4
  238. package/es/utils/events.js +0 -6
  239. package/es/utils/index.js +5 -5
  240. package/es/utils/queryToObject.js +8 -8
  241. package/package.json +1 -1
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration10Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration10';
19
19
  var EleDecoration10 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration10, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration10);
20
22
  function EleDecoration10() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration10);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration10, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration10, _ReactShapeBase);
31
32
  return _createClass(EleDecoration10);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration10.shapeName = shapeName;
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration2Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration2';
19
19
  var EleDecoration2 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration2, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration2);
20
22
  function EleDecoration2() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration2);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration2, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration2, _ReactShapeBase);
31
32
  return _createClass(EleDecoration2);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration2.shapeName = shapeName;
@@ -1,9 +1,9 @@
1
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
1
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
2
2
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
5
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
6
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
7
  import React from "react";
8
8
  import { useMemo, useRef, memo } from 'react';
9
9
  import { useSize } from 'ahooks';
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration3Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration3';
19
19
  var EleDecoration3 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration3, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration3);
20
22
  function EleDecoration3() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration3);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration3, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration3, _ReactShapeBase);
31
32
  return _createClass(EleDecoration3);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration3.shapeName = shapeName;
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration4Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration4';
19
19
  var EleDecoration4 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration4, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration4);
20
22
  function EleDecoration4() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration4);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration4, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration4, _ReactShapeBase);
31
32
  return _createClass(EleDecoration4);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration4.shapeName = shapeName;
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration5Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration5';
19
19
  var EleDecoration5 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration5, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration5);
20
22
  function EleDecoration5() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration5);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration5, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration5, _ReactShapeBase);
31
32
  return _createClass(EleDecoration5);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration5.shapeName = shapeName;
@@ -1,15 +1,15 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
8
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
10
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
11
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
12
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
11
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
13
  import React from "react";
14
14
  import { useMemo, useRef, memo } from 'react';
15
15
  import { useSize } from 'ahooks';
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration6Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration6';
19
19
  var EleDecoration6 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration6, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration6);
20
22
  function EleDecoration6() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration6);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration6, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration6, _ReactShapeBase);
31
32
  return _createClass(EleDecoration6);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration6.shapeName = shapeName;
@@ -1,9 +1,9 @@
1
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React from "react";
8
8
  import { useMemo, useRef, memo } from 'react';
9
9
  import { useSize } from 'ahooks';
@@ -1,33 +1,34 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
3
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
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 _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
+ 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); }; }
10
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
+ 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; } }
13
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration8Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration8';
19
19
  var EleDecoration8 = /*#__PURE__*/function (_ReactShapeBase) {
20
+ _inherits(EleDecoration8, _ReactShapeBase);
21
+ var _super = _createSuper(EleDecoration8);
20
22
  function EleDecoration8() {
21
23
  var _this;
22
24
  _classCallCheck(this, EleDecoration8);
23
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
24
26
  args[_key] = arguments[_key];
25
27
  }
26
- _this = _callSuper(this, EleDecoration8, [].concat(args));
28
+ _this = _super.call.apply(_super, [this].concat(args));
27
29
  _this.shapeName = shapeName;
28
30
  return _this;
29
31
  }
30
- _inherits(EleDecoration8, _ReactShapeBase);
31
32
  return _createClass(EleDecoration8);
32
33
  }(ReactShapeBase);
33
34
  EleDecoration8.shapeName = shapeName;