coolcare-lite-scada-component 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/app.js +5 -5
- package/es/components/BoxShadowPicker/index.js +11 -11
- package/es/components/ColorPicker/index.js +11 -11
- package/es/components/DeviceSelect/DeviceTable.js +19 -18
- package/es/components/DeviceSelect/index.js +10 -10
- package/es/components/DialogExpression/ImagePicker/index.js +5 -5
- package/es/components/DialogExpression/index.js +13 -13
- package/es/components/DialogHistory/index.js +12 -12
- package/es/components/DialogIconPicker/index.js +5 -5
- package/es/components/DialogImagePicker/Gallery/index.js +14 -14
- package/es/components/DialogImagePicker/GroupPanel/index.js +10 -10
- package/es/components/DialogImagePicker/index.js +5 -5
- package/es/components/DialogPointWrite/PointItem.js +10 -10
- package/es/components/DialogPointWrite/index.js +11 -11
- package/es/components/ECharts/index.js +7 -7
- package/es/components/FontFamilySelect/list.js +1 -0
- package/es/components/FontStyleForm/index.js +11 -11
- package/es/components/FormBindPoint/FreedomScene.js +14 -14
- package/es/components/FormBindPoint/ProductionOrDeviceScene.js +14 -14
- package/es/components/FormIconSelect/index.js +5 -5
- package/es/components/FormNodeData/index.js +10 -9
- package/es/components/FormNodeData/utils/valueUtil.js +1 -1
- package/es/components/Icon/index.js +2 -1
- package/es/components/ImageUploader/index.js +17 -16
- package/es/components/LockBtn/index.js +5 -5
- package/es/components/Margin_Padding/index.js +8 -8
- package/es/components/ModalFanDevicePoint/index.js +12 -12
- package/es/components/MouseTooltip/index.js +11 -11
- package/es/components/PaddingPicker/index.js +11 -11
- package/es/components/PointInfoTip/index.js +15 -15
- package/es/components/PointSelect/DevicePointTable.js +5 -5
- package/es/components/PointSelect/ProductPointTable.js +5 -5
- package/es/components/PointSelect/index.js +13 -13
- package/es/components/Prompt/index.js +15 -15
- package/es/components/SliderWithInput/index.js +5 -5
- package/es/components/Switch/index.js +3 -3
- package/es/edge/EdgeLinePort/PropsSet/Flow.js +6 -6
- package/es/edge/EdgeLinePort/PropsSet/Line.js +6 -6
- package/es/edge/EdgeLinePort/PropsSet/Marker.js +6 -6
- package/es/edge/EdgeLinePort/index.js +16 -15
- package/es/edge/EdgePipe/PropsSet/Flow.js +6 -6
- package/es/edge/EdgePipe/PropsSet/Pipe.js +6 -6
- package/es/edge/EdgePipe/index.js +18 -16
- package/es/element/BasicShape/Circle/index.js +18 -16
- package/es/element/BasicShape/CommentBox/index.js +18 -16
- package/es/element/BasicShape/CommentBox2/index.js +18 -16
- package/es/element/BasicShape/Ellipse/index.js +18 -16
- package/es/element/BasicShape/Heart/index.js +18 -16
- package/es/element/BasicShape/Lightning/index.js +18 -16
- package/es/element/BasicShape/PropsForm/index.js +5 -5
- package/es/element/BasicShape/Rectangle/index.js +18 -16
- package/es/element/BasicShape/Star/index.js +18 -16
- package/es/element/BorderBox/BorderBox1/index.js +16 -15
- package/es/element/BorderBox/BorderBox10/Component.js +6 -6
- package/es/element/BorderBox/BorderBox10/index.js +16 -15
- package/es/element/BorderBox/BorderBox12/index.js +16 -15
- package/es/element/BorderBox/BorderBox13/index.js +16 -15
- package/es/element/BorderBox/BorderBox2/index.js +16 -15
- package/es/element/BorderBox/BorderBox3/index.js +16 -15
- package/es/element/BorderBox/BorderBox4/index.js +16 -15
- package/es/element/BorderBox/BorderBox5/index.js +16 -15
- package/es/element/BorderBox/BorderBox6/index.js +16 -15
- package/es/element/BorderBox/BorderBox7/Component.js +6 -6
- package/es/element/BorderBox/BorderBox7/index.js +16 -15
- package/es/element/BorderBox/BorderBox8/Component.js +5 -5
- package/es/element/BorderBox/BorderBox8/index.js +16 -15
- package/es/element/BorderBox/BorderBox9/Component.js +5 -5
- package/es/element/BorderBox/BorderBox9/index.js +16 -15
- package/es/element/BorderBox/PropsSet/ColorSet.js +5 -5
- package/es/element/Decoration/Decoration1/Component.js +5 -5
- package/es/element/Decoration/Decoration1/index.js +16 -15
- package/es/element/Decoration/Decoration10/index.js +16 -15
- package/es/element/Decoration/Decoration2/index.js +16 -15
- package/es/element/Decoration/Decoration3/Component.js +5 -5
- package/es/element/Decoration/Decoration3/index.js +16 -15
- package/es/element/Decoration/Decoration4/index.js +16 -15
- package/es/element/Decoration/Decoration5/index.js +16 -15
- package/es/element/Decoration/Decoration6/Component.js +11 -11
- package/es/element/Decoration/Decoration6/index.js +16 -15
- package/es/element/Decoration/Decoration8/Component.js +5 -5
- package/es/element/Decoration/Decoration8/index.js +16 -15
- package/es/element/Decoration/PropsSet/ColorSet.js +5 -5
- package/es/element/EleButton/Component.js +18 -10
- package/es/element/EleButton/index.js +16 -15
- package/es/element/EleClock/Component.js +11 -11
- package/es/element/EleClock/index.js +16 -15
- package/es/element/EleContainer/PropsSet/OtherPropsSet/index.js +5 -5
- package/es/element/EleContainer/index.js +16 -15
- package/es/element/EleDeviceName/Component.js +10 -10
- package/es/element/EleDeviceName/PropsSet/FormBindDevice/index.js +5 -5
- package/es/element/EleDeviceName/index.js +16 -15
- package/es/element/EleDeviceState/Component.js +16 -15
- package/es/element/EleDeviceState/PropsSet/FormBindDevice/index.js +5 -5
- package/es/element/EleDeviceState/index.js +16 -15
- package/es/element/EleDeviceUpdateTime/Component.js +10 -10
- package/es/element/EleDeviceUpdateTime/PropsSet/FormBindDevice/index.js +5 -5
- package/es/element/EleDeviceUpdateTime/index.js +16 -15
- package/es/element/EleFan/Component.js +19 -11
- package/es/element/EleFan/PropsSet/FormBindPoint/index.js +15 -15
- package/es/element/EleFan/PropsSet/index.js +5 -5
- package/es/element/EleFan/index.js +16 -15
- package/es/element/EleFanBySvg/PropsSet/FormBindPoint/index.js +15 -15
- package/es/element/EleFanBySvg/index.js +27 -22
- package/es/element/EleGauge/Component.js +23 -15
- package/es/element/EleGauge/PropsSet/OtherPropsSet/index.js +11 -11
- package/es/element/EleGauge/index.js +16 -15
- package/es/element/EleIcon/Component.js +18 -10
- package/es/element/EleIcon/PropsSet/IconPropsSet/index.js +5 -5
- package/es/element/EleIcon/index.js +16 -15
- package/es/element/EleImage/index.js +17 -16
- package/es/element/EleIndicatorLight/Component.js +18 -10
- package/es/element/EleIndicatorLight/PropsSet/ColorPropsSet/index.js +5 -5
- package/es/element/EleIndicatorLight/index.js +16 -15
- package/es/element/ElePointImage/Component.js +12 -4
- package/es/element/ElePointImage/PropsSet/ImagePropsSet/index.js +11 -11
- package/es/element/ElePointImage/index.js +16 -15
- package/es/element/ElePointList/Component.js +11 -11
- package/es/element/ElePointList/index.js +16 -15
- package/es/element/ElePointState/Component.js +18 -10
- package/es/element/ElePointState/PropsSet/IconPropsSet/index.js +5 -5
- package/es/element/ElePointState/index.js +16 -15
- package/es/element/ElePointValue/Component.js +18 -10
- package/es/element/ElePointValue/PropsSet/GlobalPropSet/index.js +11 -11
- package/es/element/ElePointValue/PropsSet/ValuePropsSet/index.js +11 -11
- package/es/element/ElePointValue/index.js +16 -15
- package/es/element/EleShine/Component.js +18 -10
- package/es/element/EleShine/PropsSet/OtherPropsSet/index.js +5 -5
- package/es/element/EleShine/index.js +16 -15
- package/es/element/EleState/index.js +19 -17
- package/es/element/EleSvg/index.js +16 -15
- package/es/element/EleSwitch/Component.js +5 -5
- package/es/element/EleSwitch/index.js +16 -15
- package/es/element/EleText/Component.js +6 -6
- package/es/element/EleText/index.js +18 -16
- package/es/element/PipeNodes/NodeBL/index.js +20 -19
- package/es/element/PipeNodes/NodeBR/index.js +20 -19
- package/es/element/PipeNodes/NodeBottom/index.js +20 -19
- package/es/element/PipeNodes/NodeCenter/index.js +20 -19
- package/es/element/PipeNodes/NodeHorizontal/index.js +20 -19
- package/es/element/PipeNodes/NodeLeft/index.js +20 -19
- package/es/element/PipeNodes/NodeRight/index.js +20 -19
- package/es/element/PipeNodes/NodeTL/index.js +20 -19
- package/es/element/PipeNodes/NodeTL.TEMP/index.js +16 -15
- package/es/element/PipeNodes/NodeTR/index.js +20 -19
- package/es/element/PipeNodes/NodeTop/index.js +20 -19
- package/es/element/PipeNodes/NodeVertical/index.js +20 -19
- package/es/element/PointCard/PointCard1/Component.js +18 -10
- package/es/element/PointCard/PointCard1/PropsSet/IconPropsSet/index.js +5 -5
- package/es/element/PointCard/PointCard1/PropsSet/PointValuePropsSet/index.js +11 -11
- package/es/element/PointCard/PointCard1/index.js +16 -15
- package/es/element/PointCard/PointCard2/Component/PointItem.js +18 -10
- package/es/element/PointCard/PointCard2/Component/PointItemPlaceholder.js +6 -6
- package/es/element/PointCard/PointCard2/Component/index.js +11 -11
- package/es/element/PointCard/PointCard2/PropsSet/PointItemSetDrawer/index.js +12 -11
- package/es/element/PointCard/PointCard2/index.js +16 -15
- package/es/element/PointCard/PointCard3/Component.js +18 -10
- package/es/element/PointCard/PointCard3/PropsSet/IconPropsSet/index.js +9 -9
- package/es/element/PointCard/PointCard3/index.js +16 -15
- package/es/element/PointCard/PointListCard/Component.js +26 -18
- package/es/element/PointCard/PointListCard/index.js +16 -15
- package/es/element/PointControl/PointControl1/Component.js +23 -15
- package/es/element/PointControl/PointControl1/index.js +16 -15
- package/es/element/PointControl/PointControl3/Component.js +23 -15
- package/es/element/PointControl/PointControl3/PropsSet/IconPropsSet/index.js +5 -5
- package/es/element/PointControl/PointControl3/index.js +16 -15
- package/es/element/nodeBase.js +18 -16
- package/es/element/reactShapeBase.js +18 -16
- package/es/element/type.d.ts +4 -2
- package/es/element/utils/handleEleEvent.js +3 -0
- package/es/element/utils/pointWrite.js +10 -10
- package/es/graph/graphCore.js +20 -10
- package/es/graph/tools/ToolTipTool.js +23 -22
- package/es/hooks/useCMDKey.js +5 -5
- package/es/hooks/useEleEventHandle.js +7 -1
- package/es/hooks/useForceUpdate.js +5 -5
- package/es/hooks/usePointWatch.js +5 -5
- package/es/models/useEditor.js +12 -12
- package/es/models/useElePanel.js +5 -5
- package/es/pages/display/Player/index.js +76 -43
- package/es/pages/display/components/Tools/index.js +5 -5
- package/es/pages/display/index.js +27 -19
- package/es/pages/document.ejs +1 -1
- package/es/pages/editor/Palette/PaletteDropdown/index.js +5 -5
- package/es/pages/editor/Palette/index.js +6 -6
- package/es/pages/editor/PanelLeft/BasicShapeList/index.js +1 -0
- package/es/pages/editor/PanelLeft/BasicShapeList/listData.js +8 -8
- package/es/pages/editor/PanelLeft/GroupManageDialog/index.js +22 -22
- package/es/pages/editor/PanelLeft/ImgConfigDialog/index.js +17 -17
- package/es/pages/editor/PanelLeft/ImgGroup/index.js +15 -15
- package/es/pages/editor/PanelLeft/MetaEleList/listData.js +14 -14
- package/es/pages/editor/PanelLeft/MineImgGroup/index.js +13 -13
- package/es/pages/editor/PanelLeft/PipeEleList/listData.js +11 -11
- package/es/pages/editor/PanelLeft/PointCardEleList/listData.js +6 -6
- package/es/pages/editor/PanelLeft/RecommendEleList/listData.js +4 -4
- package/es/pages/editor/PanelLeft/SystemImgGroupList/index.js +10 -10
- package/es/pages/editor/PanelLeft/index.js +5 -5
- package/es/pages/editor/PanelRight/components/FormBindEvent/index.js +33 -16
- package/es/pages/editor/PanelRight/components/FormEleBorderStyle/index.js +11 -11
- package/es/pages/editor/PanelRight/components/FormEleLayout/index.js +11 -11
- package/es/pages/editor/PanelRight/components/FormFillStyle/index.js +11 -11
- package/es/pages/editor/PanelRight/components/FormFontStyle/index.js +11 -11
- package/es/pages/editor/PanelRight/components/FormLayer/index.js +12 -12
- package/es/pages/editor/PanelRight/index.js +5 -5
- package/es/pages/editor/PanelTop/FullScreen/index.js +5 -5
- package/es/pages/editor/PanelTop/HistoryControl/index.js +12 -11
- package/es/pages/editor/PanelTop/Save/index.js +15 -15
- package/es/pages/editor/PanelTop/ZoomControl/index.js +5 -5
- package/es/pages/editor/PanelTop/index.js +11 -11
- package/es/pages/editor/index.js +7 -6
- package/es/services/common/Uploader.js +10 -10
- package/es/services/gateway/CompanyConfiguration.js +12 -12
- package/es/services/gateway/Device.js +26 -26
- package/es/services/gateway/DeviceAuthorizationApply.js +13 -13
- package/es/services/gateway/DeviceGroup.js +14 -14
- package/es/services/gateway/Gateway.js +26 -26
- package/es/services/gateway/GatewayGroup.js +13 -13
- package/es/services/gateway/Point.js +14 -14
- package/es/services/gateway/UserDevice.js +13 -13
- package/es/services/master/Func.js +10 -10
- package/es/services/master/Role.js +15 -15
- package/es/services/master/User.js +19 -19
- package/es/services/product/ConfigurationImg.js +12 -12
- package/es/services/product/ConfigurationImgGroup.js +12 -12
- package/es/services/product/DeviceType.js +10 -10
- package/es/services/product/Identifier.js +10 -10
- package/es/services/product/PointEnum.js +12 -12
- package/es/services/product/PointGroup.js +13 -13
- package/es/services/product/Product.js +23 -23
- package/es/services/product/ProductCompany.js +16 -16
- package/es/services/project/ProjectGateway.js +11 -11
- package/es/services/project/ProjectResource.js +16 -16
- package/es/services/project/ProjectRole.js +21 -21
- package/es/services/project/ProjectUserPermission.js +17 -17
- package/es/services/project/Subarea.js +18 -18
- package/es/services/project/UserSubarea.js +11 -11
- package/es/services/request.js +20 -14
- package/es/utils/auth.js +2 -4
- package/es/utils/events.js +0 -6
- package/es/utils/index.js +5 -5
- package/es/utils/queryToObject.js +8 -8
- package/package.json +1 -1
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _classCallCheck(
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
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 _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); } }
|
|
6
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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); }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
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); }
|
|
11
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
+
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); }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { Node } from '@antv/x6';
|
|
18
18
|
import portStyle from "../portStyle";
|
|
19
19
|
var shapeName = 'ele-pipe-br';
|
|
20
20
|
var ElePipeBR = /*#__PURE__*/function (_Node) {
|
|
21
|
+
_inherits(ElePipeBR, _Node);
|
|
22
|
+
var _super = _createSuper(ElePipeBR);
|
|
21
23
|
function ElePipeBR() {
|
|
22
24
|
var _this;
|
|
23
25
|
_classCallCheck(this, ElePipeBR);
|
|
24
26
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25
27
|
args[_key] = arguments[_key];
|
|
26
28
|
}
|
|
27
|
-
_this =
|
|
29
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
28
30
|
_this.shapeName = shapeName;
|
|
29
31
|
return _this;
|
|
30
32
|
}
|
|
31
|
-
_inherits(ElePipeBR, _Node);
|
|
32
33
|
return _createClass(ElePipeBR);
|
|
33
34
|
}(Node);
|
|
34
35
|
ElePipeBR.shapeName = shapeName;
|
|
@@ -43,7 +44,7 @@ export var defaultConfig = {
|
|
|
43
44
|
}],
|
|
44
45
|
attrs: {
|
|
45
46
|
body: {
|
|
46
|
-
xlinkHref: '/生产/组态图片/图片元素/7cdce2491ce3468aae034f531bf149d5.svg',
|
|
47
|
+
xlinkHref: 'https://front-end-assets.oss-cn-shanghai.aliyuncs.com/生产/组态图片/图片元素/7cdce2491ce3468aae034f531bf149d5.svg',
|
|
47
48
|
refWidth: '100%',
|
|
48
49
|
refHeight: '100%'
|
|
49
50
|
}
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _classCallCheck(
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
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 _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); } }
|
|
6
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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); }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
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); }
|
|
11
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
+
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); }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { Node } from '@antv/x6';
|
|
18
18
|
import portStyle from "../portStyle";
|
|
19
19
|
var shapeName = 'ele-pipe-bottom';
|
|
20
20
|
var ElePipeBottom = /*#__PURE__*/function (_Node) {
|
|
21
|
+
_inherits(ElePipeBottom, _Node);
|
|
22
|
+
var _super = _createSuper(ElePipeBottom);
|
|
21
23
|
function ElePipeBottom() {
|
|
22
24
|
var _this;
|
|
23
25
|
_classCallCheck(this, ElePipeBottom);
|
|
24
26
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25
27
|
args[_key] = arguments[_key];
|
|
26
28
|
}
|
|
27
|
-
_this =
|
|
29
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
28
30
|
_this.shapeName = shapeName;
|
|
29
31
|
return _this;
|
|
30
32
|
}
|
|
31
|
-
_inherits(ElePipeBottom, _Node);
|
|
32
33
|
return _createClass(ElePipeBottom);
|
|
33
34
|
}(Node);
|
|
34
35
|
ElePipeBottom.shapeName = shapeName;
|
|
@@ -43,7 +44,7 @@ export var defaultConfig = {
|
|
|
43
44
|
}],
|
|
44
45
|
attrs: {
|
|
45
46
|
body: {
|
|
46
|
-
xlinkHref: '
|
|
47
|
+
xlinkHref: 'https://front-end-assets.oss-cn-shanghai.aliyuncs.com/生产/组态图片/图片元素/2358402046b8439b9bee49814e5d94e3.svg',
|
|
47
48
|
refWidth: '100%',
|
|
48
49
|
refHeight: '100%'
|
|
49
50
|
}
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _classCallCheck(
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
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 _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); } }
|
|
6
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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); }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
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); }
|
|
11
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
+
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); }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { Node } from '@antv/x6';
|
|
18
18
|
import portStyle from "../portStyle";
|
|
19
19
|
var shapeName = 'ele-pipe-center';
|
|
20
20
|
var ElePipeCenter = /*#__PURE__*/function (_Node) {
|
|
21
|
+
_inherits(ElePipeCenter, _Node);
|
|
22
|
+
var _super = _createSuper(ElePipeCenter);
|
|
21
23
|
function ElePipeCenter() {
|
|
22
24
|
var _this;
|
|
23
25
|
_classCallCheck(this, ElePipeCenter);
|
|
24
26
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25
27
|
args[_key] = arguments[_key];
|
|
26
28
|
}
|
|
27
|
-
_this =
|
|
29
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
28
30
|
_this.shapeName = shapeName;
|
|
29
31
|
return _this;
|
|
30
32
|
}
|
|
31
|
-
_inherits(ElePipeCenter, _Node);
|
|
32
33
|
return _createClass(ElePipeCenter);
|
|
33
34
|
}(Node);
|
|
34
35
|
ElePipeCenter.shapeName = shapeName;
|
|
@@ -43,7 +44,7 @@ export var defaultConfig = {
|
|
|
43
44
|
}],
|
|
44
45
|
attrs: {
|
|
45
46
|
body: {
|
|
46
|
-
xlinkHref: '
|
|
47
|
+
xlinkHref: 'https://front-end-assets.oss-cn-shanghai.aliyuncs.com/生产/组态图片/图片元素/58225b888f6a48b9af4b21444700c6ba.svg',
|
|
47
48
|
refWidth: '100%',
|
|
48
49
|
refHeight: '100%'
|
|
49
50
|
}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _classCallCheck(
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
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 _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); } }
|
|
6
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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); }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
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); }
|
|
11
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
+
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); }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { Node } from '@antv/x6';
|
|
18
18
|
import portStyle from "../portStyle";
|
|
19
19
|
var ElePipeHorizontal = /*#__PURE__*/function (_Node) {
|
|
20
|
+
_inherits(ElePipeHorizontal, _Node);
|
|
21
|
+
var _super = _createSuper(ElePipeHorizontal);
|
|
20
22
|
function ElePipeHorizontal() {
|
|
21
23
|
var _this;
|
|
22
24
|
_classCallCheck(this, ElePipeHorizontal);
|
|
23
25
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
24
26
|
args[_key] = arguments[_key];
|
|
25
27
|
}
|
|
26
|
-
_this =
|
|
28
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
27
29
|
_this.shapeName = 'ele-pipe-horizontal';
|
|
28
30
|
return _this;
|
|
29
31
|
}
|
|
30
|
-
_inherits(ElePipeHorizontal, _Node);
|
|
31
32
|
return _createClass(ElePipeHorizontal);
|
|
32
33
|
}(Node);
|
|
33
34
|
ElePipeHorizontal.shapeName = 'ele-pipe-horizontal';
|
|
@@ -42,7 +43,7 @@ export var defaultConfig = {
|
|
|
42
43
|
}],
|
|
43
44
|
attrs: {
|
|
44
45
|
body: {
|
|
45
|
-
xlinkHref: '
|
|
46
|
+
xlinkHref: 'https://front-end-assets.oss-cn-shanghai.aliyuncs.com/生产/组态图片/图片元素/dd03192a3abc487aa7b91ad75d1be533.svg',
|
|
46
47
|
refWidth: '100%',
|
|
47
48
|
refHeight: '100%'
|
|
48
49
|
}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _classCallCheck(
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
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 _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); } }
|
|
6
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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); }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
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); }
|
|
11
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
+
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); }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { Node } from '@antv/x6';
|
|
18
18
|
import portStyle from "../portStyle";
|
|
19
19
|
var ElePipeLeft = /*#__PURE__*/function (_Node) {
|
|
20
|
+
_inherits(ElePipeLeft, _Node);
|
|
21
|
+
var _super = _createSuper(ElePipeLeft);
|
|
20
22
|
function ElePipeLeft() {
|
|
21
23
|
var _this;
|
|
22
24
|
_classCallCheck(this, ElePipeLeft);
|
|
23
25
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
24
26
|
args[_key] = arguments[_key];
|
|
25
27
|
}
|
|
26
|
-
_this =
|
|
28
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
27
29
|
_this.shapeName = 'ele-pipe-left';
|
|
28
30
|
return _this;
|
|
29
31
|
}
|
|
30
|
-
_inherits(ElePipeLeft, _Node);
|
|
31
32
|
return _createClass(ElePipeLeft);
|
|
32
33
|
}(Node);
|
|
33
34
|
ElePipeLeft.shapeName = 'ele-pipe-left';
|
|
@@ -42,7 +43,7 @@ export var defaultConfig = {
|
|
|
42
43
|
}],
|
|
43
44
|
attrs: {
|
|
44
45
|
body: {
|
|
45
|
-
xlinkHref: '/生产/组态图片/图片元素/834835fb0d60434d934eee07d18cfafc.svg',
|
|
46
|
+
xlinkHref: 'https://front-end-assets.oss-cn-shanghai.aliyuncs.com/生产/组态图片/图片元素/834835fb0d60434d934eee07d18cfafc.svg',
|
|
46
47
|
refWidth: '100%',
|
|
47
48
|
refHeight: '100%'
|
|
48
49
|
}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
9
|
-
function _classCallCheck(
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
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 _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); } }
|
|
6
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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); }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
|
+
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); }
|
|
11
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
+
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); }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { Node } from '@antv/x6';
|
|
18
18
|
import portStyle from "../portStyle";
|
|
19
19
|
var ElePipeLeft = /*#__PURE__*/function (_Node) {
|
|
20
|
+
_inherits(ElePipeLeft, _Node);
|
|
21
|
+
var _super = _createSuper(ElePipeLeft);
|
|
20
22
|
function ElePipeLeft() {
|
|
21
23
|
var _this;
|
|
22
24
|
_classCallCheck(this, ElePipeLeft);
|
|
23
25
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
24
26
|
args[_key] = arguments[_key];
|
|
25
27
|
}
|
|
26
|
-
_this =
|
|
28
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
27
29
|
_this.shapeName = 'ele-pipe-right';
|
|
28
30
|
return _this;
|
|
29
31
|
}
|
|
30
|
-
_inherits(ElePipeLeft, _Node);
|
|
31
32
|
return _createClass(ElePipeLeft);
|
|
32
33
|
}(Node);
|
|
33
34
|
ElePipeLeft.shapeName = 'ele-pipe-right';
|
|
@@ -42,7 +43,7 @@ export var defaultConfig = {
|
|
|
42
43
|
}],
|
|
43
44
|
attrs: {
|
|
44
45
|
body: {
|
|
45
|
-
xlinkHref: '
|
|
46
|
+
xlinkHref: 'https://front-end-assets.oss-cn-shanghai.aliyuncs.com/生产/组态图片/图片元素/40a74ebbf068410593fbc92442088fc7.svg',
|
|
46
47
|
refWidth: '100%',
|
|
47
48
|
refHeight: '100%'
|
|
48
49
|
}
|