@operato/scene-bpmn 1.1.8 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/base/bpmn-container-base.js +2 -2
  3. package/dist/base/bpmn-container-base.js.map +1 -1
  4. package/dist/base/bpmn-control-base.js +2 -2
  5. package/dist/base/bpmn-control-base.js.map +1 -1
  6. package/dist/bpmn-data-object.d.ts +2 -1
  7. package/dist/bpmn-data-object.js +13 -0
  8. package/dist/bpmn-data-object.js.map +1 -1
  9. package/dist/bpmn-data-store.d.ts +2 -0
  10. package/dist/bpmn-data-store.js +13 -0
  11. package/dist/bpmn-data-store.js.map +1 -1
  12. package/dist/bpmn-event.d.ts +9 -3
  13. package/dist/bpmn-event.js +28 -7
  14. package/dist/bpmn-event.js.map +1 -1
  15. package/dist/bpmn-expanded-subprocess.d.ts +13 -2
  16. package/dist/bpmn-expanded-subprocess.js +91 -3
  17. package/dist/bpmn-expanded-subprocess.js.map +1 -1
  18. package/dist/bpmn-flow.d.ts +8 -2
  19. package/dist/bpmn-flow.js +8 -0
  20. package/dist/bpmn-flow.js.map +1 -1
  21. package/dist/bpmn-gateway.d.ts +2 -1
  22. package/dist/bpmn-gateway.js +13 -0
  23. package/dist/bpmn-gateway.js.map +1 -1
  24. package/dist/bpmn-message.d.ts +2 -0
  25. package/dist/bpmn-message.js +13 -0
  26. package/dist/bpmn-message.js.map +1 -1
  27. package/dist/bpmn-subprocess.d.ts +13 -2
  28. package/dist/bpmn-subprocess.js +91 -3
  29. package/dist/bpmn-subprocess.js.map +1 -1
  30. package/dist/bpmn-task.js +14 -2
  31. package/dist/bpmn-task.js.map +1 -1
  32. package/dist/templates/bpmn-comment.d.ts +4 -0
  33. package/dist/templates/bpmn-comment.js +5 -1
  34. package/dist/templates/bpmn-comment.js.map +1 -1
  35. package/dist/templates/bpmn-data-object.d.ts +1 -0
  36. package/dist/templates/bpmn-data-object.js +2 -1
  37. package/dist/templates/bpmn-data-object.js.map +1 -1
  38. package/dist/templates/bpmn-data-store.d.ts +1 -0
  39. package/dist/templates/bpmn-data-store.js +2 -1
  40. package/dist/templates/bpmn-data-store.js.map +1 -1
  41. package/dist/templates/bpmn-event.d.ts +1 -0
  42. package/dist/templates/bpmn-event.js +2 -1
  43. package/dist/templates/bpmn-event.js.map +1 -1
  44. package/dist/templates/bpmn-flow.d.ts +11 -4
  45. package/dist/templates/bpmn-flow.js +11 -4
  46. package/dist/templates/bpmn-flow.js.map +1 -1
  47. package/dist/templates/bpmn-gateway.d.ts +1 -0
  48. package/dist/templates/bpmn-gateway.js +2 -1
  49. package/dist/templates/bpmn-gateway.js.map +1 -1
  50. package/dist/templates/bpmn-message.d.ts +1 -0
  51. package/dist/templates/bpmn-message.js +2 -1
  52. package/dist/templates/bpmn-message.js.map +1 -1
  53. package/dist/templates/index.d.ts +24 -2
  54. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +20 -5
  55. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +20 -0
  56. package/logs/application-2022-11-05-23.log +6 -0
  57. package/logs/application-2022-11-06-00.log +6 -0
  58. package/logs/application-2022-11-06-12.log +6 -0
  59. package/logs/application-2022-11-06-14.log +18 -0
  60. package/logs/connections-2022-11-05-23.log +35 -0
  61. package/logs/connections-2022-11-06-00.log +35 -0
  62. package/logs/connections-2022-11-06-12.log +35 -0
  63. package/logs/connections-2022-11-06-14.log +70 -0
  64. package/package.json +2 -2
  65. package/src/base/bpmn-container-base.ts +3 -3
  66. package/src/base/bpmn-control-base.ts +3 -3
  67. package/src/bpmn-data-object.ts +17 -1
  68. package/src/bpmn-data-store.ts +17 -1
  69. package/src/bpmn-event.ts +36 -10
  70. package/src/bpmn-expanded-subprocess.ts +94 -3
  71. package/src/bpmn-flow.ts +9 -0
  72. package/src/bpmn-gateway.ts +17 -1
  73. package/src/bpmn-message.ts +17 -1
  74. package/src/bpmn-subprocess.ts +93 -3
  75. package/src/bpmn-task.ts +13 -2
  76. package/src/templates/bpmn-comment.ts +5 -1
  77. package/src/templates/bpmn-data-object.ts +2 -1
  78. package/src/templates/bpmn-data-store.ts +2 -1
  79. package/src/templates/bpmn-event.ts +2 -1
  80. package/src/templates/bpmn-flow.ts +11 -4
  81. package/src/templates/bpmn-gateway.ts +2 -1
  82. package/src/templates/bpmn-message.ts +2 -1
  83. package/translations/en.json +5 -1
  84. package/translations/ko.json +5 -1
  85. package/translations/ms.json +5 -1
  86. package/translations/zh.json +5 -1
  87. package/tsconfig.tsbuildinfo +1 -1
  88. package/logs/application-2022-11-04-11.log +0 -6
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-task.js","sourceRoot":"","sources":["../src/bpmn-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,MAAM,wBAAwB,CAAA;AAE9D,OAAO,eAAe,MAAM,0BAA0B,CAAA;AAEtD,MAAM,MAAM,GAAG;IACb,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE;QACV;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,OAAO,EAAE;oBACP;wBACE,OAAO,EAAE,EAAE;wBACX,KAAK,EAAE,EAAE;qBACV;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,SAAS;qBACjB;oBACD;wBACE,OAAO,EAAE,MAAM;wBACf,KAAK,EAAE,MAAM;qBACd;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,SAAS;qBACjB;oBACD;wBACE,OAAO,EAAE,MAAM;wBACf,KAAK,EAAE,MAAM;qBACd;oBACD;wBACE,OAAO,EAAE,QAAQ;wBACjB,KAAK,EAAE,QAAQ;qBAChB;oBACD;wBACE,OAAO,EAAE,eAAe;wBACxB,KA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E,CAAA;gBACvB,KAAK,CAAC,GAAG;oBACP,0CAA0C;wBAC1C,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC,CAAA;gBACvE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;aAC9B;SACF;QAED,OAAO,IAAI,CAAC,YAAY,CAAA;IAC1B,CAAC;CACF;AAED,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;AAEzC,MAAM,MAAM,GAA+B;IACzC,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCV;IACC,IAAI,EAAE;;;;;;;;;GASL;IACD,OAAO,EAAE;;;;;;;;;GASR;IACD,IAAI,EAAE;;;;;;;;;;;;;;;;GAgBL;IACD,MAAM,EAAE;;;;;;;;;;;;;;;;;GAiBP;IACD,eAAe,EAAE;;;;;;;;;;;;;;GAchB;IACD,MAAM,EAAE;;;;;;;;;;;;;;;GAeP;CACF,CAAA;AAED,MAAM,OAAO,GAA+B;IAC1C,IAAI,EAAE;;;;;;;;;CASP;IACC,QAAQ,EAAE;;;;;;;;;;;;GAYT;IACD,UAAU,EAAE;;;;;;;;;;;;GAYX;CACF,CAAA","sourcesContent":["import { Component, Properties } from '@hatiolab/things-scene'\n\nimport BPMNControlBase from './base/bpmn-control-base'\n\nconst NATURE = {\n mutable: false,\n resizable: true,\n rotatable: false,\n properties: [\n {\n type: 'select',\n label: 'task-type',\n name: 'taskType',\n property: {\n options: [\n {\n display: '',\n value: ''\n },\n {\n display: 'service',\n value: 'service'\n },\n {\n display: 'send',\n value: 'send'\n },\n {\n display: 'receive',\n value: 'receive'\n },\n {\n display: 'user',\n value: 'user'\n },\n {\n display: 'manual',\n value: 'manual'\n },\n {\n display: 'business rule',\n value: 'business-rule'\n },\n {\n display: 'script',\n value: 'script'\n }\n ]\n }\n },\n {\n type: 'select',\n label: 'multi-instance',\n name: 'multiInstance',\n property: {\n options: [\n {\n display: '',\n value: ''\n },\n {\n display: 'parallel',\n value: 'parallel'\n },\n {\n display: 'sequential',\n value: 'sequential'\n }\n ]\n }\n },\n {\n type: 'checkbox',\n label: 'loop',\n name: 'loop'\n },\n {\n type: 'checkbox',\n label: 'call-activity',\n name: 'callActivity'\n }\n ],\n help: '/bpmn/task/task'\n}\n\nexport default class BPMNTask extends BPMNControlBase {\n private imageElement?: HTMLImageElement\n private markerImages?: HTMLImageElement[]\n\n static get nature() {\n return NATURE\n }\n\n render(ctx: CanvasRenderingContext2D) {\n const { left, top, width, height } = this.bounds\n const { callActivity } = this.state\n const radius = 9\n\n ctx.translate(left, top)\n ctx.beginPath()\n\n ctx.moveTo(radius, 0)\n ctx.arcTo(width, 0, width, height, radius)\n ctx.arcTo(width, height, 0, height, radius)\n ctx.arcTo(0, height, 0, 0, radius)\n ctx.arcTo(0, 0, width, 0, radius)\n\n this.drawFill(ctx)\n this.drawStroke(ctx, callActivity ? { lineWidth: 5 } : undefined)\n\n ctx.beginPath()\n\n const image = this.getImageElement()\n if (image) {\n this.drawImage(ctx, image, 0, 0, 24, 24)\n }\n\n const images = this.getMarkerImages() || []\n const start = (width - images.length * 16) / 2\n\n images.forEach((image, index) => {\n this.drawImage(ctx, image, start + index * 16, height - 16, 16, 16)\n })\n\n ctx.translate(-left, -top)\n }\n\n onchange(after: Properties, before: Properties) {\n if (['loop', 'multiInstance', 'taskType', 'strokeStyle'].find(prop => prop in after)) {\n delete this.markerImages\n delete this.imageElement\n }\n }\n\n getImageElement(): HTMLImageElement | null | undefined {\n if (!this.imageElement) {\n const { taskType, strokeStyle } = this.state\n\n if (!taskType) {\n return\n }\n\n const src = IMAGES[taskType]\n if (!src) {\n return\n }\n\n this.imageElement = new Image()\n this.imageElement.src =\n 'data:image/svg+xml;charset=UTF-8;base64,' + btoa(src.replace(/{{strokeColor}}/g, strokeStyle))\n }\n\n return this.imageElement\n }\n\n getMarkerImages(): HTMLImageElement[] | null | undefined {\n if (!this.markerImages) {\n const { loop, multiInstance, strokeStyle } = this.state\n\n this.markerImages = []\n\n if (loop) {\n let image = new Image()\n image.src =\n 'data:image/svg+xml;charset=UTF-8;base64,' + btoa(MARKERS['loop'].replace(/{{strokeColor}}/g, strokeStyle))\n this.markerImages.push(image)\n }\n\n if (multiInstance) {\n let image = new Image()\n image.src =\n 'data:image/svg+xml;charset=UTF-8;base64,' +\n btoa(MARKERS[multiInstance].replace(/{{strokeColor}}/g, strokeStyle))\n this.markerImages.push(image)\n }\n }\n\n return this.markerImages\n }\n}\n\nComponent.register('bpmn-task', BPMNTask)\n\nconst IMAGES: { [type: string]: string } = {\n service: `\n<svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <g>\n <path class=\"st0\" d=\"M22.6,11.3l0.3,2.1l0.1,0.6l0.5,0.2c0.5,0.2,0.9,0.5,1.4,0.8l0.5,0.3l0.5-0.2l2-0.8l1.5,2.5l-1.7,1.3\n l-0.5,0.4l0.1,0.6c0,0.2,0.1,0.5,0.1,0.8c0,0.3,0,0.5-0.1,0.8l-0.1,0.6l0.4,0.4l1.7,1.3l-1.5,2.5l-2-0.8l-0.5-0.2l-0.5,0.4\n c-0.4,0.3-0.9,0.6-1.4,0.8L23,25.8l-0.1,0.6l-0.3,2.1h-2.9l-0.3-2.1l-0.1-0.6l-0.5-0.2c-0.5-0.2-0.9-0.5-1.4-0.8l-0.5-0.3\n l-0.5,0.2l-2,0.8l-1.5-2.5l1.7-1.3l0.5-0.4L15,20.6c0-0.2-0.1-0.5-0.1-0.8c0-0.2,0-0.5,0.1-0.8l0.1-0.6l-0.5-0.4L13,16.8l1.5-2.5\n l2,0.8l0.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2.3-5.1,5.1\n c0,1.3,0.5,2.5,1.3,3.4l-1.2,1.9l-0.4,0.2l-2.3,0.9l-1.8-3.1l2-1.5l0.5-0.4L8,17.3c0-0.3-0.1-0.6-0.1-0.9c0-0.2,0-0.5,0.1-0.9\n l0.1-0.6l-0.5-0.4l-2-1.5l1.8-3.1l2.3,0.9l0.5,0.2l0.5-0.3c0.5-0.4,1.1-0.7,1.6-0.9l0.5-0.2L13,9l0.3-2.5H16.8 M17.2,5.5h-4.3\n c-0.3,0-0.5,0.2-0.5,0.5L12,8.9c-0.7,0.3-1.3,0.6-1.8,1.1L7.4,8.8c-0.1,0-0.1,0-0.2,0c-0.2,0-0.4,0.1-0.5,0.3l-2.2,3.7\n c-0.1,0.2-0.1,0.5,0.1,0.7L7,15.3C7,15.6,6.9,16,6.9,16.4c0,0.3,0,0.7,0.1,1.1l-2.3,1.8c-0.2,0.2-0.3,0.5-0.1,0.7l2.2,3.7\n c0.1,0.2,0.3,0.3,0.5,0.3c0.1,0,0.1,0,0.2,0l2.7-1.1c0.1,0.1,0.3,0.2,0.4,0.3l2.1-3.5c-1-0.7-1.6-1.9-1.6-3.2\n c0-2.2,1.8-4.1,4.1-4.1c0.7,0,1.4,0.2,2,0.5l1.9-3.6c-0.2-0.1-0.5-0.3-0.8-0.4L17.8,6C17.7,5.7,17.5,5.5,17.2,5.5L17.2,5.5z\"/>\n </g>\n </g>\n </g>\n</svg>\n`,\n send: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <path class=\"st0\" d=\"M27.1,7.9H7.9c-1.3,0-2.4,1.1-2.4,2.4l0,14.4c0,1.3,1.1,2.4,2.4,2.4h19.2c1.3,0,2.4-1.1,2.4-2.4V10.3\n\tC29.5,9,28.4,7.9,27.1,7.9z M27.1,12.7l-9.6,6l-9.6-6v-2.4l9.6,6l9.6-6V12.7z\"/>\n </svg>\n `,\n receive: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <path class=\"st0\" d=\"M29.5,10.3c0-1.3-1.1-2.4-2.4-2.4H7.9c-1.3,0-2.4,1.1-2.4,2.4v14.4c0,1.3,1.1,2.4,2.4,2.4h19.2c1.3,0,2.4-1.1,2.4-2.4V10.3z\n\t M27.1,9.3l-9.6,7l-9.6-7H27.1z M28.1,25.7H6.9v-16l10.6,8l10.6-8V25.7z\"/>\n </svg>\n `,\n user: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <g>\n <path class=\"st0\" d=\"M17.5,6.5c2.8,0,5,2.2,5,5s-2.2,5-5,5s-5-2.2-5-5S14.7,6.5,17.5,6.5 M17.4,20c3.6,0,10.1,3.3,10.1,6.5v2h-20v-2\n C7.5,23.3,13.8,20,17.4,20 M17.5,5.5c-3.3,0-6,2.7-6,6s2.7,6,6,6s6-2.7,6-6S20.8,5.5,17.5,5.5L17.5,5.5z M17.4,19\n c-4,0-10.9,3.6-10.9,7.5v3h22v-3C28.5,22.5,21.4,19,17.4,19L17.4,19z\"/>\n </g>\n <path class=\"st0\" d=\"M14.6,7.2c0,0,2,4.5,7.9,3.9C22.5,11.1,21.8,4.3,14.6,7.2z\"/>\n <path class=\"st0\" d=\"M16.2,9.4c0,0-1.2,1.3-4,1.2l1.2-2.5L14.9,7L16.2,9.4z\"/>\n </g>\n </svg>\n `,\n manual: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:none;stroke:{{strokeColor}};stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}\n </style>\n <g>\n <g>\n <g>\n <path class=\"st0\" d=\"M24,28.5H9.5c-2.2,0-4-1.8-4-4v-7.3c0-1.1,0.4-2.1,1.2-2.9l8-7.9c0,0,1.2,1.3,1.2,1.3\n c0.2,0.2,0.3,0.5,0.3,0.8c0,0.2-0.1,0.4-0.2,0.6c0,0-2.5,4.3-2.5,4.3h11.9c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5h-7v1H28\n c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5h-9.5v1H27c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5h-8.5v1H24c0.8,0,1.5,0.7,1.5,1.5\n S24.8,28.5,24,28.5z\"/>\n </g>\n </g>\n </g>\n </svg>\n `,\n 'business-rule': `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <g>\n <path class=\"st0\" d=\"M28.6,11.1v14.8H6.5V11.1h20.3 M26.8,8H8.2c-1.5,0-2.7,1-2.7,2.1v15.8c0,1.2,1.2,1.1,2.7,1.1h18.7c1.5,0,2.7,0.1,2.7-1.1\n V10.1C29.5,8.9,28.3,8,26.8,8L26.8,8z\"/>\n </g>\n <path class=\"st0\" d=\"M29,21.4H6v-1h23V21.4z M28.8,16.4h-23v-1h23V16.4z M14.2,10.6v16h-1v-16H14.2z\"/>\n </g>\n </svg>\n `,\n script: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:none;stroke:{{strokeColor}};stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}\n </style>\n <g>\n <path class=\"st0\" d=\"M7.9,8h20.8c0,0-2.9,1.7-2.6,7.2c0.1,1,0.5,2,1.1,2.9c1.1,1.5,3,4.6,0.4,9h-21c0,0,3.2-5.5,1-9\n C7.6,18,3.8,12.4,7.9,8z\"/>\n <rect class=\"st0\" x=\"9.1\" y=\"11.3\" width=\"14\" height=\"1\"/>\n <rect class=\"st0\" x=\"9.7\" y=\"15\" width=\"14\" height=\"1\"/>\n <rect class=\"st0\" x=\"10.7\" y=\"18.7\" width=\"14\" height=\"1\"/>\n <rect class=\"st0\" x=\"11.7\" y=\"22.3\" width=\"14\" height=\"1\"/>\n </g>\n </svg>\n `\n}\n\nconst MARKERS: { [type: string]: string } = {\n loop: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <path class=\"st0\" d=\"M9.5,5.2C4.3,9.7,3.7,17.5,8.1,22.8L5,25.4l7.8,0.6l0.6-7.8L10.2,21c-3.5-4.1-3-10.1,1-13.6s10.1-3,13.6,1\n s3,10.1-1,13.6c-1.6,1.4-3.5,2.1-5.4,2.3l-0.2,2.8c2.6-0.2,5.3-1.1,7.4-3c5.2-4.5,5.8-12.3,1.3-17.5S14.7,0.8,9.5,5.2z\"/>\n </svg>\n`,\n parallel: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <rect x=\"5.5\" y=\"1.9\" class=\"st0\" width=\"3.3\" height=\"25.3\"/>\n <rect x=\"15.9\" y=\"1.9\" class=\"st0\" width=\"3.3\" height=\"25.3\"/>\n <rect x=\"26.2\" y=\"1.9\" class=\"st0\" width=\"3.3\" height=\"25.3\"/>\n </g>\n </svg>\n `,\n sequential: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <rect x=\"4.8\" y=\"2.6\" width=\"25.3\" height=\"3.3\" class=\"st0\"/>\n <rect x=\"4.8\" y=\"13\" width=\"25.3\" height=\"3.3\" class=\"st0\"/>\n <rect x=\"4.8\" y=\"23.3\" width=\"25.3\" height=\"3.3\" class=\"st0\"/>\n </g>\n </svg>\n `\n}\n"]}
1
+ {"version":3,"file":"bpmn-task.js","sourceRoot":"","sources":["../src/bpmn-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,MAAM,wBAAwB,CAAA;AAE9D,OAAO,eAAe,MAAM,0BAA0B,CAAA;AAEtD,MAAM,MAAM,G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;;;;;;;;;;;;;;;;;;;CAkCV;IACC,IAAI,EAAE;;;;;;;;;GASL;IACD,OAAO,EAAE;;;;;;;;;GASR;IACD,IAAI,EAAE;;;;;;;;;;;;;;;;GAgBL;IACD,MAAM,EAAE;;;;;;;;;;;;;;;;;GAiBP;IACD,eAAe,EAAE;;;;;;;;;;;;;;GAchB;IACD,MAAM,EAAE;;;;;;;;;;;;;;;GAeP;CACF,CAAA;AAED,MAAM,OAAO,GAA+B;IAC1C,IAAI,EAAE;;;;;;;;;CASP;IACC,QAAQ,EAAE;;;;;;;;;;;;GAYT;IACD,UAAU,EAAE;;;;;;;;;;;;GAYX;CACF,CAAA","sourcesContent":["import { Component, Properties } from '@hatiolab/things-scene'\n\nimport BPMNControlBase from './base/bpmn-control-base'\n\nconst NATURE = {\n mutable: false,\n resizable: true,\n rotatable: false,\n properties: [\n {\n type: 'select',\n label: 'task-type',\n name: 'taskType',\n property: {\n options: [\n {\n display: '',\n value: ''\n },\n {\n display: 'service',\n value: 'service'\n },\n {\n display: 'send',\n value: 'send'\n },\n {\n display: 'receive',\n value: 'receive'\n },\n {\n display: 'user',\n value: 'user'\n },\n {\n display: 'manual',\n value: 'manual'\n },\n {\n display: 'business rule',\n value: 'business-rule'\n },\n {\n display: 'script',\n value: 'script'\n }\n ]\n }\n },\n {\n type: 'select',\n label: 'multi-instance',\n name: 'multiInstance',\n property: {\n options: [\n {\n display: '',\n value: ''\n },\n {\n display: 'parallel',\n value: 'parallel'\n },\n {\n display: 'sequential',\n value: 'sequential'\n }\n ]\n }\n },\n {\n type: 'checkbox',\n label: 'loop',\n name: 'loop'\n },\n {\n type: 'checkbox',\n label: 'call-activity',\n name: 'callActivity'\n },\n {\n type: 'checkbox',\n label: 'interrupting',\n name: 'interrupting'\n }\n ],\n help: '/bpmn/task/task'\n}\n\nexport default class BPMNTask extends BPMNControlBase {\n private imageElement?: HTMLImageElement\n private markerImages?: HTMLImageElement[]\n\n static get nature() {\n return NATURE\n }\n\n render(ctx: CanvasRenderingContext2D) {\n const { left, top, width, height } = this.bounds\n const { callActivity, interrupting } = this.state\n const radius = 9\n\n ctx.translate(left, top)\n ctx.beginPath()\n\n ctx.moveTo(radius, 0)\n ctx.arcTo(width, 0, width, height, radius)\n ctx.arcTo(width, height, 0, height, radius)\n ctx.arcTo(0, height, 0, 0, radius)\n ctx.arcTo(0, 0, width, 0, radius)\n\n this.drawFill(ctx)\n if (callActivity) {\n this.drawStroke(ctx, { lineWidth: 5 })\n } else {\n this.drawStroke(ctx, {\n lineDash: interrupting ? 'dash' : 'solid'\n })\n }\n\n ctx.beginPath()\n\n const image = this.getImageElement()\n if (image) {\n this.drawImage(ctx, image, 0, 0, 24, 24)\n }\n\n const images = this.getMarkerImages() || []\n const start = (width - images.length * 16) / 2\n\n images.forEach((image, index) => {\n this.drawImage(ctx, image, start + index * 16, height - 16, 16, 16)\n })\n\n ctx.translate(-left, -top)\n }\n\n onchange(after: Properties, before: Properties) {\n if (['loop', 'multiInstance', 'taskType', 'strokeStyle'].find(prop => prop in after)) {\n delete this.markerImages\n delete this.imageElement\n }\n }\n\n getImageElement(): HTMLImageElement | null | undefined {\n if (!this.imageElement) {\n const { taskType, strokeStyle } = this.state\n\n if (!taskType) {\n return\n }\n\n const src = IMAGES[taskType]\n if (!src) {\n return\n }\n\n this.imageElement = new Image()\n this.imageElement.src =\n 'data:image/svg+xml;charset=UTF-8;base64,' + btoa(src.replace(/{{strokeColor}}/g, strokeStyle))\n }\n\n return this.imageElement\n }\n\n getMarkerImages(): HTMLImageElement[] | null | undefined {\n if (!this.markerImages) {\n const { loop, multiInstance, strokeStyle } = this.state\n\n this.markerImages = []\n\n if (loop) {\n let image = new Image()\n image.src =\n 'data:image/svg+xml;charset=UTF-8;base64,' + btoa(MARKERS['loop'].replace(/{{strokeColor}}/g, strokeStyle))\n this.markerImages.push(image)\n }\n\n if (multiInstance) {\n let image = new Image()\n image.src =\n 'data:image/svg+xml;charset=UTF-8;base64,' +\n btoa(MARKERS[multiInstance].replace(/{{strokeColor}}/g, strokeStyle))\n this.markerImages.push(image)\n }\n }\n\n return this.markerImages\n }\n}\n\nComponent.register('bpmn-task', BPMNTask)\n\nconst IMAGES: { [type: string]: string } = {\n service: `\n<svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <g>\n <path class=\"st0\" d=\"M22.6,11.3l0.3,2.1l0.1,0.6l0.5,0.2c0.5,0.2,0.9,0.5,1.4,0.8l0.5,0.3l0.5-0.2l2-0.8l1.5,2.5l-1.7,1.3\n l-0.5,0.4l0.1,0.6c0,0.2,0.1,0.5,0.1,0.8c0,0.3,0,0.5-0.1,0.8l-0.1,0.6l0.4,0.4l1.7,1.3l-1.5,2.5l-2-0.8l-0.5-0.2l-0.5,0.4\n c-0.4,0.3-0.9,0.6-1.4,0.8L23,25.8l-0.1,0.6l-0.3,2.1h-2.9l-0.3-2.1l-0.1-0.6l-0.5-0.2c-0.5-0.2-0.9-0.5-1.4-0.8l-0.5-0.3\n l-0.5,0.2l-2,0.8l-1.5-2.5l1.7-1.3l0.5-0.4L15,20.6c0-0.2-0.1-0.5-0.1-0.8c0-0.2,0-0.5,0.1-0.8l0.1-0.6l-0.5-0.4L13,16.8l1.5-2.5\n l2,0.8l0.5,0.2l0.5-0.3c0.5-0.4,0.9-0.6,1.4-0.8l0.5-0.2l0.1-0.6l0.3-2.1H22.6 M21.1,24.5c2.5,0,4.6-2.1,4.6-4.6s-2.1-4.6-4.6-4.6\n s-4.6,2.1-4.6,4.6S18.6,24.5,21.1,24.5 M23,10.3h-3.8c-0.2,0-0.4,0.2-0.5,0.4l-0.4,2.5c-0.6,0.2-1.1,0.6-1.6,0.9l-2.4-1\n c-0.1,0-0.1,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8 M17.2,5.5h-4.3\n c-0.3,0-0.5,0.2-0.5,0.5L12,8.9c-0.7,0.3-1.3,0.6-1.8,1.1L7.4,8.8c-0.1,0-0.1,0-0.2,0c-0.2,0-0.4,0.1-0.5,0.3l-2.2,3.7\n c-0.1,0.2-0.1,0.5,0.1,0.7L7,15.3C7,15.6,6.9,16,6.9,16.4c0,0.3,0,0.7,0.1,1.1l-2.3,1.8c-0.2,0.2-0.3,0.5-0.1,0.7l2.2,3.7\n c0.1,0.2,0.3,0.3,0.5,0.3c0.1,0,0.1,0,0.2,0l2.7-1.1c0.1,0.1,0.3,0.2,0.4,0.3l2.1-3.5c-1-0.7-1.6-1.9-1.6-3.2\n c0-2.2,1.8-4.1,4.1-4.1c0.7,0,1.4,0.2,2,0.5l1.9-3.6c-0.2-0.1-0.5-0.3-0.8-0.4L17.8,6C17.7,5.7,17.5,5.5,17.2,5.5L17.2,5.5z\"/>\n </g>\n </g>\n </g>\n</svg>\n`,\n send: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <path class=\"st0\" d=\"M27.1,7.9H7.9c-1.3,0-2.4,1.1-2.4,2.4l0,14.4c0,1.3,1.1,2.4,2.4,2.4h19.2c1.3,0,2.4-1.1,2.4-2.4V10.3\n\tC29.5,9,28.4,7.9,27.1,7.9z M27.1,12.7l-9.6,6l-9.6-6v-2.4l9.6,6l9.6-6V12.7z\"/>\n </svg>\n `,\n receive: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <path class=\"st0\" d=\"M29.5,10.3c0-1.3-1.1-2.4-2.4-2.4H7.9c-1.3,0-2.4,1.1-2.4,2.4v14.4c0,1.3,1.1,2.4,2.4,2.4h19.2c1.3,0,2.4-1.1,2.4-2.4V10.3z\n\t M27.1,9.3l-9.6,7l-9.6-7H27.1z M28.1,25.7H6.9v-16l10.6,8l10.6-8V25.7z\"/>\n </svg>\n `,\n user: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <g>\n <path class=\"st0\" d=\"M17.5,6.5c2.8,0,5,2.2,5,5s-2.2,5-5,5s-5-2.2-5-5S14.7,6.5,17.5,6.5 M17.4,20c3.6,0,10.1,3.3,10.1,6.5v2h-20v-2\n C7.5,23.3,13.8,20,17.4,20 M17.5,5.5c-3.3,0-6,2.7-6,6s2.7,6,6,6s6-2.7,6-6S20.8,5.5,17.5,5.5L17.5,5.5z M17.4,19\n c-4,0-10.9,3.6-10.9,7.5v3h22v-3C28.5,22.5,21.4,19,17.4,19L17.4,19z\"/>\n </g>\n <path class=\"st0\" d=\"M14.6,7.2c0,0,2,4.5,7.9,3.9C22.5,11.1,21.8,4.3,14.6,7.2z\"/>\n <path class=\"st0\" d=\"M16.2,9.4c0,0-1.2,1.3-4,1.2l1.2-2.5L14.9,7L16.2,9.4z\"/>\n </g>\n </svg>\n `,\n manual: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:none;stroke:{{strokeColor}};stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}\n </style>\n <g>\n <g>\n <g>\n <path class=\"st0\" d=\"M24,28.5H9.5c-2.2,0-4-1.8-4-4v-7.3c0-1.1,0.4-2.1,1.2-2.9l8-7.9c0,0,1.2,1.3,1.2,1.3\n c0.2,0.2,0.3,0.5,0.3,0.8c0,0.2-0.1,0.4-0.2,0.6c0,0-2.5,4.3-2.5,4.3h11.9c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5h-7v1H28\n c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5h-9.5v1H27c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5h-8.5v1H24c0.8,0,1.5,0.7,1.5,1.5\n S24.8,28.5,24,28.5z\"/>\n </g>\n </g>\n </g>\n </svg>\n `,\n 'business-rule': `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <g>\n <path class=\"st0\" d=\"M28.6,11.1v14.8H6.5V11.1h20.3 M26.8,8H8.2c-1.5,0-2.7,1-2.7,2.1v15.8c0,1.2,1.2,1.1,2.7,1.1h18.7c1.5,0,2.7,0.1,2.7-1.1\n V10.1C29.5,8.9,28.3,8,26.8,8L26.8,8z\"/>\n </g>\n <path class=\"st0\" d=\"M29,21.4H6v-1h23V21.4z M28.8,16.4h-23v-1h23V16.4z M14.2,10.6v16h-1v-16H14.2z\"/>\n </g>\n </svg>\n `,\n script: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:none;stroke:{{strokeColor}};stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}\n </style>\n <g>\n <path class=\"st0\" d=\"M7.9,8h20.8c0,0-2.9,1.7-2.6,7.2c0.1,1,0.5,2,1.1,2.9c1.1,1.5,3,4.6,0.4,9h-21c0,0,3.2-5.5,1-9\n C7.6,18,3.8,12.4,7.9,8z\"/>\n <rect class=\"st0\" x=\"9.1\" y=\"11.3\" width=\"14\" height=\"1\"/>\n <rect class=\"st0\" x=\"9.7\" y=\"15\" width=\"14\" height=\"1\"/>\n <rect class=\"st0\" x=\"10.7\" y=\"18.7\" width=\"14\" height=\"1\"/>\n <rect class=\"st0\" x=\"11.7\" y=\"22.3\" width=\"14\" height=\"1\"/>\n </g>\n </svg>\n `\n}\n\nconst MARKERS: { [type: string]: string } = {\n loop: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <path class=\"st0\" d=\"M9.5,5.2C4.3,9.7,3.7,17.5,8.1,22.8L5,25.4l7.8,0.6l0.6-7.8L10.2,21c-3.5-4.1-3-10.1,1-13.6s10.1-3,13.6,1\n s3,10.1-1,13.6c-1.6,1.4-3.5,2.1-5.4,2.3l-0.2,2.8c2.6-0.2,5.3-1.1,7.4-3c5.2-4.5,5.8-12.3,1.3-17.5S14.7,0.8,9.5,5.2z\"/>\n </svg>\n`,\n parallel: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <rect x=\"5.5\" y=\"1.9\" class=\"st0\" width=\"3.3\" height=\"25.3\"/>\n <rect x=\"15.9\" y=\"1.9\" class=\"st0\" width=\"3.3\" height=\"25.3\"/>\n <rect x=\"26.2\" y=\"1.9\" class=\"st0\" width=\"3.3\" height=\"25.3\"/>\n </g>\n </svg>\n `,\n sequential: `\n <svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 35 35\" style=\"enable-background:new 0 0 35 35;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <rect x=\"4.8\" y=\"2.6\" width=\"25.3\" height=\"3.3\" class=\"st0\"/>\n <rect x=\"4.8\" y=\"13\" width=\"25.3\" height=\"3.3\" class=\"st0\"/>\n <rect x=\"4.8\" y=\"23.3\" width=\"25.3\" height=\"3.3\" class=\"st0\"/>\n </g>\n </svg>\n `\n}\n"]}
@@ -13,6 +13,10 @@ declare const _default: {
13
13
  strokeStyle: string;
14
14
  textAlign: string;
15
15
  textBaseline: string;
16
+ paddingTop: number;
17
+ paddingBottom: number;
18
+ paddingLeft: number;
19
+ paddingRight: number;
16
20
  };
17
21
  about: string;
18
22
  };
@@ -13,7 +13,11 @@ export default {
13
13
  lineWidth: 2,
14
14
  strokeStyle: 'black',
15
15
  textAlign: 'left',
16
- textBaseline: 'top'
16
+ textBaseline: 'top',
17
+ paddingTop: 10,
18
+ paddingBottom: 10,
19
+ paddingLeft: 10,
20
+ paddingRight: 10
17
21
  },
18
22
  about: '/helps/bpmn/comment/comment.md'
19
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-comment.js","sourceRoot":"","sources":["../../src/templates/bpmn-comment.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,CAAC;QACZ,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,KAAK;KACpB;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-comment.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-comment',\n description: 'controls for BPMN comment',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-comment',\n left: 10,\n top: 10,\n width: 100,\n height: 60,\n lineWidth: 2,\n strokeStyle: 'black',\n textAlign: 'left',\n textBaseline: 'top'\n },\n about: '/helps/bpmn/comment/comment.md'\n}\n"]}
1
+ {"version":3,"file":"bpmn-comment.js","sourceRoot":"","sources":["../../src/templates/bpmn-comment.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,CAAC;QACZ,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,KAAK;QACnB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,EAAE;QACjB,WAAW,EAAE,EAAE;QACf,YAAY,EAAE,EAAE;KACjB;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-comment.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-comment',\n description: 'controls for BPMN comment',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-comment',\n left: 10,\n top: 10,\n width: 100,\n height: 60,\n lineWidth: 2,\n strokeStyle: 'black',\n textAlign: 'left',\n textBaseline: 'top',\n paddingTop: 10,\n paddingBottom: 10,\n paddingLeft: 10,\n paddingRight: 10\n },\n about: '/helps/bpmn/comment/comment.md'\n}\n"]}
@@ -13,6 +13,7 @@ declare const _default: {
13
13
  lineWidth: number;
14
14
  lineCap: string;
15
15
  lineJoin: string;
16
+ textBaseline: string;
16
17
  };
17
18
  about: string;
18
19
  };
@@ -13,7 +13,8 @@ export default {
13
13
  strokeStyle: 'black',
14
14
  lineWidth: 2,
15
15
  lineCap: 'round',
16
- lineJoin: 'round'
16
+ lineJoin: 'round',
17
+ textBaseline: 'top'
17
18
  },
18
19
  about: '/helps/bpmn/data-object/data-object.md'
19
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-data-object.js","sourceRoot":"","sources":["../../src/templates/bpmn-data-object.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,uCAAuC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEnF,eAAe;IACb,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,+BAA+B;IAC5C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE,wCAAwC;CAChD,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-data-object.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-data-object',\n description: 'controls for BPMN data-object',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-data-object',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2,\n lineCap: 'round',\n lineJoin: 'round'\n },\n about: '/helps/bpmn/data-object/data-object.md'\n}\n"]}
1
+ {"version":3,"file":"bpmn-data-object.js","sourceRoot":"","sources":["../../src/templates/bpmn-data-object.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,uCAAuC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEnF,eAAe;IACb,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,+BAA+B;IAC5C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,KAAK;KACpB;IACD,KAAK,EAAE,wCAAwC;CAChD,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-data-object.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-data-object',\n description: 'controls for BPMN data-object',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-data-object',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2,\n lineCap: 'round',\n lineJoin: 'round',\n textBaseline: 'top'\n },\n about: '/helps/bpmn/data-object/data-object.md'\n}\n"]}
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  height: number;
12
12
  strokeStyle: string;
13
13
  lineWidth: number;
14
+ textBaseline: string;
14
15
  };
15
16
  about: string;
16
17
  };
@@ -11,7 +11,8 @@ export default {
11
11
  width: 60,
12
12
  height: 60,
13
13
  strokeStyle: 'black',
14
- lineWidth: 2
14
+ lineWidth: 2,
15
+ textBaseline: 'top'
15
16
  },
16
17
  about: '/helps/bpmn/data-store/data-store.md'
17
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-data-store.js","sourceRoot":"","sources":["../../src/templates/bpmn-data-store.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sCAAsC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElF,eAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,sCAAsC;CAC9C,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-data-store.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-data-store',\n description: 'controls for BPMN data-store',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-data-store',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: '/helps/bpmn/data-store/data-store.md'\n}\n"]}
1
+ {"version":3,"file":"bpmn-data-store.js","sourceRoot":"","sources":["../../src/templates/bpmn-data-store.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sCAAsC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElF,eAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,KAAK;KACpB;IACD,KAAK,EAAE,sCAAsC;CAC9C,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-data-store.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-data-store',\n description: 'controls for BPMN data-store',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-data-store',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2,\n textBaseline: 'top'\n },\n about: '/helps/bpmn/data-store/data-store.md'\n}\n"]}
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  height: number;
12
12
  strokeStyle: string;
13
13
  lineWidth: number;
14
+ textBaseline: string;
14
15
  };
15
16
  about: string;
16
17
  };
@@ -11,7 +11,8 @@ export default {
11
11
  width: 48,
12
12
  height: 48,
13
13
  strokeStyle: 'black',
14
- lineWidth: 2
14
+ lineWidth: 2,
15
+ textBaseline: 'top'
15
16
  },
16
17
  about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-events/'
17
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-event.js","sourceRoot":"","sources":["../../src/templates/bpmn-event.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE7E,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,yBAAyB;IACtC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,yDAAyD;CACjE,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-event.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-event',\n description: 'controls for BPMN event',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-event',\n left: 10,\n top: 10,\n width: 48,\n height: 48,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-events/'\n}\n"]}
1
+ {"version":3,"file":"bpmn-event.js","sourceRoot":"","sources":["../../src/templates/bpmn-event.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE7E,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,yBAAyB;IACtC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,KAAK;KACpB;IACD,KAAK,EAAE,yDAAyD;CACjE,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-event.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-event',\n description: 'controls for BPMN event',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-event',\n left: 10,\n top: 10,\n width: 48,\n height: 48,\n strokeStyle: 'black',\n lineWidth: 2,\n textBaseline: 'top'\n },\n about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-events/'\n}\n"]}
@@ -5,10 +5,17 @@ declare const _default: {
5
5
  icon: string;
6
6
  model: {
7
7
  type: string;
8
- left: number;
9
- top: number;
10
- width: number;
11
- height: number;
8
+ x1: number;
9
+ y1: number;
10
+ x2: number;
11
+ y2: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ round: number;
15
+ begin: string;
16
+ beginSize: string;
17
+ end: string;
18
+ endSize: string;
12
19
  };
13
20
  about: string;
14
21
  };
@@ -6,10 +6,17 @@ export default {
6
6
  icon,
7
7
  model: {
8
8
  type: 'bpmn-flow',
9
- left: 10,
10
- top: 10,
11
- width: 80,
12
- height: 50
9
+ x1: 100,
10
+ y1: 100,
11
+ x2: 200,
12
+ y2: 200,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2,
15
+ round: 10,
16
+ begin: 'none',
17
+ beginSize: 'size1',
18
+ end: 'arrow',
19
+ endSize: 'size9'
13
20
  },
14
21
  about: '/helps/bpmn/flow/flow.md'
15
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-flow.js","sourceRoot":"","sources":["../../src/templates/bpmn-flow.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;IACD,KAAK,EAAE,0BAA0B;CAClC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-flow.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-flow',\n description: 'controls for BPMN flow',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-flow',\n left: 10,\n top: 10,\n width: 80,\n height: 50\n },\n about: '/helps/bpmn/flow/flow.md'\n}\n"]}
1
+ {"version":3,"file":"bpmn-flow.js","sourceRoot":"","sources":["../../src/templates/bpmn-flow.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,GAAG;QACP,EAAE,EAAE,GAAG;QACP,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,OAAO;QAClB,GAAG,EAAE,OAAO;QACZ,OAAO,EAAE,OAAO;KACjB;IACD,KAAK,EAAE,0BAA0B;CAClC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-flow.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-flow',\n description: 'controls for BPMN flow',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-flow',\n x1: 100,\n y1: 100,\n x2: 200,\n y2: 200,\n strokeStyle: 'black',\n lineWidth: 2,\n round: 10,\n begin: 'none',\n beginSize: 'size1',\n end: 'arrow',\n endSize: 'size9'\n },\n about: '/helps/bpmn/flow/flow.md'\n}\n"]}
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  height: number;
12
12
  strokeStyle: string;
13
13
  lineWidth: number;
14
+ textBaseline: string;
14
15
  };
15
16
  about: string;
16
17
  };
@@ -11,7 +11,8 @@ export default {
11
11
  width: 60,
12
12
  height: 60,
13
13
  strokeStyle: 'black',
14
- lineWidth: 2
14
+ lineWidth: 2,
15
+ textBaseline: 'top'
15
16
  },
16
17
  about: '/helps/bpmn/gateway/gateway.md'
17
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-gateway.js","sourceRoot":"","sources":["../../src/templates/bpmn-gateway.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-gateway.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-gateway',\n description: 'controls for BPMN gateway',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-gateway',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: '/helps/bpmn/gateway/gateway.md'\n}\n"]}
1
+ {"version":3,"file":"bpmn-gateway.js","sourceRoot":"","sources":["../../src/templates/bpmn-gateway.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,KAAK;KACpB;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-gateway.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-gateway',\n description: 'controls for BPMN gateway',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-gateway',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2,\n textBaseline: 'top'\n },\n about: '/helps/bpmn/gateway/gateway.md'\n}\n"]}
@@ -13,6 +13,7 @@ declare const _default: {
13
13
  lineWidth: number;
14
14
  lineCap: string;
15
15
  lineJoin: string;
16
+ textBaseline: string;
16
17
  };
17
18
  about: string;
18
19
  };
@@ -13,7 +13,8 @@ export default {
13
13
  strokeStyle: 'black',
14
14
  lineWidth: 2,
15
15
  lineCap: 'round',
16
- lineJoin: 'round'
16
+ lineJoin: 'round',
17
+ textBaseline: 'top'
17
18
  },
18
19
  about: '/helps/bpmn/message/message.md'
19
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bpmn-message.js","sourceRoot":"","sources":["../../src/templates/bpmn-message.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-message.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-message',\n description: 'controls for BPMN message',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-message',\n left: 10,\n top: 10,\n width: 48,\n height: 36,\n strokeStyle: 'black',\n lineWidth: 2,\n lineCap: 'round',\n lineJoin: 'round'\n },\n about: '/helps/bpmn/message/message.md'\n}\n"]}
1
+ {"version":3,"file":"bpmn-message.js","sourceRoot":"","sources":["../../src/templates/bpmn-message.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,KAAK;KACpB;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-message.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-message',\n description: 'controls for BPMN message',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-message',\n left: 10,\n top: 10,\n width: 48,\n height: 36,\n strokeStyle: 'black',\n lineWidth: 2,\n lineCap: 'round',\n lineJoin: 'round',\n textBaseline: 'top'\n },\n about: '/helps/bpmn/message/message.md'\n}\n"]}
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ declare const _default: ({
2
2
  type: string;
3
3
  description: string;
4
4
  group: string;
@@ -9,7 +9,29 @@ declare const _default: {
9
9
  top: number;
10
10
  width: number;
11
11
  height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
12
14
  };
13
15
  about: string;
14
- }[];
16
+ } | {
17
+ type: string;
18
+ description: string;
19
+ group: string;
20
+ icon: string;
21
+ model: {
22
+ type: string;
23
+ x1: number;
24
+ y1: number;
25
+ x2: number;
26
+ y2: number;
27
+ strokeStyle: string;
28
+ lineWidth: number;
29
+ round: number;
30
+ begin: string;
31
+ beginSize: string;
32
+ end: string;
33
+ endSize: string;
34
+ };
35
+ about: string;
36
+ })[];
15
37
  export default _default;
@@ -5,11 +5,6 @@
5
5
  },
6
6
  "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
7
  "files": [
8
- {
9
- "date": 1667529554078,
10
- "name": "logs/application-2022-11-04-11.log",
11
- "hash": "a534e83ab1972d8e0a0bc94b3d5676455954fe3585f1b8d86f1f9bb18f3c9bfa"
12
- },
13
8
  {
14
9
  "date": 1667539391709,
15
10
  "name": "logs/application-2022-11-04-14.log",
@@ -49,6 +44,26 @@
49
44
  "date": 1667648203876,
50
45
  "name": "logs/application-2022-11-05-20.log",
51
46
  "hash": "10b861fc26e00ea189134e063925fd03e749f8bdedb8d90b8fd112ec9a6fbb33"
47
+ },
48
+ {
49
+ "date": 1667658659432,
50
+ "name": "logs/application-2022-11-05-23.log",
51
+ "hash": "61c81cd567ef121dc101febadc22981507edec71533bc306b61716cfeed5ccc7"
52
+ },
53
+ {
54
+ "date": 1667663185909,
55
+ "name": "logs/application-2022-11-06-00.log",
56
+ "hash": "cfb02bf07e6f1e3aced77574cdad6729c41c9a6e6a5f41240a8d7dc39319e10b"
57
+ },
58
+ {
59
+ "date": 1667706475012,
60
+ "name": "logs/application-2022-11-06-12.log",
61
+ "hash": "dd895c49e0fb6505f9c27686fb228e03e6cf65b05b2dcc764fff87c768016993"
62
+ },
63
+ {
64
+ "date": 1667711656623,
65
+ "name": "logs/application-2022-11-06-14.log",
66
+ "hash": "1b0c3ed6a17f767e58be0fee479170777ee2a5b0f32f639ccfd86ccaf4f6f54a"
52
67
  }
53
68
  ],
54
69
  "hashType": "sha256"
@@ -59,6 +59,26 @@
59
59
  "date": 1667648205315,
60
60
  "name": "logs/connections-2022-11-05-20.log",
61
61
  "hash": "e1064be56d3fcb012c1a92b9b670dfe212eb4b9da692dc02ba50b3e92aed0f11"
62
+ },
63
+ {
64
+ "date": 1667658660894,
65
+ "name": "logs/connections-2022-11-05-23.log",
66
+ "hash": "3cbf6fad1e4a4afb5a7053015ad2bdc8d0f579a4733ca6459e0445b2d77eebcd"
67
+ },
68
+ {
69
+ "date": 1667663186961,
70
+ "name": "logs/connections-2022-11-06-00.log",
71
+ "hash": "460a0734260e86f887869c0d16f9d871a411537404d71832b6d9fe446875b428"
72
+ },
73
+ {
74
+ "date": 1667706476124,
75
+ "name": "logs/connections-2022-11-06-12.log",
76
+ "hash": "55c3cea79b470acca8f8394b56ea7eb0696e94fad3ebe2e266c204894517e9a9"
77
+ },
78
+ {
79
+ "date": 1667711657827,
80
+ "name": "logs/connections-2022-11-06-14.log",
81
+ "hash": "0ab588887cb8267072fcf5c1182d32e93fa4ae6daef1183aa8d324e94e43257e"
62
82
  }
63
83
  ],
64
84
  "hashType": "sha256"
@@ -0,0 +1,6 @@
1
+ 2022-11-05T23:31:00+09:00 info: File Storage is Ready.
2
+ 2022-11-05T23:31:01+09:00 error: oracledb module loading failed
3
+ 2022-11-05T23:31:01+09:00 info: Default DataSource established
4
+ 2022-11-05T23:31:01+09:00 info: Transaction DataSource established
5
+ 2022-11-05T23:31:02+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2022-11-05T23:31:02+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
@@ -0,0 +1,6 @@
1
+ 2022-11-06T00:46:26+09:00 info: File Storage is Ready.
2
+ 2022-11-06T00:46:27+09:00 error: oracledb module loading failed
3
+ 2022-11-06T00:46:27+09:00 info: Default DataSource established
4
+ 2022-11-06T00:46:28+09:00 info: Transaction DataSource established
5
+ 2022-11-06T00:46:28+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2022-11-06T00:46:28+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
@@ -0,0 +1,6 @@
1
+ 2022-11-06T12:47:55+09:00 info: File Storage is Ready.
2
+ 2022-11-06T12:47:56+09:00 error: oracledb module loading failed
3
+ 2022-11-06T12:47:57+09:00 info: Default DataSource established
4
+ 2022-11-06T12:47:57+09:00 info: Transaction DataSource established
5
+ 2022-11-06T12:47:58+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2022-11-06T12:47:58+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
@@ -0,0 +1,18 @@
1
+ 2022-11-06T14:14:17+09:00 info: File Storage is Ready.
2
+ 2022-11-06T14:14:18+09:00 error: oracledb module loading failed
3
+ 2022-11-06T14:14:18+09:00 info: Default DataSource established
4
+ 2022-11-06T14:14:19+09:00 info: Transaction DataSource established
5
+ 2022-11-06T14:14:19+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2022-11-06T14:14:19+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
7
+ 2022-11-06T14:16:55+09:00 error: Cannot query field "processGroups" on type "Query". Did you mean "playGroups"?
8
+ 2022-11-06T14:16:55+09:00 error: Cannot query field "processes" on type "Query".
9
+ 2022-11-06T14:16:55+09:00 error: Cannot query field "boardSettings" on type "Query". Did you mean "settings", "partnerSettings", or "setting"?
10
+ 2022-11-06T14:16:55+09:00 error: Cannot query field "liteMenus" on type "Query". Did you mean "roleMenus", "menus", or "userMenus"?
11
+ 2022-11-06T14:16:58+09:00 error: Cannot query field "boardSettings" on type "Query". Did you mean "settings", "partnerSettings", or "setting"?
12
+ 2022-11-06T14:16:58+09:00 error: Cannot query field "liteMenus" on type "Query". Did you mean "roleMenus", "menus", or "userMenus"?
13
+ 2022-11-06T14:17:52+09:00 info: File Storage is Ready.
14
+ 2022-11-06T14:17:53+09:00 error: oracledb module loading failed
15
+ 2022-11-06T14:17:53+09:00 info: Default DataSource established
16
+ 2022-11-06T14:17:53+09:00 info: Transaction DataSource established
17
+ 2022-11-06T14:17:54+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
18
+ 2022-11-06T14:17:54+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
@@ -0,0 +1,35 @@
1
+ 2022-11-05T23:31:02+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-05T23:31:02+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-05T23:31:02+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-05T23:31:02+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-05T23:31:02+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-05T23:31:02+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-05T23:31:02+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-05T23:31:02+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-05T23:31:02+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-05T23:31:02+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-05T23:31:02+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-05T23:31:02+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-05T23:31:02+09:00 info: echo-back-servers are ready
14
+ 2022-11-05T23:31:02+09:00 info: echo-back connections are ready
15
+ 2022-11-05T23:31:02+09:00 info: http-connector connections are ready
16
+ 2022-11-05T23:31:02+09:00 info: graphql-connector connections are ready
17
+ 2022-11-05T23:31:02+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-05T23:31:02+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-05T23:31:02+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-05T23:31:02+09:00 info: mssql-connector connections are ready
21
+ 2022-11-05T23:31:02+09:00 info: oracle-connector connections are ready
22
+ 2022-11-05T23:31:02+09:00 info: mysql-connector connections are ready
23
+ 2022-11-05T23:31:02+09:00 info: socket servers are ready
24
+ 2022-11-05T23:31:02+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-05T23:31:02+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-05T23:31:02+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-05T23:31:02+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-05T23:31:02+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-05T23:31:02+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-05T23:31:02+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-05T23:31:02+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-05T23:31:02+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-05T23:31:02+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-05T23:31:02+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-05T23:31:02+09:00 info: ConnectionManager initialization done:
@@ -0,0 +1,35 @@
1
+ 2022-11-06T00:46:28+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-06T00:46:28+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-06T00:46:28+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-06T00:46:28+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-06T00:46:28+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-06T00:46:28+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-06T00:46:28+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-06T00:46:28+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-06T00:46:28+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-06T00:46:28+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-06T00:46:28+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-06T00:46:28+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-06T00:46:28+09:00 info: echo-back-servers are ready
14
+ 2022-11-06T00:46:28+09:00 info: echo-back connections are ready
15
+ 2022-11-06T00:46:28+09:00 info: http-connector connections are ready
16
+ 2022-11-06T00:46:28+09:00 info: graphql-connector connections are ready
17
+ 2022-11-06T00:46:28+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-06T00:46:28+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-06T00:46:28+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-06T00:46:28+09:00 info: mssql-connector connections are ready
21
+ 2022-11-06T00:46:28+09:00 info: oracle-connector connections are ready
22
+ 2022-11-06T00:46:28+09:00 info: mysql-connector connections are ready
23
+ 2022-11-06T00:46:28+09:00 info: socket servers are ready
24
+ 2022-11-06T00:46:28+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-06T00:46:28+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-06T00:46:28+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-06T00:46:28+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-06T00:46:28+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-06T00:46:28+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-06T00:46:28+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-06T00:46:28+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-06T00:46:28+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-06T00:46:28+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-06T00:46:28+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-06T00:46:28+09:00 info: ConnectionManager initialization done:
@@ -0,0 +1,35 @@
1
+ 2022-11-06T12:47:58+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-06T12:47:58+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-06T12:47:58+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-06T12:47:58+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-06T12:47:58+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-06T12:47:58+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-06T12:47:58+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-06T12:47:58+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-06T12:47:58+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-06T12:47:58+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-06T12:47:58+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-06T12:47:58+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-06T12:47:58+09:00 info: echo-back-servers are ready
14
+ 2022-11-06T12:47:58+09:00 info: echo-back connections are ready
15
+ 2022-11-06T12:47:58+09:00 info: http-connector connections are ready
16
+ 2022-11-06T12:47:58+09:00 info: graphql-connector connections are ready
17
+ 2022-11-06T12:47:58+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-06T12:47:58+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-06T12:47:58+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-06T12:47:58+09:00 info: mssql-connector connections are ready
21
+ 2022-11-06T12:47:58+09:00 info: oracle-connector connections are ready
22
+ 2022-11-06T12:47:58+09:00 info: mysql-connector connections are ready
23
+ 2022-11-06T12:47:58+09:00 info: socket servers are ready
24
+ 2022-11-06T12:47:58+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-06T12:47:58+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-06T12:47:58+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-06T12:47:58+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-06T12:47:58+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-06T12:47:58+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-06T12:47:58+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-06T12:47:58+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-06T12:47:58+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-06T12:47:58+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-06T12:47:58+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-06T12:47:58+09:00 info: ConnectionManager initialization done: