├── .gitignore ├── .vscode ├── launch.json └── tasks.json ├── LICENSE ├── README.md ├── config ├── karma-unit.conf.js ├── karma-visual.conf.ts └── rollup-test-ui.config.js ├── doc ├── DEVELOPMENT.md ├── FIGUREEDITOR.md ├── GOAL.md ├── README.architecture ├── README.crdt ├── SERVER.md └── teletype.txt ├── img ├── avatars │ ├── README │ ├── bull.svg │ ├── chick.svg │ ├── crab.svg │ ├── fox.svg │ ├── hedgehog.svg │ ├── hippopotamus.svg │ ├── koala.svg │ ├── lemur.svg │ ├── pig.svg │ ├── tiger.svg │ ├── whale.svg │ └── zebra.svg ├── cursor │ ├── arrange.svg │ ├── edit-anchor-active.svg │ ├── edit-anchor.svg │ ├── edit-cursor.svg │ ├── edit-handle-active.svg │ ├── edit-handle.svg │ ├── edit.svg │ ├── pen-active.svg │ ├── pen-close.svg │ ├── pen-edge.svg │ ├── pen-ready.svg │ ├── select-resize-e.svg │ ├── select-resize-n.svg │ ├── select-resize-ne.svg │ ├── select-resize-nw.svg │ ├── select-resize-s.svg │ ├── select-resize-se.svg │ ├── select-resize-sw.svg │ ├── select-resize-w.svg │ ├── select-rotate-e.svg │ ├── select-rotate-n.svg │ ├── select-rotate-ne.svg │ ├── select-rotate-nw.svg │ ├── select-rotate-s.svg │ ├── select-rotate-se.svg │ ├── select-rotate-sw.svg │ ├── select-rotate-w.svg │ ├── text-area.svg │ ├── text-edit.svg │ ├── text-path.svg │ └── text-shape.svg ├── logo.svg ├── screenshot.png ├── tool │ ├── circle.svg │ ├── direct.svg │ ├── freehand.svg │ ├── line.svg │ ├── nib.svg │ ├── pen.svg │ ├── rectangle.svg │ ├── select.svg │ ├── state.svg │ ├── text.svg │ ├── transition.svg │ └── zoom.svg └── underconstruction.gif ├── index-dev.html ├── index-dev.js ├── index.html ├── m13-es-transformer.ts ├── package.json ├── polyfill ├── path-data-polyfill.js ├── webcomponents-hi-sd-ce.js ├── webcomponents-hi-sd-ce.js.map └── webcomponents-lite.min.js ├── rollup-client.config.js ├── rollup-server.config.js ├── src ├── client │ ├── AccountPreferences.html │ ├── AccountPreferences.ts │ ├── BoardListener_impl.ts │ ├── BoardModel.ts │ ├── Client_impl.ts │ ├── OrderedArray.ts │ ├── figureeditor.ts │ ├── figureeditor │ │ ├── DrawingEvent.ts │ │ ├── DrawingModel.ts │ │ ├── EditorKeyboardEvent.ts │ │ ├── EditorPointerEvent.ts │ │ ├── FigureEditor.ts │ │ ├── FigureSelectionModel.ts │ │ ├── Layer.ts │ │ └── LocalDrawingModel.ts │ ├── figures.ts │ ├── figures │ │ ├── Circle.ts │ │ ├── Figure.ts │ │ ├── Group.ts │ │ ├── Path.ts │ │ ├── Rectangle.ts │ │ ├── Shape.ts │ │ ├── Text.ts │ │ └── Transform.ts │ ├── figuretools.ts │ ├── figuretools │ │ ├── ArrangeTool.ts │ │ ├── EditTool.ts │ │ ├── PenTool.ts │ │ ├── ShapeTool.ts │ │ ├── TextTool.ts │ │ ├── Tool.ts │ │ └── ToolModel.ts │ ├── paths.ts │ ├── paths │ │ ├── AbstractPath.ts │ │ ├── Path.ts │ │ └── PathGroup.ts │ ├── utils │ │ ├── bind-decorator.ts │ │ ├── color.ts │ │ ├── indexeddb.ts │ │ └── xml.ts │ ├── views │ │ ├── dialogs │ │ │ ├── ExportDrawing.tsx │ │ │ └── ImportDrawing.tsx │ │ ├── pages │ │ │ └── homescreen.tsx │ │ └── widgets │ │ │ ├── colorswatch.ts │ │ │ ├── filedialog.tsx │ │ │ └── strokeandfill.tsx │ ├── wordwrap │ │ ├── TextEditor.ts │ │ ├── TextSource.ts │ │ ├── WordBox.ts │ │ ├── testrunner.ts │ │ └── wordwrap.ts │ └── workflow.ts ├── server │ └── server.ts └── shared │ ├── geometry.ts │ ├── geometry │ ├── Intersection.ts │ ├── Matrix.ts │ ├── Point.ts │ ├── Rectangle.ts │ ├── Size.ts │ ├── bezpoint.ts │ ├── curveBounds.ts │ ├── nearestPointOnCurve.ts │ ├── pointInPath.ts │ ├── solveCubic.ts │ └── solveQuadratic.ts │ └── workflow.idl ├── test.html ├── test ├── WTRSpecReporter.js ├── playground │ └── inputevents.html ├── setup.ts ├── ui │ ├── bootstrap.ts │ ├── figureeditor │ │ └── handles │ │ │ ├── handle.spec.ts │ │ │ ├── point.ts │ │ │ └── script.ts │ ├── index.html │ └── main.ts ├── unit │ ├── FigureEditorScene.ts │ ├── figureeditor │ │ ├── FigureEditor.spec.ts │ │ ├── LocalDrawingModel.spec.ts │ │ └── chai-eachequalssubset.ts │ ├── figures.spec.ts │ ├── figures │ │ ├── figure.spec.ts │ │ └── path.spec.ts │ ├── figuretools │ │ ├── arrangetool.spec.ts │ │ ├── edittool.spec.ts │ │ ├── pentool.spec.ts │ │ └── texttool.spec.ts │ ├── geometry │ │ ├── Point.spec.ts │ │ ├── Rectangle.spec.ts │ │ ├── Size.spec.ts │ │ ├── nearestPointOnCurve.spec.ts │ │ └── pointInPolygon.spec.ts │ ├── math.spec.ts │ ├── orderedarray.spec.ts │ ├── paths │ │ └── Path.spec.ts │ ├── teletype-crdt.spec.ts │ ├── util │ │ ├── color.spec.ts │ │ └── indexeddb.spec.ts │ └── wordwrap.spec.ts └── visual │ └── wordwrap.spec.ts ├── tsconfig-dev.json ├── tsconfig-test-ui.json ├── tsconfig.json └── web-test-runner.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/README.md -------------------------------------------------------------------------------- /config/karma-unit.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/config/karma-unit.conf.js -------------------------------------------------------------------------------- /config/karma-visual.conf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/config/karma-visual.conf.ts -------------------------------------------------------------------------------- /config/rollup-test-ui.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/config/rollup-test-ui.config.js -------------------------------------------------------------------------------- /doc/DEVELOPMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/DEVELOPMENT.md -------------------------------------------------------------------------------- /doc/FIGUREEDITOR.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/FIGUREEDITOR.md -------------------------------------------------------------------------------- /doc/GOAL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/GOAL.md -------------------------------------------------------------------------------- /doc/README.architecture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/README.architecture -------------------------------------------------------------------------------- /doc/README.crdt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/README.crdt -------------------------------------------------------------------------------- /doc/SERVER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/SERVER.md -------------------------------------------------------------------------------- /doc/teletype.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/doc/teletype.txt -------------------------------------------------------------------------------- /img/avatars/README: -------------------------------------------------------------------------------- 1 | designed by Freepik from Flaticon 2 | -------------------------------------------------------------------------------- /img/avatars/bull.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/bull.svg -------------------------------------------------------------------------------- /img/avatars/chick.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/chick.svg -------------------------------------------------------------------------------- /img/avatars/crab.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/crab.svg -------------------------------------------------------------------------------- /img/avatars/fox.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/fox.svg -------------------------------------------------------------------------------- /img/avatars/hedgehog.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/hedgehog.svg -------------------------------------------------------------------------------- /img/avatars/hippopotamus.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/hippopotamus.svg -------------------------------------------------------------------------------- /img/avatars/koala.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/koala.svg -------------------------------------------------------------------------------- /img/avatars/lemur.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/lemur.svg -------------------------------------------------------------------------------- /img/avatars/pig.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/pig.svg -------------------------------------------------------------------------------- /img/avatars/tiger.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/tiger.svg -------------------------------------------------------------------------------- /img/avatars/whale.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/whale.svg -------------------------------------------------------------------------------- /img/avatars/zebra.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/avatars/zebra.svg -------------------------------------------------------------------------------- /img/cursor/arrange.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/arrange.svg -------------------------------------------------------------------------------- /img/cursor/edit-anchor-active.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/edit-anchor-active.svg -------------------------------------------------------------------------------- /img/cursor/edit-anchor.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/edit-anchor.svg -------------------------------------------------------------------------------- /img/cursor/edit-cursor.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/edit-cursor.svg -------------------------------------------------------------------------------- /img/cursor/edit-handle-active.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/edit-handle-active.svg -------------------------------------------------------------------------------- /img/cursor/edit-handle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/edit-handle.svg -------------------------------------------------------------------------------- /img/cursor/edit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/edit.svg -------------------------------------------------------------------------------- /img/cursor/pen-active.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/pen-active.svg -------------------------------------------------------------------------------- /img/cursor/pen-close.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/pen-close.svg -------------------------------------------------------------------------------- /img/cursor/pen-edge.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/pen-edge.svg -------------------------------------------------------------------------------- /img/cursor/pen-ready.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/pen-ready.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-e.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-e.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-n.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-n.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-ne.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-ne.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-nw.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-nw.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-s.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-s.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-se.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-se.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-sw.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-sw.svg -------------------------------------------------------------------------------- /img/cursor/select-resize-w.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-resize-w.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-e.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-e.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-n.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-n.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-ne.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-ne.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-nw.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-nw.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-s.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-s.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-se.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-se.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-sw.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-sw.svg -------------------------------------------------------------------------------- /img/cursor/select-rotate-w.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/select-rotate-w.svg -------------------------------------------------------------------------------- /img/cursor/text-area.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/text-area.svg -------------------------------------------------------------------------------- /img/cursor/text-edit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/text-edit.svg -------------------------------------------------------------------------------- /img/cursor/text-path.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/text-path.svg -------------------------------------------------------------------------------- /img/cursor/text-shape.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/cursor/text-shape.svg -------------------------------------------------------------------------------- /img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/logo.svg -------------------------------------------------------------------------------- /img/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/screenshot.png -------------------------------------------------------------------------------- /img/tool/circle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/circle.svg -------------------------------------------------------------------------------- /img/tool/direct.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/direct.svg -------------------------------------------------------------------------------- /img/tool/freehand.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/freehand.svg -------------------------------------------------------------------------------- /img/tool/line.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/line.svg -------------------------------------------------------------------------------- /img/tool/nib.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/nib.svg -------------------------------------------------------------------------------- /img/tool/pen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/pen.svg -------------------------------------------------------------------------------- /img/tool/rectangle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/rectangle.svg -------------------------------------------------------------------------------- /img/tool/select.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/select.svg -------------------------------------------------------------------------------- /img/tool/state.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/state.svg -------------------------------------------------------------------------------- /img/tool/text.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/text.svg -------------------------------------------------------------------------------- /img/tool/transition.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/transition.svg -------------------------------------------------------------------------------- /img/tool/zoom.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/tool/zoom.svg -------------------------------------------------------------------------------- /img/underconstruction.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/img/underconstruction.gif -------------------------------------------------------------------------------- /index-dev.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/index-dev.html -------------------------------------------------------------------------------- /index-dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/index-dev.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/index.html -------------------------------------------------------------------------------- /m13-es-transformer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/m13-es-transformer.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/package.json -------------------------------------------------------------------------------- /polyfill/path-data-polyfill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/polyfill/path-data-polyfill.js -------------------------------------------------------------------------------- /polyfill/webcomponents-hi-sd-ce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/polyfill/webcomponents-hi-sd-ce.js -------------------------------------------------------------------------------- /polyfill/webcomponents-hi-sd-ce.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/polyfill/webcomponents-hi-sd-ce.js.map -------------------------------------------------------------------------------- /polyfill/webcomponents-lite.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/polyfill/webcomponents-lite.min.js -------------------------------------------------------------------------------- /rollup-client.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/rollup-client.config.js -------------------------------------------------------------------------------- /rollup-server.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/rollup-server.config.js -------------------------------------------------------------------------------- /src/client/AccountPreferences.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/AccountPreferences.html -------------------------------------------------------------------------------- /src/client/AccountPreferences.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/AccountPreferences.ts -------------------------------------------------------------------------------- /src/client/BoardListener_impl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/BoardListener_impl.ts -------------------------------------------------------------------------------- /src/client/BoardModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/BoardModel.ts -------------------------------------------------------------------------------- /src/client/Client_impl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/Client_impl.ts -------------------------------------------------------------------------------- /src/client/OrderedArray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/OrderedArray.ts -------------------------------------------------------------------------------- /src/client/figureeditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor.ts -------------------------------------------------------------------------------- /src/client/figureeditor/DrawingEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/DrawingEvent.ts -------------------------------------------------------------------------------- /src/client/figureeditor/DrawingModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/DrawingModel.ts -------------------------------------------------------------------------------- /src/client/figureeditor/EditorKeyboardEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/EditorKeyboardEvent.ts -------------------------------------------------------------------------------- /src/client/figureeditor/EditorPointerEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/EditorPointerEvent.ts -------------------------------------------------------------------------------- /src/client/figureeditor/FigureEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/FigureEditor.ts -------------------------------------------------------------------------------- /src/client/figureeditor/FigureSelectionModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/FigureSelectionModel.ts -------------------------------------------------------------------------------- /src/client/figureeditor/Layer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/Layer.ts -------------------------------------------------------------------------------- /src/client/figureeditor/LocalDrawingModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figureeditor/LocalDrawingModel.ts -------------------------------------------------------------------------------- /src/client/figures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures.ts -------------------------------------------------------------------------------- /src/client/figures/Circle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Circle.ts -------------------------------------------------------------------------------- /src/client/figures/Figure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Figure.ts -------------------------------------------------------------------------------- /src/client/figures/Group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Group.ts -------------------------------------------------------------------------------- /src/client/figures/Path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Path.ts -------------------------------------------------------------------------------- /src/client/figures/Rectangle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Rectangle.ts -------------------------------------------------------------------------------- /src/client/figures/Shape.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Shape.ts -------------------------------------------------------------------------------- /src/client/figures/Text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Text.ts -------------------------------------------------------------------------------- /src/client/figures/Transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figures/Transform.ts -------------------------------------------------------------------------------- /src/client/figuretools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools.ts -------------------------------------------------------------------------------- /src/client/figuretools/ArrangeTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/ArrangeTool.ts -------------------------------------------------------------------------------- /src/client/figuretools/EditTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/EditTool.ts -------------------------------------------------------------------------------- /src/client/figuretools/PenTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/PenTool.ts -------------------------------------------------------------------------------- /src/client/figuretools/ShapeTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/ShapeTool.ts -------------------------------------------------------------------------------- /src/client/figuretools/TextTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/TextTool.ts -------------------------------------------------------------------------------- /src/client/figuretools/Tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/Tool.ts -------------------------------------------------------------------------------- /src/client/figuretools/ToolModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/figuretools/ToolModel.ts -------------------------------------------------------------------------------- /src/client/paths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/paths.ts -------------------------------------------------------------------------------- /src/client/paths/AbstractPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/paths/AbstractPath.ts -------------------------------------------------------------------------------- /src/client/paths/Path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/paths/Path.ts -------------------------------------------------------------------------------- /src/client/paths/PathGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/paths/PathGroup.ts -------------------------------------------------------------------------------- /src/client/utils/bind-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/utils/bind-decorator.ts -------------------------------------------------------------------------------- /src/client/utils/color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/utils/color.ts -------------------------------------------------------------------------------- /src/client/utils/indexeddb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/utils/indexeddb.ts -------------------------------------------------------------------------------- /src/client/utils/xml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/utils/xml.ts -------------------------------------------------------------------------------- /src/client/views/dialogs/ExportDrawing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/views/dialogs/ExportDrawing.tsx -------------------------------------------------------------------------------- /src/client/views/dialogs/ImportDrawing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/views/dialogs/ImportDrawing.tsx -------------------------------------------------------------------------------- /src/client/views/pages/homescreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/views/pages/homescreen.tsx -------------------------------------------------------------------------------- /src/client/views/widgets/colorswatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/views/widgets/colorswatch.ts -------------------------------------------------------------------------------- /src/client/views/widgets/filedialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/views/widgets/filedialog.tsx -------------------------------------------------------------------------------- /src/client/views/widgets/strokeandfill.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/views/widgets/strokeandfill.tsx -------------------------------------------------------------------------------- /src/client/wordwrap/TextEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/wordwrap/TextEditor.ts -------------------------------------------------------------------------------- /src/client/wordwrap/TextSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/wordwrap/TextSource.ts -------------------------------------------------------------------------------- /src/client/wordwrap/WordBox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/wordwrap/WordBox.ts -------------------------------------------------------------------------------- /src/client/wordwrap/testrunner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/wordwrap/testrunner.ts -------------------------------------------------------------------------------- /src/client/wordwrap/wordwrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/wordwrap/wordwrap.ts -------------------------------------------------------------------------------- /src/client/workflow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/client/workflow.ts -------------------------------------------------------------------------------- /src/server/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/server/server.ts -------------------------------------------------------------------------------- /src/shared/geometry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry.ts -------------------------------------------------------------------------------- /src/shared/geometry/Intersection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/Intersection.ts -------------------------------------------------------------------------------- /src/shared/geometry/Matrix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/Matrix.ts -------------------------------------------------------------------------------- /src/shared/geometry/Point.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/Point.ts -------------------------------------------------------------------------------- /src/shared/geometry/Rectangle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/Rectangle.ts -------------------------------------------------------------------------------- /src/shared/geometry/Size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/Size.ts -------------------------------------------------------------------------------- /src/shared/geometry/bezpoint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/bezpoint.ts -------------------------------------------------------------------------------- /src/shared/geometry/curveBounds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/curveBounds.ts -------------------------------------------------------------------------------- /src/shared/geometry/nearestPointOnCurve.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/nearestPointOnCurve.ts -------------------------------------------------------------------------------- /src/shared/geometry/pointInPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/pointInPath.ts -------------------------------------------------------------------------------- /src/shared/geometry/solveCubic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/solveCubic.ts -------------------------------------------------------------------------------- /src/shared/geometry/solveQuadratic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/geometry/solveQuadratic.ts -------------------------------------------------------------------------------- /src/shared/workflow.idl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/src/shared/workflow.idl -------------------------------------------------------------------------------- /test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test.html -------------------------------------------------------------------------------- /test/WTRSpecReporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/WTRSpecReporter.js -------------------------------------------------------------------------------- /test/playground/inputevents.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/playground/inputevents.html -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/setup.ts -------------------------------------------------------------------------------- /test/ui/bootstrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/ui/bootstrap.ts -------------------------------------------------------------------------------- /test/ui/figureeditor/handles/handle.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/ui/figureeditor/handles/handle.spec.ts -------------------------------------------------------------------------------- /test/ui/figureeditor/handles/point.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/ui/figureeditor/handles/point.ts -------------------------------------------------------------------------------- /test/ui/figureeditor/handles/script.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/ui/figureeditor/handles/script.ts -------------------------------------------------------------------------------- /test/ui/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/ui/index.html -------------------------------------------------------------------------------- /test/ui/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/ui/main.ts -------------------------------------------------------------------------------- /test/unit/FigureEditorScene.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/FigureEditorScene.ts -------------------------------------------------------------------------------- /test/unit/figureeditor/FigureEditor.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figureeditor/FigureEditor.spec.ts -------------------------------------------------------------------------------- /test/unit/figureeditor/LocalDrawingModel.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figureeditor/LocalDrawingModel.spec.ts -------------------------------------------------------------------------------- /test/unit/figureeditor/chai-eachequalssubset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figureeditor/chai-eachequalssubset.ts -------------------------------------------------------------------------------- /test/unit/figures.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figures.spec.ts -------------------------------------------------------------------------------- /test/unit/figures/figure.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figures/figure.spec.ts -------------------------------------------------------------------------------- /test/unit/figures/path.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figures/path.spec.ts -------------------------------------------------------------------------------- /test/unit/figuretools/arrangetool.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figuretools/arrangetool.spec.ts -------------------------------------------------------------------------------- /test/unit/figuretools/edittool.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figuretools/edittool.spec.ts -------------------------------------------------------------------------------- /test/unit/figuretools/pentool.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figuretools/pentool.spec.ts -------------------------------------------------------------------------------- /test/unit/figuretools/texttool.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/figuretools/texttool.spec.ts -------------------------------------------------------------------------------- /test/unit/geometry/Point.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/geometry/Point.spec.ts -------------------------------------------------------------------------------- /test/unit/geometry/Rectangle.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/geometry/Rectangle.spec.ts -------------------------------------------------------------------------------- /test/unit/geometry/Size.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/geometry/Size.spec.ts -------------------------------------------------------------------------------- /test/unit/geometry/nearestPointOnCurve.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/geometry/nearestPointOnCurve.spec.ts -------------------------------------------------------------------------------- /test/unit/geometry/pointInPolygon.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/geometry/pointInPolygon.spec.ts -------------------------------------------------------------------------------- /test/unit/math.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/math.spec.ts -------------------------------------------------------------------------------- /test/unit/orderedarray.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/orderedarray.spec.ts -------------------------------------------------------------------------------- /test/unit/paths/Path.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/paths/Path.spec.ts -------------------------------------------------------------------------------- /test/unit/teletype-crdt.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/teletype-crdt.spec.ts -------------------------------------------------------------------------------- /test/unit/util/color.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/util/color.spec.ts -------------------------------------------------------------------------------- /test/unit/util/indexeddb.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/util/indexeddb.spec.ts -------------------------------------------------------------------------------- /test/unit/wordwrap.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/unit/wordwrap.spec.ts -------------------------------------------------------------------------------- /test/visual/wordwrap.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/test/visual/wordwrap.spec.ts -------------------------------------------------------------------------------- /tsconfig-dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/tsconfig-dev.json -------------------------------------------------------------------------------- /tsconfig-test-ui.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/tsconfig-test-ui.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/tsconfig.json -------------------------------------------------------------------------------- /web-test-runner.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markandre13/workflow/HEAD/web-test-runner.config.js --------------------------------------------------------------------------------