@syncfusion/ej2-react-diagrams
Advanced tools
Comparing version 16.2.41 to 16.2.45
@@ -7,2 +7,10 @@ # Changelog | ||
#### Bug Fixes | ||
- Issue on click event arguments have been resolved. | ||
## 16.2.41 (2018-06-25) | ||
### Diagram | ||
The diagram component visually represents information. It is also used to create diagrams like flow charts, organizational charts, mind maps, and BPMN either through code or a visual interface. | ||
@@ -9,0 +17,0 @@ |
@@ -1,8 +0,1 @@ | ||
define(["require", "exports", "./src/diagram/index"], function (require, exports, index_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(index_1); | ||
}); | ||
export * from './src/diagram/index'; |
/*! | ||
* filename: ej2-react-diagrams.umd.min.js | ||
* version : 1.93.3 | ||
* version : 16.2.41 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
@@ -1,8 +0,1 @@ | ||
define(["require", "exports", "./src/index"], function (require, exports, index_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(index_1); | ||
}); | ||
export * from './src/index'; |
@@ -1,8 +0,1 @@ | ||
define(["require", "exports", "./src/overview/index"], function (require, exports, index_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(index_1); | ||
}); | ||
export * from './src/overview/index'; |
{ | ||
"name": "@syncfusion/ej2-react-diagrams", | ||
"version": "16.2.41", | ||
"version": "16.2.45", | ||
"description": "Essential JS 2 Diagram Components for React", | ||
@@ -17,9 +17,9 @@ "author": "Syncfusion Inc.", | ||
"main": "./dist/ej2-react-diagrams.umd.min.js", | ||
"module": "dist/es6/ej2-react-diagrams.es5.js", | ||
"module": "./src/index.js", | ||
"es2015": "dist/es6/ej2-react-diagrams.es2015.js", | ||
"readme": "ReadMe.md", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.2.41", | ||
"@syncfusion/ej2-react-base": "~16.2.41", | ||
"@syncfusion/ej2-diagrams": "16.2.41" | ||
"@syncfusion/ej2-base": "~16.2.45", | ||
"@syncfusion/ej2-react-base": "~16.2.45", | ||
"@syncfusion/ej2-diagrams": "16.2.45" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var ConnectorAnnotationDirective = (function (_super) { | ||
__extends(ConnectorAnnotationDirective, _super); | ||
function ConnectorAnnotationDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorAnnotationDirective.moduleName = 'connectorAnnotation'; | ||
return ConnectorAnnotationDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.ConnectorAnnotationDirective = ConnectorAnnotationDirective; | ||
var ConnectorAnnotationsDirective = (function (_super) { | ||
__extends(ConnectorAnnotationsDirective, _super); | ||
function ConnectorAnnotationsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorAnnotationsDirective.propertyName = 'annotations'; | ||
ConnectorAnnotationsDirective.moduleName = 'connectorAnnotations'; | ||
return ConnectorAnnotationsDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.ConnectorAnnotationsDirective = ConnectorAnnotationsDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var ConnectorAnnotationDirective = (function (_super) { | ||
__extends(ConnectorAnnotationDirective, _super); | ||
function ConnectorAnnotationDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorAnnotationDirective.moduleName = 'connectorAnnotation'; | ||
return ConnectorAnnotationDirective; | ||
}(ComplexBase)); | ||
export { ConnectorAnnotationDirective }; | ||
var ConnectorAnnotationsDirective = (function (_super) { | ||
__extends(ConnectorAnnotationsDirective, _super); | ||
function ConnectorAnnotationsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorAnnotationsDirective.propertyName = 'annotations'; | ||
ConnectorAnnotationsDirective.moduleName = 'connectorAnnotations'; | ||
return ConnectorAnnotationsDirective; | ||
}(ComplexBase)); | ||
export { ConnectorAnnotationsDirective }; |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var ConnectorDirective = (function (_super) { | ||
__extends(ConnectorDirective, _super); | ||
function ConnectorDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorDirective.moduleName = 'connector'; | ||
return ConnectorDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.ConnectorDirective = ConnectorDirective; | ||
var ConnectorsDirective = (function (_super) { | ||
__extends(ConnectorsDirective, _super); | ||
function ConnectorsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorsDirective.propertyName = 'connectors'; | ||
ConnectorsDirective.moduleName = 'connectors'; | ||
return ConnectorsDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.ConnectorsDirective = ConnectorsDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var ConnectorDirective = (function (_super) { | ||
__extends(ConnectorDirective, _super); | ||
function ConnectorDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorDirective.moduleName = 'connector'; | ||
return ConnectorDirective; | ||
}(ComplexBase)); | ||
export { ConnectorDirective }; | ||
var ConnectorsDirective = (function (_super) { | ||
__extends(ConnectorsDirective, _super); | ||
function ConnectorsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
ConnectorsDirective.propertyName = 'connectors'; | ||
ConnectorsDirective.moduleName = 'connectors'; | ||
return ConnectorsDirective; | ||
}(ComplexBase)); | ||
export { ConnectorsDirective }; |
@@ -11,28 +11,27 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "react", "@syncfusion/ej2-diagrams", "@syncfusion/ej2-react-base"], function (require, exports, React, ej2_diagrams_1, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var DiagramComponent = (function (_super) { | ||
__extends(DiagramComponent, _super); | ||
function DiagramComponent(props) { | ||
var _this = _super.call(this, props) || this; | ||
_this.initRenderCalled = false; | ||
_this.checkInjectedModules = true; | ||
_this.directivekeys = { 'layers': 'layer', 'connectors': { 'connector': { 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } }; | ||
_this.state = props; | ||
return _this; | ||
import * as React from 'react'; | ||
import { Diagram } from '@syncfusion/ej2-diagrams'; | ||
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
var DiagramComponent = (function (_super) { | ||
__extends(DiagramComponent, _super); | ||
function DiagramComponent(props) { | ||
var _this = _super.call(this, props) || this; | ||
_this.initRenderCalled = false; | ||
_this.checkInjectedModules = true; | ||
_this.directivekeys = { 'layers': 'layer', 'connectors': { 'connector': { 'connectorAnnotations': 'connectorAnnotation' } }, 'nodes': { 'node': { 'nodeAnnotations': 'nodeAnnotation', 'ports': 'port' } } }; | ||
_this.state = props; | ||
return _this; | ||
} | ||
DiagramComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
_super.prototype.render.call(this); | ||
this.initRenderCalled = true; | ||
} | ||
DiagramComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
_super.prototype.render.call(this); | ||
this.initRenderCalled = true; | ||
} | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
}; | ||
return DiagramComponent; | ||
}(ej2_diagrams_1.Diagram)); | ||
exports.DiagramComponent = DiagramComponent; | ||
ej2_react_base_1.applyMixins(DiagramComponent, [ej2_react_base_1.ComponentBase, React.PureComponent]); | ||
}); | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
}; | ||
return DiagramComponent; | ||
}(Diagram)); | ||
export { DiagramComponent }; | ||
applyMixins(DiagramComponent, [ComponentBase, React.PureComponent]); |
@@ -1,14 +0,7 @@ | ||
define(["require", "exports", "./layers-directive", "./connectors-directive", "./connector-annotation-directive", "./nodes-directive", "./node-annotation-directive", "./ports-directive", "./diagram.component"], function (require, exports, layers_directive_1, connectors_directive_1, connector_annotation_directive_1, nodes_directive_1, node_annotation_directive_1, ports_directive_1, diagram_component_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(layers_directive_1); | ||
__export(connectors_directive_1); | ||
__export(connector_annotation_directive_1); | ||
__export(nodes_directive_1); | ||
__export(node_annotation_directive_1); | ||
__export(ports_directive_1); | ||
__export(diagram_component_1); | ||
}); | ||
export * from './layers-directive'; | ||
export * from './connectors-directive'; | ||
export * from './connector-annotation-directive'; | ||
export * from './nodes-directive'; | ||
export * from './node-annotation-directive'; | ||
export * from './ports-directive'; | ||
export * from './diagram.component'; |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var LayerDirective = (function (_super) { | ||
__extends(LayerDirective, _super); | ||
function LayerDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
LayerDirective.moduleName = 'layer'; | ||
return LayerDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.LayerDirective = LayerDirective; | ||
var LayersDirective = (function (_super) { | ||
__extends(LayersDirective, _super); | ||
function LayersDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
LayersDirective.propertyName = 'layers'; | ||
LayersDirective.moduleName = 'layers'; | ||
return LayersDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.LayersDirective = LayersDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var LayerDirective = (function (_super) { | ||
__extends(LayerDirective, _super); | ||
function LayerDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
LayerDirective.moduleName = 'layer'; | ||
return LayerDirective; | ||
}(ComplexBase)); | ||
export { LayerDirective }; | ||
var LayersDirective = (function (_super) { | ||
__extends(LayersDirective, _super); | ||
function LayersDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
LayersDirective.propertyName = 'layers'; | ||
LayersDirective.moduleName = 'layers'; | ||
return LayersDirective; | ||
}(ComplexBase)); | ||
export { LayersDirective }; |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var NodeAnnotationDirective = (function (_super) { | ||
__extends(NodeAnnotationDirective, _super); | ||
function NodeAnnotationDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodeAnnotationDirective.moduleName = 'nodeAnnotation'; | ||
return NodeAnnotationDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.NodeAnnotationDirective = NodeAnnotationDirective; | ||
var NodeAnnotationsDirective = (function (_super) { | ||
__extends(NodeAnnotationsDirective, _super); | ||
function NodeAnnotationsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodeAnnotationsDirective.propertyName = 'annotations'; | ||
NodeAnnotationsDirective.moduleName = 'nodeAnnotations'; | ||
return NodeAnnotationsDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.NodeAnnotationsDirective = NodeAnnotationsDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var NodeAnnotationDirective = (function (_super) { | ||
__extends(NodeAnnotationDirective, _super); | ||
function NodeAnnotationDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodeAnnotationDirective.moduleName = 'nodeAnnotation'; | ||
return NodeAnnotationDirective; | ||
}(ComplexBase)); | ||
export { NodeAnnotationDirective }; | ||
var NodeAnnotationsDirective = (function (_super) { | ||
__extends(NodeAnnotationsDirective, _super); | ||
function NodeAnnotationsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodeAnnotationsDirective.propertyName = 'annotations'; | ||
NodeAnnotationsDirective.moduleName = 'nodeAnnotations'; | ||
return NodeAnnotationsDirective; | ||
}(ComplexBase)); | ||
export { NodeAnnotationsDirective }; |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var NodeDirective = (function (_super) { | ||
__extends(NodeDirective, _super); | ||
function NodeDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodeDirective.moduleName = 'node'; | ||
return NodeDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.NodeDirective = NodeDirective; | ||
var NodesDirective = (function (_super) { | ||
__extends(NodesDirective, _super); | ||
function NodesDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodesDirective.propertyName = 'nodes'; | ||
NodesDirective.moduleName = 'nodes'; | ||
return NodesDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.NodesDirective = NodesDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var NodeDirective = (function (_super) { | ||
__extends(NodeDirective, _super); | ||
function NodeDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodeDirective.moduleName = 'node'; | ||
return NodeDirective; | ||
}(ComplexBase)); | ||
export { NodeDirective }; | ||
var NodesDirective = (function (_super) { | ||
__extends(NodesDirective, _super); | ||
function NodesDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
NodesDirective.propertyName = 'nodes'; | ||
NodesDirective.moduleName = 'nodes'; | ||
return NodesDirective; | ||
}(ComplexBase)); | ||
export { NodesDirective }; |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var PortDirective = (function (_super) { | ||
__extends(PortDirective, _super); | ||
function PortDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PortDirective.moduleName = 'port'; | ||
return PortDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.PortDirective = PortDirective; | ||
var PortsDirective = (function (_super) { | ||
__extends(PortsDirective, _super); | ||
function PortsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PortsDirective.propertyName = 'ports'; | ||
PortsDirective.moduleName = 'ports'; | ||
return PortsDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.PortsDirective = PortsDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var PortDirective = (function (_super) { | ||
__extends(PortDirective, _super); | ||
function PortDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PortDirective.moduleName = 'port'; | ||
return PortDirective; | ||
}(ComplexBase)); | ||
export { PortDirective }; | ||
var PortsDirective = (function (_super) { | ||
__extends(PortsDirective, _super); | ||
function PortsDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PortsDirective.propertyName = 'ports'; | ||
PortsDirective.moduleName = 'ports'; | ||
return PortsDirective; | ||
}(ComplexBase)); | ||
export { PortsDirective }; |
@@ -1,12 +0,5 @@ | ||
define(["require", "exports", "./diagram", "./symbol-palette", "./overview", "@syncfusion/ej2-react-base", "@syncfusion/ej2-diagrams"], function (require, exports, diagram_1, symbol_palette_1, overview_1, ej2_react_base_1, ej2_diagrams_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(diagram_1); | ||
__export(symbol_palette_1); | ||
__export(overview_1); | ||
exports.Inject = ej2_react_base_1.Inject; | ||
__export(ej2_diagrams_1); | ||
}); | ||
export * from './diagram'; | ||
export * from './symbol-palette'; | ||
export * from './overview'; | ||
export { Inject } from '@syncfusion/ej2-react-base'; | ||
export * from '@syncfusion/ej2-diagrams'; |
@@ -1,8 +0,1 @@ | ||
define(["require", "exports", "./overview.component"], function (require, exports, overview_component_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(overview_component_1); | ||
}); | ||
export * from './overview.component'; |
@@ -11,27 +11,26 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "react", "@syncfusion/ej2-diagrams", "@syncfusion/ej2-react-base"], function (require, exports, React, ej2_diagrams_1, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var OverviewComponent = (function (_super) { | ||
__extends(OverviewComponent, _super); | ||
function OverviewComponent(props) { | ||
var _this = _super.call(this, props) || this; | ||
_this.initRenderCalled = false; | ||
_this.checkInjectedModules = false; | ||
_this.state = props; | ||
return _this; | ||
import * as React from 'react'; | ||
import { Overview } from '@syncfusion/ej2-diagrams'; | ||
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
var OverviewComponent = (function (_super) { | ||
__extends(OverviewComponent, _super); | ||
function OverviewComponent(props) { | ||
var _this = _super.call(this, props) || this; | ||
_this.initRenderCalled = false; | ||
_this.checkInjectedModules = false; | ||
_this.state = props; | ||
return _this; | ||
} | ||
OverviewComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
_super.prototype.render.call(this); | ||
this.initRenderCalled = true; | ||
} | ||
OverviewComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
_super.prototype.render.call(this); | ||
this.initRenderCalled = true; | ||
} | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
}; | ||
return OverviewComponent; | ||
}(ej2_diagrams_1.Overview)); | ||
exports.OverviewComponent = OverviewComponent; | ||
ej2_react_base_1.applyMixins(OverviewComponent, [ej2_react_base_1.ComponentBase, React.PureComponent]); | ||
}); | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
}; | ||
return OverviewComponent; | ||
}(Overview)); | ||
export { OverviewComponent }; | ||
applyMixins(OverviewComponent, [ComponentBase, React.PureComponent]); |
@@ -1,9 +0,2 @@ | ||
define(["require", "exports", "./palettes-directive", "./symbolpalette.component"], function (require, exports, palettes_directive_1, symbolpalette_component_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(palettes_directive_1); | ||
__export(symbolpalette_component_1); | ||
}); | ||
export * from './palettes-directive'; | ||
export * from './symbolpalette.component'; |
@@ -11,24 +11,21 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var PaletteDirective = (function (_super) { | ||
__extends(PaletteDirective, _super); | ||
function PaletteDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PaletteDirective.moduleName = 'palette'; | ||
return PaletteDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.PaletteDirective = PaletteDirective; | ||
var PalettesDirective = (function (_super) { | ||
__extends(PalettesDirective, _super); | ||
function PalettesDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PalettesDirective.propertyName = 'palettes'; | ||
PalettesDirective.moduleName = 'palettes'; | ||
return PalettesDirective; | ||
}(ej2_react_base_1.ComplexBase)); | ||
exports.PalettesDirective = PalettesDirective; | ||
}); | ||
import { ComplexBase } from '@syncfusion/ej2-react-base'; | ||
var PaletteDirective = (function (_super) { | ||
__extends(PaletteDirective, _super); | ||
function PaletteDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PaletteDirective.moduleName = 'palette'; | ||
return PaletteDirective; | ||
}(ComplexBase)); | ||
export { PaletteDirective }; | ||
var PalettesDirective = (function (_super) { | ||
__extends(PalettesDirective, _super); | ||
function PalettesDirective() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
PalettesDirective.propertyName = 'palettes'; | ||
PalettesDirective.moduleName = 'palettes'; | ||
return PalettesDirective; | ||
}(ComplexBase)); | ||
export { PalettesDirective }; |
@@ -11,28 +11,27 @@ var __extends = (this && this.__extends) || (function () { | ||
})(); | ||
define(["require", "exports", "react", "@syncfusion/ej2-diagrams", "@syncfusion/ej2-react-base"], function (require, exports, React, ej2_diagrams_1, ej2_react_base_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var SymbolPaletteComponent = (function (_super) { | ||
__extends(SymbolPaletteComponent, _super); | ||
function SymbolPaletteComponent(props) { | ||
var _this = _super.call(this, props) || this; | ||
_this.initRenderCalled = false; | ||
_this.checkInjectedModules = true; | ||
_this.directivekeys = { 'palettes': 'palette' }; | ||
_this.state = props; | ||
return _this; | ||
import * as React from 'react'; | ||
import { SymbolPalette } from '@syncfusion/ej2-diagrams'; | ||
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
var SymbolPaletteComponent = (function (_super) { | ||
__extends(SymbolPaletteComponent, _super); | ||
function SymbolPaletteComponent(props) { | ||
var _this = _super.call(this, props) || this; | ||
_this.initRenderCalled = false; | ||
_this.checkInjectedModules = true; | ||
_this.directivekeys = { 'palettes': 'palette' }; | ||
_this.state = props; | ||
return _this; | ||
} | ||
SymbolPaletteComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
_super.prototype.render.call(this); | ||
this.initRenderCalled = true; | ||
} | ||
SymbolPaletteComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
_super.prototype.render.call(this); | ||
this.initRenderCalled = true; | ||
} | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
}; | ||
return SymbolPaletteComponent; | ||
}(ej2_diagrams_1.SymbolPalette)); | ||
exports.SymbolPaletteComponent = SymbolPaletteComponent; | ||
ej2_react_base_1.applyMixins(SymbolPaletteComponent, [ej2_react_base_1.ComponentBase, React.PureComponent]); | ||
}); | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
} | ||
}; | ||
return SymbolPaletteComponent; | ||
}(SymbolPalette)); | ||
export { SymbolPaletteComponent }; | ||
applyMixins(SymbolPaletteComponent, [ComponentBase, React.PureComponent]); |
@@ -1,8 +0,1 @@ | ||
define(["require", "exports", "./src/symbol-palette/index"], function (require, exports, index_1) { | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(index_1); | ||
}); | ||
export * from './src/symbol-palette/index'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6743508
129032
+ Added@syncfusion/ej2-diagrams@16.2.45(transitive)
- Removed@syncfusion/ej2-diagrams@16.2.41(transitive)