coolcare-lite-scada-component 2.0.10 → 2.0.12

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 (242) 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 +18 -19
  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 +21 -11
  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 +0 -1
  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 +9 -10
  22. package/es/components/FormNodeData/utils/valueUtil.js +1 -1
  23. package/es/components/Icon/index.js +1 -2
  24. package/es/components/ImageUploader/index.js +16 -17
  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 +15 -16
  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 +16 -18
  44. package/es/element/BasicShape/Circle/index.js +16 -18
  45. package/es/element/BasicShape/CommentBox/index.js +16 -18
  46. package/es/element/BasicShape/CommentBox2/index.js +16 -18
  47. package/es/element/BasicShape/Ellipse/index.js +16 -18
  48. package/es/element/BasicShape/Heart/index.js +16 -18
  49. package/es/element/BasicShape/Lightning/index.js +16 -18
  50. package/es/element/BasicShape/PropsForm/index.js +5 -5
  51. package/es/element/BasicShape/Rectangle/index.js +16 -18
  52. package/es/element/BasicShape/Star/index.js +16 -18
  53. package/es/element/BorderBox/BorderBox1/index.js +15 -16
  54. package/es/element/BorderBox/BorderBox10/Component.js +6 -6
  55. package/es/element/BorderBox/BorderBox10/index.js +15 -16
  56. package/es/element/BorderBox/BorderBox12/index.js +15 -16
  57. package/es/element/BorderBox/BorderBox13/index.js +15 -16
  58. package/es/element/BorderBox/BorderBox2/index.js +15 -16
  59. package/es/element/BorderBox/BorderBox3/index.js +15 -16
  60. package/es/element/BorderBox/BorderBox4/index.js +15 -16
  61. package/es/element/BorderBox/BorderBox5/index.js +15 -16
  62. package/es/element/BorderBox/BorderBox6/index.js +15 -16
  63. package/es/element/BorderBox/BorderBox7/Component.js +6 -6
  64. package/es/element/BorderBox/BorderBox7/index.js +15 -16
  65. package/es/element/BorderBox/BorderBox8/Component.js +5 -5
  66. package/es/element/BorderBox/BorderBox8/index.js +15 -16
  67. package/es/element/BorderBox/BorderBox9/Component.js +5 -5
  68. package/es/element/BorderBox/BorderBox9/index.js +15 -16
  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 +15 -16
  72. package/es/element/Decoration/Decoration10/index.js +15 -16
  73. package/es/element/Decoration/Decoration2/index.js +15 -16
  74. package/es/element/Decoration/Decoration3/Component.js +5 -5
  75. package/es/element/Decoration/Decoration3/index.js +15 -16
  76. package/es/element/Decoration/Decoration4/index.js +15 -16
  77. package/es/element/Decoration/Decoration5/index.js +15 -16
  78. package/es/element/Decoration/Decoration6/Component.js +11 -11
  79. package/es/element/Decoration/Decoration6/index.js +15 -16
  80. package/es/element/Decoration/Decoration8/Component.js +5 -5
  81. package/es/element/Decoration/Decoration8/index.js +15 -16
  82. package/es/element/Decoration/PropsSet/ColorSet.js +5 -5
  83. package/es/element/EleButton/Component.js +10 -18
  84. package/es/element/EleButton/index.js +15 -16
  85. package/es/element/EleClock/Component.js +11 -11
  86. package/es/element/EleClock/index.js +15 -16
  87. package/es/element/EleContainer/PropsSet/OtherPropsSet/index.js +5 -5
  88. package/es/element/EleContainer/index.js +15 -16
  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 +15 -16
  92. package/es/element/EleDeviceState/Component.js +15 -16
  93. package/es/element/EleDeviceState/PropsSet/FormBindDevice/index.js +5 -5
  94. package/es/element/EleDeviceState/index.js +15 -16
  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 +15 -16
  98. package/es/element/EleFan/Component.js +11 -19
  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 +15 -16
  102. package/es/element/EleFanBySvg/PropsSet/FormBindPoint/index.js +15 -15
  103. package/es/element/EleFanBySvg/index.js +22 -27
  104. package/es/element/EleGauge/Component.js +15 -23
  105. package/es/element/EleGauge/PropsSet/OtherPropsSet/index.js +11 -11
  106. package/es/element/EleGauge/index.js +15 -16
  107. package/es/element/EleIcon/Component.js +10 -18
  108. package/es/element/EleIcon/PropsSet/IconPropsSet/index.js +5 -5
  109. package/es/element/EleIcon/index.js +15 -16
  110. package/es/element/EleImage/index.js +16 -17
  111. package/es/element/EleIndicatorLight/Component.js +10 -18
  112. package/es/element/EleIndicatorLight/PropsSet/ColorPropsSet/index.js +5 -5
  113. package/es/element/EleIndicatorLight/index.js +15 -16
  114. package/es/element/ElePointImage/Component.js +4 -12
  115. package/es/element/ElePointImage/PropsSet/ImagePropsSet/index.js +11 -11
  116. package/es/element/ElePointImage/index.js +16 -17
  117. package/es/element/ElePointList/Component.js +11 -11
  118. package/es/element/ElePointList/index.js +15 -16
  119. package/es/element/ElePointState/Component.js +10 -18
  120. package/es/element/ElePointState/PropsSet/IconPropsSet/index.js +5 -5
  121. package/es/element/ElePointState/index.js +15 -16
  122. package/es/element/ElePointValue/Component.js +10 -18
  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 +15 -16
  126. package/es/element/EleShine/Component.js +10 -18
  127. package/es/element/EleShine/PropsSet/OtherPropsSet/index.js +5 -5
  128. package/es/element/EleShine/index.js +15 -16
  129. package/es/element/EleState/index.js +17 -19
  130. package/es/element/EleSvg/index.js +15 -16
  131. package/es/element/EleSwitch/Component.js +5 -5
  132. package/es/element/EleSwitch/index.js +15 -16
  133. package/es/element/EleText/Component.js +6 -6
  134. package/es/element/EleText/index.js +16 -18
  135. package/es/element/PipeNodes/NodeBL/index.js +19 -20
  136. package/es/element/PipeNodes/NodeBR/index.js +19 -20
  137. package/es/element/PipeNodes/NodeBottom/index.js +19 -20
  138. package/es/element/PipeNodes/NodeCenter/index.js +19 -20
  139. package/es/element/PipeNodes/NodeHorizontal/index.js +19 -20
  140. package/es/element/PipeNodes/NodeLeft/index.js +19 -20
  141. package/es/element/PipeNodes/NodeRight/index.js +19 -20
  142. package/es/element/PipeNodes/NodeTL/index.js +19 -20
  143. package/es/element/PipeNodes/NodeTL.TEMP/index.js +15 -16
  144. package/es/element/PipeNodes/NodeTR/index.js +19 -20
  145. package/es/element/PipeNodes/NodeTop/index.js +19 -20
  146. package/es/element/PipeNodes/NodeVertical/index.js +19 -20
  147. package/es/element/PointCard/PointCard1/Component.js +10 -18
  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 +15 -16
  151. package/es/element/PointCard/PointCard2/Component/PointItem.js +10 -18
  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 +11 -12
  155. package/es/element/PointCard/PointCard2/index.js +15 -16
  156. package/es/element/PointCard/PointCard3/Component.js +10 -18
  157. package/es/element/PointCard/PointCard3/PropsSet/IconPropsSet/index.js +9 -9
  158. package/es/element/PointCard/PointCard3/index.js +15 -16
  159. package/es/element/PointCard/PointListCard/Component.js +18 -26
  160. package/es/element/PointCard/PointListCard/index.js +15 -16
  161. package/es/element/PointControl/PointControl1/Component.js +15 -23
  162. package/es/element/PointControl/PointControl1/index.js +15 -16
  163. package/es/element/PointControl/PointControl3/Component.js +15 -23
  164. package/es/element/PointControl/PointControl3/PropsSet/IconPropsSet/index.js +5 -5
  165. package/es/element/PointControl/PointControl3/index.js +15 -16
  166. package/es/element/nodeBase.js +16 -18
  167. package/es/element/reactShapeBase.js +16 -18
  168. package/es/element/type.d.ts +2 -4
  169. package/es/element/utils/handleEleEvent.js +0 -3
  170. package/es/element/utils/pointWrite.js +10 -10
  171. package/es/graph/graphCore.js +10 -20
  172. package/es/graph/tools/ToolTipTool.js +22 -23
  173. package/es/hooks/useCMDKey.js +5 -5
  174. package/es/hooks/useEleEventHandle.js +1 -7
  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 +43 -76
  180. package/es/pages/display/components/Tools/index.js +5 -5
  181. package/es/pages/display/index.js +20 -28
  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 +0 -1
  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 +26 -16
  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 +16 -33
  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 +11 -12
  206. package/es/pages/editor/PanelTop/HotKeyDescribe/index.js +1 -1
  207. package/es/pages/editor/PanelTop/Save/index.js +15 -15
  208. package/es/pages/editor/PanelTop/ZoomControl/index.js +5 -5
  209. package/es/pages/editor/PanelTop/index.js +11 -11
  210. package/es/pages/editor/index.js +6 -7
  211. package/es/services/common/Uploader.js +11 -11
  212. package/es/services/gateway/CompanyConfiguration.js +12 -12
  213. package/es/services/gateway/Device.js +26 -26
  214. package/es/services/gateway/DeviceAuthorizationApply.js +13 -13
  215. package/es/services/gateway/DeviceGroup.js +14 -14
  216. package/es/services/gateway/Gateway.js +26 -26
  217. package/es/services/gateway/GatewayGroup.js +13 -13
  218. package/es/services/gateway/Point.js +14 -14
  219. package/es/services/gateway/UserDevice.js +13 -13
  220. package/es/services/master/Func.js +10 -10
  221. package/es/services/master/Role.js +15 -15
  222. package/es/services/master/User.js +19 -19
  223. package/es/services/product/ConfigurationImg.js +12 -12
  224. package/es/services/product/ConfigurationImgGroup.js +12 -12
  225. package/es/services/product/DeviceType.js +10 -10
  226. package/es/services/product/Identifier.js +10 -10
  227. package/es/services/product/PointEnum.js +12 -12
  228. package/es/services/product/PointGroup.js +13 -13
  229. package/es/services/product/Product.js +23 -23
  230. package/es/services/product/ProductCompany.js +16 -16
  231. package/es/services/project/ProjectGateway.js +11 -11
  232. package/es/services/project/ProjectResource.js +16 -16
  233. package/es/services/project/ProjectRole.js +21 -21
  234. package/es/services/project/ProjectUserPermission.js +17 -17
  235. package/es/services/project/Subarea.js +18 -18
  236. package/es/services/project/UserSubarea.js +11 -11
  237. package/es/services/request.js +14 -20
  238. package/es/utils/auth.js +4 -2
  239. package/es/utils/events.js +6 -0
  240. package/es/utils/index.js +5 -5
  241. package/es/utils/queryToObject.js +8 -8
  242. package/package.json +1 -1
@@ -1,34 +1,33 @@
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); }
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); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleBorderBox5Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-border-box5';
19
19
  var EleBorderBox5 = /*#__PURE__*/function (_ReactShapeBase) {
20
- _inherits(EleBorderBox5, _ReactShapeBase);
21
- var _super = _createSuper(EleBorderBox5);
22
20
  function EleBorderBox5() {
23
21
  var _this;
24
22
  _classCallCheck(this, EleBorderBox5);
25
23
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
24
  args[_key] = arguments[_key];
27
25
  }
28
- _this = _super.call.apply(_super, [this].concat(args));
26
+ _this = _callSuper(this, EleBorderBox5, [].concat(args));
29
27
  _this.shapeName = shapeName;
30
28
  return _this;
31
29
  }
30
+ _inherits(EleBorderBox5, _ReactShapeBase);
32
31
  return _createClass(EleBorderBox5);
33
32
  }(ReactShapeBase);
34
33
  EleBorderBox5.shapeName = shapeName;
@@ -1,34 +1,33 @@
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); }
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); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleBorderBox6Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-border-box6';
19
19
  var EleBorderBox6 = /*#__PURE__*/function (_ReactShapeBase) {
20
- _inherits(EleBorderBox6, _ReactShapeBase);
21
- var _super = _createSuper(EleBorderBox6);
22
20
  function EleBorderBox6() {
23
21
  var _this;
24
22
  _classCallCheck(this, EleBorderBox6);
25
23
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
24
  args[_key] = arguments[_key];
27
25
  }
28
- _this = _super.call.apply(_super, [this].concat(args));
26
+ _this = _callSuper(this, EleBorderBox6, [].concat(args));
29
27
  _this.shapeName = shapeName;
30
28
  return _this;
31
29
  }
30
+ _inherits(EleBorderBox6, _ReactShapeBase);
32
31
  return _createClass(EleBorderBox6);
33
32
  }(ReactShapeBase);
34
33
  EleBorderBox6.shapeName = shapeName;
@@ -1,9 +1,9 @@
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); }
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
7
  import React from "react";
8
8
  import { useRef, memo } from 'react';
9
9
  import { useSize } from 'ahooks';
@@ -1,34 +1,33 @@
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); }
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); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleBorderBox7Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-border-box7';
19
19
  var EleBorderBox7 = /*#__PURE__*/function (_ReactShapeBase) {
20
- _inherits(EleBorderBox7, _ReactShapeBase);
21
- var _super = _createSuper(EleBorderBox7);
22
20
  function EleBorderBox7() {
23
21
  var _this;
24
22
  _classCallCheck(this, EleBorderBox7);
25
23
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
24
  args[_key] = arguments[_key];
27
25
  }
28
- _this = _super.call.apply(_super, [this].concat(args));
26
+ _this = _callSuper(this, EleBorderBox7, [].concat(args));
29
27
  _this.shapeName = shapeName;
30
28
  return _this;
31
29
  }
30
+ _inherits(EleBorderBox7, _ReactShapeBase);
32
31
  return _createClass(EleBorderBox7);
33
32
  }(ReactShapeBase);
34
33
  EleBorderBox7.shapeName = shapeName;
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _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(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; }
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; }
7
7
  import React from "react";
8
8
  import { useMemo, useRef, useState, memo } from 'react';
9
9
  import { useSize } from 'ahooks';
@@ -1,34 +1,33 @@
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); }
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); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleBorderBox8Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-border-box8';
19
19
  var EleBorderBox8 = /*#__PURE__*/function (_ReactShapeBase) {
20
- _inherits(EleBorderBox8, _ReactShapeBase);
21
- var _super = _createSuper(EleBorderBox8);
22
20
  function EleBorderBox8() {
23
21
  var _this;
24
22
  _classCallCheck(this, EleBorderBox8);
25
23
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
24
  args[_key] = arguments[_key];
27
25
  }
28
- _this = _super.call.apply(_super, [this].concat(args));
26
+ _this = _callSuper(this, EleBorderBox8, [].concat(args));
29
27
  _this.shapeName = shapeName;
30
28
  return _this;
31
29
  }
30
+ _inherits(EleBorderBox8, _ReactShapeBase);
32
31
  return _createClass(EleBorderBox8);
33
32
  }(ReactShapeBase);
34
33
  EleBorderBox8.shapeName = shapeName;
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _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(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; }
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; }
7
7
  import React from "react";
8
8
  import { useRef, useState, memo } from 'react';
9
9
  import { useSize } from 'ahooks';
@@ -1,34 +1,33 @@
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); }
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); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleBorderBox9Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-border-box9';
19
19
  var EleBorderBox9 = /*#__PURE__*/function (_ReactShapeBase) {
20
- _inherits(EleBorderBox9, _ReactShapeBase);
21
- var _super = _createSuper(EleBorderBox9);
22
20
  function EleBorderBox9() {
23
21
  var _this;
24
22
  _classCallCheck(this, EleBorderBox9);
25
23
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
24
  args[_key] = arguments[_key];
27
25
  }
28
- _this = _super.call.apply(_super, [this].concat(args));
26
+ _this = _callSuper(this, EleBorderBox9, [].concat(args));
29
27
  _this.shapeName = shapeName;
30
28
  return _this;
31
29
  }
30
+ _inherits(EleBorderBox9, _ReactShapeBase);
32
31
  return _createClass(EleBorderBox9);
33
32
  }(ReactShapeBase);
34
33
  EleBorderBox9.shapeName = shapeName;
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _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(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; }
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; }
7
7
  import React from "react";
8
8
  import { useEffect } from 'react';
9
9
  import { Form } from 'antd';
@@ -1,9 +1,9 @@
1
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
1
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _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(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; }
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; }
7
7
  import React from "react";
8
8
  import { useMemo, useRef, memo } from 'react';
9
9
  import { useSize } from 'ahooks';
@@ -1,34 +1,33 @@
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); }
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); }
14
14
  import React from "react";
15
15
  import { Graph } from '@antv/x6';
16
16
  import EleDecoration1Component from "./Component";
17
17
  import { ReactShapeBase } from "../../reactShapeBase";
18
18
  export var shapeName = 'ele-decoration1';
19
19
  var EleDecoration1 = /*#__PURE__*/function (_ReactShapeBase) {
20
- _inherits(EleDecoration1, _ReactShapeBase);
21
- var _super = _createSuper(EleDecoration1);
22
20
  function EleDecoration1() {
23
21
  var _this;
24
22
  _classCallCheck(this, EleDecoration1);
25
23
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
24
  args[_key] = arguments[_key];
27
25
  }
28
- _this = _super.call.apply(_super, [this].concat(args));
26
+ _this = _callSuper(this, EleDecoration1, [].concat(args));
29
27
  _this.shapeName = shapeName;
30
28
  return _this;
31
29
  }
30
+ _inherits(EleDecoration1, _ReactShapeBase);
32
31
  return _createClass(EleDecoration1);
33
32
  }(ReactShapeBase);
34
33
  EleDecoration1.shapeName = shapeName;