StructV2/dist/sv.js

1 line
3.7 MiB
JavaScript
Raw Normal View History

!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var l=e[i]={i:i,l:!1,exports:{}};return t[i].call(l.exports,l,l.exports,n),l.l=!0,l.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var l in t)n.d(i,l,function(e){return t[e]}.bind(null,l));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(module,exports,__webpack_require__){"use strict";eval('\r\nObject.defineProperty(exports, "__esModule", { value: true });\r\nexports.SV = void 0;\r\nconst engine_1 = __webpack_require__(8);\r\nconst boundingRect_1 = __webpack_require__(6);\r\nconst group_1 = __webpack_require__(5);\r\nconst externalPointer_1 = __webpack_require__(17);\r\nconst G6 = __webpack_require__(1);\r\nconst linkListNode_1 = __webpack_require__(18);\r\nconst binaryTreeNode_1 = __webpack_require__(19);\r\nconst twoCellNode_1 = __webpack_require__(20);\r\nconst vector_1 = __webpack_require__(7);\r\nconst indexedNode_1 = __webpack_require__(21);\r\nexports.SV = {\r\n Engine: engine_1.Engine,\r\n Group: group_1.Group,\r\n Bound: boundingRect_1.Bound,\r\n Vector: vector_1.Vector,\r\n Mat3: G6.Util.mat3,\r\n G6,\r\n registeredShape: [\r\n externalPointer_1.default,\r\n linkListNode_1.default,\r\n binaryTreeNode_1.default,\r\n twoCellNode_1.default,\r\n indexedNode_1.default\r\n ],\r\n registeredLayouter: {},\r\n registerShape: G6.registerNode,\r\n registerLayouter(name, layouter) {\r\n exports.SV.registeredLayouter[name] = layouter;\r\n }\r\n};\r\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvU3RydWN0Vi50cz9iMTNkIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHdDQUFrQztBQUNsQyw4Q0FBOEM7QUFDOUMsdUNBQXVDO0FBQ3ZDLGtEQUFnRTtBQUNoRSxrQ0FBa0M7QUFDbEMsK0NBQTBEO0FBQzFELGlEQUE4RDtBQUM5RCw4Q0FBd0Q7QUFDeEQsd0NBQXlDO0FBQ3pDLDhDQUF3RDtBQU8zQyxVQUFFLEdBQUc7SUFDZCxNQUFNLEVBQUUsZUFBTTtJQUNkLEtBQUssRUFBRSxhQUFLO0lBQ1osS0FBSyxFQUFFLG9CQUFLO0lBQ1osTUFBTSxFQUFFLGVBQU07SUFDZCxJQUFJLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxJQUFJO0lBQ2xCLEVBQUU7SUFFRixlQUFlLEVBQUU7UUFDYix5QkFBZTtRQUNmLHNCQUFZO1FBQ1osd0JBQWM7UUFDZCxxQkFBVztRQUNYLHFCQUFXO0tBQ2Q7SUFFRCxrQkFBa0IsRUFBRSxFQUFJO0lBRXhCLGFBQWEsRUFBRSxFQUFFLENBQUMsWUFBWTtJQU85QixnQkFBZ0IsQ0FBQyxJQUFZLEVBQUUsUUFBUTtRQUNuQyxVQUFFLENBQUMsa0JBQWtCLENBQUMsSUFBSSxDQUFDLEdBQUcsUUFBUSxDQUFDO0lBQzNDLENBQUM7Q0F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