@syncfusion/ej2-react-diagrams 30.2.5 → 31.1.17
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/diConfig.json +3 -0
- package/dist/ej2-react-diagrams.min.js +2 -2
- package/dist/ej2-react-diagrams.umd.min.js +2 -2
- package/dist/ej2-react-diagrams.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-diagrams.es2015.js +1 -1
- package/dist/es6/ej2-react-diagrams.es2015.js.map +1 -1
- package/package.json +46 -16
- package/src/symbol-palette/symbolpalette.component.d.ts +5 -2
- package/src/symbol-palette/symbolpalette.component.js +1 -1
package/diConfig.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-diagrams.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 31.1.17
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionDiagrams")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionDiagrams"],e):"object"==typeof exports?exports.SyncfusionReactDiagrams=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionDiagrams")):t.SyncfusionReactDiagrams=e(t.SyncfusionReactBase,t.React,t.SyncfusionDiagrams)}(self,(t,e,n)=>(()=>{"use strict";var o={806:(t,e,n)=>{n.d(e,{b3:()=>v,Em:()=>C,wx:()=>f,BV:()=>m,Dj:()=>h,Eg:()=>y,Lo:()=>a,XM:()=>p,ME:()=>H,A$:()=>c,_L:()=>s,_g:()=>A,B:()=>w,ax:()=>x,fk:()=>b,OK:()=>j,Yu:()=>D,XL:()=>R,AF:()=>g});var o,r=n(705),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="layer",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="layers",e.moduleName="layers",e}(r.ComplexBase),u=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.moduleName="customCursor",e}(r.ComplexBase),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.propertyName="customCursor",e.moduleName="customCursors",e}(r.ComplexBase),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.moduleName="connector",e}(r.ComplexBase),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.propertyName="connectors",e.moduleName="connectors",e}(r.ComplexBase),d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.moduleName="connectorFixedUserHandle",e}(r.ComplexBase),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.propertyName="fixedUserHandles",e.moduleName="connectorFixedUserHandles",e}(r.ComplexBase),_=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.moduleName="connectorAnnotation",e}(r.ComplexBase),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.propertyName="annotations",e.moduleName="connectorAnnotations",e}(r.ComplexBase),O=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.moduleName="node",e}(r.ComplexBase),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.propertyName="nodes",e.moduleName="nodes",e}(r.ComplexBase),P=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e.moduleName="nodeFixedUserHandle",e}(r.ComplexBase),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e.propertyName="fixedUserHandles",e.moduleName="nodeFixedUserHandles",e}(r.ComplexBase),N=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.moduleName="nodeAnnotation",e}(r.ComplexBase),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.propertyName="annotations",e.moduleName="nodeAnnotations",e}(r.ComplexBase),B=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return B(e,t),e.moduleName="port",e}(r.ComplexBase),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return B(e,t),e.propertyName="ports",e.moduleName="ports",e}(r.ComplexBase),F=n(24),U=n(724),M=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),H=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={layers:"layer",customCursors:"customCursor",connectors:{connector:{connectorFixedUserHandles:"connectorFixedUserHandle",connectorAnnotations:"connectorAnnotation"}},nodes:{node:{nodeFixedUserHandles:"nodeFixedUserHandle",nodeAnnotations:"nodeAnnotation",ports:"port"}}},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return M(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return F.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(U.Diagram);(0,r.applyMixins)(H,[r.ComponentBase,F.Component])},855:(t,e,n)=>{n.d(e,{C:()=>u});var o,r=n(24),i=n(724),c=n(705),s=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.isReactMock=!0,n.portals=[],n}return s(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(i.Overview);(0,c.applyMixins)(u,[c.ComponentBase,r.Component])},311:(t,e,n)=>{n.d(e,{Q9:()=>c,Xj:()=>s,n:()=>l});var o,r=n(705),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="palette",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="palettes",e.moduleName="palettes",e}(r.ComplexBase),u=n(24),a=n(724),p=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={palettes:"palette"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.isReactMock=!0,n.portals=[],n}return p(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return u.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(a.SymbolPalette);(0,r.applyMixins)(l,[r.ComponentBase,u.Component])},24:t=>{t.exports=e},724:t=>{t.exports=n},705:e=>{e.exports=t}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return o[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{ConnectorAnnotationDirective:()=>t.b3,ConnectorAnnotationsDirective:()=>t.Em,ConnectorDirective:()=>t.wx,ConnectorFixedUserHandleDirective:()=>t.BV,ConnectorFixedUserHandlesDirective:()=>t.Dj,ConnectorsDirective:()=>t.Eg,CustomCursorDirective:()=>t.Lo,CustomCursorsDirective:()=>t.XM,DiagramComponent:()=>t.ME,Inject:()=>o.Inject,LayerDirective:()=>t.A$,LayersDirective:()=>t._L,NodeAnnotationDirective:()=>t._g,NodeAnnotationsDirective:()=>t.B,NodeDirective:()=>t.ax,NodeFixedUserHandleDirective:()=>t.fk,NodeFixedUserHandlesDirective:()=>t.OK,NodesDirective:()=>t.Yu,OverviewComponent:()=>n.C,PaletteDirective:()=>e.Q9,PalettesDirective:()=>e.Xj,PortDirective:()=>t.XL,PortsDirective:()=>t.AF,SymbolPaletteComponent:()=>e.n});var t=i(806),e=i(311),n=i(855),o=i(705),r=i(724),s={};for(const t in r)["default","Inject","ConnectorAnnotationDirective","ConnectorAnnotationsDirective","ConnectorDirective","ConnectorFixedUserHandleDirective","ConnectorFixedUserHandlesDirective","ConnectorsDirective","CustomCursorDirective","CustomCursorsDirective","DiagramComponent","LayerDirective","LayersDirective","NodeAnnotationDirective","NodeAnnotationsDirective","NodeDirective","NodeFixedUserHandleDirective","NodeFixedUserHandlesDirective","NodesDirective","PortDirective","PortsDirective","PaletteDirective","PalettesDirective","SymbolPaletteComponent","OverviewComponent"].indexOf(t)<0&&(s[t]=()=>r[t]);i.d(c,s)})(),c})());
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionDiagrams")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionDiagrams"],e):"object"==typeof exports?exports.SyncfusionReactDiagrams=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionDiagrams")):t.SyncfusionReactDiagrams=e(t.SyncfusionReactBase,t.React,t.SyncfusionDiagrams)}(self,(t,e,n)=>(()=>{"use strict";var o={806:(t,e,n)=>{n.d(e,{b3:()=>v,Em:()=>C,wx:()=>f,BV:()=>m,Dj:()=>h,Eg:()=>y,Lo:()=>a,XM:()=>p,ME:()=>H,A$:()=>c,_L:()=>s,_g:()=>A,B:()=>w,ax:()=>x,fk:()=>b,OK:()=>j,Yu:()=>D,XL:()=>R,AF:()=>g});var o,r=n(705),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="layer",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="layers",e.moduleName="layers",e}(r.ComplexBase),u=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.moduleName="customCursor",e}(r.ComplexBase),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.propertyName="customCursor",e.moduleName="customCursors",e}(r.ComplexBase),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.moduleName="connector",e}(r.ComplexBase),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.propertyName="connectors",e.moduleName="connectors",e}(r.ComplexBase),d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.moduleName="connectorFixedUserHandle",e}(r.ComplexBase),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.propertyName="fixedUserHandles",e.moduleName="connectorFixedUserHandles",e}(r.ComplexBase),_=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.moduleName="connectorAnnotation",e}(r.ComplexBase),C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.propertyName="annotations",e.moduleName="connectorAnnotations",e}(r.ComplexBase),O=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.moduleName="node",e}(r.ComplexBase),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.propertyName="nodes",e.moduleName="nodes",e}(r.ComplexBase),P=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e.moduleName="nodeFixedUserHandle",e}(r.ComplexBase),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e.propertyName="fixedUserHandles",e.moduleName="nodeFixedUserHandles",e}(r.ComplexBase),N=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.moduleName="nodeAnnotation",e}(r.ComplexBase),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.propertyName="annotations",e.moduleName="nodeAnnotations",e}(r.ComplexBase),B=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return B(e,t),e.moduleName="port",e}(r.ComplexBase),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return B(e,t),e.propertyName="ports",e.moduleName="ports",e}(r.ComplexBase),F=n(24),U=n(724),M=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),H=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={layers:"layer",customCursors:"customCursor",connectors:{connector:{connectorFixedUserHandles:"connectorFixedUserHandle",connectorAnnotations:"connectorAnnotation"}},nodes:{node:{nodeFixedUserHandles:"nodeFixedUserHandle",nodeAnnotations:"nodeAnnotation",ports:"port"}}},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return M(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return F.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(U.Diagram);(0,r.applyMixins)(H,[r.ComponentBase,F.Component])},855:(t,e,n)=>{n.d(e,{C:()=>u});var o,r=n(24),i=n(724),c=n(705),s=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.isReactMock=!0,n.portals=[],n}return s(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(i.Overview);(0,c.applyMixins)(u,[c.ComponentBase,r.Component])},311:(t,e,n)=>{n.d(e,{Q9:()=>c,Xj:()=>s,n:()=>l});var o,r=n(705),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="palette",e}(r.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="palettes",e.moduleName="palettes",e}(r.ComplexBase),u=n(24),a=n(724),p=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={palettes:"palette"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return p(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return u.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(a.SymbolPalette);(0,r.applyMixins)(l,[r.ComponentBase,u.Component])},24:t=>{t.exports=e},724:t=>{t.exports=n},705:e=>{e.exports=t}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return o[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{ConnectorAnnotationDirective:()=>t.b3,ConnectorAnnotationsDirective:()=>t.Em,ConnectorDirective:()=>t.wx,ConnectorFixedUserHandleDirective:()=>t.BV,ConnectorFixedUserHandlesDirective:()=>t.Dj,ConnectorsDirective:()=>t.Eg,CustomCursorDirective:()=>t.Lo,CustomCursorsDirective:()=>t.XM,DiagramComponent:()=>t.ME,Inject:()=>o.Inject,LayerDirective:()=>t.A$,LayersDirective:()=>t._L,NodeAnnotationDirective:()=>t._g,NodeAnnotationsDirective:()=>t.B,NodeDirective:()=>t.ax,NodeFixedUserHandleDirective:()=>t.fk,NodeFixedUserHandlesDirective:()=>t.OK,NodesDirective:()=>t.Yu,OverviewComponent:()=>n.C,PaletteDirective:()=>e.Q9,PalettesDirective:()=>e.Xj,PortDirective:()=>t.XL,PortsDirective:()=>t.AF,SymbolPaletteComponent:()=>e.n});var t=i(806),e=i(311),n=i(855),o=i(705),r=i(724),s={};for(const t in r)["default","Inject","ConnectorAnnotationDirective","ConnectorAnnotationsDirective","ConnectorDirective","ConnectorFixedUserHandleDirective","ConnectorFixedUserHandlesDirective","ConnectorsDirective","CustomCursorDirective","CustomCursorsDirective","DiagramComponent","LayerDirective","LayersDirective","NodeAnnotationDirective","NodeAnnotationsDirective","NodeDirective","NodeFixedUserHandleDirective","NodeFixedUserHandlesDirective","NodesDirective","PortDirective","PortsDirective","PaletteDirective","PalettesDirective","SymbolPaletteComponent","OverviewComponent"].indexOf(t)<0&&(s[t]=()=>r[t]);i.d(c,s)})(),c})());
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-diagrams.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 31.1.17
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-diagrams")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-diagrams"],e):e((t=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Diagrams)}(this,function(e,t,o,n){"use strict";k=function(t,e){return(k=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var k,r,I=function(t,e){function o(){this.constructor=t}k(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},E=(r=t.ComplexBase,I(q,r),q.moduleName="layer",q);function q(){return null!==r&&r.apply(this,arguments)||this}i=t.ComplexBase,I(s,i),s.propertyName="layers",s.moduleName="layers";var i,I=s;function s(){return null!==i&&i.apply(this,arguments)||this}T=function(t,e){return(T=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var T,c,L=function(t,e){function o(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},S=(c=t.ComplexBase,L(z,c),z.moduleName="customCursor",z);function z(){return null!==c&&c.apply(this,arguments)||this}a=t.ComplexBase,L(p,a),p.propertyName="customCursor",p.moduleName="customCursors";var a,L=p;function p(){return null!==a&&a.apply(this,arguments)||this}G=function(t,e){return(G=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var G,u,J=function(t,e){function o(){this.constructor=t}G(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},K=(u=t.ComplexBase,J(Q,u),Q.moduleName="connector",Q);function Q(){return null!==u&&u.apply(this,arguments)||this}l=t.ComplexBase,J(f,l),f.propertyName="connectors",f.moduleName="connectors";var l,J=f;function f(){return null!==l&&l.apply(this,arguments)||this}V=function(t,e){return(V=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var V,y,W=function(t,e){function o(){this.constructor=t}V(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},X=(y=t.ComplexBase,W(Y,y),Y.moduleName="connectorFixedUserHandle",Y);function Y(){return null!==y&&y.apply(this,arguments)||this}d=t.ComplexBase,W(m,d),m.propertyName="fixedUserHandles",m.moduleName="connectorFixedUserHandles";var d,W=m;function m(){return null!==d&&d.apply(this,arguments)||this}Z=function(t,e){return(Z=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Z,h,$=function(t,e){function o(){this.constructor=t}Z(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},tt=(h=t.ComplexBase,$(et,h),et.moduleName="connectorAnnotation",et);function et(){return null!==h&&h.apply(this,arguments)||this}_=t.ComplexBase,$(v,_),v.propertyName="annotations",v.moduleName="connectorAnnotations";var _,$=v;function v(){return null!==_&&_.apply(this,arguments)||this}ot=function(t,e){return(ot=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var ot,O,nt=function(t,e){function o(){this.constructor=t}ot(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},rt=(O=t.ComplexBase,nt(it,O),it.moduleName="node",it);function it(){return null!==O&&O.apply(this,arguments)||this}C=t.ComplexBase,nt(j,C),j.propertyName="nodes",j.moduleName="nodes";var C,nt=j;function j(){return null!==C&&C.apply(this,arguments)||this}st=function(t,e){return(st=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var st,P,ct=function(t,e){function o(){this.constructor=t}st(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},at=(P=t.ComplexBase,ct(pt,P),pt.moduleName="nodeFixedUserHandle",pt);function pt(){return null!==P&&P.apply(this,arguments)||this}b=t.ComplexBase,ct(x,b),x.propertyName="fixedUserHandles",x.moduleName="nodeFixedUserHandles";var b,ct=x;function x(){return null!==b&&b.apply(this,arguments)||this}ut=function(t,e){return(ut=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var ut,N,lt=function(t,e){function o(){this.constructor=t}ut(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ft=(N=t.ComplexBase,lt(yt,N),yt.moduleName="nodeAnnotation",yt);function yt(){return null!==N&&N.apply(this,arguments)||this}w=t.ComplexBase,lt(A,w),A.propertyName="annotations",A.moduleName="nodeAnnotations";var w,lt=A;function A(){return null!==w&&w.apply(this,arguments)||this}dt=function(t,e){return(dt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var dt,D,mt=function(t,e){function o(){this.constructor=t}dt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ht=(D=t.ComplexBase,mt(_t,D),_t.moduleName="port",_t);function _t(){return null!==D&&D.apply(this,arguments)||this}B=t.ComplexBase,mt(R,B),R.propertyName="ports",R.moduleName="ports";var B,mt=R;function R(){return null!==B&&B.apply(this,arguments)||this}vt=function(t,e){return(vt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var vt,U,Ot=function(t,e){function o(){this.constructor=t}vt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Ot=(U=n.Diagram,Ot(Ct,U),Ct.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));U.prototype.render.call(this),this.initRenderCalled=!0},Ct);function Ct(t){t=U.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.directivekeys={layers:"layer",customCursors:"customCursor",connectors:{connector:{connectorFixedUserHandles:"connectorFixedUserHandle",connectorAnnotations:"connectorAnnotation"}},nodes:{node:{nodeFixedUserHandles:"nodeFixedUserHandle",nodeAnnotations:"nodeAnnotation",ports:"port"}}},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Ot,[t.ComponentBase,o.Component]);jt=function(t,e){return(jt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var jt,F,Pt=function(t,e){function o(){this.constructor=t}jt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},bt=(F=t.ComplexBase,Pt(xt,F),xt.moduleName="palette",xt);function xt(){return null!==F&&F.apply(this,arguments)||this}H=t.ComplexBase,Pt(g,H),g.propertyName="palettes",g.moduleName="palettes";var H,Pt=g;function g(){return null!==H&&H.apply(this,arguments)||this}Nt=function(t,e){return(Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Nt,M,wt=function(t,e){function o(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},wt=(M=n.SymbolPalette,wt(At,M),At.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},At);function At(t){t=M.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.directivekeys={palettes:"palette"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(wt,[t.ComponentBase,o.Component]);Dt=function(t,e){return(Dt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Dt,Bt,Rt=function(t,e){function o(){this.constructor=t}Dt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Rt=(Bt=n.Overview,Rt(Ut,Bt),Ut.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));Bt.prototype.render.call(this),this.initRenderCalled=!0},Ut);function Ut(t){t=Bt.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Rt,[t.ComponentBase,o.Component]),Object.keys(n).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}),Object.defineProperty(e,"Inject",{enumerable:!0,get:function(){return t.Inject}}),e.ConnectorAnnotationDirective=tt,e.ConnectorAnnotationsDirective=$,e.ConnectorDirective=K,e.ConnectorFixedUserHandleDirective=X,e.ConnectorFixedUserHandlesDirective=W,e.ConnectorsDirective=J,e.CustomCursorDirective=S,e.CustomCursorsDirective=L,e.DiagramComponent=Ot,e.LayerDirective=E,e.LayersDirective=I,e.NodeAnnotationDirective=ft,e.NodeAnnotationsDirective=lt,e.NodeDirective=rt,e.NodeFixedUserHandleDirective=at,e.NodeFixedUserHandlesDirective=ct,e.NodesDirective=nt,e.OverviewComponent=Rt,e.PaletteDirective=bt,e.PalettesDirective=Pt,e.PortDirective=ht,e.PortsDirective=mt,e.SymbolPaletteComponent=wt,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-diagrams")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-diagrams"],e):e((t=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Diagrams)}(this,function(e,t,o,n){"use strict";k=function(t,e){return(k=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var k,r,I=function(t,e){function o(){this.constructor=t}k(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},E=(r=t.ComplexBase,I(q,r),q.moduleName="layer",q);function q(){return null!==r&&r.apply(this,arguments)||this}i=t.ComplexBase,I(s,i),s.propertyName="layers",s.moduleName="layers";var i,I=s;function s(){return null!==i&&i.apply(this,arguments)||this}T=function(t,e){return(T=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var T,c,L=function(t,e){function o(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},S=(c=t.ComplexBase,L(z,c),z.moduleName="customCursor",z);function z(){return null!==c&&c.apply(this,arguments)||this}a=t.ComplexBase,L(p,a),p.propertyName="customCursor",p.moduleName="customCursors";var a,L=p;function p(){return null!==a&&a.apply(this,arguments)||this}G=function(t,e){return(G=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var G,u,J=function(t,e){function o(){this.constructor=t}G(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},K=(u=t.ComplexBase,J(Q,u),Q.moduleName="connector",Q);function Q(){return null!==u&&u.apply(this,arguments)||this}l=t.ComplexBase,J(f,l),f.propertyName="connectors",f.moduleName="connectors";var l,J=f;function f(){return null!==l&&l.apply(this,arguments)||this}V=function(t,e){return(V=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var V,y,W=function(t,e){function o(){this.constructor=t}V(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},X=(y=t.ComplexBase,W(Y,y),Y.moduleName="connectorFixedUserHandle",Y);function Y(){return null!==y&&y.apply(this,arguments)||this}d=t.ComplexBase,W(m,d),m.propertyName="fixedUserHandles",m.moduleName="connectorFixedUserHandles";var d,W=m;function m(){return null!==d&&d.apply(this,arguments)||this}Z=function(t,e){return(Z=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Z,h,$=function(t,e){function o(){this.constructor=t}Z(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},tt=(h=t.ComplexBase,$(et,h),et.moduleName="connectorAnnotation",et);function et(){return null!==h&&h.apply(this,arguments)||this}_=t.ComplexBase,$(v,_),v.propertyName="annotations",v.moduleName="connectorAnnotations";var _,$=v;function v(){return null!==_&&_.apply(this,arguments)||this}ot=function(t,e){return(ot=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var ot,O,nt=function(t,e){function o(){this.constructor=t}ot(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},rt=(O=t.ComplexBase,nt(it,O),it.moduleName="node",it);function it(){return null!==O&&O.apply(this,arguments)||this}C=t.ComplexBase,nt(j,C),j.propertyName="nodes",j.moduleName="nodes";var C,nt=j;function j(){return null!==C&&C.apply(this,arguments)||this}st=function(t,e){return(st=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var st,P,ct=function(t,e){function o(){this.constructor=t}st(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},at=(P=t.ComplexBase,ct(pt,P),pt.moduleName="nodeFixedUserHandle",pt);function pt(){return null!==P&&P.apply(this,arguments)||this}b=t.ComplexBase,ct(x,b),x.propertyName="fixedUserHandles",x.moduleName="nodeFixedUserHandles";var b,ct=x;function x(){return null!==b&&b.apply(this,arguments)||this}ut=function(t,e){return(ut=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var ut,N,lt=function(t,e){function o(){this.constructor=t}ut(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ft=(N=t.ComplexBase,lt(yt,N),yt.moduleName="nodeAnnotation",yt);function yt(){return null!==N&&N.apply(this,arguments)||this}w=t.ComplexBase,lt(A,w),A.propertyName="annotations",A.moduleName="nodeAnnotations";var w,lt=A;function A(){return null!==w&&w.apply(this,arguments)||this}dt=function(t,e){return(dt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var dt,D,mt=function(t,e){function o(){this.constructor=t}dt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ht=(D=t.ComplexBase,mt(_t,D),_t.moduleName="port",_t);function _t(){return null!==D&&D.apply(this,arguments)||this}B=t.ComplexBase,mt(R,B),R.propertyName="ports",R.moduleName="ports";var B,mt=R;function R(){return null!==B&&B.apply(this,arguments)||this}vt=function(t,e){return(vt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var vt,U,Ot=function(t,e){function o(){this.constructor=t}vt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Ot=(U=n.Diagram,Ot(Ct,U),Ct.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));U.prototype.render.call(this),this.initRenderCalled=!0},Ct);function Ct(t){t=U.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.directivekeys={layers:"layer",customCursors:"customCursor",connectors:{connector:{connectorFixedUserHandles:"connectorFixedUserHandle",connectorAnnotations:"connectorAnnotation"}},nodes:{node:{nodeFixedUserHandles:"nodeFixedUserHandle",nodeAnnotations:"nodeAnnotation",ports:"port"}}},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Ot,[t.ComponentBase,o.Component]);jt=function(t,e){return(jt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var jt,F,Pt=function(t,e){function o(){this.constructor=t}jt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},bt=(F=t.ComplexBase,Pt(xt,F),xt.moduleName="palette",xt);function xt(){return null!==F&&F.apply(this,arguments)||this}H=t.ComplexBase,Pt(g,H),g.propertyName="palettes",g.moduleName="palettes";var H,Pt=g;function g(){return null!==H&&H.apply(this,arguments)||this}Nt=function(t,e){return(Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Nt,M,wt=function(t,e){function o(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},wt=(M=n.SymbolPalette,wt(At,M),At.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},At);function At(t){t=M.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.directivekeys={palettes:"palette"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(wt,[t.ComponentBase,o.Component]);Dt=function(t,e){return(Dt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Dt,Bt,Rt=function(t,e){function o(){this.constructor=t}Dt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Rt=(Bt=n.Overview,Rt(Ut,Bt),Ut.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));Bt.prototype.render.call(this),this.initRenderCalled=!0},Ut);function Ut(t){t=Bt.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Rt,[t.ComponentBase,o.Component]),Object.keys(n).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}),Object.defineProperty(e,"Inject",{enumerable:!0,get:function(){return t.Inject}}),e.ConnectorAnnotationDirective=tt,e.ConnectorAnnotationsDirective=$,e.ConnectorDirective=K,e.ConnectorFixedUserHandleDirective=X,e.ConnectorFixedUserHandlesDirective=W,e.ConnectorsDirective=J,e.CustomCursorDirective=S,e.CustomCursorsDirective=L,e.DiagramComponent=Ot,e.LayerDirective=E,e.LayersDirective=I,e.NodeAnnotationDirective=ft,e.NodeAnnotationsDirective=lt,e.NodeDirective=rt,e.NodeFixedUserHandleDirective=at,e.NodeFixedUserHandlesDirective=ct,e.NodesDirective=nt,e.OverviewComponent=Rt,e.PaletteDirective=bt,e.PalettesDirective=Pt,e.PortDirective=ht,e.PortsDirective=mt,e.SymbolPaletteComponent=wt,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-diagrams.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-diagrams.umd.min.js","sources":["../src/diagram/layers-directive.js","../src/diagram/customcursor-directive.js","../src/diagram/connectors-directive.js","../src/diagram/connector-fixeduserhandle-directive.js","../src/diagram/connector-annotation-directive.js","../src/diagram/nodes-directive.js","../src/diagram/node-fixeduserhandle-directive.js","../src/diagram/node-annotation-directive.js","../src/diagram/ports-directive.js","../src/diagram/diagram.component.js","../src/symbol-palette/palettes-directive.js","../src/symbol-palette/symbolpalette.component.js","../src/overview/overview.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Layers Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <LayersDirective>\n * <LayerDirective></LayerDirective>\n * </LayersDirective>\n * </DiagramComponent>\n * ```\n */\nvar LayerDirective = /** @class */ (function (_super) {\n __extends(LayerDirective, _super);\n function LayerDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LayerDirective.moduleName = 'layer';\n return LayerDirective;\n}(ComplexBase));\nexport { LayerDirective };\nvar LayersDirective = /** @class */ (function (_super) {\n __extends(LayersDirective, _super);\n function LayersDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LayersDirective.propertyName = 'layers';\n LayersDirective.moduleName = 'layers';\n return LayersDirective;\n}(ComplexBase));\nexport { LayersDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `custormaps Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <CustormapsDirective>\n * <CustormapDirective></CustormapDirective>\n * </CustormapsDirective>\n * </DiagramComponent>\n * ```\n */\nvar CustomCursorDirective = /** @class */ (function (_super) {\n __extends(CustomCursorDirective, _super);\n function CustomCursorDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CustomCursorDirective.moduleName = 'customCursor';\n return CustomCursorDirective;\n}(ComplexBase));\nexport { CustomCursorDirective };\nvar CustomCursorsDirective = /** @class */ (function (_super) {\n __extends(CustomCursorsDirective, _super);\n function CustomCursorsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CustomCursorsDirective.propertyName = 'customCursor';\n CustomCursorsDirective.moduleName = 'customCursors';\n return CustomCursorsDirective;\n}(ComplexBase));\nexport { CustomCursorsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ConnectorsDirective` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective></ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nvar ConnectorDirective = /** @class */ (function (_super) {\n __extends(ConnectorDirective, _super);\n function ConnectorDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorDirective.moduleName = 'connector';\n return ConnectorDirective;\n}(ComplexBase));\nexport { ConnectorDirective };\nvar ConnectorsDirective = /** @class */ (function (_super) {\n __extends(ConnectorsDirective, _super);\n function ConnectorsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorsDirective.propertyName = 'connectors';\n ConnectorsDirective.moduleName = 'connectors';\n return ConnectorsDirective;\n}(ComplexBase));\nexport { ConnectorsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Connector` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorFixedUserHandlesDirective>\n * <ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandlesDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nvar ConnectorFixedUserHandleDirective = /** @class */ (function (_super) {\n __extends(ConnectorFixedUserHandleDirective, _super);\n function ConnectorFixedUserHandleDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorFixedUserHandleDirective.moduleName = 'connectorFixedUserHandle';\n return ConnectorFixedUserHandleDirective;\n}(ComplexBase));\nexport { ConnectorFixedUserHandleDirective };\nvar ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {\n __extends(ConnectorFixedUserHandlesDirective, _super);\n function ConnectorFixedUserHandlesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\n ConnectorFixedUserHandlesDirective.moduleName = 'connectorFixedUserHandles';\n return ConnectorFixedUserHandlesDirective;\n}(ComplexBase));\nexport { ConnectorFixedUserHandlesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Annotation` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorAnnotationsDirective>\n * <ConnectorAnnotationDirective>\n * </ConnectorAnnotationDirective>\n * </ConnectorAnnotationsDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nvar ConnectorAnnotationDirective = /** @class */ (function (_super) {\n __extends(ConnectorAnnotationDirective, _super);\n function ConnectorAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorAnnotationDirective.moduleName = 'connectorAnnotation';\n return ConnectorAnnotationDirective;\n}(ComplexBase));\nexport { ConnectorAnnotationDirective };\nvar ConnectorAnnotationsDirective = /** @class */ (function (_super) {\n __extends(ConnectorAnnotationsDirective, _super);\n function ConnectorAnnotationsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorAnnotationsDirective.propertyName = 'annotations';\n ConnectorAnnotationsDirective.moduleName = 'connectorAnnotations';\n return ConnectorAnnotationsDirective;\n}(ComplexBase));\nexport { ConnectorAnnotationsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `NodesDirective` directive represent a nodes of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective></NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar NodeDirective = /** @class */ (function (_super) {\n __extends(NodeDirective, _super);\n function NodeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeDirective.moduleName = 'node';\n return NodeDirective;\n}(ComplexBase));\nexport { NodeDirective };\nvar NodesDirective = /** @class */ (function (_super) {\n __extends(NodesDirective, _super);\n function NodesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodesDirective.propertyName = 'nodes';\n NodesDirective.moduleName = 'nodes';\n return NodesDirective;\n}(ComplexBase));\nexport { NodesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeFixedUserHandlesDirective>\n * <NodeFixedUserHandleDirective>\n * </NodeFixedUserHandleDirective>\n * </NodeFixedUserHandlesDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar NodeFixedUserHandleDirective = /** @class */ (function (_super) {\n __extends(NodeFixedUserHandleDirective, _super);\n function NodeFixedUserHandleDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeFixedUserHandleDirective.moduleName = 'nodeFixedUserHandle';\n return NodeFixedUserHandleDirective;\n}(ComplexBase));\nexport { NodeFixedUserHandleDirective };\nvar NodeFixedUserHandlesDirective = /** @class */ (function (_super) {\n __extends(NodeFixedUserHandlesDirective, _super);\n function NodeFixedUserHandlesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\n NodeFixedUserHandlesDirective.moduleName = 'nodeFixedUserHandles';\n return NodeFixedUserHandlesDirective;\n}(ComplexBase));\nexport { NodeFixedUserHandlesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeAnnotationsDirective>\n * <NodeAnnotationDirective>\n * </NodeAnnotationDirective>\n * </NodeAnnotationsDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar NodeAnnotationDirective = /** @class */ (function (_super) {\n __extends(NodeAnnotationDirective, _super);\n function NodeAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeAnnotationDirective.moduleName = 'nodeAnnotation';\n return NodeAnnotationDirective;\n}(ComplexBase));\nexport { NodeAnnotationDirective };\nvar NodeAnnotationsDirective = /** @class */ (function (_super) {\n __extends(NodeAnnotationsDirective, _super);\n function NodeAnnotationsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeAnnotationsDirective.propertyName = 'annotations';\n NodeAnnotationsDirective.moduleName = 'nodeAnnotations';\n return NodeAnnotationsDirective;\n}(ComplexBase));\nexport { NodeAnnotationsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a port of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <PortCollectionDirective>\n * <PortDirective>\n * </PortDirective>\n * </PortCollectionDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar PortDirective = /** @class */ (function (_super) {\n __extends(PortDirective, _super);\n function PortDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PortDirective.moduleName = 'port';\n return PortDirective;\n}(ComplexBase));\nexport { PortDirective };\nvar PortsDirective = /** @class */ (function (_super) {\n __extends(PortsDirective, _super);\n function PortsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PortsDirective.propertyName = 'ports';\n PortsDirective.moduleName = 'ports';\n return PortsDirective;\n}(ComplexBase));\nexport { PortsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Diagram } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Diagram Component\n * ```tsx\n * <DiagramComponent></DiagramComponent>\n * ```\n */\nvar DiagramComponent = /** @class */ (function (_super) {\n __extends(DiagramComponent, _super);\n function DiagramComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'layers': 'layer', 'customCursors': 'customCursor', 'connectors': { 'connector': { 'connectorFixedUserHandles': 'connectorFixedUserHandle', 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeFixedUserHandles': 'nodeFixedUserHandle', 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n DiagramComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DiagramComponent;\n}(Diagram));\nexport { DiagramComponent };\napplyMixins(DiagramComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Palette` directive represent a axis palette of the react SymbolPalette.\n * It must be contained in a SymbolPalette component(`SymbolPaletteComponent`).\n * ```tsx\n * <SymbolPaletteComponent>\n * <PalettesDirective>\n * <PaletteDirective></PaletteDirective>\n * </PalettesDirective>\n * </SymbolPaletteComponent>\n * ```\n */\nvar PaletteDirective = /** @class */ (function (_super) {\n __extends(PaletteDirective, _super);\n function PaletteDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PaletteDirective.moduleName = 'palette';\n return PaletteDirective;\n}(ComplexBase));\nexport { PaletteDirective };\nvar PalettesDirective = /** @class */ (function (_super) {\n __extends(PalettesDirective, _super);\n function PalettesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PalettesDirective.propertyName = 'palettes';\n PalettesDirective.moduleName = 'palettes';\n return PalettesDirective;\n}(ComplexBase));\nexport { PalettesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { SymbolPalette } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react SymbolPalette Component\n * ```tsx\n * <SymbolPaletteComponent></SymbolPaletteComponent>\n * ```\n */\nvar SymbolPaletteComponent = /** @class */ (function (_super) {\n __extends(SymbolPaletteComponent, _super);\n function SymbolPaletteComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'palettes': 'palette' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n SymbolPaletteComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SymbolPaletteComponent;\n}(SymbolPalette));\nexport { SymbolPaletteComponent };\napplyMixins(SymbolPaletteComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Overview } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Overview Component\n * ```tsx\n * <OverviewComponent></OverviewComponent>\n * ```\n */\nvar OverviewComponent = /** @class */ (function (_super) {\n __extends(OverviewComponent, _super);\n function OverviewComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n OverviewComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return OverviewComponent;\n}(Overview));\nexport { OverviewComponent };\napplyMixins(OverviewComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","LayerDirective","ComplexBase","moduleName","apply","arguments","LayersDirective","propertyName","CustomCursorDirective","CustomCursorsDirective","ConnectorDirective","ConnectorsDirective","ConnectorFixedUserHandleDirective","ConnectorFixedUserHandlesDirective","ConnectorAnnotationDirective","ConnectorAnnotationsDirective","NodeDirective","NodesDirective","NodeFixedUserHandleDirective","NodeFixedUserHandlesDirective","NodeAnnotationDirective","NodeAnnotationsDirective","PortDirective","PortsDirective","DiagramComponent","Diagram","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","layers","customCursors","connectors","connector","connectorFixedUserHandles","connectorAnnotations","nodes","node","nodeFixedUserHandles","nodeAnnotations","ports","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component","PaletteDirective","PalettesDirective","SymbolPaletteComponent","SymbolPalette","palettes","OverviewComponent","Overview"],"mappings":"qYACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAwBsCS,EAzB1CC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAenFK,GAA0CP,EAO5CQ,cANEP,EAAUM,EAAgBP,CAAM,EAIhCO,EAAeE,WAAa,QACrBF,GAJP,SAASA,IACL,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AoB,MAAOnC,KAAKoC,uBAAwB,GAAGC,OAAOrC,KAAKsC,MAAMC,SAAUvC,KAAKwC,OAAO,CAAC,EAJ3G3C,GAAOK,UAAU2B,OAAOY,KAAKzC,IAAI,EACjCA,KAAKgC,iBAAmB,CAAA,GAMzBkC,IArBP,SAASA,GAAkB5B,GACnBI,EAAQ7C,GAAO4C,KAAKzC,KAAMsC,CAAK,GAAKtC,KAQxC,OAPA0C,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAMc,uBAAyB,KAC/Bd,EAAMe,cAAgB,KACtBf,EAAMgB,gBAAkB,CAAA,EACxBhB,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHwB,GAAmB,CAACP,gBAAeC,YAAgB"}
|
|
1
|
+
{"version":3,"file":"ej2-react-diagrams.umd.min.js","sources":["../src/diagram/layers-directive.js","../src/diagram/customcursor-directive.js","../src/diagram/connectors-directive.js","../src/diagram/connector-fixeduserhandle-directive.js","../src/diagram/connector-annotation-directive.js","../src/diagram/nodes-directive.js","../src/diagram/node-fixeduserhandle-directive.js","../src/diagram/node-annotation-directive.js","../src/diagram/ports-directive.js","../src/diagram/diagram.component.js","../src/symbol-palette/palettes-directive.js","../src/symbol-palette/symbolpalette.component.js","../src/overview/overview.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Layers Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <LayersDirective>\n * <LayerDirective></LayerDirective>\n * </LayersDirective>\n * </DiagramComponent>\n * ```\n */\nvar LayerDirective = /** @class */ (function (_super) {\n __extends(LayerDirective, _super);\n function LayerDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LayerDirective.moduleName = 'layer';\n return LayerDirective;\n}(ComplexBase));\nexport { LayerDirective };\nvar LayersDirective = /** @class */ (function (_super) {\n __extends(LayersDirective, _super);\n function LayersDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LayersDirective.propertyName = 'layers';\n LayersDirective.moduleName = 'layers';\n return LayersDirective;\n}(ComplexBase));\nexport { LayersDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `custormaps Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <CustormapsDirective>\n * <CustormapDirective></CustormapDirective>\n * </CustormapsDirective>\n * </DiagramComponent>\n * ```\n */\nvar CustomCursorDirective = /** @class */ (function (_super) {\n __extends(CustomCursorDirective, _super);\n function CustomCursorDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CustomCursorDirective.moduleName = 'customCursor';\n return CustomCursorDirective;\n}(ComplexBase));\nexport { CustomCursorDirective };\nvar CustomCursorsDirective = /** @class */ (function (_super) {\n __extends(CustomCursorsDirective, _super);\n function CustomCursorsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CustomCursorsDirective.propertyName = 'customCursor';\n CustomCursorsDirective.moduleName = 'customCursors';\n return CustomCursorsDirective;\n}(ComplexBase));\nexport { CustomCursorsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ConnectorsDirective` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective></ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nvar ConnectorDirective = /** @class */ (function (_super) {\n __extends(ConnectorDirective, _super);\n function ConnectorDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorDirective.moduleName = 'connector';\n return ConnectorDirective;\n}(ComplexBase));\nexport { ConnectorDirective };\nvar ConnectorsDirective = /** @class */ (function (_super) {\n __extends(ConnectorsDirective, _super);\n function ConnectorsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorsDirective.propertyName = 'connectors';\n ConnectorsDirective.moduleName = 'connectors';\n return ConnectorsDirective;\n}(ComplexBase));\nexport { ConnectorsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Connector` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorFixedUserHandlesDirective>\n * <ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandlesDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nvar ConnectorFixedUserHandleDirective = /** @class */ (function (_super) {\n __extends(ConnectorFixedUserHandleDirective, _super);\n function ConnectorFixedUserHandleDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorFixedUserHandleDirective.moduleName = 'connectorFixedUserHandle';\n return ConnectorFixedUserHandleDirective;\n}(ComplexBase));\nexport { ConnectorFixedUserHandleDirective };\nvar ConnectorFixedUserHandlesDirective = /** @class */ (function (_super) {\n __extends(ConnectorFixedUserHandlesDirective, _super);\n function ConnectorFixedUserHandlesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\n ConnectorFixedUserHandlesDirective.moduleName = 'connectorFixedUserHandles';\n return ConnectorFixedUserHandlesDirective;\n}(ComplexBase));\nexport { ConnectorFixedUserHandlesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Annotation` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorAnnotationsDirective>\n * <ConnectorAnnotationDirective>\n * </ConnectorAnnotationDirective>\n * </ConnectorAnnotationsDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nvar ConnectorAnnotationDirective = /** @class */ (function (_super) {\n __extends(ConnectorAnnotationDirective, _super);\n function ConnectorAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorAnnotationDirective.moduleName = 'connectorAnnotation';\n return ConnectorAnnotationDirective;\n}(ComplexBase));\nexport { ConnectorAnnotationDirective };\nvar ConnectorAnnotationsDirective = /** @class */ (function (_super) {\n __extends(ConnectorAnnotationsDirective, _super);\n function ConnectorAnnotationsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConnectorAnnotationsDirective.propertyName = 'annotations';\n ConnectorAnnotationsDirective.moduleName = 'connectorAnnotations';\n return ConnectorAnnotationsDirective;\n}(ComplexBase));\nexport { ConnectorAnnotationsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `NodesDirective` directive represent a nodes of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective></NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar NodeDirective = /** @class */ (function (_super) {\n __extends(NodeDirective, _super);\n function NodeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeDirective.moduleName = 'node';\n return NodeDirective;\n}(ComplexBase));\nexport { NodeDirective };\nvar NodesDirective = /** @class */ (function (_super) {\n __extends(NodesDirective, _super);\n function NodesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodesDirective.propertyName = 'nodes';\n NodesDirective.moduleName = 'nodes';\n return NodesDirective;\n}(ComplexBase));\nexport { NodesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeFixedUserHandlesDirective>\n * <NodeFixedUserHandleDirective>\n * </NodeFixedUserHandleDirective>\n * </NodeFixedUserHandlesDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar NodeFixedUserHandleDirective = /** @class */ (function (_super) {\n __extends(NodeFixedUserHandleDirective, _super);\n function NodeFixedUserHandleDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeFixedUserHandleDirective.moduleName = 'nodeFixedUserHandle';\n return NodeFixedUserHandleDirective;\n}(ComplexBase));\nexport { NodeFixedUserHandleDirective };\nvar NodeFixedUserHandlesDirective = /** @class */ (function (_super) {\n __extends(NodeFixedUserHandlesDirective, _super);\n function NodeFixedUserHandlesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\n NodeFixedUserHandlesDirective.moduleName = 'nodeFixedUserHandles';\n return NodeFixedUserHandlesDirective;\n}(ComplexBase));\nexport { NodeFixedUserHandlesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeAnnotationsDirective>\n * <NodeAnnotationDirective>\n * </NodeAnnotationDirective>\n * </NodeAnnotationsDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar NodeAnnotationDirective = /** @class */ (function (_super) {\n __extends(NodeAnnotationDirective, _super);\n function NodeAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeAnnotationDirective.moduleName = 'nodeAnnotation';\n return NodeAnnotationDirective;\n}(ComplexBase));\nexport { NodeAnnotationDirective };\nvar NodeAnnotationsDirective = /** @class */ (function (_super) {\n __extends(NodeAnnotationsDirective, _super);\n function NodeAnnotationsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NodeAnnotationsDirective.propertyName = 'annotations';\n NodeAnnotationsDirective.moduleName = 'nodeAnnotations';\n return NodeAnnotationsDirective;\n}(ComplexBase));\nexport { NodeAnnotationsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a port of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <PortCollectionDirective>\n * <PortDirective>\n * </PortDirective>\n * </PortCollectionDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nvar PortDirective = /** @class */ (function (_super) {\n __extends(PortDirective, _super);\n function PortDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PortDirective.moduleName = 'port';\n return PortDirective;\n}(ComplexBase));\nexport { PortDirective };\nvar PortsDirective = /** @class */ (function (_super) {\n __extends(PortsDirective, _super);\n function PortsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PortsDirective.propertyName = 'ports';\n PortsDirective.moduleName = 'ports';\n return PortsDirective;\n}(ComplexBase));\nexport { PortsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Diagram } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Diagram Component\n * ```tsx\n * <DiagramComponent></DiagramComponent>\n * ```\n */\nvar DiagramComponent = /** @class */ (function (_super) {\n __extends(DiagramComponent, _super);\n function DiagramComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'layers': 'layer', 'customCursors': 'customCursor', 'connectors': { 'connector': { 'connectorFixedUserHandles': 'connectorFixedUserHandle', 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeFixedUserHandles': 'nodeFixedUserHandle', 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n DiagramComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DiagramComponent;\n}(Diagram));\nexport { DiagramComponent };\napplyMixins(DiagramComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Palette` directive represent a axis palette of the react SymbolPalette.\n * It must be contained in a SymbolPalette component(`SymbolPaletteComponent`).\n * ```tsx\n * <SymbolPaletteComponent>\n * <PalettesDirective>\n * <PaletteDirective></PaletteDirective>\n * </PalettesDirective>\n * </SymbolPaletteComponent>\n * ```\n */\nvar PaletteDirective = /** @class */ (function (_super) {\n __extends(PaletteDirective, _super);\n function PaletteDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PaletteDirective.moduleName = 'palette';\n return PaletteDirective;\n}(ComplexBase));\nexport { PaletteDirective };\nvar PalettesDirective = /** @class */ (function (_super) {\n __extends(PalettesDirective, _super);\n function PalettesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PalettesDirective.propertyName = 'palettes';\n PalettesDirective.moduleName = 'palettes';\n return PalettesDirective;\n}(ComplexBase));\nexport { PalettesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { SymbolPalette } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react SymbolPalette Component\n * ```tsx\n * <SymbolPaletteComponent></SymbolPaletteComponent>\n * ```\n */\nvar SymbolPaletteComponent = /** @class */ (function (_super) {\n __extends(SymbolPaletteComponent, _super);\n function SymbolPaletteComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'palettes': 'palette' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n SymbolPaletteComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SymbolPaletteComponent;\n}(SymbolPalette));\nexport { SymbolPaletteComponent };\napplyMixins(SymbolPaletteComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Overview } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Overview Component\n * ```tsx\n * <OverviewComponent></OverviewComponent>\n * ```\n */\nvar OverviewComponent = /** @class */ (function (_super) {\n __extends(OverviewComponent, _super);\n function OverviewComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n OverviewComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return OverviewComponent;\n}(Overview));\nexport { OverviewComponent };\napplyMixins(OverviewComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","LayerDirective","ComplexBase","moduleName","apply","arguments","LayersDirective","propertyName","CustomCursorDirective","CustomCursorsDirective","ConnectorDirective","ConnectorsDirective","ConnectorFixedUserHandleDirective","ConnectorFixedUserHandlesDirective","ConnectorAnnotationDirective","ConnectorAnnotationsDirective","NodeDirective","NodesDirective","NodeFixedUserHandleDirective","NodeFixedUserHandlesDirective","NodeAnnotationDirective","NodeAnnotationsDirective","PortDirective","PortsDirective","DiagramComponent","Diagram","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","layers","customCursors","connectors","connector","connectorFixedUserHandles","connectorAnnotations","nodes","node","nodeFixedUserHandles","nodeAnnotations","ports","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component","PaletteDirective","PalettesDirective","SymbolPaletteComponent","SymbolPalette","palettes","OverviewComponent","Overview"],"mappings":"qYACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAwBsCS,EAzB1CC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAenFK,GAA0CP,EAO5CQ,cANEP,EAAUM,EAAgBP,CAAM,EAIhCO,EAAeE,WAAa,QACrBF,GAJP,SAASA,IACL,OAAkB,OAAXP,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KAMpBH,EAQ7CQ,cAPEP,EAAUW,EAAiBZ,CAAM,EAIjCY,EAAgBC,aAAe,SAC/BD,EAAgBH,WAAa,aANcT,EAA3CY,EAOOA,EALP,SAASA,IACL,OAAkB,OAAXZ,GAAmBA,EAAOU,MA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KAAKzC,KAAMsC,CAAK,GAAKtC,KAQxC,OAPA0C,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAMc,uBAAyB,KAC/Bd,EAAMe,cAAgB,KACtBf,EAAMgB,gBAAkB,CAAA,EACxBhB,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHwB,GAAmB,CAACP,gBAAeC,YAAgB"}
|
|
@@ -264,7 +264,7 @@ class SymbolPaletteComponent extends SymbolPalette {
|
|
|
264
264
|
this.directivekeys = { 'palettes': 'palette' };
|
|
265
265
|
this.statelessTemplateProps = null;
|
|
266
266
|
this.templateProps = null;
|
|
267
|
-
this.immediateRender =
|
|
267
|
+
this.immediateRender = false;
|
|
268
268
|
this.isReactMock = true;
|
|
269
269
|
this.portals = [];
|
|
270
270
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-diagrams.es2015.js","sources":["../src/es6/diagram/layers-directive.js","../src/es6/diagram/customcursor-directive.js","../src/es6/diagram/connectors-directive.js","../src/es6/diagram/connector-fixeduserhandle-directive.js","../src/es6/diagram/connector-annotation-directive.js","../src/es6/diagram/nodes-directive.js","../src/es6/diagram/node-fixeduserhandle-directive.js","../src/es6/diagram/node-annotation-directive.js","../src/es6/diagram/ports-directive.js","../src/es6/diagram/diagram.component.js","../src/es6/symbol-palette/palettes-directive.js","../src/es6/symbol-palette/symbolpalette.component.js","../src/es6/overview/overview.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Layers Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <LayersDirective>\n * <LayerDirective></LayerDirective>\n * </LayersDirective>\n * </DiagramComponent>\n * ```\n */\nexport class LayerDirective extends ComplexBase {\n}\nLayerDirective.moduleName = 'layer';\nexport class LayersDirective extends ComplexBase {\n}\nLayersDirective.propertyName = 'layers';\nLayersDirective.moduleName = 'layers';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `custormaps Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <CustormapsDirective>\n * <CustormapDirective></CustormapDirective>\n * </CustormapsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class CustomCursorDirective extends ComplexBase {\n}\nCustomCursorDirective.moduleName = 'customCursor';\nexport class CustomCursorsDirective extends ComplexBase {\n}\nCustomCursorsDirective.propertyName = 'customCursor';\nCustomCursorsDirective.moduleName = 'customCursors';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ConnectorsDirective` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective></ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class ConnectorDirective extends ComplexBase {\n}\nConnectorDirective.moduleName = 'connector';\nexport class ConnectorsDirective extends ComplexBase {\n}\nConnectorsDirective.propertyName = 'connectors';\nConnectorsDirective.moduleName = 'connectors';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Connector` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorFixedUserHandlesDirective>\n * <ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandlesDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class ConnectorFixedUserHandleDirective extends ComplexBase {\n}\nConnectorFixedUserHandleDirective.moduleName = 'connectorFixedUserHandle';\nexport class ConnectorFixedUserHandlesDirective extends ComplexBase {\n}\nConnectorFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\nConnectorFixedUserHandlesDirective.moduleName = 'connectorFixedUserHandles';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Annotation` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorAnnotationsDirective>\n * <ConnectorAnnotationDirective>\n * </ConnectorAnnotationDirective>\n * </ConnectorAnnotationsDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class ConnectorAnnotationDirective extends ComplexBase {\n}\nConnectorAnnotationDirective.moduleName = 'connectorAnnotation';\nexport class ConnectorAnnotationsDirective extends ComplexBase {\n}\nConnectorAnnotationsDirective.propertyName = 'annotations';\nConnectorAnnotationsDirective.moduleName = 'connectorAnnotations';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `NodesDirective` directive represent a nodes of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective></NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class NodeDirective extends ComplexBase {\n}\nNodeDirective.moduleName = 'node';\nexport class NodesDirective extends ComplexBase {\n}\nNodesDirective.propertyName = 'nodes';\nNodesDirective.moduleName = 'nodes';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeFixedUserHandlesDirective>\n * <NodeFixedUserHandleDirective>\n * </NodeFixedUserHandleDirective>\n * </NodeFixedUserHandlesDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class NodeFixedUserHandleDirective extends ComplexBase {\n}\nNodeFixedUserHandleDirective.moduleName = 'nodeFixedUserHandle';\nexport class NodeFixedUserHandlesDirective extends ComplexBase {\n}\nNodeFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\nNodeFixedUserHandlesDirective.moduleName = 'nodeFixedUserHandles';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeAnnotationsDirective>\n * <NodeAnnotationDirective>\n * </NodeAnnotationDirective>\n * </NodeAnnotationsDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class NodeAnnotationDirective extends ComplexBase {\n}\nNodeAnnotationDirective.moduleName = 'nodeAnnotation';\nexport class NodeAnnotationsDirective extends ComplexBase {\n}\nNodeAnnotationsDirective.propertyName = 'annotations';\nNodeAnnotationsDirective.moduleName = 'nodeAnnotations';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a port of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <PortCollectionDirective>\n * <PortDirective>\n * </PortDirective>\n * </PortCollectionDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class PortDirective extends ComplexBase {\n}\nPortDirective.moduleName = 'port';\nexport class PortsDirective extends ComplexBase {\n}\nPortsDirective.propertyName = 'ports';\nPortsDirective.moduleName = 'ports';\n","import * as React from 'react';\nimport { Diagram } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Diagram Component\n * ```tsx\n * <DiagramComponent></DiagramComponent>\n * ```\n */\nexport class DiagramComponent extends Diagram {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'layers': 'layer', 'customCursors': 'customCursor', 'connectors': { 'connector': { 'connectorFixedUserHandles': 'connectorFixedUserHandle', 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeFixedUserHandles': 'nodeFixedUserHandle', 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DiagramComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Palette` directive represent a axis palette of the react SymbolPalette.\n * It must be contained in a SymbolPalette component(`SymbolPaletteComponent`).\n * ```tsx\n * <SymbolPaletteComponent>\n * <PalettesDirective>\n * <PaletteDirective></PaletteDirective>\n * </PalettesDirective>\n * </SymbolPaletteComponent>\n * ```\n */\nexport class PaletteDirective extends ComplexBase {\n}\nPaletteDirective.moduleName = 'palette';\nexport class PalettesDirective extends ComplexBase {\n}\nPalettesDirective.propertyName = 'palettes';\nPalettesDirective.moduleName = 'palettes';\n","import * as React from 'react';\nimport { SymbolPalette } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react SymbolPalette Component\n * ```tsx\n * <SymbolPaletteComponent></SymbolPaletteComponent>\n * ```\n */\nexport class SymbolPaletteComponent extends SymbolPalette {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'palettes': 'palette' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SymbolPaletteComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Overview } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Overview Component\n * ```tsx\n * <OverviewComponent></OverviewComponent>\n * ```\n */\nexport class OverviewComponent extends Overview {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(OverviewComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AAC7B,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ;;ACjBrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,qBAAqB,SAAS,WAAW,CAAC;AACvD,CAAC;AACD,qBAAqB,CAAC,UAAU,GAAG,cAAc,CAAC;AAClD,AAAO,MAAM,sBAAsB,SAAS,WAAW,CAAC;AACxD,CAAC;AACD,sBAAsB,CAAC,YAAY,GAAG,cAAc,CAAC;AACrD,sBAAsB,CAAC,UAAU,GAAG,eAAe,CAAC;;ACjBpD;AACA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M,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-react-diagrams.es2015.js","sources":["../src/es6/diagram/layers-directive.js","../src/es6/diagram/customcursor-directive.js","../src/es6/diagram/connectors-directive.js","../src/es6/diagram/connector-fixeduserhandle-directive.js","../src/es6/diagram/connector-annotation-directive.js","../src/es6/diagram/nodes-directive.js","../src/es6/diagram/node-fixeduserhandle-directive.js","../src/es6/diagram/node-annotation-directive.js","../src/es6/diagram/ports-directive.js","../src/es6/diagram/diagram.component.js","../src/es6/symbol-palette/palettes-directive.js","../src/es6/symbol-palette/symbolpalette.component.js","../src/es6/overview/overview.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Layers Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <LayersDirective>\n * <LayerDirective></LayerDirective>\n * </LayersDirective>\n * </DiagramComponent>\n * ```\n */\nexport class LayerDirective extends ComplexBase {\n}\nLayerDirective.moduleName = 'layer';\nexport class LayersDirective extends ComplexBase {\n}\nLayersDirective.propertyName = 'layers';\nLayersDirective.moduleName = 'layers';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `custormaps Directive` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <CustormapsDirective>\n * <CustormapDirective></CustormapDirective>\n * </CustormapsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class CustomCursorDirective extends ComplexBase {\n}\nCustomCursorDirective.moduleName = 'customCursor';\nexport class CustomCursorsDirective extends ComplexBase {\n}\nCustomCursorsDirective.propertyName = 'customCursor';\nCustomCursorsDirective.moduleName = 'customCursors';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ConnectorsDirective` directive represent a connectors of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective></ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class ConnectorDirective extends ComplexBase {\n}\nConnectorDirective.moduleName = 'connector';\nexport class ConnectorsDirective extends ComplexBase {\n}\nConnectorsDirective.propertyName = 'connectors';\nConnectorsDirective.moduleName = 'connectors';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Connector` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorFixedUserHandlesDirective>\n * <ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandleDirective>\n * </ConnectorFixedUserHandlesDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class ConnectorFixedUserHandleDirective extends ComplexBase {\n}\nConnectorFixedUserHandleDirective.moduleName = 'connectorFixedUserHandle';\nexport class ConnectorFixedUserHandlesDirective extends ComplexBase {\n}\nConnectorFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\nConnectorFixedUserHandlesDirective.moduleName = 'connectorFixedUserHandles';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Annotation` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <ConnectorsDirective>\n * <ConnectorDirective>\n * <ConnectorAnnotationsDirective>\n * <ConnectorAnnotationDirective>\n * </ConnectorAnnotationDirective>\n * </ConnectorAnnotationsDirective>\n * </ConnectorDirective>\n * </ConnectorsDirective>\n * </DiagramComponent>\n * ```\n */\nexport class ConnectorAnnotationDirective extends ComplexBase {\n}\nConnectorAnnotationDirective.moduleName = 'connectorAnnotation';\nexport class ConnectorAnnotationsDirective extends ComplexBase {\n}\nConnectorAnnotationsDirective.propertyName = 'annotations';\nConnectorAnnotationsDirective.moduleName = 'connectorAnnotations';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `NodesDirective` directive represent a nodes of the react diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective></NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class NodeDirective extends ComplexBase {\n}\nNodeDirective.moduleName = 'node';\nexport class NodesDirective extends ComplexBase {\n}\nNodesDirective.propertyName = 'nodes';\nNodesDirective.moduleName = 'nodes';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeFixedUserHandlesDirective>\n * <NodeFixedUserHandleDirective>\n * </NodeFixedUserHandleDirective>\n * </NodeFixedUserHandlesDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class NodeFixedUserHandleDirective extends ComplexBase {\n}\nNodeFixedUserHandleDirective.moduleName = 'nodeFixedUserHandle';\nexport class NodeFixedUserHandlesDirective extends ComplexBase {\n}\nNodeFixedUserHandlesDirective.propertyName = 'fixedUserHandles';\nNodeFixedUserHandlesDirective.moduleName = 'nodeFixedUserHandles';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a annotation of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <NodeAnnotationsDirective>\n * <NodeAnnotationDirective>\n * </NodeAnnotationDirective>\n * </NodeAnnotationsDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class NodeAnnotationDirective extends ComplexBase {\n}\nNodeAnnotationDirective.moduleName = 'nodeAnnotation';\nexport class NodeAnnotationsDirective extends ComplexBase {\n}\nNodeAnnotationsDirective.propertyName = 'annotations';\nNodeAnnotationsDirective.moduleName = 'nodeAnnotations';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Node` directive represent a port of the react Diagram.\n * It must be contained in a Diagram component(`DiagramComponent`).\n * ```tsx\n * <DiagramComponent>\n * <NodesDirective>\n * <NodeDirective>\n * <PortCollectionDirective>\n * <PortDirective>\n * </PortDirective>\n * </PortCollectionDirective>\n * </NodeDirective>\n * </NodesDirective>\n * </DiagramComponent>\n * ```\n */\nexport class PortDirective extends ComplexBase {\n}\nPortDirective.moduleName = 'port';\nexport class PortsDirective extends ComplexBase {\n}\nPortsDirective.propertyName = 'ports';\nPortsDirective.moduleName = 'ports';\n","import * as React from 'react';\nimport { Diagram } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Diagram Component\n * ```tsx\n * <DiagramComponent></DiagramComponent>\n * ```\n */\nexport class DiagramComponent extends Diagram {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'layers': 'layer', 'customCursors': 'customCursor', 'connectors': { 'connector': { 'connectorFixedUserHandles': 'connectorFixedUserHandle', 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeFixedUserHandles': 'nodeFixedUserHandle', 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DiagramComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `Palette` directive represent a axis palette of the react SymbolPalette.\n * It must be contained in a SymbolPalette component(`SymbolPaletteComponent`).\n * ```tsx\n * <SymbolPaletteComponent>\n * <PalettesDirective>\n * <PaletteDirective></PaletteDirective>\n * </PalettesDirective>\n * </SymbolPaletteComponent>\n * ```\n */\nexport class PaletteDirective extends ComplexBase {\n}\nPaletteDirective.moduleName = 'palette';\nexport class PalettesDirective extends ComplexBase {\n}\nPalettesDirective.propertyName = 'palettes';\nPalettesDirective.moduleName = 'palettes';\n","import * as React from 'react';\nimport { SymbolPalette } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react SymbolPalette Component\n * ```tsx\n * <SymbolPaletteComponent></SymbolPaletteComponent>\n * ```\n */\nexport class SymbolPaletteComponent extends SymbolPalette {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'palettes': 'palette' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SymbolPaletteComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Overview } from '@syncfusion/ej2-diagrams';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Overview Component\n * ```tsx\n * <OverviewComponent></OverviewComponent>\n * ```\n */\nexport class OverviewComponent extends Overview {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(OverviewComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AAC7B,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ;;ACjBrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,qBAAqB,SAAS,WAAW,CAAC;AACvD,CAAC;AACD,qBAAqB,CAAC,UAAU,GAAG,cAAc,CAAC;AAClD,AAAO,MAAM,sBAAsB,SAAS,WAAW,CAAC;AACxD,CAAC;AACD,sBAAsB,CAAC,YAAY,GAAG,cAAc,CAAC;AACrD,sBAAsB,CAAC,UAAU,GAAG,eAAe,CAAC;;ACjBpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,kBAAkB,SAAS,WAAW,CAAC;AACpD,CAAC;AACD,kBAAkB,CAAC,UAAU,GAAG,WAAW,CAAC;AAC5C,AAAO,MAAM,mBAAmB,SAAS,WAAW,CAAC;AACrD,CAAC;AACD,mBAAmB,CAAC,YAAY,GAAG,YAAY,CAAC;AAChD,mBAAmB,CAAC,UAAU,GAAG,YAAY,CAAC;;ACjB9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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ej2-react-diagrams@19.19.0",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-i+YXjv8tV9ND8RrVnhIVzcrvMzAl5P0bsyXwbajTWSdF1Uelsy8JZOjwsXS9j4bVm35XentdcebPCM9N5HU/gQ==",
|
|
6
|
+
"_location": "/@syncfusion/ej2-react-diagrams",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "range",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "@syncfusion/ej2-react-diagrams@*",
|
|
12
|
+
"name": "@syncfusion/ej2-react-diagrams",
|
|
13
|
+
"escapedName": "@syncfusion%2fej2-react-diagrams",
|
|
14
|
+
"scope": "@syncfusion",
|
|
15
|
+
"rawSpec": "*",
|
|
16
|
+
"saveSpec": null,
|
|
17
|
+
"fetchSpec": "*"
|
|
18
|
+
},
|
|
19
|
+
"_requiredBy": [
|
|
20
|
+
"/"
|
|
21
|
+
],
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-development/@syncfusion/ej2-react-diagrams/-/ej2-react-diagrams-19.19.0.tgz",
|
|
23
|
+
"_shasum": "1114b55244b18f2a901146a53583380931455b9e",
|
|
24
|
+
"_spec": "@syncfusion/ej2-react-diagrams@*",
|
|
25
|
+
"_where": "D:\\SF3992\\WFH\\Nexus\\release",
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Syncfusion Inc."
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/syncfusion/ej2-react-diagrams/issues"
|
|
31
|
+
},
|
|
32
|
+
"bundleDependencies": false,
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@syncfusion/ej2-base": "~31.1.17",
|
|
35
|
+
"@syncfusion/ej2-diagrams": "31.1.17",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~31.1.17"
|
|
37
|
+
},
|
|
38
|
+
"deprecated": false,
|
|
4
39
|
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts. for React",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
40
|
+
"devDependencies": {},
|
|
41
|
+
"es2015": "dist/es6/ej2-react-diagrams.es2015.js",
|
|
42
|
+
"homepage": "https://www.syncfusion.com/react-components",
|
|
7
43
|
"keywords": [
|
|
8
44
|
"react",
|
|
9
45
|
"react-diagrams",
|
|
10
46
|
"ej2-react-diagrams"
|
|
11
47
|
],
|
|
48
|
+
"license": "SEE LICENSE IN license",
|
|
49
|
+
"main": "./dist/ej2-react-diagrams.umd.min.js",
|
|
50
|
+
"module": "./index.js",
|
|
51
|
+
"name": "@syncfusion/ej2-react-diagrams",
|
|
12
52
|
"repository": {
|
|
13
53
|
"type": "git",
|
|
14
54
|
"url": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
15
55
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"es2015": "dist/es6/ej2-react-diagrams.es2015.js",
|
|
19
|
-
"readme": "ReadMe.md",
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@syncfusion/ej2-base": "~30.2.4",
|
|
22
|
-
"@syncfusion/ej2-react-base": "~30.2.4",
|
|
23
|
-
"@syncfusion/ej2-diagrams": "30.2.5"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {},
|
|
26
|
-
"sideEffects": true,
|
|
27
|
-
"homepage": "https://www.syncfusion.com/react-components"
|
|
56
|
+
"version": "31.1.17",
|
|
57
|
+
"sideEffects": true
|
|
28
58
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SymbolPalette, SymbolPaletteModel } from '@syncfusion/ej2-diagrams';
|
|
3
3
|
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
|
|
4
|
+
export interface SymbolPaletteTypecast {
|
|
5
|
+
nodeTemplate?: string | Function | any;
|
|
6
|
+
}
|
|
4
7
|
/**
|
|
5
8
|
* Represents react SymbolPalette Component
|
|
6
9
|
* ```tsx
|
|
@@ -10,7 +13,7 @@ import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
|
|
|
10
13
|
export declare class SymbolPaletteComponent extends SymbolPalette {
|
|
11
14
|
state: Readonly<{
|
|
12
15
|
children?: React.ReactNode | React.ReactNode[];
|
|
13
|
-
}> & Readonly<SymbolPaletteModel | DefaultHtmlAttributes>;
|
|
16
|
+
}> & Readonly<SymbolPaletteModel | DefaultHtmlAttributes | SymbolPaletteTypecast>;
|
|
14
17
|
setState: any;
|
|
15
18
|
private getDefaultAttributes;
|
|
16
19
|
initRenderCalled: boolean;
|
|
@@ -24,7 +27,7 @@ export declare class SymbolPaletteComponent extends SymbolPalette {
|
|
|
24
27
|
private isReactMock;
|
|
25
28
|
props: Readonly<{
|
|
26
29
|
children?: React.ReactNode | React.ReactNode[];
|
|
27
|
-
}> & Readonly<SymbolPaletteModel | DefaultHtmlAttributes>;
|
|
30
|
+
}> & Readonly<SymbolPaletteModel | DefaultHtmlAttributes | SymbolPaletteTypecast>;
|
|
28
31
|
forceUpdate: (callBack?: () => any) => void;
|
|
29
32
|
context: Object;
|
|
30
33
|
portals: any;
|
|
@@ -29,7 +29,7 @@ var SymbolPaletteComponent = /** @class */ (function (_super) {
|
|
|
29
29
|
_this.directivekeys = { 'palettes': 'palette' };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
|
-
_this.immediateRender =
|
|
32
|
+
_this.immediateRender = false;
|
|
33
33
|
_this.isReactMock = true;
|
|
34
34
|
_this.portals = [];
|
|
35
35
|
return _this;
|