I'm trying to use the enum ej.datavisualization.Diagram.FlowShapes within TypeScript, but I've noticed this is not in ej.web.all.d.ts
So building a palette in TypeScript using flowshape doesn't seem possible
/// <reference path="libraries/ej.web.all.d.ts" />
...
let flowshapes = {
name: "Flow Shapes", expanded: true, templateId: "svgTemplate", addInfo: { source: "../../content/images/flow.png" },
items: [
{ name: "Process", width: 44, height: 40, offsetX: 20, offsetY: 20, fillColor: "white", borderWidth: 1, type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process },
{ name: "Decision", width: 44, height: 40, offsetX: 20, offsetY: 20, fillColor: "white", borderWidth: 1, type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision },
{ name: "Sort", width: 44, height: 40, offsetX: 20, offsetY: 20, fillColor: "white", borderWidth: 1, type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Sort },
{ name: "Document", width: 44, height: 40, offsetX: 20, offsetY: 15, fillColor: "white", borderWidth: 1, type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Document },
{ name: "MultiDocument", width: 43, height: 40, offsetX: 20, offsetY: 15, fillColor: "white", borderWidth: 1, type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.MultiDocument }
]
};
This fails because ej.datavisualization.Diagram.FlowShapes cannot be found. Using SF 14.4.0.15