coolcare-lite-scada-component 2.0.10 → 2.0.11

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 +19 -27
  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,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleCommentBox = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleCommentBox, _NodeBase);
17
- var _super = _createSuper(EleCommentBox);
18
16
  function EleCommentBox() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleCommentBox);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleCommentBox, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-comment-box';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleCommentBox, [{
27
+ _inherits(EleCommentBox, _NodeBase);
28
+ return _createClass(EleCommentBox, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleCommentBox = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleCommentBox;
41
39
  }(NodeBase);
42
40
  EleCommentBox.shapeName = 'ele-basic-shape-comment-box';
43
41
  export { EleCommentBox as default };
@@ -1,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleCommentBox2 = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleCommentBox2, _NodeBase);
17
- var _super = _createSuper(EleCommentBox2);
18
16
  function EleCommentBox2() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleCommentBox2);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleCommentBox2, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-comment-box2';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleCommentBox2, [{
27
+ _inherits(EleCommentBox2, _NodeBase);
28
+ return _createClass(EleCommentBox2, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleCommentBox2 = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleCommentBox2;
41
39
  }(NodeBase);
42
40
  EleCommentBox2.shapeName = 'ele-basic-shape-comment-box2';
43
41
  export { EleCommentBox2 as default };
@@ -1,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleEllipse = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleEllipse, _NodeBase);
17
- var _super = _createSuper(EleEllipse);
18
16
  function EleEllipse() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleEllipse);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleEllipse, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-ellipse';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleEllipse, [{
27
+ _inherits(EleEllipse, _NodeBase);
28
+ return _createClass(EleEllipse, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleEllipse = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleEllipse;
41
39
  }(NodeBase);
42
40
  EleEllipse.shapeName = 'ele-basic-shape-ellipse';
43
41
  export { EleEllipse as default };
@@ -1,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleHeart = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleHeart, _NodeBase);
17
- var _super = _createSuper(EleHeart);
18
16
  function EleHeart() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleHeart);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleHeart, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-heart';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleHeart, [{
27
+ _inherits(EleHeart, _NodeBase);
28
+ return _createClass(EleHeart, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleHeart = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleHeart;
41
39
  }(NodeBase);
42
40
  EleHeart.shapeName = 'ele-basic-shape-heart';
43
41
  export { EleHeart as default };
@@ -1,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleLightning = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleLightning, _NodeBase);
17
- var _super = _createSuper(EleLightning);
18
16
  function EleLightning() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleLightning);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleLightning, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-lightning';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleLightning, [{
27
+ _inherits(EleLightning, _NodeBase);
28
+ return _createClass(EleLightning, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleLightning = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleLightning;
41
39
  }(NodeBase);
42
40
  EleLightning.shapeName = 'ele-basic-shape-lightning';
43
41
  export { EleLightning as default };
@@ -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, InputNumber } from 'antd';
@@ -1,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleRectangle = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleRectangle, _NodeBase);
17
- var _super = _createSuper(EleRectangle);
18
16
  function EleRectangle() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleRectangle);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleRectangle, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-rectangle';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleRectangle, [{
27
+ _inherits(EleRectangle, _NodeBase);
28
+ return _createClass(EleRectangle, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleRectangle = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleRectangle;
41
39
  }(NodeBase);
42
40
  EleRectangle.shapeName = 'ele-basic-shape-rectangle';
43
41
  export { EleRectangle as default };
@@ -1,32 +1,31 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- 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); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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 _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ 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); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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 _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 { NodeBase } from "../../nodeBase";
15
15
  var EleStar = /*#__PURE__*/function (_NodeBase) {
16
- _inherits(EleStar, _NodeBase);
17
- var _super = _createSuper(EleStar);
18
16
  function EleStar() {
19
17
  var _this;
20
18
  _classCallCheck(this, EleStar);
21
19
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
22
20
  args[_key] = arguments[_key];
23
21
  }
24
- _this = _super.call.apply(_super, [this].concat(args));
22
+ _this = _callSuper(this, EleStar, [].concat(args));
25
23
  _this.shapeName = 'ele-basic-shape-star';
26
24
  _this.textEditable = true;
27
25
  return _this;
28
26
  }
29
- _createClass(EleStar, [{
27
+ _inherits(EleStar, _NodeBase);
28
+ return _createClass(EleStar, [{
30
29
  key: "getText",
31
30
  value: function getText(cell) {
32
31
  return cell.getAttrByPath('label/text');
@@ -37,7 +36,6 @@ var EleStar = /*#__PURE__*/function (_NodeBase) {
37
36
  cell.attr('label/text', value);
38
37
  }
39
38
  }]);
40
- return EleStar;
41
39
  }(NodeBase);
42
40
  EleStar.shapeName = 'ele-basic-shape-star';
43
41
  export { EleStar as default };