@next-bricks/diagram 0.17.0 → 0.19.0

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 (39) hide show
  1. package/dist/bricks.json +6 -2
  2. package/dist/chunks/{2976.fcb2a439.js → 2976.375fa83c.js} +2 -2
  3. package/dist/chunks/{5356.931b1f12.js.map → 2976.375fa83c.js.map} +1 -1
  4. package/dist/chunks/{5356.931b1f12.js → 5356.ec95af1d.js} +2 -2
  5. package/dist/chunks/{2976.fcb2a439.js.map → 5356.ec95af1d.js.map} +1 -1
  6. package/dist/chunks/9640.1ec0b7d0.js +2 -0
  7. package/dist/chunks/9640.1ec0b7d0.js.map +1 -0
  8. package/dist/chunks/eo-draw-canvas.29e94b46.js +3 -0
  9. package/dist/chunks/eo-draw-canvas.29e94b46.js.map +1 -0
  10. package/dist/chunks/main.48459c1c.js +2 -0
  11. package/dist/chunks/main.48459c1c.js.map +1 -0
  12. package/dist/examples.json +1 -1
  13. package/dist/index.e837507c.js +2 -0
  14. package/dist/index.e837507c.js.map +1 -0
  15. package/dist/manifest.json +32 -2
  16. package/dist/types.json +152 -24
  17. package/dist-types/draw-canvas/CellComponent.d.ts +4 -3
  18. package/dist-types/draw-canvas/ConnectLineComponent.d.ts +9 -0
  19. package/dist-types/draw-canvas/ConnectLineComponent.spec.d.ts +1 -0
  20. package/dist-types/draw-canvas/decorators/DecoratorArea.d.ts +1 -1
  21. package/dist-types/draw-canvas/decorators/DecoratorText.d.ts +1 -1
  22. package/dist-types/draw-canvas/decorators/index.d.ts +1 -1
  23. package/dist-types/draw-canvas/index.d.ts +9 -2
  24. package/dist-types/draw-canvas/interfaces.d.ts +19 -6
  25. package/dist-types/draw-canvas/processors/cellToTarget.d.ts +2 -0
  26. package/dist-types/draw-canvas/processors/handleKeyboard.d.ts +2 -2
  27. package/dist-types/draw-canvas/processors/initializeCells.d.ts +5 -0
  28. package/dist-types/draw-canvas/reducers/interfaces.d.ts +10 -2
  29. package/docs/eo-draw-canvas.md +43 -1
  30. package/package.json +3 -2
  31. package/dist/chunks/5164.dc95120c.js +0 -2
  32. package/dist/chunks/5164.dc95120c.js.map +0 -1
  33. package/dist/chunks/eo-draw-canvas.55702dac.js +0 -3
  34. package/dist/chunks/eo-draw-canvas.55702dac.js.map +0 -1
  35. package/dist/chunks/main.26a18a6d.js +0 -2
  36. package/dist/chunks/main.26a18a6d.js.map +0 -1
  37. package/dist/index.c2f6f012.js +0 -2
  38. package/dist/index.c2f6f012.js.map +0 -1
  39. /package/dist/chunks/{eo-draw-canvas.55702dac.js.LICENSE.txt → eo-draw-canvas.29e94b46.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ (()=>{"use strict";var e,t,r,n,a,o,l,i,c,d,s,u,f,h,m,p,b,v,g,x,y,P,w,k={6288:(e,t,r)=>{var n={"./eo-diagram":()=>Promise.all([r.e(720),r.e(5600),r.e(7672),r.e(580),r.e(6960),r.e(5949),r.e(8020),r.e(5436)]).then((()=>()=>r(4364))),"./editable-label":()=>Promise.all([r.e(5600),r.e(7672),r.e(580),r.e(3716)]).then((()=>()=>r(6268))),"./eo-draw-canvas":()=>Promise.all([r.e(5600),r.e(4516),r.e(7672),r.e(580),r.e(6960),r.e(5949),r.e(7364)]).then((()=>()=>r(3156))),"./experimental-node":()=>Promise.all([r.e(5600),r.e(7672),r.e(580),r.e(6792)]).then((()=>()=>r(4240)))},a=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var n="default",a=r.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[n]=e,r.I(n,t)}};r.d(t,{get:()=>a,init:()=>o})}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return k[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=k,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+({3716:"editable-label",5436:"eo-diagram",6792:"experimental-node",7364:"eo-draw-canvas"}[e]||e)+"."+{242:"4bd90af0",580:"b1068458",632:"0c3947c5",720:"fc86c182",788:"1e25450f",820:"83e05b04",824:"7c38c2ae",856:"8fe14637",1024:"b2fb4d97",1340:"19db159b",1372:"ddfaca58",1564:"dad51f47",1692:"29aa03b8",1772:"b9709e8a",1776:"6541feaf",1832:"80a95bcd",2356:"69ab211e",2584:"ac91a299",2976:"375fa83c",3322:"63bf67fe",3680:"88310087",3716:"128ef04e",3748:"11a3041f",3752:"da97f490",3811:"8484a1b6",3968:"f63a8d5a",4068:"648adfd6",4516:"11f11c42",4524:"801d1c14",4847:"5cfb4368",5244:"1437dfdf",5356:"ec95af1d",5436:"2b8615e9",5600:"f37375b9",5668:"ff11ba54",5949:"f70f95aa",6064:"62257333",6192:"e969705a",6228:"1f4beffe",6352:"a1d077df",6408:"1aa0e97e",6736:"1db5763e",6792:"de4a18b6",6960:"9646963d",7228:"fa4c35d3",7364:"29e94b46",7476:"2dcc0be8",7672:"00049a5a",7861:"a4c43abf",7928:"6eb9a99a",8020:"7d347956",8060:"a4decb5e",8440:"ce0da377",8644:"2e72c575",8648:"55f9fafb",8732:"9c55a3ea",8944:"952fed91",9604:"acb35426",9672:"f50edcea"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/diagram:",S.l=(r,n,a,o)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var s=c[d];if(s.getAttribute("src")==r||s.getAttribute("data-webpack")==t+a){l=s;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var u=(t,n)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var o=S.S[r],l="@next-bricks/diagram",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.23.9",(()=>S.e(6228).then((()=>()=>S(6228))))),i("@easyops-cn/brick-next-pipes","0.6.0",(()=>Promise.all([S.e(8648),S.e(632)]).then((()=>()=>S(8648))))),i("@next-core/cook","2.2.12",(()=>Promise.all([S.e(1832),S.e(1692)]).then((()=>()=>S(1832))))),i("@next-core/element","1.2.2",(()=>S.e(6192).then((()=>()=>S(6192))))),i("@next-core/http","1.1.9",(()=>S.e(8732).then((()=>()=>S(8732))))),i("@next-core/i18n","1.0.38",(()=>Promise.all([S.e(4516),S.e(1340),S.e(788),S.e(820)]).then((()=>()=>S(820))))),i("@next-core/inject","1.0.28",(()=>Promise.all([S.e(9604),S.e(4068),S.e(6064)]).then((()=>()=>S(6064))))),i("@next-core/loader","1.5.4",(()=>S.e(1372).then((()=>()=>S(3752))))),i("@next-core/pipes","2.0.16",(()=>S.e(4524).then((()=>()=>S(4524))))),i("@next-core/react-element","1.0.21",(()=>Promise.all([S.e(5600),S.e(7672),S.e(3748),S.e(7228)]).then((()=>()=>S(7228))))),i("@next-core/react-runtime","1.1.52",(()=>Promise.all([S.e(5600),S.e(6960),S.e(242)]).then((()=>()=>S(7861))))),i("@next-core/runtime","1.31.1",(()=>Promise.all([S.e(3322),S.e(4516),S.e(9604),S.e(9672),S.e(1340),S.e(824),S.e(2584),S.e(8944)]).then((()=>()=>S(3322))))),i("@next-core/supply","2.1.11",(()=>Promise.all([S.e(9604),S.e(4068),S.e(9672),S.e(1024)]).then((()=>()=>S(1024))))),i("@next-core/theme","1.4.8",(()=>Promise.all([S.e(8060),S.e(856)]).then((()=>()=>S(8060))))),i("@next-core/utils/general","1.6.10",(()=>S.e(6408).then((()=>()=>S(6408))))),i("@next-core/utils/storyboard","1.6.10",(()=>Promise.all([S.e(4516),S.e(824),S.e(5356)]).then((()=>()=>S(5356))))),i("history","4.10.1",(()=>S.e(1776).then((()=>()=>S(1776))))),i("i18next-browser-languagedetector","7.2.0",(()=>S.e(1564).then((()=>()=>S(1564))))),i("i18next","22.5.1",(()=>S.e(5244).then((()=>()=>S(5244))))),i("js-yaml","3.14.1",(()=>S.e(1772).then((()=>()=>S(1772))))),i("lodash","4.17.21",(()=>S.e(7928).then((()=>()=>S(7928))))),i("moment/locale/zh-cn.js","2.29.4",(()=>Promise.all([S.e(6736),S.e(7476)]).then((()=>()=>S(9748))))),i("moment","2.29.4",(()=>Promise.all([S.e(6736),S.e(7476)]).then((()=>()=>S(6023))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(2356),S.e(5600)]).then((()=>()=>S(2356))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(5668).then((()=>()=>S(5668)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():a(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var d,s,u=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(s=(typeof(d=t[l]))[0]))return!c||("u"==u?i>n&&!a:""==u!=a);if("u"==s){if(!c||"u"!=u)return!1}else if(c)if(u==s)if(i<=n){if(d!=e[i])return!1}else{if(a?d>e[i]:d<e[i])return!1;d!=e[i]&&(c=!1)}else if("s"!=u&&"n"!=u){if(a||i<=n)return!1;c=!1,i--}else{if(i<=n||s<u!=a)return!1;c=!1}else"s"!=u&&"n"!=u&&(c=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var m=e[l];f.push(1==m?h()|h():2==m?h()&h():m?o(m,t):!h())}return!!h()},l=(e,t)=>{var r=e[t];return(t=Object.keys(r).reduce(((e,t)=>!e||n(e,t)?t:e),0))&&r[t]},i=(e,t)=>{var r=e[t];return Object.keys(r).reduce(((e,t)=>!e||!r[e].loaded&&n(e,t)?t:e),0)},c=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",d=(e,t,r,n)=>{var a=i(e,r);return h(e[r][a])},s=(e,t,r,n)=>{var a=i(e,r);return o(n,a)||f(c(e,r,a,n)),h(e[r][a])},u=(e,t,r)=>{var a=e[t];return(t=Object.keys(a).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&a[t]},f=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=e=>(e.loaded=1,e.get()),p=(m=e=>function(t,r,n,a){var o=S.I(t);return o&&o.then?o.then(e.bind(e,t,S.S[t],r,n,a)):e(t,S.S[t],r,n,a)})(((e,t,r,n)=>t&&S.o(t,r)?h(l(t,r)):n())),b=m(((e,t,r,n)=>t&&S.o(t,r)?d(t,0,r):n())),v=m(((e,t,r,n,a)=>t&&S.o(t,r)?s(t,0,r,n):a())),g=m(((e,t,r,n,a)=>{var o=t&&S.o(t,r)&&u(t,r,n);return o?h(o):a()})),x={},y={2096:()=>v("default","moment",[1,2,27,0],(()=>Promise.all([S.e(6736),S.e(7476)]).then((()=>()=>S(6023))))),6712:()=>v("default","js-yaml",[1,3,14,0],(()=>S.e(1772).then((()=>()=>S(1772))))),7224:()=>v("default","lodash",[1,4,17,19],(()=>S.e(7928).then((()=>()=>S(7928))))),1692:()=>v("default","@babel/parser",[1,7,23,9],(()=>S.e(6228).then((()=>()=>S(6228))))),4516:()=>v("default","@next-core/utils/general",[1,1,6,10],(()=>S.e(6408).then((()=>()=>S(6408))))),1340:()=>v("default","@next-core/i18n",[1,1,0,38],(()=>Promise.all([S.e(788),S.e(8440)]).then((()=>()=>S(820))))),2196:()=>v("default","i18next",[1,22,5,1],(()=>S.e(5244).then((()=>()=>S(5244))))),2592:()=>v("default","i18next-browser-languagedetector",[1,7,2,0],(()=>S.e(1564).then((()=>()=>S(1564))))),9604:()=>v("default","lodash",[1,4,17,21],(()=>S.e(7928).then((()=>()=>S(7928))))),4068:()=>v("default","@next-core/pipes",[1,2,0,16],(()=>S.e(4524).then((()=>()=>S(4524))))),8828:()=>v("default","@easyops-cn/brick-next-pipes",[2,0,6,0],(()=>Promise.all([S.e(8648),S.e(632)]).then((()=>()=>S(8648))))),5600:()=>g("default","react",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(5668).then((()=>()=>S(5668))))),7672:()=>g("default","@next-core/element",[1,1,2,2],(()=>S.e(3811).then((()=>()=>S(6192))))),5856:()=>p("default","react-dom",(()=>S.e(2356).then((()=>()=>S(2356))))),8924:()=>g("default","react-dom",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(2356).then((()=>()=>S(2356))))),6960:()=>v("default","@next-core/runtime",[1,1,31,1],(()=>Promise.all([S.e(3322),S.e(4516),S.e(9604),S.e(9672),S.e(1340),S.e(824),S.e(2584)]).then((()=>()=>S(3322))))),9672:()=>v("default","moment",[1,2,30,1],(()=>Promise.all([S.e(6736),S.e(7476)]).then((()=>()=>S(6023))))),824:()=>v("default","@next-core/cook",[1,2,2,12],(()=>Promise.all([S.e(1832),S.e(1692)]).then((()=>()=>S(1832))))),3608:()=>v("default","@next-core/loader",[1,1,5,4],(()=>S.e(3752).then((()=>()=>S(3752))))),5796:()=>v("default","@next-core/inject",[1,1,0,28],(()=>Promise.all([S.e(4068),S.e(3680)]).then((()=>()=>S(6064))))),5832:()=>v("default","@next-core/http",[1,1,1,9],(()=>S.e(3968).then((()=>()=>S(8732))))),6700:()=>v("default","@next-core/utils/storyboard",[1,1,6,10],(()=>S.e(2976).then((()=>()=>S(5356))))),6776:()=>v("default","@next-core/supply",[1,2,1,11],(()=>Promise.all([S.e(4068),S.e(8644)]).then((()=>()=>S(1024))))),7676:()=>v("default","history",[1,4,10,1],(()=>S.e(1776).then((()=>()=>S(1776))))),8989:()=>v("default","moment/locale/zh-cn.js",[1,2,30,1],(()=>Promise.all([S.e(6736),S.e(7476)]).then((()=>()=>S(9748))))),48:()=>v("default","@next-core/theme",[1,1,4,8],(()=>S.e(8060).then((()=>()=>S(8060))))),8160:()=>g("default","@next-core/react-element",[1,1,0,21],(()=>Promise.all([S.e(3748),S.e(4847)]).then((()=>()=>S(7228))))),6196:()=>g("default","@next-core/react-runtime",[1,1,1,52],(()=>S.e(7861).then((()=>()=>S(7861))))),7568:()=>b("default","lodash",(()=>S.e(7928).then((()=>()=>S(7928))))),5800:()=>v("default","@next-core/http",[1,1,0,6],(()=>S.e(6352).then((()=>()=>S(8732)))))},P={580:[48,8160],632:[2096,6712,7224],788:[2196,2592],824:[824],1340:[1340],1692:[1692],2584:[3608,5796,5832,6700,6776,7676,8989],3748:[5856,8924],4068:[4068],4516:[4516],4524:[8828],5600:[5600],5949:[6196,7568],6960:[6960],7672:[7672],8020:[5800],9604:[9604],9672:[9672]},w={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(x,e))return t.push(x[e]);if(!w[e]){var r=t=>{x[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};w[e]=!0;var n=t=>{delete x[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var a=y[e]();a.then?t.push(x[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={8484:0};S.f.j=(t,r)=>{var n=S.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(5(600|80|949)|96(04|72)|(169|63|767)2|(374|406|78)8|1340|2584|4516|6960|824)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=S.p+S.u(t),l=new Error;S.l(o,(r=>{if(S.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in l)S.o(l,n)&&(S.m[n]=l[n]);i&&i(S)}for(t&&t(r);c<o.length;c++)a=o[c],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunk_next_bricks_diagram=self.webpackChunk_next_bricks_diagram||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0;var E=S(6288);window["bricks/diagram"]=E})();
2
+ //# sourceMappingURL=index.e837507c.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.e837507c.js","mappings":"uBAAIA,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EASAC,EAOAC,EAMAC,EAGAC,EAIAC,EAUAC,EAoBAC,EAMAC,EAIAC,EAUAC,EA2BAC,EAIAC,EAIAC,EAQAC,EACAC,EAiCAC,EAoEAC,E,kBC5OJ,IAAIC,EAAY,CACf,eAAgB,IACRC,QAAQC,IAAoB,CAACC,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,MAAOD,EAAoBC,EAAE,QAAQC,MAAK,IAAM,IA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YgG,EAAgBhG,IACrEgG,EAAgBhG,GAAS,KAE1BgG,EAAgBhG,GAAW,CAC5B,EAIGgH,EAAqBC,KAAuC,iCAAIA,KAAuC,kCAAK,GAChHD,EAAmBtE,QAAQ+D,EAAqB5D,KAAK,KAAM,IAC3DmE,EAAmB/F,KAAOwF,EAAqB5D,KAAK,KAAMmE,EAAmB/F,KAAK4B,KAAKmE,G,KCrFvFrJ,EAAoBmE,QAAK1D,ECGzB,IAAI8I,EAAsBvJ,EAAoB,M","sources":["webpack:///webpack/runtime/load script","webpack:///webpack/runtime/consumes","webpack:///webpack/container-entry","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/sharing","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/runtime/nonce","webpack:///webpack/startup"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@next-bricks/diagram:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warn = (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t2096: () => (loadSingletonVersionCheckFallback(\"default\", \"moment\", [1,2,27,0], () => (Promise.all([__webpack_require__.e(6736), __webpack_require__.e(7476)]).then(() => (() => (__webpack_require__(6023))))))),\n\t6712: () => (loadSingletonVersionCheckFallback(\"default\", \"js-yaml\", [1,3,14,0], () => (__webpack_require__.e(1772).then(() => (() => (__webpack_require__(1772))))))),\n\t7224: () => (loadSingletonVersionCheckFallback(\"default\", \"lodash\", [1,4,17,19], () => (__webpack_require__.e(7928).then(() => (() => (__webpack_require__(7928))))))),\n\t1692: () => (loadSingletonVersionCheckFallback(\"default\", \"@babel/parser\", [1,7,23,9], () => (__webpack_require__.e(6228).then(() => (() => (__webpack_require__(6228))))))),\n\t4516: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/utils/general\", [1,1,6,10], () => (__webpack_require__.e(6408).then(() => (() => (__webpack_require__(6408))))))),\n\t1340: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/i18n\", [1,1,0,38], () => (Promise.all([__webpack_require__.e(788), __webpack_require__.e(8440)]).then(() => (() => (__webpack_require__(820))))))),\n\t2196: () => (loadSingletonVersionCheckFallback(\"default\", \"i18next\", [1,22,5,1], () => (__webpack_require__.e(5244).then(() => (() => (__webpack_require__(5244))))))),\n\t2592: () => (loadSingletonVersionCheckFallback(\"default\", \"i18next-browser-languagedetector\", [1,7,2,0], () => (__webpack_require__.e(1564).then(() => (() => (__webpack_require__(1564))))))),\n\t9604: () => (loadSingletonVersionCheckFallback(\"default\", \"lodash\", [1,4,17,21], () => (__webpack_require__.e(7928).then(() => (() => (__webpack_require__(7928))))))),\n\t4068: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/pipes\", [1,2,0,16], () => (__webpack_require__.e(4524).then(() => (() => (__webpack_require__(4524))))))),\n\t8828: () => (loadSingletonVersionCheckFallback(\"default\", \"@easyops-cn/brick-next-pipes\", [2,0,6,0], () => (Promise.all([__webpack_require__.e(8648), __webpack_require__.e(632)]).then(() => (() => (__webpack_require__(8648))))))),\n\t5600: () => (loadStrictVersionCheckFallback(\"default\", \"react\", [6,0,0,0,,\"experimental-ee8509801-20230117\"], () => (__webpack_require__.e(5668).then(() => (() => (__webpack_require__(5668))))))),\n\t7672: () => (loadStrictVersionCheckFallback(\"default\", \"@next-core/element\", [1,1,2,2], () => (__webpack_require__.e(3811).then(() => (() => (__webpack_require__(6192))))))),\n\t5856: () => (loadFallback(\"default\", \"react-dom\", () => (__webpack_require__.e(2356).then(() => (() => (__webpack_require__(2356))))))),\n\t8924: () => (loadStrictVersionCheckFallback(\"default\", \"react-dom\", [6,0,0,0,,\"experimental-ee8509801-20230117\"], () => (__webpack_require__.e(2356).then(() => (() => (__webpack_require__(2356))))))),\n\t6960: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/runtime\", [1,1,31,1], () => (Promise.all([__webpack_require__.e(3322), __webpack_require__.e(4516), __webpack_require__.e(9604), __webpack_require__.e(9672), __webpack_require__.e(1340), __webpack_require__.e(824), __webpack_require__.e(2584)]).then(() => (() => (__webpack_require__(3322))))))),\n\t9672: () => (loadSingletonVersionCheckFallback(\"default\", \"moment\", [1,2,30,1], () => (Promise.all([__webpack_require__.e(6736), __webpack_require__.e(7476)]).then(() => (() => (__webpack_require__(6023))))))),\n\t824: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/cook\", [1,2,2,12], () => (Promise.all([__webpack_require__.e(1832), __webpack_require__.e(1692)]).then(() => (() => (__webpack_require__(1832))))))),\n\t3608: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/loader\", [1,1,5,4], () => (__webpack_require__.e(3752).then(() => (() => (__webpack_require__(3752))))))),\n\t5796: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/inject\", [1,1,0,28], () => (Promise.all([__webpack_require__.e(4068), __webpack_require__.e(3680)]).then(() => (() => (__webpack_require__(6064))))))),\n\t5832: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/http\", [1,1,1,9], () => (__webpack_require__.e(3968).then(() => (() => (__webpack_require__(8732))))))),\n\t6700: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/utils/storyboard\", [1,1,6,10], () => (__webpack_require__.e(2976).then(() => (() => (__webpack_require__(5356))))))),\n\t6776: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/supply\", [1,2,1,11], () => (Promise.all([__webpack_require__.e(4068), __webpack_require__.e(8644)]).then(() => (() => (__webpack_require__(1024))))))),\n\t7676: () => (loadSingletonVersionCheckFallback(\"default\", \"history\", [1,4,10,1], () => (__webpack_require__.e(1776).then(() => (() => (__webpack_require__(1776))))))),\n\t8989: () => (loadSingletonVersionCheckFallback(\"default\", \"moment/locale/zh-cn.js\", [1,2,30,1], () => (Promise.all([__webpack_require__.e(6736), __webpack_require__.e(7476)]).then(() => (() => (__webpack_require__(9748))))))),\n\t48: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/theme\", [1,1,4,8], () => (__webpack_require__.e(8060).then(() => (() => (__webpack_require__(8060))))))),\n\t8160: () => (loadStrictVersionCheckFallback(\"default\", \"@next-core/react-element\", [1,1,0,21], () => (Promise.all([__webpack_require__.e(3748), __webpack_require__.e(4847)]).then(() => (() => (__webpack_require__(7228))))))),\n\t6196: () => (loadStrictVersionCheckFallback(\"default\", \"@next-core/react-runtime\", [1,1,1,52], () => (__webpack_require__.e(7861).then(() => (() => (__webpack_require__(7861))))))),\n\t7568: () => (loadSingletonFallback(\"default\", \"lodash\", () => (__webpack_require__.e(7928).then(() => (() => (__webpack_require__(7928))))))),\n\t5800: () => (loadSingletonVersionCheckFallback(\"default\", \"@next-core/http\", [1,1,0,6], () => (__webpack_require__.e(6352).then(() => (() => (__webpack_require__(8732)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"580\": [\n\t\t48,\n\t\t8160\n\t],\n\t\"632\": [\n\t\t2096,\n\t\t6712,\n\t\t7224\n\t],\n\t\"788\": [\n\t\t2196,\n\t\t2592\n\t],\n\t\"824\": [\n\t\t824\n\t],\n\t\"1340\": [\n\t\t1340\n\t],\n\t\"1692\": [\n\t\t1692\n\t],\n\t\"2584\": [\n\t\t3608,\n\t\t5796,\n\t\t5832,\n\t\t6700,\n\t\t6776,\n\t\t7676,\n\t\t8989\n\t],\n\t\"3748\": [\n\t\t5856,\n\t\t8924\n\t],\n\t\"4068\": [\n\t\t4068\n\t],\n\t\"4516\": [\n\t\t4516\n\t],\n\t\"4524\": [\n\t\t8828\n\t],\n\t\"5600\": [\n\t\t5600\n\t],\n\t\"5949\": [\n\t\t6196,\n\t\t7568\n\t],\n\t\"6960\": [\n\t\t6960\n\t],\n\t\"7672\": [\n\t\t7672\n\t],\n\t\"8020\": [\n\t\t5800\n\t],\n\t\"9604\": [\n\t\t9604\n\t],\n\t\"9672\": [\n\t\t9672\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","var moduleMap = {\n\t\"./eo-diagram\": () => {\n\t\treturn Promise.all(/* eo-diagram */[__webpack_require__.e(720), __webpack_require__.e(5600), __webpack_require__.e(7672), __webpack_require__.e(580), __webpack_require__.e(6960), __webpack_require__.e(5949), __webpack_require__.e(8020), __webpack_require__.e(5436)]).then(() => (() => ((__webpack_require__(4364)))));\n\t},\n\t\"./editable-label\": () => {\n\t\treturn Promise.all(/* editable-label */[__webpack_require__.e(5600), __webpack_require__.e(7672), __webpack_require__.e(580), __webpack_require__.e(3716)]).then(() => (() => ((__webpack_require__(6268)))));\n\t},\n\t\"./eo-draw-canvas\": () => {\n\t\treturn Promise.all(/* eo-draw-canvas */[__webpack_require__.e(5600), __webpack_require__.e(4516), __webpack_require__.e(7672), __webpack_require__.e(580), __webpack_require__.e(6960), __webpack_require__.e(5949), __webpack_require__.e(7364)]).then(() => (() => ((__webpack_require__(3156)))));\n\t},\n\t\"./experimental-node\": () => {\n\t\treturn Promise.all(/* experimental-node */[__webpack_require__.e(5600), __webpack_require__.e(7672), __webpack_require__.e(580), __webpack_require__.e(6792)]).then(() => (() => ((__webpack_require__(4240)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"chunks/\" + ({\"3716\":\"editable-label\",\"5436\":\"eo-diagram\",\"6792\":\"experimental-node\",\"7364\":\"eo-draw-canvas\"}[chunkId] || chunkId) + \".\" + {\"242\":\"4bd90af0\",\"580\":\"b1068458\",\"632\":\"0c3947c5\",\"720\":\"fc86c182\",\"788\":\"1e25450f\",\"820\":\"83e05b04\",\"824\":\"7c38c2ae\",\"856\":\"8fe14637\",\"1024\":\"b2fb4d97\",\"1340\":\"19db159b\",\"1372\":\"ddfaca58\",\"1564\":\"dad51f47\",\"1692\":\"29aa03b8\",\"1772\":\"b9709e8a\",\"1776\":\"6541feaf\",\"1832\":\"80a95bcd\",\"2356\":\"69ab211e\",\"2584\":\"ac91a299\",\"2976\":\"375fa83c\",\"3322\":\"63bf67fe\",\"3680\":\"88310087\",\"3716\":\"128ef04e\",\"3748\":\"11a3041f\",\"3752\":\"da97f490\",\"3811\":\"8484a1b6\",\"3968\":\"f63a8d5a\",\"4068\":\"648adfd6\",\"4516\":\"11f11c42\",\"4524\":\"801d1c14\",\"4847\":\"5cfb4368\",\"5244\":\"1437dfdf\",\"5356\":\"ec95af1d\",\"5436\":\"2b8615e9\",\"5600\":\"f37375b9\",\"5668\":\"ff11ba54\",\"5949\":\"f70f95aa\",\"6064\":\"62257333\",\"6192\":\"e969705a\",\"6228\":\"1f4beffe\",\"6352\":\"a1d077df\",\"6408\":\"1aa0e97e\",\"6736\":\"1db5763e\",\"6792\":\"de4a18b6\",\"6960\":\"9646963d\",\"7228\":\"fa4c35d3\",\"7364\":\"29e94b46\",\"7476\":\"2dcc0be8\",\"7672\":\"00049a5a\",\"7861\":\"a4c43abf\",\"7928\":\"6eb9a99a\",\"8020\":\"7d347956\",\"8060\":\"a4decb5e\",\"8440\":\"ce0da377\",\"8644\":\"2e72c575\",\"8648\":\"55f9fafb\",\"8732\":\"9c55a3ea\",\"8944\":\"952fed91\",\"9604\":\"acb35426\",\"9672\":\"f50edcea\"}[chunkId] + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"@next-bricks/diagram\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@babel/parser\", \"7.23.9\", () => (__webpack_require__.e(6228).then(() => (() => (__webpack_require__(6228))))));\n\t\t\tregister(\"@easyops-cn/brick-next-pipes\", \"0.6.0\", () => (Promise.all([__webpack_require__.e(8648), __webpack_require__.e(632)]).then(() => (() => (__webpack_require__(8648))))));\n\t\t\tregister(\"@next-core/cook\", \"2.2.12\", () => (Promise.all([__webpack_require__.e(1832), __webpack_require__.e(1692)]).then(() => (() => (__webpack_require__(1832))))));\n\t\t\tregister(\"@next-core/element\", \"1.2.2\", () => (__webpack_require__.e(6192).then(() => (() => (__webpack_require__(6192))))));\n\t\t\tregister(\"@next-core/http\", \"1.1.9\", () => (__webpack_require__.e(8732).then(() => (() => (__webpack_require__(8732))))));\n\t\t\tregister(\"@next-core/i18n\", \"1.0.38\", () => (Promise.all([__webpack_require__.e(4516), __webpack_require__.e(1340), __webpack_require__.e(788), __webpack_require__.e(820)]).then(() => (() => (__webpack_require__(820))))));\n\t\t\tregister(\"@next-core/inject\", \"1.0.28\", () => (Promise.all([__webpack_require__.e(9604), __webpack_require__.e(4068), __webpack_require__.e(6064)]).then(() => (() => (__webpack_require__(6064))))));\n\t\t\tregister(\"@next-core/loader\", \"1.5.4\", () => (__webpack_require__.e(1372).then(() => (() => (__webpack_require__(3752))))));\n\t\t\tregister(\"@next-core/pipes\", \"2.0.16\", () => (__webpack_require__.e(4524).then(() => (() => (__webpack_require__(4524))))));\n\t\t\tregister(\"@next-core/react-element\", \"1.0.21\", () => (Promise.all([__webpack_require__.e(5600), __webpack_require__.e(7672), __webpack_require__.e(3748), __webpack_require__.e(7228)]).then(() => (() => (__webpack_require__(7228))))));\n\t\t\tregister(\"@next-core/react-runtime\", \"1.1.52\", () => (Promise.all([__webpack_require__.e(5600), __webpack_require__.e(6960), __webpack_require__.e(242)]).then(() => (() => (__webpack_require__(7861))))));\n\t\t\tregister(\"@next-core/runtime\", \"1.31.1\", () => (Promise.all([__webpack_require__.e(3322), __webpack_require__.e(4516), __webpack_require__.e(9604), __webpack_require__.e(9672), __webpack_require__.e(1340), __webpack_require__.e(824), __webpack_require__.e(2584), __webpack_require__.e(8944)]).then(() => (() => (__webpack_require__(3322))))));\n\t\t\tregister(\"@next-core/supply\", \"2.1.11\", () => (Promise.all([__webpack_require__.e(9604), __webpack_require__.e(4068), __webpack_require__.e(9672), __webpack_require__.e(1024)]).then(() => (() => (__webpack_require__(1024))))));\n\t\t\tregister(\"@next-core/theme\", \"1.4.8\", () => (Promise.all([__webpack_require__.e(8060), __webpack_require__.e(856)]).then(() => (() => (__webpack_require__(8060))))));\n\t\t\tregister(\"@next-core/utils/general\", \"1.6.10\", () => (__webpack_require__.e(6408).then(() => (() => (__webpack_require__(6408))))));\n\t\t\tregister(\"@next-core/utils/storyboard\", \"1.6.10\", () => (Promise.all([__webpack_require__.e(4516), __webpack_require__.e(824), __webpack_require__.e(5356)]).then(() => (() => (__webpack_require__(5356))))));\n\t\t\tregister(\"history\", \"4.10.1\", () => (__webpack_require__.e(1776).then(() => (() => (__webpack_require__(1776))))));\n\t\t\tregister(\"i18next-browser-languagedetector\", \"7.2.0\", () => (__webpack_require__.e(1564).then(() => (() => (__webpack_require__(1564))))));\n\t\t\tregister(\"i18next\", \"22.5.1\", () => (__webpack_require__.e(5244).then(() => (() => (__webpack_require__(5244))))));\n\t\t\tregister(\"js-yaml\", \"3.14.1\", () => (__webpack_require__.e(1772).then(() => (() => (__webpack_require__(1772))))));\n\t\t\tregister(\"lodash\", \"4.17.21\", () => (__webpack_require__.e(7928).then(() => (() => (__webpack_require__(7928))))));\n\t\t\tregister(\"moment/locale/zh-cn.js\", \"2.29.4\", () => (Promise.all([__webpack_require__.e(6736), __webpack_require__.e(7476)]).then(() => (() => (__webpack_require__(9748))))));\n\t\t\tregister(\"moment\", \"2.29.4\", () => (Promise.all([__webpack_require__.e(6736), __webpack_require__.e(7476)]).then(() => (() => (__webpack_require__(6023))))));\n\t\t\tregister(\"react-dom\", \"0.0.0-experimental-ee8509801-20230117\", () => (Promise.all([__webpack_require__.e(2356), __webpack_require__.e(5600)]).then(() => (() => (__webpack_require__(2356))))));\n\t\t\tregister(\"react\", \"0.0.0-experimental-ee8509801-20230117\", () => (__webpack_require__.e(5668).then(() => (() => (__webpack_require__(5668))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && !scriptUrl) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t8484: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(5(600|80|949)|96(04|72)|(169|63|767)2|(374|406|78)8|1340|2584|4516|6960|824)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_next_bricks_diagram\"] = self[\"webpackChunk_next_bricks_diagram\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(6288);\n"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findVersion","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingleton","getSingletonVersion","findValidVersion","warn","get","init","loadFallback","loadSingletonFallback","loadSingletonVersionCheckFallback","loadStrictVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","Error","undefined","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","replace","p","str","split","map","exec","apply","b","t","range","pop","requiredVersion","scopeName","msg","console","entry","promise","fallback","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
@@ -231,13 +231,19 @@
231
231
  "description": "",
232
232
  "deprecated": "Use `cell.delete` instead.",
233
233
  "detail": {
234
- "type": "NodeOrDecoratorBasicInfo"
234
+ "type": "Cell"
235
235
  }
236
236
  },
237
237
  {
238
238
  "name": "cell.delete",
239
239
  "detail": {
240
- "type": "NodeOrDecoratorBasicInfo"
240
+ "type": "Cell"
241
+ }
242
+ },
243
+ {
244
+ "name": "cell.contextmenu",
245
+ "detail": {
246
+ "type": "CellContextMenuDetail"
241
247
  }
242
248
  }
243
249
  ],
@@ -290,6 +296,30 @@
290
296
  "returns": {
291
297
  "type": "Promise<EdgeCell>"
292
298
  }
299
+ },
300
+ {
301
+ "name": "manuallyConnectNodes",
302
+ "params": [
303
+ {
304
+ "name": "source",
305
+ "type": "NodeId"
306
+ }
307
+ ],
308
+ "returns": {
309
+ "type": "Promise<ConnectNodesDetail>"
310
+ }
311
+ },
312
+ {
313
+ "name": "updateCells",
314
+ "params": [
315
+ {
316
+ "name": "cells",
317
+ "type": "InitialCell[]"
318
+ }
319
+ ],
320
+ "returns": {
321
+ "type": "void"
322
+ }
293
323
  }
294
324
  ],
295
325
  "parts": [],
package/dist/types.json CHANGED
@@ -2150,7 +2150,7 @@
2150
2150
  "type": "reference",
2151
2151
  "typeName": {
2152
2152
  "type": "identifier",
2153
- "name": "NodeOrDecoratorBasicInfo"
2153
+ "name": "Cell"
2154
2154
  }
2155
2155
  }
2156
2156
  }
@@ -2162,7 +2162,19 @@
2162
2162
  "type": "reference",
2163
2163
  "typeName": {
2164
2164
  "type": "identifier",
2165
- "name": "NodeOrDecoratorBasicInfo"
2165
+ "name": "Cell"
2166
+ }
2167
+ }
2168
+ }
2169
+ },
2170
+ {
2171
+ "name": "cell.contextmenu",
2172
+ "detail": {
2173
+ "annotation": {
2174
+ "type": "reference",
2175
+ "typeName": {
2176
+ "type": "identifier",
2177
+ "name": "CellContextMenuDetail"
2166
2178
  }
2167
2179
  }
2168
2180
  }
@@ -2336,6 +2348,66 @@
2336
2348
  }
2337
2349
  }
2338
2350
  }
2351
+ },
2352
+ {
2353
+ "name": "manuallyConnectNodes",
2354
+ "params": [
2355
+ {
2356
+ "name": "source",
2357
+ "annotation": {
2358
+ "type": "reference",
2359
+ "typeName": {
2360
+ "type": "identifier",
2361
+ "name": "NodeId"
2362
+ }
2363
+ }
2364
+ }
2365
+ ],
2366
+ "returns": {
2367
+ "annotation": {
2368
+ "type": "reference",
2369
+ "typeName": {
2370
+ "type": "identifier",
2371
+ "name": "Promise"
2372
+ },
2373
+ "typeParameters": {
2374
+ "type": "typeParameterInstantiation",
2375
+ "params": [
2376
+ {
2377
+ "type": "reference",
2378
+ "typeName": {
2379
+ "type": "identifier",
2380
+ "name": "ConnectNodesDetail"
2381
+ }
2382
+ }
2383
+ ]
2384
+ }
2385
+ }
2386
+ }
2387
+ },
2388
+ {
2389
+ "name": "updateCells",
2390
+ "params": [
2391
+ {
2392
+ "name": "cells",
2393
+ "annotation": {
2394
+ "type": "array",
2395
+ "elementType": {
2396
+ "type": "reference",
2397
+ "typeName": {
2398
+ "type": "identifier",
2399
+ "name": "InitialCell"
2400
+ }
2401
+ }
2402
+ }
2403
+ }
2404
+ ],
2405
+ "returns": {
2406
+ "annotation": {
2407
+ "type": "keyword",
2408
+ "value": "void"
2409
+ }
2410
+ }
2339
2411
  }
2340
2412
  ],
2341
2413
  "types": [
@@ -3238,28 +3310,52 @@
3238
3310
  }
3239
3311
  ]
3240
3312
  },
3313
+ {
3314
+ "type": "typeAlias",
3315
+ "name": "Cell",
3316
+ "annotation": {
3317
+ "type": "union",
3318
+ "types": [
3319
+ {
3320
+ "type": "reference",
3321
+ "typeName": {
3322
+ "type": "identifier",
3323
+ "name": "NodeCell"
3324
+ }
3325
+ },
3326
+ {
3327
+ "type": "reference",
3328
+ "typeName": {
3329
+ "type": "identifier",
3330
+ "name": "EdgeCell"
3331
+ }
3332
+ },
3333
+ {
3334
+ "type": "reference",
3335
+ "typeName": {
3336
+ "type": "identifier",
3337
+ "name": "DecoratorCell"
3338
+ }
3339
+ }
3340
+ ]
3341
+ }
3342
+ },
3241
3343
  {
3242
3344
  "type": "interface",
3243
- "name": "NodeOrDecoratorBasicInfo",
3345
+ "name": "CellContextMenuDetail",
3244
3346
  "body": [
3245
3347
  {
3246
3348
  "type": "propertySignature",
3247
3349
  "key": {
3248
3350
  "type": "identifier",
3249
- "name": "type"
3351
+ "name": "cell"
3250
3352
  },
3251
3353
  "annotation": {
3252
- "type": "union",
3253
- "types": [
3254
- {
3255
- "type": "jsLiteral",
3256
- "value": "node"
3257
- },
3258
- {
3259
- "type": "jsLiteral",
3260
- "value": "decorator"
3261
- }
3262
- ]
3354
+ "type": "reference",
3355
+ "typeName": {
3356
+ "type": "identifier",
3357
+ "name": "Cell"
3358
+ }
3263
3359
  },
3264
3360
  "computed": false
3265
3361
  },
@@ -3267,14 +3363,11 @@
3267
3363
  "type": "propertySignature",
3268
3364
  "key": {
3269
3365
  "type": "identifier",
3270
- "name": "id"
3366
+ "name": "clientX"
3271
3367
  },
3272
3368
  "annotation": {
3273
- "type": "reference",
3274
- "typeName": {
3275
- "type": "identifier",
3276
- "name": "NodeId"
3277
- }
3369
+ "type": "keyword",
3370
+ "value": "number"
3278
3371
  },
3279
3372
  "computed": false
3280
3373
  },
@@ -3282,13 +3375,12 @@
3282
3375
  "type": "propertySignature",
3283
3376
  "key": {
3284
3377
  "type": "identifier",
3285
- "name": "data"
3378
+ "name": "clientY"
3286
3379
  },
3287
3380
  "annotation": {
3288
3381
  "type": "keyword",
3289
- "value": "unknown"
3382
+ "value": "number"
3290
3383
  },
3291
- "optional": true,
3292
3384
  "computed": false
3293
3385
  }
3294
3386
  ]
@@ -3475,6 +3567,42 @@
3475
3567
  "computed": false
3476
3568
  }
3477
3569
  ]
3570
+ },
3571
+ {
3572
+ "type": "interface",
3573
+ "name": "ConnectNodesDetail",
3574
+ "body": [
3575
+ {
3576
+ "type": "propertySignature",
3577
+ "key": {
3578
+ "type": "identifier",
3579
+ "name": "source"
3580
+ },
3581
+ "annotation": {
3582
+ "type": "reference",
3583
+ "typeName": {
3584
+ "type": "identifier",
3585
+ "name": "NodeCell"
3586
+ }
3587
+ },
3588
+ "computed": false
3589
+ },
3590
+ {
3591
+ "type": "propertySignature",
3592
+ "key": {
3593
+ "type": "identifier",
3594
+ "name": "target"
3595
+ },
3596
+ "annotation": {
3597
+ "type": "reference",
3598
+ "typeName": {
3599
+ "type": "identifier",
3600
+ "name": "NodeCell"
3601
+ }
3602
+ },
3603
+ "computed": false
3604
+ }
3605
+ ]
3478
3606
  }
3479
3607
  ]
3480
3608
  }
@@ -1,16 +1,17 @@
1
1
  /// <reference types="react" />
2
- import type { ActiveTarget, Cell, NodeBrickConf } from "./interfaces";
2
+ import type { ActiveTarget, Cell, CellContextMenuDetail, NodeBrickConf } from "./interfaces";
3
3
  import type { MoveCellPayload, ResizeCellPayload } from "./reducers/interfaces";
4
4
  export interface CellComponentProps {
5
5
  cell: Cell;
6
6
  cells: Cell[];
7
7
  defaultNodeBricks?: NodeBrickConf[];
8
8
  markerEnd: string;
9
- activeTarget: ActiveTarget | null;
9
+ active: boolean;
10
10
  onCellMoving(info: MoveCellPayload): void;
11
11
  onCellMoved(info: MoveCellPayload): void;
12
12
  onCellResizing(info: ResizeCellPayload): void;
13
13
  onCellResized(info: ResizeCellPayload): void;
14
14
  onSwitchActiveTarget(target: ActiveTarget | null): void;
15
+ onCellContextMenu(detail: CellContextMenuDetail): void;
15
16
  }
16
- export declare function CellComponent({ cell, cells, defaultNodeBricks, markerEnd, activeTarget, onCellMoving, onCellMoved, onCellResizing, onCellResized, onSwitchActiveTarget, }: CellComponentProps): JSX.Element | null;
17
+ export declare function CellComponent({ cell, cells, defaultNodeBricks, markerEnd, active, onCellMoving, onCellMoved, onCellResizing, onCellResized, onSwitchActiveTarget, onCellContextMenu, }: CellComponentProps): JSX.Element | null;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { ConnectLineState } from "./interfaces";
3
+ import type { PositionTuple } from "../diagram/interfaces";
4
+ export interface ConnectLineComponentProps {
5
+ connectLineState: ConnectLineState | null;
6
+ markerEnd: string;
7
+ onConnect(state: ConnectLineState, to: PositionTuple): void;
8
+ }
9
+ export declare function ConnectLineComponent({ connectLineState, markerEnd, onConnect, }: ConnectLineComponentProps): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { BasicDecoratorProps } from "../interfaces";
3
- export declare function DecoratorArea({ cell, active, onCellResizing, onCellResized, onSwitchActiveTarget, }: BasicDecoratorProps): JSX.Element;
3
+ export declare function DecoratorArea({ cell, onCellResizing, onCellResized, onSwitchActiveTarget, }: BasicDecoratorProps): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { BasicDecoratorProps } from "../interfaces";
3
- export declare function DecoratorText({ cell, active, }: BasicDecoratorProps): JSX.Element;
3
+ export declare function DecoratorText({ cell }: BasicDecoratorProps): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { BasicDecoratorProps } from "../interfaces";
3
- export declare function DecoratorComponent({ cell, active, onCellResizing, onCellResized, onSwitchActiveTarget, }: BasicDecoratorProps): JSX.Element | null;
3
+ export declare function DecoratorComponent({ cell, onCellResizing, onCellResized, onSwitchActiveTarget, }: BasicDecoratorProps): JSX.Element | null;
@@ -3,7 +3,7 @@ import { ReactNextElement } from "@next-core/react-element";
3
3
  import type { UseSingleBrickConf } from "@next-core/react-runtime";
4
4
  import "@next-core/theme";
5
5
  import type { PositionTuple, SizeTuple } from "../diagram/interfaces";
6
- import type { ActiveTarget, EdgeCell, InitialCell, NodeOrDecoratorBasicInfo, NodeBrickConf, NodeCell, NodeId, DecoratorCell, DecoratorType } from "./interfaces";
6
+ import type { ActiveTarget, Cell, EdgeCell, InitialCell, NodeBrickConf, NodeCell, NodeId, DecoratorCell, DecoratorType, CellContextMenuDetail, ConnectNodesDetail } from "./interfaces";
7
7
  import type { MoveCellPayload, ResizeCellPayload } from "./reducers/interfaces";
8
8
  export interface EoDrawCanvasProps {
9
9
  cells: InitialCell[] | undefined;
@@ -50,18 +50,25 @@ export declare class EoDrawCanvas extends ReactNextElement implements EoDrawCanv
50
50
  dropDecorator({ position, decorator, }: DropDecoratorInfo): Promise<DecoratorCell | null>;
51
51
  addNodes(nodes: AddNodeInfo[]): Promise<NodeCell[]>;
52
52
  addEdge({ source, target, data }: AddEdgeInfo): Promise<EdgeCell>;
53
+ manuallyConnectNodes(source: NodeId): Promise<ConnectNodesDetail>;
54
+ updateCells(cells: InitialCell[]): void;
55
+ disconnectedCallback(): void;
53
56
  render(): React.JSX.Element;
54
57
  }
55
58
  export interface EoDrawCanvasComponentProps extends EoDrawCanvasProps {
59
+ host: HTMLElement;
56
60
  onActiveTargetChange(target: ActiveTarget | null): void;
57
61
  onSwitchActiveTarget(target: ActiveTarget | null): void;
58
62
  onCellMove(info: MoveCellPayload): void;
59
63
  onCellResize(cell: ResizeCellPayload): void;
60
- onCellDelete(cell: NodeOrDecoratorBasicInfo): void;
64
+ onCellDelete(cell: Cell): void;
65
+ onCellContextMenu(detail: CellContextMenuDetail): void;
61
66
  }
62
67
  export interface DrawCanvasRef {
63
68
  dropNode(node: NodeCell): void;
64
69
  dropDecorator(decorator: DecoratorCell): void;
65
70
  addNodes(nodes: NodeCell[]): void;
66
71
  addEdge(edge: EdgeCell): void;
72
+ manuallyConnectNodes(source: NodeId): Promise<ConnectNodesDetail>;
73
+ updateCells(cells: InitialCell[]): void;
67
74
  }
@@ -1,5 +1,6 @@
1
1
  import type { UseSingleBrickConf } from "@next-core/react-runtime";
2
2
  import type { ResizeCellPayload } from "./reducers/interfaces";
3
+ import type { PositionTuple } from "../diagram/interfaces";
3
4
  export type Cell = NodeCell | EdgeCell | DecoratorCell;
4
5
  export type BrickCell = NodeBrickCell;
5
6
  export type NodeCell = NodeBrickCell;
@@ -66,15 +67,27 @@ export interface ActiveTargetOfDecorator {
66
67
  type: "decorator";
67
68
  id: NodeId;
68
69
  }
69
- export interface NodeOrDecoratorBasicInfo {
70
- type: "node" | "decorator";
71
- id: NodeId;
72
- data?: unknown;
73
- }
74
70
  export interface BasicDecoratorProps {
75
71
  cell: DecoratorCell;
76
- active?: boolean;
77
72
  onCellResizing(info: ResizeCellPayload): void;
78
73
  onCellResized(info: ResizeCellPayload): void;
79
74
  onSwitchActiveTarget(activeTarget: ActiveTarget | null): void;
80
75
  }
76
+ export interface CellContextMenuDetail {
77
+ cell: Cell;
78
+ clientX: number;
79
+ clientY: number;
80
+ }
81
+ export interface ConnectLineState {
82
+ source: NodeCell;
83
+ from: PositionTuple;
84
+ offset: PositionTuple;
85
+ }
86
+ export interface Deferred<T> {
87
+ resolve: (value: T) => void;
88
+ reject: (reason: unknown) => void;
89
+ }
90
+ export interface ConnectNodesDetail {
91
+ source: NodeCell;
92
+ target: NodeCell;
93
+ }
@@ -0,0 +1,2 @@
1
+ import type { ActiveTarget, Cell } from "../interfaces";
2
+ export declare function cellToTarget(cell: Cell): ActiveTarget;
@@ -1,8 +1,8 @@
1
- import type { ActiveTarget, Cell, NodeOrDecoratorBasicInfo } from "../interfaces";
1
+ import type { ActiveTarget, Cell } from "../interfaces";
2
2
  export type KeyboardAction = KeyboardActionDeleteCell;
3
3
  export interface KeyboardActionDeleteCell {
4
4
  action: "delete-cell";
5
- cell: NodeOrDecoratorBasicInfo;
5
+ cell: Cell;
6
6
  }
7
7
  export declare function handleKeyboard(event: KeyboardEvent, { cells, activeTarget, }: {
8
8
  cells: Cell[];
@@ -0,0 +1,5 @@
1
+ import type { SizeTuple } from "../../diagram/interfaces";
2
+ import type { Cell, InitialCell } from "../interfaces";
3
+ export declare function initializeCells(initialCells: InitialCell[] | undefined, { defaultNodeSize, }?: {
4
+ defaultNodeSize?: SizeTuple;
5
+ }): Cell[];