@next-bricks/diagram 0.40.0 → 0.40.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/diagram",
3
- "version": "0.40.0",
3
+ "version": "0.40.1",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/diagram",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,5 +41,5 @@
41
41
  "peerDependencies": {
42
42
  "@next-bricks/basic": "*"
43
43
  },
44
- "gitHead": "464b8a4efb33f9dc8c7de6e8e7a5d6996c96d3f4"
44
+ "gitHead": "516cbfaa210ab22d3b7329b8003c29207ec179f3"
45
45
  }
@@ -1,2 +0,0 @@
1
- (()=>{"use strict";var e,t,r,n,a,o,l,i,c,d,s,u,f,h,p,m,b,v,g,x={9252:(e,t,r)=>{var n={"./eo-diagram":()=>Promise.all([r.e(4090),r.e(3790),r.e(8769),r.e(1030),r.e(1929),r.e(4223),r.e(9583),r.e(6916),r.e(6484),r.e(2416),r.e(3039)]).then((()=>()=>r(1508))),"./editable-label":()=>Promise.all([r.e(8769),r.e(1929),r.e(4223),r.e(9583),r.e(6006)]).then((()=>()=>r(3328))),"./eo-draw-canvas":()=>Promise.all([r.e(7507),r.e(4090),r.e(1094),r.e(8769),r.e(1030),r.e(1929),r.e(4223),r.e(8896),r.e(9583),r.e(9435),r.e(6916),r.e(6484),r.e(1868),r.e(8939)]).then((()=>()=>r(9068))),"./eo-display-canvas":()=>Promise.all([r.e(7507),r.e(4090),r.e(1094),r.e(8769),r.e(1030),r.e(1929),r.e(4223),r.e(9583),r.e(9435),r.e(6916),r.e(6484),r.e(1868),r.e(9823)]).then((()=>()=>r(6094))),"./experimental-node":()=>Promise.all([r.e(8769),r.e(1929),r.e(4223),r.e(9583),r.e(4422)]).then((()=>()=>r(5568)))},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})}},y={};function P(e){var t=y[e];if(void 0!==t)return t.exports;var r=y[e]={id:e,loaded:!1,exports:{}};return x[e].call(r.exports,r,r.exports,P),r.loaded=!0,r.exports}P.m=x,P.c=y,P.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return P.d(t,{a:t}),t},P.d=(e,t)=>{for(var r in t)P.o(t,r)&&!P.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},P.f={},P.e=e=>Promise.all(Object.keys(P.f).reduce(((t,r)=>(P.f[r](e,t),t)),[])),P.u=e=>"chunks/"+({3039:"eo-diagram",4422:"experimental-node",6006:"editable-label",8939:"eo-draw-canvas",9823:"eo-display-canvas"}[e]||e)+"."+{114:"75d133cd",726:"31d83c95",871:"c60deabc",1030:"b2de5ee5",1045:"63c485a7",1092:"f9d4751c",1094:"373374c3",1122:"514e19fc",1302:"4f0b92f3",1370:"8d145ce9",1580:"3ac63fba",1760:"54b527f9",1868:"baa94646",1889:"a9c5273d",1929:"1087795f",1940:"82d7d631",2052:"a8ed8891",2277:"3b3178c0",2416:"10cb5ecd",3039:"94659286",3144:"94428cca",3171:"6ae5ad31",3426:"ae8ab421",3533:"e1229efa",3751:"c544b621",3790:"e8dc7307",3933:"8cae1496",4041:"d221940a",4090:"a468d624",4223:"d728e8c0",4307:"97d7c983",4422:"de8fe3db",4658:"cf7a3a4c",4741:"4a7e366d",4837:"b45b469a",5250:"d0a6e755",5384:"b76b4b24",5399:"86bc511f",5552:"fb7027e0",6006:"c775eb3d",6314:"50550c8c",6484:"8c0344cc",6519:"bdf67396",6688:"0764fdb6",6773:"9e6346d4",6916:"3c3ec36a",7218:"25b26ead",7304:"14847830",7507:"f8686358",7721:"6ac62398",7733:"80404918",7761:"8ce4754b",8769:"4c91b468",8896:"592fb554",8939:"bfa88300",8989:"0fc5ea84",9435:"904b4066",9515:"4b4e0758",9559:"f63dbf90",9583:"d5f62e07",9755:"0a240b26",9823:"6e791d99",9844:"4a3a83f7"}[e]+".js",P.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),P.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/diagram:",P.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,P.nc&&l.setAttribute("nonce",P.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)}},P.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},P.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{P.S={};var e={},t={};P.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];P.o(P.S,r)||(P.S[r]={});var o=P.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.24.4",(()=>P.e(6773).then((()=>()=>P(6773))))),i("@easyops-cn/brick-next-pipes","0.6.0",(()=>Promise.all([P.e(4741),P.e(1030),P.e(6688)]).then((()=>()=>P(4741))))),i("@next-core/cook","2.4.5",(()=>Promise.all([P.e(1122),P.e(1760)]).then((()=>()=>P(1122))))),i("@next-core/element","1.2.10",(()=>P.e(1045).then((()=>()=>P(1045))))),i("@next-core/http","1.2.5",(()=>P.e(8989).then((()=>()=>P(8989))))),i("@next-core/i18n","1.0.56",(()=>Promise.all([P.e(8896),P.e(4307),P.e(9755),P.e(5552)]).then((()=>()=>P(5552))))),i("@next-core/inject","1.0.38",(()=>Promise.all([P.e(1030),P.e(1092),P.e(2277)]).then((()=>()=>P(2277))))),i("@next-core/loader","1.6.3",(()=>P.e(5399).then((()=>()=>P(7780))))),i("@next-core/pipes","2.0.23",(()=>P.e(6519).then((()=>()=>P(6519))))),i("@next-core/react-element","1.0.29",(()=>Promise.all([P.e(8769),P.e(1929),P.e(9435),P.e(114)]).then((()=>()=>P(114))))),i("@next-core/react-runtime","1.6.13",(()=>Promise.all([P.e(8769),P.e(1030),P.e(4223),P.e(6916),P.e(4837)]).then((()=>()=>P(4837))))),i("@next-core/runtime","1.49.9",(()=>Promise.all([P.e(7507),P.e(3533),P.e(1030),P.e(8896),P.e(1302),P.e(4307),P.e(1580),P.e(7761)]).then((()=>()=>P(3533))))),i("@next-core/supply","2.1.19",(()=>Promise.all([P.e(1030),P.e(1092),P.e(1302),P.e(9559)]).then((()=>()=>P(9559))))),i("@next-core/theme","1.5.2",(()=>Promise.all([P.e(1889),P.e(2052)]).then((()=>()=>P(1889))))),i("@next-core/utils/general","1.7.14",(()=>P.e(871).then((()=>()=>P(871))))),i("@next-core/utils/storyboard","1.7.14",(()=>Promise.all([P.e(8896),P.e(1580),P.e(3933)]).then((()=>()=>P(3933))))),i("history","4.10.1",(()=>P.e(5384).then((()=>()=>P(5384))))),i("i18next-browser-languagedetector","7.2.1",(()=>P.e(726).then((()=>()=>P(726))))),i("i18next","22.5.1",(()=>P.e(7304).then((()=>()=>P(7304))))),i("js-yaml","3.14.1",(()=>P.e(9515).then((()=>()=>P(9515))))),i("lodash","4.17.21",(()=>P.e(5250).then((()=>()=>P(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([P.e(7721),P.e(9844)]).then((()=>()=>P(1329))))),i("moment","2.30.1",(()=>Promise.all([P.e(7721),P.e(9844)]).then((()=>()=>P(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([P.e(3144),P.e(8769)]).then((()=>()=>P(3144))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>P.e(4041).then((()=>()=>P(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;P.g.importScripts&&(e=P.g.location+"");var t=P.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||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),P.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 p=e[l];f.push(1==p?h()|h():2==p?h()&h():p?o(p,t):!h())}return!!h()},l=(e,t)=>{var r=e[t];return Object.keys(r).reduce(((e,t)=>!e||!r[e].loaded&&n(e,t)?t:e),0)},i=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",c=(e,t,r,n)=>{var a=l(e,r);return o(n,a)||s(i(e,r,a,n)),u(e[r][a])},d=(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]},s=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},u=e=>(e.loaded=1,e.get()),h=(f=e=>function(t,r,n,a){var o=P.I(t);return o&&o.then?o.then(e.bind(e,t,P.S[t],r,n,a)):e(t,P.S[t],r,n,a)})(((e,t,r,n,a)=>t&&P.o(t,r)?c(t,0,r,n):a())),p=f(((e,t,r,n,a)=>{var o=t&&P.o(t,r)&&d(t,r,n);return o?u(o):a()})),m={},b={1030:()=>h("default","lodash",[1,4,17,21],(()=>P.e(5250).then((()=>()=>P(5250))))),1204:()=>h("default","js-yaml",[1,3,14,0],(()=>P.e(9515).then((()=>()=>P(9515))))),8297:()=>h("default","moment",[1,2,27,0],(()=>Promise.all([P.e(7721),P.e(9844)]).then((()=>()=>P(9420))))),1760:()=>h("default","@babel/parser",[1,7,24,7],(()=>P.e(6773).then((()=>()=>P(6773))))),8896:()=>h("default","@next-core/utils/general",[1,1,7,14],(()=>P.e(871).then((()=>()=>P(871))))),4307:()=>h("default","@next-core/i18n",[1,1,0,56],(()=>Promise.all([P.e(9755),P.e(3171)]).then((()=>()=>P(5552))))),2350:()=>h("default","i18next",[1,22,5,1],(()=>P.e(7304).then((()=>()=>P(7304))))),7072:()=>h("default","i18next-browser-languagedetector",[1,7,2,1],(()=>P.e(726).then((()=>()=>P(726))))),1092:()=>h("default","@next-core/pipes",[1,2,0,23],(()=>P.e(6519).then((()=>()=>P(6519))))),161:()=>h("default","@easyops-cn/brick-next-pipes",[2,0,6,0],(()=>Promise.all([P.e(4741),P.e(1030),P.e(6688)]).then((()=>()=>P(4741))))),8769:()=>p("default","react",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>P.e(4041).then((()=>()=>P(4041))))),1929:()=>p("default","@next-core/element",[1,1,2,10],(()=>P.e(3426).then((()=>()=>P(1045))))),9435:()=>p("default","react-dom",[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>P.e(3144).then((()=>()=>P(3144))))),4223:()=>p("default","@next-core/react-element",[1,1,0,29],(()=>Promise.all([P.e(1929),P.e(9435),P.e(7733)]).then((()=>()=>P(114))))),6916:()=>h("default","@next-core/runtime",[1,1,49,9],(()=>Promise.all([P.e(7507),P.e(3533),P.e(8896),P.e(1302),P.e(4307),P.e(1580),P.e(7761)]).then((()=>()=>P(3533))))),1302:()=>h("default","moment",[1,2,30,1],(()=>Promise.all([P.e(7721),P.e(9844)]).then((()=>()=>P(9420))))),1580:()=>h("default","@next-core/cook",[1,2,4,5],(()=>Promise.all([P.e(1122),P.e(1760)]).then((()=>()=>P(1122))))),537:()=>h("default","@next-core/inject",[1,1,0,38],(()=>Promise.all([P.e(1092),P.e(4658)]).then((()=>()=>P(2277))))),2890:()=>h("default","history",[1,4,10,1],(()=>P.e(5384).then((()=>()=>P(5384))))),3465:()=>h("default","@next-core/http",[1,1,2,5],(()=>P.e(3751).then((()=>()=>P(8989))))),4615:()=>h("default","@next-core/loader",[1,1,6,3],(()=>P.e(5399).then((()=>()=>P(7780))))),5684:()=>h("default","@next-core/supply",[1,2,1,19],(()=>Promise.all([P.e(1092),P.e(1940)]).then((()=>()=>P(9559))))),6036:()=>h("default","moment/locale/zh-cn.js",[1,2,30,1],(()=>Promise.all([P.e(7721),P.e(9844)]).then((()=>()=>P(1329))))),9680:()=>h("default","@next-core/utils/storyboard",[1,1,7,14],(()=>P.e(6314).then((()=>()=>P(3933))))),9583:()=>h("default","@next-core/theme",[1,1,5,2],(()=>P.e(1889).then((()=>()=>P(1889))))),6484:()=>p("default","@next-core/react-runtime",[1,1,6,13],(()=>P.e(7218).then((()=>()=>P(4837))))),3496:()=>h("default","@next-core/http",[1,1,0,6],(()=>P.e(1370).then((()=>()=>P(8989)))))},v={1030:[1030],1092:[1092],1302:[1302],1580:[1580],1760:[1760],1929:[1929],2416:[3496],4223:[4223],4307:[4307],6484:[6484],6519:[161],6688:[1204,8297],6916:[6916],7761:[537,2890,3465,4615,5684,6036,9680],8769:[8769],8896:[8896],9435:[9435],9583:[9583],9755:[2350,7072]},g={},P.f.consumes=(e,t)=>{P.o(v,e)&&v[e].forEach((e=>{if(P.o(m,e))return t.push(m[e]);if(!g[e]){var r=t=>{m[e]=0,P.m[e]=r=>{delete P.c[e],r.exports=t()}};g[e]=!0;var n=t=>{delete m[e],P.m[e]=r=>{throw delete P.c[e],t}};try{var a=b[e]();a.then?t.push(m[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={2691:0};P.f.j=(t,r)=>{var n=P.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1((03|58|76)0|092|302|929)|6(484|688|916)|9(435|583|755)|4223|4307|7761|8769|8896)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=P.p+P.u(t),l=new Error;P.l(o,(r=>{if(P.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)P.o(l,n)&&(P.m[n]=l[n]);i&&i(P)}for(t&&t(r);c<o.length;c++)a=o[c],P.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_diagram=globalThis.webpackChunk_next_bricks_diagram||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),P.nc=void 0;var w=P(9252);window["bricks/diagram"]=w})();
2
- //# sourceMappingURL=index.c86d443e.js.map