dcim-topology2d 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/activity-diagram/index.d.ts +5 -0
- package/activity-diagram/index.js +6 -0
- package/activity-diagram/index.js.map +1 -0
- package/activity-diagram/src/final/final.d.ts +2 -0
- package/activity-diagram/src/final/final.js +10 -0
- package/activity-diagram/src/final/final.js.map +1 -0
- package/activity-diagram/src/final/final.rect.d.ts +3 -0
- package/activity-diagram/src/final/final.rect.js +11 -0
- package/activity-diagram/src/final/final.rect.js.map +1 -0
- package/activity-diagram/src/final/index.d.ts +2 -0
- package/activity-diagram/src/final/index.js +3 -0
- package/activity-diagram/src/final/index.js.map +1 -0
- package/activity-diagram/src/fork/fork.anchor.d.ts +3 -0
- package/activity-diagram/src/fork/fork.anchor.js +28 -0
- package/activity-diagram/src/fork/fork.anchor.js.map +1 -0
- package/activity-diagram/src/fork/fork.d.ts +2 -0
- package/activity-diagram/src/fork/fork.js +25 -0
- package/activity-diagram/src/fork/fork.js.map +1 -0
- package/activity-diagram/src/fork/fork.rect.d.ts +3 -0
- package/activity-diagram/src/fork/fork.rect.js +9 -0
- package/activity-diagram/src/fork/fork.rect.js.map +1 -0
- package/activity-diagram/src/fork/index.d.ts +3 -0
- package/activity-diagram/src/fork/index.js +4 -0
- package/activity-diagram/src/fork/index.js.map +1 -0
- package/activity-diagram/src/register.d.ts +1 -0
- package/activity-diagram/src/register.js +13 -0
- package/activity-diagram/src/register.js.map +1 -0
- package/activity-diagram/src/swimlaneH/index.d.ts +2 -0
- package/activity-diagram/src/swimlaneH/index.js +3 -0
- package/activity-diagram/src/swimlaneH/index.js.map +1 -0
- package/activity-diagram/src/swimlaneH/swimlaneH.d.ts +2 -0
- package/activity-diagram/src/swimlaneH/swimlaneH.js +27 -0
- package/activity-diagram/src/swimlaneH/swimlaneH.js.map +1 -0
- package/activity-diagram/src/swimlaneH/swimlaneH.rect.d.ts +3 -0
- package/activity-diagram/src/swimlaneH/swimlaneH.rect.js +9 -0
- package/activity-diagram/src/swimlaneH/swimlaneH.rect.js.map +1 -0
- package/activity-diagram/src/swimlaneV/index.d.ts +2 -0
- package/activity-diagram/src/swimlaneV/index.js +3 -0
- package/activity-diagram/src/swimlaneV/index.js.map +1 -0
- package/activity-diagram/src/swimlaneV/swimlaneV.d.ts +2 -0
- package/activity-diagram/src/swimlaneV/swimlaneV.js +27 -0
- package/activity-diagram/src/swimlaneV/swimlaneV.js.map +1 -0
- package/activity-diagram/src/swimlaneV/swimlaneV.rect.d.ts +3 -0
- package/activity-diagram/src/swimlaneV/swimlaneV.rect.js +9 -0
- package/activity-diagram/src/swimlaneV/swimlaneV.rect.js.map +1 -0
- package/chart-diagram/index.d.ts +3 -0
- package/chart-diagram/index.js +4 -0
- package/chart-diagram/index.js.map +1 -0
- package/chart-diagram/src/echarts/echarts.min.js +22 -0
- package/chart-diagram/src/echarts/index.d.ts +4 -0
- package/chart-diagram/src/echarts/index.js +104 -0
- package/chart-diagram/src/echarts/index.js.map +1 -0
- package/chart-diagram/src/register.d.ts +1 -0
- package/chart-diagram/src/register.js +12 -0
- package/chart-diagram/src/register.js.map +1 -0
- package/class-diagram/index.d.ts +2 -0
- package/class-diagram/index.js +3 -0
- package/class-diagram/index.js.map +1 -0
- package/class-diagram/src/class/class.d.ts +3 -0
- package/class-diagram/src/class/class.js +56 -0
- package/class-diagram/src/class/class.js.map +1 -0
- package/class-diagram/src/class/class.rect.d.ts +5 -0
- package/class-diagram/src/class/class.rect.js +16 -0
- package/class-diagram/src/class/class.rect.js.map +1 -0
- package/class-diagram/src/class/index.d.ts +2 -0
- package/class-diagram/src/class/index.js +3 -0
- package/class-diagram/src/class/index.js.map +1 -0
- package/class-diagram/src/register.d.ts +1 -0
- package/class-diagram/src/register.js +7 -0
- package/class-diagram/src/register.js.map +1 -0
- package/core/index.d.ts +8 -0
- package/core/index.js +26 -0
- package/core/index.js.map +1 -0
- package/core/src/activeLayer.d.ts +55 -0
- package/core/src/activeLayer.js +679 -0
- package/core/src/activeLayer.js.map +1 -0
- package/core/src/animateLayer.d.ts +23 -0
- package/core/src/animateLayer.js +227 -0
- package/core/src/animateLayer.js.map +1 -0
- package/core/src/calling.d.ts +37 -0
- package/core/src/calling.js +253 -0
- package/core/src/canvas.d.ts +19 -0
- package/core/src/canvas.js +81 -0
- package/core/src/canvas.js.map +1 -0
- package/core/src/common.d.ts +102 -0
- package/core/src/common.js +1254 -0
- package/core/src/core.d.ts +104 -0
- package/core/src/core.js +2281 -0
- package/core/src/core.js.map +1 -0
- package/core/src/divLayer.d.ts +61 -0
- package/core/src/divLayer.js +485 -0
- package/core/src/divLayer.js.map +1 -0
- package/core/src/healps/changeData.d.ts +8 -0
- package/core/src/healps/changeData.js +205 -0
- package/core/src/healps/index.d.ts +1 -0
- package/core/src/healps/index.js +1 -0
- package/core/src/hoverLayer.d.ts +32 -0
- package/core/src/hoverLayer.js +199 -0
- package/core/src/hoverLayer.js.map +1 -0
- package/core/src/layer.d.ts +5 -0
- package/core/src/layer.js +11 -0
- package/core/src/layer.js.map +1 -0
- package/core/src/middles/arrows/circle.d.ts +3 -0
- package/core/src/middles/arrows/circle.js +20 -0
- package/core/src/middles/arrows/circle.js.map +1 -0
- package/core/src/middles/arrows/diamond.d.ts +3 -0
- package/core/src/middles/arrows/diamond.js +28 -0
- package/core/src/middles/arrows/diamond.js.map +1 -0
- package/core/src/middles/arrows/line.d.ts +4 -0
- package/core/src/middles/arrows/line.js +42 -0
- package/core/src/middles/arrows/line.js.map +1 -0
- package/core/src/middles/arrows/triangle.d.ts +3 -0
- package/core/src/middles/arrows/triangle.js +25 -0
- package/core/src/middles/arrows/triangle.js.map +1 -0
- package/core/src/middles/default.anchor.d.ts +2 -0
- package/core/src/middles/default.anchor.js +9 -0
- package/core/src/middles/default.anchor.js.map +1 -0
- package/core/src/middles/default.d.ts +12 -0
- package/core/src/middles/default.js +257 -0
- package/core/src/middles/default.js.map +1 -0
- package/core/src/middles/default.rect.d.ts +3 -0
- package/core/src/middles/default.rect.js +19 -0
- package/core/src/middles/default.rect.js.map +1 -0
- package/core/src/middles/index.d.ts +3 -0
- package/core/src/middles/index.js +4 -0
- package/core/src/middles/index.js.map +1 -0
- package/core/src/middles/lines/curve.d.ts +10 -0
- package/core/src/middles/lines/curve.js +127 -0
- package/core/src/middles/lines/curve.js.map +1 -0
- package/core/src/middles/lines/line.d.ts +4 -0
- package/core/src/middles/lines/line.js +11 -0
- package/core/src/middles/lines/line.js.map +1 -0
- package/core/src/middles/lines/mind.d.ts +6 -0
- package/core/src/middles/lines/mind.js +90 -0
- package/core/src/middles/lines/mind.js.map +1 -0
- package/core/src/middles/lines/polyline.d.ts +7 -0
- package/core/src/middles/lines/polyline.js +309 -0
- package/core/src/middles/lines/polyline.js.map +1 -0
- package/core/src/middles/nodes/arbitrarygraph.anchor.d.ts +2 -0
- package/core/src/middles/nodes/arbitrarygraph.anchor.js +18 -0
- package/core/src/middles/nodes/arbitrarygraph.d.ts +2 -0
- package/core/src/middles/nodes/arbitrarygraph.js +17 -0
- package/core/src/middles/nodes/arrow.anchor.d.ts +2 -0
- package/core/src/middles/nodes/arrow.anchor.js +7 -0
- package/core/src/middles/nodes/arrow.anchor.js.map +1 -0
- package/core/src/middles/nodes/arrow.d.ts +4 -0
- package/core/src/middles/nodes/arrow.js +44 -0
- package/core/src/middles/nodes/arrow.js.map +1 -0
- package/core/src/middles/nodes/arrow.rect.d.ts +7 -0
- package/core/src/middles/nodes/arrow.rect.js +23 -0
- package/core/src/middles/nodes/arrow.rect.js.map +1 -0
- package/core/src/middles/nodes/circle.anchor.d.ts +2 -0
- package/core/src/middles/nodes/circle.anchor.js +18 -0
- package/core/src/middles/nodes/circle.anchor.js.map +1 -0
- package/core/src/middles/nodes/circle.d.ts +2 -0
- package/core/src/middles/nodes/circle.js +7 -0
- package/core/src/middles/nodes/circle.js.map +1 -0
- package/core/src/middles/nodes/circle.rect.d.ts +3 -0
- package/core/src/middles/nodes/circle.rect.js +27 -0
- package/core/src/middles/nodes/circle.rect.js.map +1 -0
- package/core/src/middles/nodes/cloud.anchor.d.ts +2 -0
- package/core/src/middles/nodes/cloud.anchor.js +9 -0
- package/core/src/middles/nodes/cloud.anchor.js.map +1 -0
- package/core/src/middles/nodes/cloud.d.ts +2 -0
- package/core/src/middles/nodes/cloud.js +11 -0
- package/core/src/middles/nodes/cloud.js.map +1 -0
- package/core/src/middles/nodes/cloud.rect.d.ts +3 -0
- package/core/src/middles/nodes/cloud.rect.js +9 -0
- package/core/src/middles/nodes/cloud.rect.js.map +1 -0
- package/core/src/middles/nodes/cube.anchor.d.ts +2 -0
- package/core/src/middles/nodes/cube.anchor.js +10 -0
- package/core/src/middles/nodes/cube.anchor.js.map +1 -0
- package/core/src/middles/nodes/cube.d.ts +2 -0
- package/core/src/middles/nodes/cube.js +5 -0
- package/core/src/middles/nodes/cube.js.map +1 -0
- package/core/src/middles/nodes/cube.model.d.ts +14 -0
- package/core/src/middles/nodes/cube.model.js +64 -0
- package/core/src/middles/nodes/cube.model.js.map +1 -0
- package/core/src/middles/nodes/cube.rect.d.ts +3 -0
- package/core/src/middles/nodes/cube.rect.js +11 -0
- package/core/src/middles/nodes/cube.rect.js.map +1 -0
- package/core/src/middles/nodes/diamond.d.ts +2 -0
- package/core/src/middles/nodes/diamond.js +11 -0
- package/core/src/middles/nodes/diamond.js.map +1 -0
- package/core/src/middles/nodes/diamond.rect.d.ts +3 -0
- package/core/src/middles/nodes/diamond.rect.js +27 -0
- package/core/src/middles/nodes/diamond.rect.js.map +1 -0
- package/core/src/middles/nodes/file.d.ts +2 -0
- package/core/src/middles/nodes/file.js +16 -0
- package/core/src/middles/nodes/file.js.map +1 -0
- package/core/src/middles/nodes/formtable.d.ts +2 -0
- package/core/src/middles/nodes/formtable.js +100 -0
- package/core/src/middles/nodes/hexagon.anchor.d.ts +2 -0
- package/core/src/middles/nodes/hexagon.anchor.js +21 -0
- package/core/src/middles/nodes/hexagon.anchor.js.map +1 -0
- package/core/src/middles/nodes/hexagon.d.ts +2 -0
- package/core/src/middles/nodes/hexagon.js +14 -0
- package/core/src/middles/nodes/hexagon.js.map +1 -0
- package/core/src/middles/nodes/hexagon.rect.d.ts +3 -0
- package/core/src/middles/nodes/hexagon.rect.js +14 -0
- package/core/src/middles/nodes/hexagon.rect.js.map +1 -0
- package/core/src/middles/nodes/image.anchor.d.ts +2 -0
- package/core/src/middles/nodes/image.anchor.js +12 -0
- package/core/src/middles/nodes/image.anchor.js.map +1 -0
- package/core/src/middles/nodes/image.rect.d.ts +3 -0
- package/core/src/middles/nodes/image.rect.js +65 -0
- package/core/src/middles/nodes/image.rect.js.map +1 -0
- package/core/src/middles/nodes/line.anchor.d.ts +2 -0
- package/core/src/middles/nodes/line.anchor.js +13 -0
- package/core/src/middles/nodes/line.anchor.js.map +1 -0
- package/core/src/middles/nodes/line.d.ts +2 -0
- package/core/src/middles/nodes/line.js +9 -0
- package/core/src/middles/nodes/line.js.map +1 -0
- package/core/src/middles/nodes/line.rect.d.ts +3 -0
- package/core/src/middles/nodes/line.rect.js +9 -0
- package/core/src/middles/nodes/line.rect.js.map +1 -0
- package/core/src/middles/nodes/message.anchor.d.ts +2 -0
- package/core/src/middles/nodes/message.anchor.js +9 -0
- package/core/src/middles/nodes/message.anchor.js.map +1 -0
- package/core/src/middles/nodes/message.d.ts +2 -0
- package/core/src/middles/nodes/message.js +14 -0
- package/core/src/middles/nodes/message.js.map +1 -0
- package/core/src/middles/nodes/message.rect.d.ts +3 -0
- package/core/src/middles/nodes/message.rect.js +10 -0
- package/core/src/middles/nodes/message.rect.js.map +1 -0
- package/core/src/middles/nodes/pentagon.anchor.d.ts +2 -0
- package/core/src/middles/nodes/pentagon.anchor.js +10 -0
- package/core/src/middles/nodes/pentagon.anchor.js.map +1 -0
- package/core/src/middles/nodes/pentagon.d.ts +2 -0
- package/core/src/middles/nodes/pentagon.js +12 -0
- package/core/src/middles/nodes/pentagon.js.map +1 -0
- package/core/src/middles/nodes/pentagon.rect.d.ts +3 -0
- package/core/src/middles/nodes/pentagon.rect.js +23 -0
- package/core/src/middles/nodes/pentagon.rect.js.map +1 -0
- package/core/src/middles/nodes/pentagram.anchor.d.ts +2 -0
- package/core/src/middles/nodes/pentagram.anchor.js +10 -0
- package/core/src/middles/nodes/pentagram.anchor.js.map +1 -0
- package/core/src/middles/nodes/pentagram.d.ts +2 -0
- package/core/src/middles/nodes/pentagram.js +11 -0
- package/core/src/middles/nodes/pentagram.js.map +1 -0
- package/core/src/middles/nodes/pentagram.rect.d.ts +3 -0
- package/core/src/middles/nodes/pentagram.rect.js +11 -0
- package/core/src/middles/nodes/pentagram.rect.js.map +1 -0
- package/core/src/middles/nodes/people.d.ts +2 -0
- package/core/src/middles/nodes/people.js +17 -0
- package/core/src/middles/nodes/people.js.map +1 -0
- package/core/src/middles/nodes/people.rect.d.ts +3 -0
- package/core/src/middles/nodes/people.rect.js +9 -0
- package/core/src/middles/nodes/people.rect.js.map +1 -0
- package/core/src/middles/nodes/rectangle.d.ts +2 -0
- package/core/src/middles/nodes/rectangle.js +25 -0
- package/core/src/middles/nodes/rectangle.js.map +1 -0
- package/core/src/middles/nodes/rectangle.rect.d.ts +3 -0
- package/core/src/middles/nodes/rectangle.rect.js +11 -0
- package/core/src/middles/nodes/rectangle.rect.js.map +1 -0
- package/core/src/middles/nodes/tablePagination.d.ts +2 -0
- package/core/src/middles/nodes/tablePagination.js +106 -0
- package/core/src/middles/nodes/text.d.ts +8 -0
- package/core/src/middles/nodes/text.js +295 -0
- package/core/src/middles/nodes/text.js.map +1 -0
- package/core/src/middles/nodes/triangle.anchor.d.ts +2 -0
- package/core/src/middles/nodes/triangle.anchor.js +9 -0
- package/core/src/middles/nodes/triangle.anchor.js.map +1 -0
- package/core/src/middles/nodes/triangle.d.ts +2 -0
- package/core/src/middles/nodes/triangle.js +10 -0
- package/core/src/middles/nodes/triangle.js.map +1 -0
- package/core/src/middles/nodes/triangle.rect.d.ts +3 -0
- package/core/src/middles/nodes/triangle.rect.js +23 -0
- package/core/src/middles/nodes/triangle.rect.js.map +1 -0
- package/core/src/models/data.d.ts +26 -0
- package/core/src/models/data.js +77 -0
- package/core/src/models/data.js.map +1 -0
- package/core/src/models/direction.d.ts +7 -0
- package/core/src/models/direction.js +9 -0
- package/core/src/models/direction.js.map +1 -0
- package/core/src/models/event.d.ts +13 -0
- package/core/src/models/event.js +16 -0
- package/core/src/models/event.js.map +1 -0
- package/core/src/models/index.d.ts +9 -0
- package/core/src/models/index.js +10 -0
- package/core/src/models/index.js.map +1 -0
- package/core/src/models/line.d.ts +53 -0
- package/core/src/models/line.js +442 -0
- package/core/src/models/line.js.map +1 -0
- package/core/src/models/node.d.ts +95 -0
- package/core/src/models/node.js +944 -0
- package/core/src/models/node.js.map +1 -0
- package/core/src/models/pen.d.ts +122 -0
- package/core/src/models/pen.js +362 -0
- package/core/src/models/pen.js.map +1 -0
- package/core/src/models/point.d.ts +25 -0
- package/core/src/models/point.js +59 -0
- package/core/src/models/point.js.map +1 -0
- package/core/src/models/rect.d.ts +22 -0
- package/core/src/models/rect.js +93 -0
- package/core/src/models/rect.js.map +1 -0
- package/core/src/models/status.d.ts +10 -0
- package/core/src/models/status.js +13 -0
- package/core/src/models/status.js.map +1 -0
- package/core/src/mqtt.d.ts +14 -0
- package/core/src/mqtt.js +82 -0
- package/core/src/mqtt.js.map +1 -0
- package/core/src/mqtt.min.d.ts +2 -0
- package/core/src/mqtt.min.js +2447 -0
- package/core/src/mqtt.min.js.map +1 -0
- package/core/src/offscreen.d.ts +16 -0
- package/core/src/offscreen.js +70 -0
- package/core/src/offscreen.js.map +1 -0
- package/core/src/options.d.ts +66 -0
- package/core/src/options.js +42 -0
- package/core/src/options.js.map +1 -0
- package/core/src/poll.js +39 -0
- package/core/src/preview.d.ts +29 -0
- package/core/src/preview.js +247 -0
- package/core/src/renderLayer.d.ts +36 -0
- package/core/src/renderLayer.js +187 -0
- package/core/src/renderLayer.js.map +1 -0
- package/core/src/socket.d.ts +10 -0
- package/core/src/socket.js +51 -0
- package/core/src/socket.js.map +1 -0
- package/core/src/utils/browser.d.ts +1 -0
- package/core/src/utils/browser.js +4 -0
- package/core/src/utils/browser.js.map +1 -0
- package/core/src/utils/canvas.d.ts +13 -0
- package/core/src/utils/canvas.js +84 -0
- package/core/src/utils/canvas.js.map +1 -0
- package/core/src/utils/construction.d.ts +41 -0
- package/core/src/utils/construction.js +36 -0
- package/core/src/utils/conversion.d.ts +0 -0
- package/core/src/utils/conversion.js +0 -0
- package/core/src/utils/dom.d.ts +8 -0
- package/core/src/utils/dom.js +67 -0
- package/core/src/utils/dom.js.map +1 -0
- package/core/src/utils/index.d.ts +9 -0
- package/core/src/utils/index.js +10 -0
- package/core/src/utils/index.js.map +1 -0
- package/core/src/utils/math.d.ts +3 -0
- package/core/src/utils/math.js +118 -0
- package/core/src/utils/math.js.map +1 -0
- package/core/src/utils/onmousevent.d.ts +5 -0
- package/core/src/utils/onmousevent.js +57 -0
- package/core/src/utils/padding.d.ts +7 -0
- package/core/src/utils/padding.js +47 -0
- package/core/src/utils/padding.js.map +1 -0
- package/core/src/utils/rect.d.ts +7 -0
- package/core/src/utils/rect.js +72 -0
- package/core/src/utils/rect.js.map +1 -0
- package/core/src/utils/uuid.d.ts +4 -0
- package/core/src/utils/uuid.js +13 -0
- package/core/src/utils/uuid.js.map +1 -0
- package/flow-diagram/index.d.ts +12 -0
- package/flow-diagram/index.js +13 -0
- package/flow-diagram/index.js.map +1 -0
- package/flow-diagram/src/comment/comment.anchor.d.ts +2 -0
- package/flow-diagram/src/comment/comment.anchor.js +5 -0
- package/flow-diagram/src/comment/comment.anchor.js.map +1 -0
- package/flow-diagram/src/comment/comment.d.ts +2 -0
- package/flow-diagram/src/comment/comment.js +10 -0
- package/flow-diagram/src/comment/comment.js.map +1 -0
- package/flow-diagram/src/comment/index.d.ts +2 -0
- package/flow-diagram/src/comment/index.js +3 -0
- package/flow-diagram/src/comment/index.js.map +1 -0
- package/flow-diagram/src/data/data.anchor.d.ts +2 -0
- package/flow-diagram/src/data/data.anchor.js +8 -0
- package/flow-diagram/src/data/data.anchor.js.map +1 -0
- package/flow-diagram/src/data/data.d.ts +2 -0
- package/flow-diagram/src/data/data.js +12 -0
- package/flow-diagram/src/data/data.js.map +1 -0
- package/flow-diagram/src/data/data.rect.d.ts +3 -0
- package/flow-diagram/src/data/data.rect.js +9 -0
- package/flow-diagram/src/data/data.rect.js.map +1 -0
- package/flow-diagram/src/data/index.d.ts +3 -0
- package/flow-diagram/src/data/index.js +4 -0
- package/flow-diagram/src/data/index.js.map +1 -0
- package/flow-diagram/src/db/db.d.ts +2 -0
- package/flow-diagram/src/db/db.js +14 -0
- package/flow-diagram/src/db/db.js.map +1 -0
- package/flow-diagram/src/db/db.rect.d.ts +4 -0
- package/flow-diagram/src/db/db.rect.js +9 -0
- package/flow-diagram/src/db/db.rect.js.map +1 -0
- package/flow-diagram/src/db/index.d.ts +2 -0
- package/flow-diagram/src/db/index.js +3 -0
- package/flow-diagram/src/db/index.js.map +1 -0
- package/flow-diagram/src/display/display.anchor.d.ts +2 -0
- package/flow-diagram/src/display/display.anchor.js +8 -0
- package/flow-diagram/src/display/display.anchor.js.map +1 -0
- package/flow-diagram/src/display/display.d.ts +2 -0
- package/flow-diagram/src/display/display.js +13 -0
- package/flow-diagram/src/display/display.js.map +1 -0
- package/flow-diagram/src/display/display.rect.d.ts +3 -0
- package/flow-diagram/src/display/display.rect.js +9 -0
- package/flow-diagram/src/display/display.rect.js.map +1 -0
- package/flow-diagram/src/display/index.d.ts +3 -0
- package/flow-diagram/src/display/index.js +4 -0
- package/flow-diagram/src/display/index.js.map +1 -0
- package/flow-diagram/src/document/document.anchor.d.ts +2 -0
- package/flow-diagram/src/document/document.anchor.js +8 -0
- package/flow-diagram/src/document/document.anchor.js.map +1 -0
- package/flow-diagram/src/document/document.d.ts +2 -0
- package/flow-diagram/src/document/document.js +15 -0
- package/flow-diagram/src/document/document.js.map +1 -0
- package/flow-diagram/src/document/document.rect.d.ts +3 -0
- package/flow-diagram/src/document/document.rect.js +9 -0
- package/flow-diagram/src/document/document.rect.js.map +1 -0
- package/flow-diagram/src/document/index.d.ts +3 -0
- package/flow-diagram/src/document/index.js +4 -0
- package/flow-diagram/src/document/index.js.map +1 -0
- package/flow-diagram/src/externStorage/externStorage.anchor.d.ts +2 -0
- package/flow-diagram/src/externStorage/externStorage.anchor.js +8 -0
- package/flow-diagram/src/externStorage/externStorage.anchor.js.map +1 -0
- package/flow-diagram/src/externStorage/externStorage.d.ts +2 -0
- package/flow-diagram/src/externStorage/externStorage.js +12 -0
- package/flow-diagram/src/externStorage/externStorage.js.map +1 -0
- package/flow-diagram/src/externStorage/externStorage.rect.d.ts +3 -0
- package/flow-diagram/src/externStorage/externStorage.rect.js +9 -0
- package/flow-diagram/src/externStorage/externStorage.rect.js.map +1 -0
- package/flow-diagram/src/externStorage/index.d.ts +3 -0
- package/flow-diagram/src/externStorage/index.js +4 -0
- package/flow-diagram/src/externStorage/index.js.map +1 -0
- package/flow-diagram/src/internalStorage/index.d.ts +2 -0
- package/flow-diagram/src/internalStorage/index.js +3 -0
- package/flow-diagram/src/internalStorage/index.js.map +1 -0
- package/flow-diagram/src/internalStorage/internalStorage.d.ts +2 -0
- package/flow-diagram/src/internalStorage/internalStorage.js +16 -0
- package/flow-diagram/src/internalStorage/internalStorage.js.map +1 -0
- package/flow-diagram/src/internalStorage/internalStorage.rect.d.ts +3 -0
- package/flow-diagram/src/internalStorage/internalStorage.rect.js +10 -0
- package/flow-diagram/src/internalStorage/internalStorage.rect.js.map +1 -0
- package/flow-diagram/src/manually/index.d.ts +3 -0
- package/flow-diagram/src/manually/index.js +4 -0
- package/flow-diagram/src/manually/index.js.map +1 -0
- package/flow-diagram/src/manually/manually.anchor.d.ts +2 -0
- package/flow-diagram/src/manually/manually.anchor.js +8 -0
- package/flow-diagram/src/manually/manually.anchor.js.map +1 -0
- package/flow-diagram/src/manually/manually.d.ts +2 -0
- package/flow-diagram/src/manually/manually.js +12 -0
- package/flow-diagram/src/manually/manually.js.map +1 -0
- package/flow-diagram/src/manually/manually.rect.d.ts +3 -0
- package/flow-diagram/src/manually/manually.rect.js +9 -0
- package/flow-diagram/src/manually/manually.rect.js.map +1 -0
- package/flow-diagram/src/parallel/index.d.ts +2 -0
- package/flow-diagram/src/parallel/index.js +3 -0
- package/flow-diagram/src/parallel/index.js.map +1 -0
- package/flow-diagram/src/parallel/parallel.anchor.d.ts +2 -0
- package/flow-diagram/src/parallel/parallel.anchor.js +6 -0
- package/flow-diagram/src/parallel/parallel.anchor.js.map +1 -0
- package/flow-diagram/src/parallel/parallel.d.ts +2 -0
- package/flow-diagram/src/parallel/parallel.js +9 -0
- package/flow-diagram/src/parallel/parallel.js.map +1 -0
- package/flow-diagram/src/queue/index.d.ts +2 -0
- package/flow-diagram/src/queue/index.js +3 -0
- package/flow-diagram/src/queue/index.js.map +1 -0
- package/flow-diagram/src/queue/queue.d.ts +2 -0
- package/flow-diagram/src/queue/queue.js +9 -0
- package/flow-diagram/src/queue/queue.js.map +1 -0
- package/flow-diagram/src/queue/queue.rect.d.ts +3 -0
- package/flow-diagram/src/queue/queue.rect.js +11 -0
- package/flow-diagram/src/queue/queue.rect.js.map +1 -0
- package/flow-diagram/src/register.d.ts +1 -0
- package/flow-diagram/src/register.js +26 -0
- package/flow-diagram/src/register.js.map +1 -0
- package/flow-diagram/src/subprocess/index.d.ts +2 -0
- package/flow-diagram/src/subprocess/index.js +3 -0
- package/flow-diagram/src/subprocess/index.js.map +1 -0
- package/flow-diagram/src/subprocess/subprocess.d.ts +2 -0
- package/flow-diagram/src/subprocess/subprocess.js +16 -0
- package/flow-diagram/src/subprocess/subprocess.js.map +1 -0
- package/flow-diagram/src/subprocess/subprocess.rect.d.ts +3 -0
- package/flow-diagram/src/subprocess/subprocess.rect.js +9 -0
- package/flow-diagram/src/subprocess/subprocess.rect.js.map +1 -0
- package/layout/index.d.ts +2 -0
- package/layout/index.js +3 -0
- package/layout/index.js.map +1 -0
- package/layout/src/align.d.ts +3 -0
- package/layout/src/align.js +67 -0
- package/layout/src/align.js.map +1 -0
- package/layout/src/layout.d.ts +9 -0
- package/layout/src/layout.js +50 -0
- package/layout/src/layout.js.map +1 -0
- package/myShape-diagram/myShape.js +196 -0
- package/myShape-diagram/myShape.ts +1 -0
- package/package.json +15 -0
- package/sequence-diagram/index.d.ts +3 -0
- package/sequence-diagram/index.js +4 -0
- package/sequence-diagram/index.js.map +1 -0
- package/sequence-diagram/src/focus/focus.anchor.d.ts +2 -0
- package/sequence-diagram/src/focus/focus.anchor.js +15 -0
- package/sequence-diagram/src/focus/focus.anchor.js.map +1 -0
- package/sequence-diagram/src/focus/focus.d.ts +2 -0
- package/sequence-diagram/src/focus/focus.js +13 -0
- package/sequence-diagram/src/focus/focus.js.map +1 -0
- package/sequence-diagram/src/focus/focus.rect.d.ts +3 -0
- package/sequence-diagram/src/focus/focus.rect.js +9 -0
- package/sequence-diagram/src/focus/focus.rect.js.map +1 -0
- package/sequence-diagram/src/focus/index.d.ts +3 -0
- package/sequence-diagram/src/focus/index.js +4 -0
- package/sequence-diagram/src/focus/index.js.map +1 -0
- package/sequence-diagram/src/lifeline/index.d.ts +3 -0
- package/sequence-diagram/src/lifeline/index.js +4 -0
- package/sequence-diagram/src/lifeline/index.js.map +1 -0
- package/sequence-diagram/src/lifeline/lifeline.anchor.d.ts +2 -0
- package/sequence-diagram/src/lifeline/lifeline.anchor.js +9 -0
- package/sequence-diagram/src/lifeline/lifeline.anchor.js.map +1 -0
- package/sequence-diagram/src/lifeline/lifeline.d.ts +2 -0
- package/sequence-diagram/src/lifeline/lifeline.js +35 -0
- package/sequence-diagram/src/lifeline/lifeline.js.map +1 -0
- package/sequence-diagram/src/lifeline/lifeline.rect.d.ts +3 -0
- package/sequence-diagram/src/lifeline/lifeline.rect.js +9 -0
- package/sequence-diagram/src/lifeline/lifeline.rect.js.map +1 -0
- package/sequence-diagram/src/register.d.ts +1 -0
- package/sequence-diagram/src/register.js +8 -0
- package/sequence-diagram/src/register.js.map +1 -0
@@ -0,0 +1,485 @@
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({__proto__: []} instanceof Array && function (d, b) {
|
5
|
+
d.__proto__ = b;
|
6
|
+
}) ||
|
7
|
+
function (d, b) {
|
8
|
+
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
9
|
+
};
|
10
|
+
return extendStatics(d, b);
|
11
|
+
};
|
12
|
+
return function (d, b) {
|
13
|
+
extendStatics(d, b);
|
14
|
+
|
15
|
+
function __() {
|
16
|
+
this.constructor = d;
|
17
|
+
}
|
18
|
+
|
19
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
20
|
+
};
|
21
|
+
})();
|
22
|
+
import {Store} from 'le5le-store';
|
23
|
+
import {Node, images} from './models/node';
|
24
|
+
import {Lock} from './models/status';
|
25
|
+
import {PenType} from './models/pen';
|
26
|
+
import {Layer} from './layer';
|
27
|
+
import { setStyleForElementIdDiv, DomElements } from './utils'
|
28
|
+
var DivLayer = /** @class */ (function (_super) {
|
29
|
+
__extends(DivLayer, _super);
|
30
|
+
|
31
|
+
function DivLayer(parentElem, options, TID) {
|
32
|
+
if (options === void 0) {
|
33
|
+
options = {};
|
34
|
+
}
|
35
|
+
var _this = _super.call(this, TID) || this;
|
36
|
+
_this.parentElem = parentElem;
|
37
|
+
_this.options = options;
|
38
|
+
_this.canvas = document.createElement('div');
|
39
|
+
// _this.player = document.createElement('div');
|
40
|
+
// _this.videos = {};
|
41
|
+
// _this.audios = {};
|
42
|
+
_this.iframes = {};
|
43
|
+
_this.elements = {};
|
44
|
+
_this.gifs = {};
|
45
|
+
_this.addDiv = function (node) {
|
46
|
+
// if (node.audio) {
|
47
|
+
// if (_this.audios[node.id] && _this.audios[node.id].media.src !== node.audio) {
|
48
|
+
// _this.audios[node.id].media.src = node.audio;
|
49
|
+
// }
|
50
|
+
// _this.setElemPosition(node, (_this.audios[node.id] && _this.audios[node.id].player) || _this.addMedia(node, 'audio'));
|
51
|
+
// }
|
52
|
+
// if (node.video) {
|
53
|
+
// if (_this.videos[node.id] && _this.videos[node.id].media.src !== node.video) {
|
54
|
+
// _this.videos[node.id].media.src = node.video;
|
55
|
+
// }
|
56
|
+
// _this.setElemPosition(node, (_this.videos[node.id] && _this.videos[node.id].player) || _this.addMedia(node, 'video'));
|
57
|
+
// }
|
58
|
+
if (node.iframe) {
|
59
|
+
if (_this.iframes[node.id] && _this.iframes[node.id].src !== node.iframe) {
|
60
|
+
_this.iframes[node.id].src = node.iframe;
|
61
|
+
}
|
62
|
+
_this.setElemPosition(node, _this.iframes[node.id] || _this.addIframe(node));
|
63
|
+
}
|
64
|
+
if (node.elementId) {
|
65
|
+
Object.assign(_this.elements, DomElements);
|
66
|
+
if (!_this.elements[node.id]) {
|
67
|
+
_this.elements[node.id] = document.getElementById(node.id);
|
68
|
+
if (_this.elements[node.id]) {
|
69
|
+
_this.canvas.appendChild(_this.elements[node.id]);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
_this.setElemPosition(node, _this.elements[node.id]);
|
73
|
+
}
|
74
|
+
if (node.gif) {
|
75
|
+
if (node.image.indexOf('.gif') < 0) {
|
76
|
+
node.gif = false;
|
77
|
+
if (_this.gifs[node.id] != null) {
|
78
|
+
_this.canvas.removeChild(_this.gifs[node.id]);
|
79
|
+
}
|
80
|
+
_this.gifs[node.id] = null;
|
81
|
+
} else {
|
82
|
+
if (_this.gifs[node.id] && _this.gifs[node.id].src !== node.image) {
|
83
|
+
_this.gifs[node.id].src = node.image;
|
84
|
+
}
|
85
|
+
_this.setElemPosition(node, _this.gifs[node.id] || _this.addGif(node));
|
86
|
+
}
|
87
|
+
}
|
88
|
+
if (node.children) {
|
89
|
+
for (var _i = 0, _a = node.children; _i < _a.length; _i++) {
|
90
|
+
var child = _a[_i];
|
91
|
+
if (child.type === PenType.Line) {
|
92
|
+
continue;
|
93
|
+
}
|
94
|
+
_this.addDiv(child);
|
95
|
+
}
|
96
|
+
}
|
97
|
+
};
|
98
|
+
_this.data = Store.get(_this.generateStoreKey('topology-data'));
|
99
|
+
// if (!_this.options.playIcon) {
|
100
|
+
// _this.options.playIcon = 'iconfont icon-play';
|
101
|
+
// }
|
102
|
+
// if (!_this.options.pauseIcon) {
|
103
|
+
// _this.options.pauseIcon = 'iconfont icon-pause';
|
104
|
+
// }
|
105
|
+
// if (!_this.options.fullScreenIcon) {
|
106
|
+
// _this.options.fullScreenIcon = 'iconfont icon-full-screen';
|
107
|
+
// }
|
108
|
+
// if (!_this.options.loopIcon) {
|
109
|
+
// _this.options.loopIcon = 'iconfont icon-loop';
|
110
|
+
// }
|
111
|
+
_this.canvas.style.position = 'absolute';
|
112
|
+
_this.canvas.style.left = '0';
|
113
|
+
_this.canvas.style.top = '0';
|
114
|
+
_this.canvas.style.outline = 'none';
|
115
|
+
_this.canvas.style.background = 'transparent';
|
116
|
+
_this.canvas.setAttribute('class', 'canvas-point');
|
117
|
+
parentElem.appendChild(_this.canvas);
|
118
|
+
// parentElem.appendChild(_this.player);
|
119
|
+
//_this.createPlayer();
|
120
|
+
_this.subcribe = Store.subscribe(_this.generateStoreKey('LT:addDiv'), _this.addDiv);
|
121
|
+
// _this.subcribeNode = Store.subscribe(_this.generateStoreKey('LT:activeNode'), function (node) {
|
122
|
+
// if (!node || (!node.video && !node.audio)) {
|
123
|
+
// _this.player.style.top = '-99999px';
|
124
|
+
// return;
|
125
|
+
// }
|
126
|
+
// if (node.audio && _this.audios[node.id]) {
|
127
|
+
// _this.media = _this.audios[node.id].media;
|
128
|
+
// }
|
129
|
+
// else if (node.video && _this.videos[node.id]) {
|
130
|
+
// _this.media = _this.videos[node.id].media;
|
131
|
+
// }
|
132
|
+
// else {
|
133
|
+
// return;
|
134
|
+
// }
|
135
|
+
// _this.curNode = node;
|
136
|
+
// _this.player.style.top = _this.parentElem.offsetTop + _this.parentElem.clientHeight + 'px';
|
137
|
+
// _this.player.style.left = _this.parentElem.getBoundingClientRect().left + 'px';
|
138
|
+
// _this.player.style.width = _this.parentElem.clientWidth + 'px';
|
139
|
+
// _this.getMediaCurrent();
|
140
|
+
// if (_this.media.paused) {
|
141
|
+
// _this.playBtn.className = _this.options.playIcon;
|
142
|
+
// }
|
143
|
+
// else {
|
144
|
+
// _this.playBtn.className = _this.options.pauseIcon;
|
145
|
+
// }
|
146
|
+
// });
|
147
|
+
// document.addEventListener('fullscreenchange', function (e) {
|
148
|
+
// if (!_this.media) {
|
149
|
+
// return;
|
150
|
+
// }
|
151
|
+
// if (document.fullscreen) {
|
152
|
+
// _this.media.controls = true;
|
153
|
+
// _this.media.style.userSelect = 'initial';
|
154
|
+
// _this.media.style.pointerEvents = 'initial';
|
155
|
+
// }
|
156
|
+
// else {
|
157
|
+
// _this.media.style.userSelect = 'none';
|
158
|
+
// _this.media.style.pointerEvents = 'none';
|
159
|
+
// _this.media.controls = false;
|
160
|
+
// }
|
161
|
+
// });
|
162
|
+
return _this;
|
163
|
+
}
|
164
|
+
|
165
|
+
DivLayer.prototype.createPlayer = function () {
|
166
|
+
var _this = this;
|
167
|
+
this.player.style.position = 'fixed';
|
168
|
+
this.player.style.outline = 'none';
|
169
|
+
this.player.style.top = '-99999px';
|
170
|
+
this.player.style.height = '40px';
|
171
|
+
this.player.style.padding = '10px 15px';
|
172
|
+
this.player.style.background = 'rgba(200,200,200,.1)';
|
173
|
+
this.player.style.display = 'flex';
|
174
|
+
this.player.style.alignItems = 'center';
|
175
|
+
this.player.style.userSelect = 'initial';
|
176
|
+
this.player.style.pointerEvents = 'initial';
|
177
|
+
this.player.style.zIndex = '1';
|
178
|
+
this.playBtn = document.createElement('i');
|
179
|
+
this.currentTime = document.createElement('span');
|
180
|
+
this.progress = document.createElement('div');
|
181
|
+
this.progressCurrent = document.createElement('div');
|
182
|
+
this.loop = document.createElement('i');
|
183
|
+
var fullScreen = document.createElement('i');
|
184
|
+
this.playBtn.className = this.options.playIcon;
|
185
|
+
this.playBtn.style.fontSize = '18px';
|
186
|
+
this.playBtn.style.lineHeight = '20px';
|
187
|
+
this.playBtn.style.cursor = 'pointer';
|
188
|
+
this.currentTime.style.padding = '0 10px';
|
189
|
+
this.currentTime.innerText = '0 / 0';
|
190
|
+
this.progress.style.position = 'relative';
|
191
|
+
this.progress.style.flexGrow = '1';
|
192
|
+
this.progress.style.top = '0';
|
193
|
+
this.progress.style.height = '4px';
|
194
|
+
this.progress.style.background = '#ccc';
|
195
|
+
this.progress.style.borderRadius = '2px';
|
196
|
+
this.progress.style.overflow = 'hidden';
|
197
|
+
this.progress.style.cursor = 'pointer';
|
198
|
+
this.progressCurrent.style.position = 'absolute';
|
199
|
+
this.progressCurrent.style.left = '0';
|
200
|
+
this.progressCurrent.style.top = '0';
|
201
|
+
this.progressCurrent.style.bottom = '0';
|
202
|
+
this.progressCurrent.style.width = '0';
|
203
|
+
this.progressCurrent.style.background = '#52c41a';
|
204
|
+
this.loop.style.margin = '0 10px';
|
205
|
+
this.loop.style.padding = '2px 5px';
|
206
|
+
this.loop.style.borderRadius = '2px';
|
207
|
+
this.loop.className = this.options.loopIcon;
|
208
|
+
this.loop.style.fontSize = '18px';
|
209
|
+
this.loop.style.lineHeight = '20px';
|
210
|
+
this.loop.style.cursor = 'pointer';
|
211
|
+
fullScreen.className = this.options.fullScreenIcon;
|
212
|
+
fullScreen.style.fontSize = '17px';
|
213
|
+
fullScreen.style.lineHeight = '20px';
|
214
|
+
fullScreen.style.cursor = 'pointer';
|
215
|
+
this.player.appendChild(this.playBtn);
|
216
|
+
this.player.appendChild(this.currentTime);
|
217
|
+
this.player.appendChild(this.progress);
|
218
|
+
this.progress.appendChild(this.progressCurrent);
|
219
|
+
this.player.appendChild(this.loop);
|
220
|
+
this.player.appendChild(fullScreen);
|
221
|
+
this.playBtn.onclick = function () {
|
222
|
+
if (_this.media.paused) {
|
223
|
+
_this.media.play();
|
224
|
+
_this.playBtn.className = _this.options.pauseIcon;
|
225
|
+
} else {
|
226
|
+
_this.media.pause();
|
227
|
+
_this.playBtn.className = _this.options.playIcon;
|
228
|
+
}
|
229
|
+
};
|
230
|
+
this.progress.onclick = function (e) {
|
231
|
+
_this.media.currentTime = (e.offsetX / _this.progress.clientWidth) * _this.media.duration;
|
232
|
+
};
|
233
|
+
this.loop.onclick = function () {
|
234
|
+
_this.media.loop = !_this.media.loop;
|
235
|
+
_this.curNode.playLoop = _this.media.loop;
|
236
|
+
if (_this.media.loop) {
|
237
|
+
_this.loop.style.background = '#ddd';
|
238
|
+
} else {
|
239
|
+
_this.loop.style.background = 'none';
|
240
|
+
}
|
241
|
+
};
|
242
|
+
fullScreen.onclick = function () {
|
243
|
+
_this.media.requestFullscreen();
|
244
|
+
};
|
245
|
+
};
|
246
|
+
DivLayer.prototype.getMediaCurrent = function () {
|
247
|
+
if (!this.media) {
|
248
|
+
return;
|
249
|
+
}
|
250
|
+
this.currentTime.innerText =
|
251
|
+
this.formatSeconds(this.media.currentTime) + ' / ' + this.formatSeconds(this.media.duration);
|
252
|
+
this.progressCurrent.style.width =
|
253
|
+
(this.media.currentTime / this.media.duration) * this.progress.clientWidth + 'px';
|
254
|
+
};
|
255
|
+
DivLayer.prototype.addMedia = function (node, type) {
|
256
|
+
var _this = this;
|
257
|
+
var player = document.createElement('div');
|
258
|
+
var current = document.createElement('div');
|
259
|
+
var media = document.createElement(type);
|
260
|
+
current.style.position = 'absolute';
|
261
|
+
current.style.outline = 'none';
|
262
|
+
current.style.left = '0';
|
263
|
+
current.style.bottom = '0';
|
264
|
+
current.style.height = '2px';
|
265
|
+
current.style.background = '#52c41a';
|
266
|
+
media.style.position = 'absolute';
|
267
|
+
media.style.outline = 'none';
|
268
|
+
media.style.left = '0';
|
269
|
+
media.style.right = '0';
|
270
|
+
media.style.top = '0';
|
271
|
+
media.style.bottom = '0';
|
272
|
+
if (type === 'video') {
|
273
|
+
media.style.width = node.rect.width + 'px';
|
274
|
+
media.style.height = node.rect.height + 'px';
|
275
|
+
}
|
276
|
+
player.style.background = 'transparent';
|
277
|
+
if (node.play === 1) {
|
278
|
+
media.autoplay = true;
|
279
|
+
}
|
280
|
+
media.loop = node.playLoop;
|
281
|
+
media.ontimeupdate = function () {
|
282
|
+
current.style.width = (media.currentTime / media.duration) * node.rect.width + 'px';
|
283
|
+
_this.getMediaCurrent();
|
284
|
+
if (_this.media === media) {
|
285
|
+
if (node.playLoop) {
|
286
|
+
media.loop = true;
|
287
|
+
_this.loop.style.background = '#ddd';
|
288
|
+
} else {
|
289
|
+
media.loop = false;
|
290
|
+
_this.loop.style.background = 'none';
|
291
|
+
}
|
292
|
+
}
|
293
|
+
};
|
294
|
+
media.onended = function () {
|
295
|
+
Store.set(_this.generateStoreKey('mediaEnd'), node);
|
296
|
+
if (_this.media === media) {
|
297
|
+
_this.playBtn.className = _this.options.playIcon;
|
298
|
+
}
|
299
|
+
_this.playNext(node.nextPlay);
|
300
|
+
};
|
301
|
+
media.onloadedmetadata = function () {
|
302
|
+
_this.getMediaCurrent();
|
303
|
+
};
|
304
|
+
media.src = node[type];
|
305
|
+
player.appendChild(media);
|
306
|
+
player.appendChild(current);
|
307
|
+
this[type + 's'][node.id] = {
|
308
|
+
player: player,
|
309
|
+
current: current,
|
310
|
+
media: media
|
311
|
+
};
|
312
|
+
this.canvas.appendChild(player);
|
313
|
+
return player;
|
314
|
+
};
|
315
|
+
DivLayer.prototype.playNext = function (next) {
|
316
|
+
if (!next) {
|
317
|
+
return;
|
318
|
+
}
|
319
|
+
for (var _i = 0, _a = this.data.pens; _i < _a.length; _i++) {
|
320
|
+
var item = _a[_i];
|
321
|
+
if (!(item instanceof Node)) {
|
322
|
+
continue;
|
323
|
+
}
|
324
|
+
if (item.tags.indexOf(next) > -1) {
|
325
|
+
if (item.audio && this.audios[item.id] && this.audios[item.id].media && this.audios[item.id].media.paused) {
|
326
|
+
this.audios[item.id].media.play();
|
327
|
+
} else if (item.video && this.videos[item.id].media && this.videos[item.id].media.paused) {
|
328
|
+
this.videos[item.id].media.play();
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
};
|
333
|
+
DivLayer.prototype.addIframe = function (node) {
|
334
|
+
var iframe = document.createElement('iframe');
|
335
|
+
iframe.scrolling = 'no';
|
336
|
+
iframe.frameBorder = '0';
|
337
|
+
iframe.src = node.iframe;
|
338
|
+
this.iframes[node.id] = iframe;
|
339
|
+
this.canvas.appendChild(iframe);
|
340
|
+
return iframe;
|
341
|
+
};
|
342
|
+
DivLayer.prototype.addGif = function (node) {
|
343
|
+
this.gifs[node.id] = node.img;
|
344
|
+
this.canvas.appendChild(node.img);
|
345
|
+
return node.img;
|
346
|
+
};
|
347
|
+
DivLayer.prototype.setElemPosition = function (node, elem) {
|
348
|
+
setStyleForElementIdDiv(node, elem, this.data);
|
349
|
+
};
|
350
|
+
DivLayer.prototype.removeDiv = function (item) {
|
351
|
+
if (this.curNode && item.id === this.curNode.id) {
|
352
|
+
this.curNode = null;
|
353
|
+
// this.media = null;
|
354
|
+
// this.player.style.top = '-99999px';
|
355
|
+
}
|
356
|
+
// if (item.audio) {
|
357
|
+
// this.canvas.removeChild(this.audios[item.id].player);
|
358
|
+
// this.audios[item.id] = null;
|
359
|
+
// }
|
360
|
+
// if (item.video) {
|
361
|
+
// this.canvas.removeChild(this.videos[item.id].player);
|
362
|
+
// this.videos[item.id] = null;
|
363
|
+
// }
|
364
|
+
if (item.iframe) {
|
365
|
+
this.canvas.removeChild(this.iframes[item.id]);
|
366
|
+
this.iframes[item.id] = null;
|
367
|
+
}
|
368
|
+
if (item.elementId) {
|
369
|
+
const elementNode = this.elements[item.id] || DomElements[item.id];
|
370
|
+
this.canvas.removeChild(elementNode);
|
371
|
+
this.elements[item.id] = null;
|
372
|
+
}
|
373
|
+
if (item.gif) {
|
374
|
+
this.canvas.removeChild(this.gifs[item.id]);
|
375
|
+
this.gifs[item.id] = null;
|
376
|
+
}
|
377
|
+
if (item.children) {
|
378
|
+
for (var _i = 0, _a = item.children; _i < _a.length; _i++) {
|
379
|
+
var child = _a[_i];
|
380
|
+
if (child.type === PenType.Line) {
|
381
|
+
continue;
|
382
|
+
}
|
383
|
+
this.removeDiv(child);
|
384
|
+
}
|
385
|
+
}
|
386
|
+
};
|
387
|
+
DivLayer.prototype.clear = function () {
|
388
|
+
this.canvas.innerHTML = '';
|
389
|
+
//this.audios = {};
|
390
|
+
//this.videos = {};
|
391
|
+
this.iframes = {};
|
392
|
+
this.elements = {};
|
393
|
+
this.gifs = {};
|
394
|
+
for (var key in DomElements) {
|
395
|
+
delete DomElements[key];
|
396
|
+
}
|
397
|
+
// tslint:disable-next-line:forin
|
398
|
+
for (var key in images) {
|
399
|
+
delete images[key];
|
400
|
+
}
|
401
|
+
//this.player.style.top = '-99999px';
|
402
|
+
};
|
403
|
+
DivLayer.prototype.formatSeconds = function (seconds) {
|
404
|
+
var h = Math.floor(seconds / 3600);
|
405
|
+
var m = Math.floor(seconds / 60) % 60;
|
406
|
+
var s = Math.floor(seconds % 60);
|
407
|
+
var txt = s + '';
|
408
|
+
if (m) {
|
409
|
+
txt = m + ':' + s;
|
410
|
+
} else {
|
411
|
+
txt = '0:' + s;
|
412
|
+
}
|
413
|
+
if (h) {
|
414
|
+
txt = h + ':' + m + ':' + s;
|
415
|
+
}
|
416
|
+
return txt;
|
417
|
+
};
|
418
|
+
DivLayer.prototype.resize = function (size) {
|
419
|
+
if (size) {
|
420
|
+
this.canvas.style.width = size.width + 'px';
|
421
|
+
this.canvas.style.height = size.height + 'px';
|
422
|
+
} else {
|
423
|
+
if (this.options.width && this.options.width !== 'auto') {
|
424
|
+
this.canvas.style.width = this.options.width + 'px';
|
425
|
+
} else {
|
426
|
+
this.canvas.style.width = this.parentElem.clientWidth + 'px';
|
427
|
+
}
|
428
|
+
if (this.options.height && this.options.height !== 'auto') {
|
429
|
+
this.canvas.style.height = this.options.height + 'px';
|
430
|
+
} else {
|
431
|
+
this.canvas.style.height = this.parentElem.clientHeight - 8 + 'px';
|
432
|
+
}
|
433
|
+
}
|
434
|
+
};
|
435
|
+
DivLayer.prototype.render = function () {
|
436
|
+
for (var _i = 0, _a = this.data.pens; _i < _a.length; _i++) {
|
437
|
+
var item = _a[_i];
|
438
|
+
if (!item.getTID()) {
|
439
|
+
item.setTID(this.TID);
|
440
|
+
}
|
441
|
+
this.addDiv(item);
|
442
|
+
}
|
443
|
+
};
|
444
|
+
|
445
|
+
DivLayer.prototype.destroy = function () {
|
446
|
+
this.clear();
|
447
|
+
this.subcribe.unsubscribe();
|
448
|
+
//this.subcribeNode.unsubscribe();
|
449
|
+
|
450
|
+
//优化
|
451
|
+
this.canvas.onmousemove = null;
|
452
|
+
this.canvas.onmousedown = null
|
453
|
+
this.canvas.onmouseup = null
|
454
|
+
this.canvas.ondblclick = null
|
455
|
+
this.canvas.onblur = null
|
456
|
+
this.canvas.ontouchend = null;
|
457
|
+
this.canvas.ondragover = null;
|
458
|
+
this.canvas.ondrop = null;
|
459
|
+
this.canvas.onwheel = null;
|
460
|
+
|
461
|
+
this.data = null;
|
462
|
+
//end
|
463
|
+
};
|
464
|
+
|
465
|
+
DivLayer.prototype.changeDataDestroy = function () {
|
466
|
+
this.clear();
|
467
|
+
this.subcribe.unsubscribe();
|
468
|
+
this.subcribeNode.unsubscribe();
|
469
|
+
};
|
470
|
+
|
471
|
+
DivLayer.prototype.doFunRender = function (node, option) {
|
472
|
+
var _this = this;
|
473
|
+
if (option) {
|
474
|
+
if (_this.gifs[node.id] && _this.gifs[node.id].src !== node.image) {
|
475
|
+
_this.gifs[node.id].src = node.image;
|
476
|
+
_this.canvas.appendChild(_this.gifs[node.id] || node.img);
|
477
|
+
}
|
478
|
+
} else {
|
479
|
+
_this.canvas.removeChild(_this.gifs[node.id]);
|
480
|
+
}
|
481
|
+
}
|
482
|
+
return DivLayer;
|
483
|
+
}(Layer));
|
484
|
+
export {DivLayer};
|
485
|
+
//# sourceMappingURL=divLayer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"divLayer.js","sourceRoot":"","s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AAC,IAAI,CAAC,MAAM,EAAE,EAAE;gBAClB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aACvB;YACD,IAAI,CAAC,MAAM,CAAC,IAAY,CAAC,CAAC;SAC3B;IACH,CAAC;IAED,0BAAO,GAAP;QACE,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;QAC5B,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IAClC,CAAC;IACH,eAAC;AAAD,CAAC,AAxdD,CAA8B,KAAK,GAwdlC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import {Pen} from "../models";
|
2
|
+
|
3
|
+
export declare function setConfItemNode(item: any[], syncData: Node): Node;
|
4
|
+
export declare function setNodeEvents(item: any[], pen: Pen): void;
|
5
|
+
export declare function setControlData(pen: Pen, syncData: Node): void;
|
6
|
+
export declare function getControlNode(item: any, data: any): Node;
|
7
|
+
export declare function getDetailData(data: Node): void;
|
8
|
+
export declare function setStatisticalData(pen: Pen, data: any): Node;
|