starfish-editor-custom 1.0.1 → 1.0.2
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/components.d.ts +2 -0
- package/dist/ConditionModule.js +63 -63
- package/dist/ConditionSelect.js +32 -32
- package/dist/CustomDialog.js +3 -3
- package/dist/formStyle.js +25 -33
- package/dist/globalFormList.js +2 -2
- package/dist/jsonCode.js +4 -3
- package/dist/jsonEditor.js +3 -3
- package/dist/main.js +270 -326
- package/dist/starfish-editor.es.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionGroup.vue.d.ts +18 -0
- package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionModule.vue.d.ts +17 -0
- package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionTanc.vue.d.ts +30 -0
- package/dist/types/{common → editor/src/common}/ConditionSelect.vue.d.ts +14 -36
- package/dist/types/editor/src/common/CustomDialog.vue.d.ts +26 -0
- package/dist/types/editor/src/common/Loading.vue.d.ts +3 -0
- package/dist/types/editor/src/common/jsonCode.vue.d.ts +15 -0
- package/dist/types/editor/src/components/ComponentList.vue.d.ts +3 -0
- package/dist/types/editor/src/components/FormPreview.vue.d.ts +23 -0
- package/dist/types/editor/src/components/Nav.vue.d.ts +9 -0
- package/dist/types/editor/src/components/PropsPanel.vue.d.ts +45 -0
- package/dist/types/{components → editor/src/components}/Shape.vue.d.ts +10 -9
- package/dist/types/editor/src/components/Workspace.vue.d.ts +23 -0
- package/dist/types/editor/src/components/globalFormList.vue.d.ts +7 -0
- package/dist/types/editor/src/components/jsonEditor.vue.d.ts +7 -0
- package/dist/types/{controller → editor/src/controller}/action.d.ts +1 -1
- package/dist/types/{controller → editor/src/controller}/form.d.ts +1 -1
- package/dist/types/{controller → editor/src/controller}/history.d.ts +1 -1
- package/dist/types/{controller → editor/src/controller}/shortcut.d.ts +1 -1
- package/dist/types/{controller → editor/src/controller}/ui.d.ts +1 -1
- package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +11 -0
- package/dist/types/editor/src/layouts/Framework.vue.d.ts +21 -0
- package/dist/types/editor/src/layouts/Resizer.vue.d.ts +14 -0
- package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +8 -0
- package/dist/types/editor/src/starfish-editor.vue.d.ts +103 -0
- package/dist/types/{type.d.ts → editor/src/type.d.ts} +8 -8
- package/dist/types/{utils → editor/src/utils}/formKeycon.d.ts +1 -1
- package/dist/types/starfish-editor.d.ts +2 -2
- package/package.json +55 -55
- package/src/common/ConditionSelect/ConditionGroup.vue +3 -3
- package/src/common/ConditionSelect/ConditionTanc.vue +1 -1
- package/src/common/ConditionSelect.vue +1 -1
- package/src/common/formJson.ts +34 -34
- package/src/common/formStyle.vue +5 -0
- package/src/common/jsonCode.vue +8 -2
- package/src/components/ComponentList.vue +6 -2
- package/src/components/FormPreview.vue +1 -1
- package/src/components/NavList.vue +6 -6
- package/src/components/PropsPanel.vue +1 -1
- package/src/components/Workspace.vue +1 -0
- package/src/main.ts +2 -2
- package/src/styles/component-list.scss +7 -3
- package/src/type.ts +1 -1
- package/stats.html +1439 -104
- package/dist/types/common/CustomDialog.vue.d.ts +0 -25
- package/dist/types/common/Loading.vue.d.ts +0 -3
- package/dist/types/common/formStyle.vue.d.ts +0 -139
- package/dist/types/common/jsonCode.vue.d.ts +0 -110
- package/dist/types/components/ComponentList.vue.d.ts +0 -32
- package/dist/types/components/FormPreview.vue.d.ts +0 -25
- package/dist/types/components/Nav.vue.d.ts +0 -9
- package/dist/types/components/PropsPanel.vue.d.ts +0 -53
- package/dist/types/components/Workspace.vue.d.ts +0 -22
- package/dist/types/components/globalFormList.vue.d.ts +0 -6
- package/dist/types/components/jsonEditor.vue.d.ts +0 -6
- package/dist/types/layouts/ControlEditSize.vue.d.ts +0 -17
- package/dist/types/layouts/Framework.vue.d.ts +0 -33
- package/dist/types/layouts/Resizer.vue.d.ts +0 -13
- package/dist/types/layouts/ShortcutKey.vue.d.ts +0 -8
- package/dist/types/starfish-editor.vue.d.ts +0 -109
- /package/dist/types/{common → editor/src/common}/formJson.d.ts +0 -0
- /package/dist/types/{main.d.ts → editor/src/main.d.ts} +0 -0
- /package/dist/types/{shims-vue.d.ts → editor/src/shims-vue.d.ts} +0 -0
- /package/dist/types/{utils → editor/src/utils}/_.d.ts +0 -0
- /package/dist/types/{utils → editor/src/utils}/shortcutKey.d.ts +0 -0
- /package/dist/types/{utils → editor/src/utils}/vm.d.ts +0 -0
package/stats.html
CHANGED
|
@@ -136,10 +136,6 @@ main {
|
|
|
136
136
|
.module-filter + .module-filter {
|
|
137
137
|
margin-left: 0.5rem;
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
.node {
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
}
|
|
143
139
|
</style>
|
|
144
140
|
</head>
|
|
145
141
|
<body>
|
|
@@ -149,9 +145,9 @@ main {
|
|
|
149
145
|
var drawChart = (function (exports) {
|
|
150
146
|
'use strict';
|
|
151
147
|
|
|
152
|
-
var n,l$1,u$2,i$1,o$1,r$1,f$2,e$1,c$1={},s$1=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h$1=Array.isArray;function v$1(n,l){for(var u in l)n[u]=l[u];return n}function p$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return d$1(l,f,i,o,null)}function d$1(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$2:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function g$1(n){return n.children}function b$1(n,l){this.props=n,this.context=l;}function m$1(n,l){if(null==l)return n.__?m$1(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?m$1(n):null}function k$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k$1(n)}}function w$1(n){(!n.__d&&(n.__d=!0)&&i$1.push(n)&&!x.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||r$1)(x);}function x(){var n,u,t,o,r,e,c,s,a;for(i$1.sort(f$2);n=i$1.shift();)n.__d&&(u=i$1.length,o=void 0,e=(r=(t=n).__v).__e,s=[],a=[],(c=t.__P)&&((o=v$1({},r)).__v=r.__v+1,l$1.vnode&&l$1.vnode(o),L(c,o,r,t.__n,void 0!==c.ownerSVGElement,32&r.__u?[e]:null,s,null==e?m$1(r):e,!!(32&r.__u),a),o.__.__k[o.__i]=o,M(s,o,a),o.__e!=e&&k$1(o)),i$1.length>u&&i$1.sort(f$2));x.__r=0;}function C(n,l,u,t,i,o,r,f,e,a,h){var v,p,y,d,_,g=t&&t.__k||s$1,b=l.length;for(u.__d=e,P(u,l,g),e=u.__d,v=0;v<b;v++)null!=(y=u.__k[v])&&"boolean"!=typeof y&&"function"!=typeof y&&(p=-1===y.__i?c$1:g[y.__i]||c$1,y.__i=v,L(n,y,p,i,o,r,f,e,a,h),d=y.__e,y.ref&&p.ref!=y.ref&&(p.ref&&z$1(p.ref,null,y),h.push(y.ref,y.__c||d,y)),null==_&&null!=d&&(_=d),65536&y.__u||p.__k===y.__k?e=S(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=_;}function P(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?d$1(null,i,null,null,i):h$1(i)?d$1(g$1,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?d$1(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=H(i,u,r=t+a,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f===r+1?a++:f>r?s>e-r?a+=f-r:a--:a=f<r&&f==r-1?f-r:0,f!==t+a&&(i.__u|=65536))):(o=u[t])&&null==o.key&&o.__e&&(o.__e==n.__d&&(n.__d=m$1(o)),N(o,o,!1),u[t]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=m$1(o)),N(o,o));}function S(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=S(t[i],l,u));return l}return n.__e!=l&&(u.insertBefore(n.__e,l||null),l=n.__e),l&&l.nextSibling}function H(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type)return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++;}}return -1}function I(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function T$1(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||I(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||I(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/,"$1")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=Date.now(),n.addEventListener(l,o?D:A,o)):n.removeEventListener(l,o?D:A,o);else {if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&"rowSpan"!==l&&"colSpan"!==l&&"role"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u));}}function A(n){var u=this.l[n.type+!1];if(n.t){if(n.t<=u.u)return}else n.t=Date.now();return u(l$1.event?l$1.event(n):n)}function D(n){return this.l[n.type+!0](l$1.event?l$1.event(n):n)}function L(n,u,t,i,o,r,f,e,c,s){var a,p,y,d,_,m,k,w,x,P,S,$,H,I,T,A=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof A)try{if(w=u.props,x=(a=A.contextType)&&i[a.__c],P=a?x?x.props.value:a.__:i,t.__c?k=(p=u.__c=t.__c).__=p.__E:("prototype"in A&&A.prototype.render?u.__c=p=new A(w,P):(u.__c=p=new b$1(w,P),p.constructor=A,p.render=O),x&&x.sub(p),p.props=w,p.state||(p.state={}),p.context=P,p.__n=i,y=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=A.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v$1({},p.__s)),v$1(p.__s,A.getDerivedStateFromProps(w,p.__s))),d=p.props,_=p.state,p.__v=u,y)null==A.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==A.getDerivedStateFromProps&&w!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(w,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(w,p.__s,P)||u.__v===t.__v)){for(u.__v!==t.__v&&(p.props=w,p.state=p.__s,p.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),S=0;S<p._sb.length;S++)p.__h.push(p._sb[S]);p._sb=[],p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(w,p.__s,P),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,m);});}if(p.context=P,p.props=w,p.__P=n,p.__e=!1,$=l$1.__r,H=0,"prototype"in A&&A.prototype.render){for(p.state=p.__s,p.__d=!1,$&&$(u),a=p.render(p.props,p.state,p.context),I=0;I<p._sb.length;I++)p.__h.push(p._sb[I]);p._sb=[];}else do{p.__d=!1,$&&$(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++H<25);p.state=p.__s,null!=p.getChildContext&&(i=v$1(v$1({},i),p.getChildContext())),y||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,_)),C(n,h$1(T=null!=a&&a.type===g$1&&null==a.key?a.props.children:a)?T:[T],u,t,i,o,r,f,e,c,s),p.base=u.__e,u.__u&=-161,p.__h.length&&f.push(p),k&&(p.__E=p.__=null);}catch(n){u.__v=null,c||null!=r?(u.__e=e,u.__u|=c?160:32,r[r.indexOf(e)]=null):(u.__e=t.__e,u.__k=t.__k),l$1.__e(n,u,t);}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c,s);(a=l$1.diffed)&&a(u);}function M(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)z$1(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function j$1(l,u,t,i,o,r,f,e,s){var a,v,y,d,_,g,b,k=t.props,w=u.props,x=u.type;if("svg"===x&&(o=!0),null!=r)for(a=0;a<r.length;a++)if((_=r[a])&&"setAttribute"in _==!!x&&(x?_.localName===x:3===_.nodeType)){l=_,r[a]=null;break}if(null==l){if(null===x)return document.createTextNode(w);l=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,w.is&&w),r=null,e=!1;}if(null===x)k===w||e&&l.data===w||(l.data=w);else {if(r=r&&n.call(l.childNodes),k=t.props||c$1,!e&&null!=r)for(k={},a=0;a<l.attributes.length;a++)k[(_=l.attributes[a]).name]=_.value;for(a in k)_=k[a],"children"==a||("dangerouslySetInnerHTML"==a?y=_:"key"===a||a in w||T$1(l,a,null,_,o));for(a in w)_=w[a],"children"==a?d=_:"dangerouslySetInnerHTML"==a?v=_:"value"==a?g=_:"checked"==a?b=_:"key"===a||e&&"function"!=typeof _||k[a]===_||T$1(l,a,_,k[a],o);if(v)e||y&&(v.__html===y.__html||v.__html===l.innerHTML)||(l.innerHTML=v.__html),u.__k=[];else if(y&&(l.innerHTML=""),C(l,h$1(d)?d:[d],u,t,i,o&&"foreignObject"!==x,r,f,r?r[0]:t.__k&&m$1(t,0),e,s),null!=r)for(a=r.length;a--;)null!=r[a]&&p$1(r[a]);e||(a="value",void 0!==g&&(g!==l[a]||"progress"===x&&!g||"option"===x&&g!==k[a])&&T$1(l,a,g,k[a],!1),a="checked",void 0!==b&&b!==l[a]&&T$1(l,a,b,k[a],!1));}return l}function z$1(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function N(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z$1(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&N(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||p$1(n.__e),n.__=n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function q$1(u,t,i){var o,r,f,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],L(t,u=(!o&&i||t).__k=y$1(g$1,null,[u]),r||c$1,c$1,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),M(f,u,e);}function F$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,w$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s$1.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,b$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v$1({},this.state),"function"==typeof n&&(n=n(v$1({},u),this.props)),n&&v$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),w$1(this));},b$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),w$1(this));},b$1.prototype.render=g$1,i$1=[],r$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$2=function(n,l){return n.__v.__b-l.__v.__b},x.__r=0,e$1=0;
|
|
148
|
+
var n,l$1,u$1,t$1,o$2,r$1,f$1={},e$1=[],c$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$1(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function h$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$1(l,f,t,o,null)}function v$1(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function p$1(n){return n.children}function d$1(n,l){this.props=n,this.context=l;}function _$2(n,l){if(null==l)return n.__?_$2(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?_$2(n):null}function k$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k$1(n)}}function b$1(n){(!n.__d&&(n.__d=!0)&&t$1.push(n)&&!g$1.__r++||o$2!==l$1.debounceRendering)&&((o$2=l$1.debounceRendering)||setTimeout)(g$1);}function g$1(){for(var n;g$1.__r=t$1.length;)n=t$1.sort(function(n,l){return n.__v.__b-l.__v.__b}),t$1=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s$1({},t)).__v=t.__v+1,j$1(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_$2(t):o,t.__h),z$1(u,t),t.__e!=o&&k$1(t)));});}function w$1(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e$1,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$1(null,k,null,null,k):Array.isArray(k)?v$1(p$1,{children:k},null,null,null):k.__b>0?v$1(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null;}j$1(n,k,d=d||f$1,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m$1(k,s,n):s=A$1(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_$2(d));}for(u.__e=g,h=C;h--;)null!=x[h]&&N(x[h],x[h]);if(w)for(h=0;h<w.length;h++)M(w[h],w[++h],w[++h]);}function m$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m$1(i,l,u):A$1(u,i,i,t,i.__e,l));return l}function A$1(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C$1(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$1.test(l)?u:u+"px";}function H(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$1:I,o):n.removeEventListener(l,o?T$1:I,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function I(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function T$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function j$1(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H,I,T=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof T){if(g=u.props,m=(a=T.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in T&&T.prototype.render?u.__c=h=new T(g,x):(u.__c=h=new d$1(g,x),h.constructor=T,h.render=O),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s$1({},h.__s)),s$1(h.__s,T.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==T.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){for(h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),A=0;A<h._sb.length;A++)h.__h.push(h._sb[A]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k);});}if(h.context=x,h.props=g,h.__v=u,h.__P=n,C=l$1.__r,$=0,"prototype"in T&&T.prototype.render){for(h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[];}else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++$<25);h.state=h.__s,null!=h.getChildContext&&(t=s$1(s$1({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),I=null!=a&&a.type===p$1&&null==a.key?a.props.children:a,w$1(n,Array.isArray(I)?I:[I],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L(i.__e,u,i,t,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,i);}}function z$1(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function L(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),h=(y=i.props||f$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C$1(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w$1(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_$2(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H(l,"checked",k,y.checked,!1));}return l}function M(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function N(n,u,i){var t,o;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,i||"function"!=typeof n.type);i||null==n.__e||a$1(n.__e),n.__=n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function P(u,i,t){var o,r,e;l$1.__&&l$1.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j$1(i,u=(!o&&t||i).__k=h$1(p$1,null,[u]),r||f$1,f$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z$1(e,u);}function B$2(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(b$1);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=e$1.slice,l$1={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,d$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$1({},this.state),"function"==typeof n&&(n=n(s$1({},u),this.props)),n&&s$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),b$1(this));},d$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b$1(this));},d$1.prototype.render=p$1,t$1=[],g$1.__r=0,r$1=0;
|
|
153
149
|
|
|
154
|
-
var
|
|
150
|
+
var _$1=0;function o$1(o,e,n,t,f){var l,s,u={};for(s in e)"ref"==s?l=e[s]:u[s]=e[s];var a={type:o,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--_$1,__source:f,__self:t};if("function"==typeof o&&(l=o.defaultProps))for(s in l)void 0===u[s]&&(u[s]=l[s]);return l$1.vnode&&l$1.vnode(a),a}
|
|
155
151
|
|
|
156
152
|
function count$1(node) {
|
|
157
153
|
var sum = 0,
|
|
@@ -421,6 +417,8 @@ var drawChart = (function (exports) {
|
|
|
421
417
|
}
|
|
422
418
|
}
|
|
423
419
|
|
|
420
|
+
Object.create(Node$1.prototype);
|
|
421
|
+
|
|
424
422
|
function treemapSlice(parent, x0, y0, x1, y1) {
|
|
425
423
|
var nodes = parent.children,
|
|
426
424
|
node,
|
|
@@ -663,12 +661,12 @@ var drawChart = (function (exports) {
|
|
|
663
661
|
return availableSizeProperties;
|
|
664
662
|
};
|
|
665
663
|
|
|
666
|
-
var t,r,u,i,o=0,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:c}),i.__[t]}function
|
|
664
|
+
var t,r,u,i,o=0,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function d(t,u){l$1.__h&&l$1.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:c}),i.__[t]}function p(n){return o=1,y(B$1,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):B$1(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var f=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !f||f.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!(!i&&o.__c.props===n)&&(!f||f.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$1.__s&&z(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function s(u,i){var o=d(t++,4);!l$1.__s&&z(o.__H,i)&&(o.__=u,o.i=i,r.__h.push(o));}function _(n){return o=5,F(function(){return {current:n}},[])}function F(n,r){var u=d(t++,7);return z(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T(n,t){return o=8,F(function(){return n},t)}function q(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k),i.__h.forEach(w),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||j)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return !n.__||w(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$1.__e(r,u.__v));};var g="function"==typeof requestAnimationFrame;function j(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r));}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w(n){var t=r;n.__c=n.__(),r=t;}function z(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function B$1(n,t){return "function"==typeof t?t(n):t}
|
|
667
665
|
|
|
668
|
-
const PLACEHOLDER = "
|
|
666
|
+
const PLACEHOLDER = "bundle-*:**/file/**,**/file**, bundle-*:";
|
|
669
667
|
const SideBar = ({ availableSizeProperties, sizeProperty, setSizeProperty, onExcludeChange, onIncludeChange, }) => {
|
|
670
|
-
const [includeValue, setIncludeValue] =
|
|
671
|
-
const [excludeValue, setExcludeValue] =
|
|
668
|
+
const [includeValue, setIncludeValue] = p("");
|
|
669
|
+
const [excludeValue, setExcludeValue] = p("");
|
|
672
670
|
const handleSizePropertyChange = (sizeProp) => () => {
|
|
673
671
|
if (sizeProp !== sizeProperty) {
|
|
674
672
|
setSizeProperty(sizeProp);
|
|
@@ -684,17 +682,23 @@ var drawChart = (function (exports) {
|
|
|
684
682
|
setExcludeValue(value);
|
|
685
683
|
onExcludeChange(value);
|
|
686
684
|
};
|
|
687
|
-
return (
|
|
685
|
+
return (o$1("aside", Object.assign({ className: "sidebar" }, { children: [o$1("div", Object.assign({ className: "size-selectors" }, { children: availableSizeProperties.length > 1 &&
|
|
688
686
|
availableSizeProperties.map((sizeProp) => {
|
|
689
687
|
const id = `selector-${sizeProp}`;
|
|
690
|
-
return (
|
|
691
|
-
}) }),
|
|
688
|
+
return (o$1("div", Object.assign({ className: "size-selector" }, { children: [o$1("input", { type: "radio", id: id, checked: sizeProp === sizeProperty, onChange: handleSizePropertyChange(sizeProp) }), o$1("label", Object.assign({ htmlFor: id }, { children: LABELS[sizeProp] }))] }), sizeProp));
|
|
689
|
+
}) })), o$1("div", Object.assign({ className: "module-filters" }, { children: [o$1("div", Object.assign({ className: "module-filter" }, { children: [o$1("label", Object.assign({ htmlFor: "module-filter-exclude" }, { children: "Exclude" })), o$1("input", { type: "text", id: "module-filter-exclude", value: excludeValue, onInput: handleExcludeChange, placeholder: PLACEHOLDER })] })), o$1("div", Object.assign({ className: "module-filter" }, { children: [o$1("label", Object.assign({ htmlFor: "module-filter-include" }, { children: "Include" })), o$1("input", { type: "text", id: "module-filter-include", value: includeValue, onInput: handleIncludeChange, placeholder: PLACEHOLDER })] }))] }))] })));
|
|
692
690
|
};
|
|
693
691
|
|
|
694
692
|
function getDefaultExportFromCjs (x) {
|
|
695
693
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
696
694
|
}
|
|
697
695
|
|
|
696
|
+
var picomatchBrowserExports = {};
|
|
697
|
+
var picomatchBrowser = {
|
|
698
|
+
get exports(){ return picomatchBrowserExports; },
|
|
699
|
+
set exports(v){ picomatchBrowserExports = v; },
|
|
700
|
+
};
|
|
701
|
+
|
|
698
702
|
var utils$3 = {};
|
|
699
703
|
|
|
700
704
|
const WIN_SLASH = '\\\\/';
|
|
@@ -937,7 +941,7 @@ var drawChart = (function (exports) {
|
|
|
937
941
|
} else {
|
|
938
942
|
return path.replace(/\/$/, '').replace(/.*\//, '');
|
|
939
943
|
}
|
|
940
|
-
};
|
|
944
|
+
};
|
|
941
945
|
} (utils$3));
|
|
942
946
|
|
|
943
947
|
const utils$2 = utils$3;
|
|
@@ -2734,9 +2738,12 @@ var drawChart = (function (exports) {
|
|
|
2734
2738
|
|
|
2735
2739
|
var picomatch_1 = picomatch;
|
|
2736
2740
|
|
|
2737
|
-
|
|
2741
|
+
(function (module) {
|
|
2742
|
+
|
|
2743
|
+
module.exports = picomatch_1;
|
|
2744
|
+
} (picomatchBrowser));
|
|
2738
2745
|
|
|
2739
|
-
var pm = /*@__PURE__*/getDefaultExportFromCjs(
|
|
2746
|
+
var pm = /*@__PURE__*/getDefaultExportFromCjs(picomatchBrowserExports);
|
|
2740
2747
|
|
|
2741
2748
|
function isArray(arg) {
|
|
2742
2749
|
return Array.isArray(arg);
|
|
@@ -2827,8 +2834,8 @@ var drawChart = (function (exports) {
|
|
|
2827
2834
|
}));
|
|
2828
2835
|
};
|
|
2829
2836
|
const useFilter = () => {
|
|
2830
|
-
const [includeFilter, setIncludeFilter] =
|
|
2831
|
-
const [excludeFilter, setExcludeFilter] =
|
|
2837
|
+
const [includeFilter, setIncludeFilter] = p("");
|
|
2838
|
+
const [excludeFilter, setExcludeFilter] = p("");
|
|
2832
2839
|
const setIncludeFilterTrottled = F(() => throttleFilter(setIncludeFilter, 200), []);
|
|
2833
2840
|
const setExcludeFilterTrottled = F(() => throttleFilter(setExcludeFilter, 200), []);
|
|
2834
2841
|
const isIncluded = F(() => createFilter(prepareFilter(includeFilter), prepareFilter(excludeFilter)), [includeFilter, excludeFilter]);
|
|
@@ -2917,7 +2924,6 @@ var drawChart = (function (exports) {
|
|
|
2917
2924
|
const ascendingBisect = bisector(ascending);
|
|
2918
2925
|
const bisectRight = ascendingBisect.right;
|
|
2919
2926
|
bisector(number$1).center;
|
|
2920
|
-
var bisect = bisectRight;
|
|
2921
2927
|
|
|
2922
2928
|
class InternMap extends Map {
|
|
2923
2929
|
constructor(entries, key = keyof) {
|
|
@@ -2991,60 +2997,59 @@ var drawChart = (function (exports) {
|
|
|
2991
2997
|
})(values, 0);
|
|
2992
2998
|
}
|
|
2993
2999
|
|
|
2994
|
-
|
|
3000
|
+
var e10 = Math.sqrt(50),
|
|
2995
3001
|
e5 = Math.sqrt(10),
|
|
2996
3002
|
e2 = Math.sqrt(2);
|
|
2997
3003
|
|
|
2998
|
-
function tickSpec(start, stop, count) {
|
|
2999
|
-
const step = (stop - start) / Math.max(0, count),
|
|
3000
|
-
power = Math.floor(Math.log10(step)),
|
|
3001
|
-
error = step / Math.pow(10, power),
|
|
3002
|
-
factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
3003
|
-
let i1, i2, inc;
|
|
3004
|
-
if (power < 0) {
|
|
3005
|
-
inc = Math.pow(10, -power) / factor;
|
|
3006
|
-
i1 = Math.round(start * inc);
|
|
3007
|
-
i2 = Math.round(stop * inc);
|
|
3008
|
-
if (i1 / inc < start) ++i1;
|
|
3009
|
-
if (i2 / inc > stop) --i2;
|
|
3010
|
-
inc = -inc;
|
|
3011
|
-
} else {
|
|
3012
|
-
inc = Math.pow(10, power) * factor;
|
|
3013
|
-
i1 = Math.round(start / inc);
|
|
3014
|
-
i2 = Math.round(stop / inc);
|
|
3015
|
-
if (i1 * inc < start) ++i1;
|
|
3016
|
-
if (i2 * inc > stop) --i2;
|
|
3017
|
-
}
|
|
3018
|
-
if (i2 < i1 && 0.5 <= count && count < 2) return tickSpec(start, stop, count * 2);
|
|
3019
|
-
return [i1, i2, inc];
|
|
3020
|
-
}
|
|
3021
|
-
|
|
3022
3004
|
function ticks(start, stop, count) {
|
|
3005
|
+
var reverse,
|
|
3006
|
+
i = -1,
|
|
3007
|
+
n,
|
|
3008
|
+
ticks,
|
|
3009
|
+
step;
|
|
3010
|
+
|
|
3023
3011
|
stop = +stop, start = +start, count = +count;
|
|
3024
|
-
if (
|
|
3025
|
-
if (
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
if (
|
|
3031
|
-
|
|
3012
|
+
if (start === stop && count > 0) return [start];
|
|
3013
|
+
if (reverse = stop < start) n = start, start = stop, stop = n;
|
|
3014
|
+
if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];
|
|
3015
|
+
|
|
3016
|
+
if (step > 0) {
|
|
3017
|
+
let r0 = Math.round(start / step), r1 = Math.round(stop / step);
|
|
3018
|
+
if (r0 * step < start) ++r0;
|
|
3019
|
+
if (r1 * step > stop) --r1;
|
|
3020
|
+
ticks = new Array(n = r1 - r0 + 1);
|
|
3021
|
+
while (++i < n) ticks[i] = (r0 + i) * step;
|
|
3032
3022
|
} else {
|
|
3033
|
-
|
|
3034
|
-
|
|
3023
|
+
step = -step;
|
|
3024
|
+
let r0 = Math.round(start * step), r1 = Math.round(stop * step);
|
|
3025
|
+
if (r0 / step < start) ++r0;
|
|
3026
|
+
if (r1 / step > stop) --r1;
|
|
3027
|
+
ticks = new Array(n = r1 - r0 + 1);
|
|
3028
|
+
while (++i < n) ticks[i] = (r0 + i) / step;
|
|
3035
3029
|
}
|
|
3030
|
+
|
|
3031
|
+
if (reverse) ticks.reverse();
|
|
3032
|
+
|
|
3036
3033
|
return ticks;
|
|
3037
3034
|
}
|
|
3038
3035
|
|
|
3039
3036
|
function tickIncrement(start, stop, count) {
|
|
3040
|
-
|
|
3041
|
-
|
|
3037
|
+
var step = (stop - start) / Math.max(0, count),
|
|
3038
|
+
power = Math.floor(Math.log(step) / Math.LN10),
|
|
3039
|
+
error = step / Math.pow(10, power);
|
|
3040
|
+
return power >= 0
|
|
3041
|
+
? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)
|
|
3042
|
+
: -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
|
|
3042
3043
|
}
|
|
3043
3044
|
|
|
3044
3045
|
function tickStep(start, stop, count) {
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3046
|
+
var step0 = Math.abs(stop - start) / Math.max(0, count),
|
|
3047
|
+
step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
|
|
3048
|
+
error = step0 / step1;
|
|
3049
|
+
if (error >= e10) step1 *= 10;
|
|
3050
|
+
else if (error >= e5) step1 *= 5;
|
|
3051
|
+
else if (error >= e2) step1 *= 2;
|
|
3052
|
+
return stop < start ? -step1 : step1;
|
|
3048
3053
|
}
|
|
3049
3054
|
|
|
3050
3055
|
const TOP_PADDING = 20;
|
|
@@ -3070,7 +3075,7 @@ var drawChart = (function (exports) {
|
|
|
3070
3075
|
else {
|
|
3071
3076
|
textProps.y = height / 2;
|
|
3072
3077
|
}
|
|
3073
|
-
|
|
3078
|
+
s(() => {
|
|
3074
3079
|
if (width == 0 || height == 0 || !textRef.current) {
|
|
3075
3080
|
return;
|
|
3076
3081
|
}
|
|
@@ -3095,18 +3100,18 @@ var drawChart = (function (exports) {
|
|
|
3095
3100
|
if (width == 0 || height == 0) {
|
|
3096
3101
|
return null;
|
|
3097
3102
|
}
|
|
3098
|
-
return (
|
|
3103
|
+
return (o$1("g", Object.assign({ className: "node", transform: `translate(${x0},${y0})`, onClick: (event) => {
|
|
3099
3104
|
event.stopPropagation();
|
|
3100
3105
|
onClick(node);
|
|
3101
3106
|
}, onMouseOver: (event) => {
|
|
3102
3107
|
event.stopPropagation();
|
|
3103
3108
|
onMouseOver(node);
|
|
3104
|
-
}, children: [
|
|
3109
|
+
} }, { children: [o$1("rect", { fill: backgroundColor, rx: 2, ry: 2, width: x1 - x0, height: y1 - y0, stroke: selected ? "#fff" : undefined, "stroke-width": selected ? 2 : undefined }), o$1("text", Object.assign({ ref: textRef, fill: fontColor, onClick: (event) => {
|
|
3105
3110
|
var _a;
|
|
3106
3111
|
if (((_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.toString()) !== "") {
|
|
3107
3112
|
event.stopPropagation();
|
|
3108
3113
|
}
|
|
3109
|
-
} }, textProps, { children: data.name }))] }));
|
|
3114
|
+
} }, textProps, { children: data.name }))] })));
|
|
3110
3115
|
};
|
|
3111
3116
|
|
|
3112
3117
|
const TreeMap = ({ root, onNodeHover, selectedNode, onNodeClick, }) => {
|
|
@@ -3123,14 +3128,18 @@ var drawChart = (function (exports) {
|
|
|
3123
3128
|
return nestedData;
|
|
3124
3129
|
}, [root]);
|
|
3125
3130
|
console.timeEnd("layering");
|
|
3126
|
-
return (
|
|
3127
|
-
return (
|
|
3128
|
-
return (
|
|
3129
|
-
}) }, key));
|
|
3130
|
-
}) }));
|
|
3131
|
+
return (o$1("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${width} ${height}` }, { children: nestedData.map(({ key, values }) => {
|
|
3132
|
+
return (o$1("g", Object.assign({ className: "layer" }, { children: values.map((node) => {
|
|
3133
|
+
return (o$1(Node, { node: node, onMouseOver: onNodeHover, selected: selectedNode === node, onClick: onNodeClick }, getModuleIds(node.data).nodeUid.id));
|
|
3134
|
+
}) }), key));
|
|
3135
|
+
}) })));
|
|
3131
3136
|
};
|
|
3132
3137
|
|
|
3133
|
-
var
|
|
3138
|
+
var bytesExports = {};
|
|
3139
|
+
var bytes$1 = {
|
|
3140
|
+
get exports(){ return bytesExports; },
|
|
3141
|
+
set exports(v){ bytesExports = v; },
|
|
3142
|
+
};
|
|
3134
3143
|
|
|
3135
3144
|
/*!
|
|
3136
3145
|
* bytes
|
|
@@ -3145,8 +3154,8 @@ var drawChart = (function (exports) {
|
|
|
3145
3154
|
*/
|
|
3146
3155
|
|
|
3147
3156
|
bytes$1.exports = bytes;
|
|
3148
|
-
var format_1 =
|
|
3149
|
-
|
|
3157
|
+
var format_1 = bytesExports.format = format$1;
|
|
3158
|
+
bytesExports.parse = parse;
|
|
3150
3159
|
|
|
3151
3160
|
/**
|
|
3152
3161
|
* Module variables.
|
|
@@ -3303,13 +3312,13 @@ var drawChart = (function (exports) {
|
|
|
3303
3312
|
|
|
3304
3313
|
const Tooltip_marginX = 10;
|
|
3305
3314
|
const Tooltip_marginY = 30;
|
|
3306
|
-
const SOURCEMAP_RENDERED = (
|
|
3307
|
-
const RENDRED = (
|
|
3308
|
-
const COMPRESSED = (
|
|
3315
|
+
const SOURCEMAP_RENDERED = (o$1("span", { children: [" ", o$1("b", { children: LABELS.renderedLength }), " is a number of characters in the file after individual and ", o$1("br", {}), " ", "whole bundle transformations according to sourcemap."] }));
|
|
3316
|
+
const RENDRED = (o$1("span", { children: [o$1("b", { children: LABELS.renderedLength }), " is a byte size of individual file after transformations and treeshake."] }));
|
|
3317
|
+
const COMPRESSED = (o$1("span", { children: [o$1("b", { children: LABELS.gzipLength }), " and ", o$1("b", { children: LABELS.brotliLength }), " is a byte size of individual file after individual transformations,", o$1("br", {}), " treeshake and compression."] }));
|
|
3309
3318
|
const Tooltip = ({ node, visible, root, sizeProperty, }) => {
|
|
3310
3319
|
const { availableSizeProperties, getModuleSize, data } = q(StaticContext);
|
|
3311
3320
|
const ref = _(null);
|
|
3312
|
-
const [style, setStyle] =
|
|
3321
|
+
const [style, setStyle] = p({});
|
|
3313
3322
|
const content = F(() => {
|
|
3314
3323
|
if (!node)
|
|
3315
3324
|
return null;
|
|
@@ -3327,17 +3336,17 @@ var drawChart = (function (exports) {
|
|
|
3327
3336
|
const mainUid = data.nodeParts[node.data.uid].metaUid;
|
|
3328
3337
|
dataNode = data.nodeMetas[mainUid];
|
|
3329
3338
|
}
|
|
3330
|
-
return (
|
|
3339
|
+
return (o$1(p$1, { children: [o$1("div", { children: path }), availableSizeProperties.map((sizeProp) => {
|
|
3331
3340
|
if (sizeProp === sizeProperty) {
|
|
3332
|
-
return (
|
|
3341
|
+
return (o$1("div", { children: [o$1("b", { children: [LABELS[sizeProp], ": ", format_1(mainSize)] }), " ", "(", percentageString, ")"] }, sizeProp));
|
|
3333
3342
|
}
|
|
3334
3343
|
else {
|
|
3335
|
-
return (
|
|
3344
|
+
return (o$1("div", { children: [LABELS[sizeProp], ": ", format_1(getModuleSize(node.data, sizeProp))] }, sizeProp));
|
|
3336
3345
|
}
|
|
3337
|
-
}),
|
|
3346
|
+
}), o$1("br", {}), dataNode && dataNode.importedBy.length > 0 && (o$1("div", { children: [o$1("div", { children: [o$1("b", { children: "Imported By" }), ":"] }), dataNode.importedBy.map(({ uid }) => {
|
|
3338
3347
|
const id = data.nodeMetas[uid].id;
|
|
3339
|
-
return
|
|
3340
|
-
})] })),
|
|
3348
|
+
return o$1("div", { children: id }, id);
|
|
3349
|
+
})] })), o$1("br", {}), o$1("small", { children: data.options.sourcemap ? SOURCEMAP_RENDERED : RENDRED }), (data.options.gzip || data.options.brotli) && (o$1(p$1, { children: [o$1("br", {}), o$1("small", { children: COMPRESSED })] }))] }));
|
|
3341
3350
|
}, [availableSizeProperties, data, getModuleSize, node, root.data, sizeProperty]);
|
|
3342
3351
|
const updatePosition = (mouseCoords) => {
|
|
3343
3352
|
if (!ref.current)
|
|
@@ -3357,7 +3366,7 @@ var drawChart = (function (exports) {
|
|
|
3357
3366
|
}
|
|
3358
3367
|
setStyle(pos);
|
|
3359
3368
|
};
|
|
3360
|
-
|
|
3369
|
+
h(() => {
|
|
3361
3370
|
const handleMouseMove = (event) => {
|
|
3362
3371
|
updatePosition({
|
|
3363
3372
|
x: event.pageX,
|
|
@@ -3369,13 +3378,13 @@ var drawChart = (function (exports) {
|
|
|
3369
3378
|
document.removeEventListener("mousemove", handleMouseMove, true);
|
|
3370
3379
|
};
|
|
3371
3380
|
}, []);
|
|
3372
|
-
return (
|
|
3381
|
+
return (o$1("div", Object.assign({ className: `tooltip ${visible ? "" : "tooltip-hidden"}`, ref: ref, style: style }, { children: content })));
|
|
3373
3382
|
};
|
|
3374
3383
|
|
|
3375
3384
|
const Chart = ({ root, sizeProperty, selectedNode, setSelectedNode, }) => {
|
|
3376
|
-
const [showTooltip, setShowTooltip] =
|
|
3377
|
-
const [tooltipNode, setTooltipNode] =
|
|
3378
|
-
|
|
3385
|
+
const [showTooltip, setShowTooltip] = p(false);
|
|
3386
|
+
const [tooltipNode, setTooltipNode] = p(undefined);
|
|
3387
|
+
h(() => {
|
|
3379
3388
|
const handleMouseOut = () => {
|
|
3380
3389
|
setShowTooltip(false);
|
|
3381
3390
|
};
|
|
@@ -3384,18 +3393,18 @@ var drawChart = (function (exports) {
|
|
|
3384
3393
|
document.removeEventListener("mouseover", handleMouseOut);
|
|
3385
3394
|
};
|
|
3386
3395
|
}, []);
|
|
3387
|
-
return (
|
|
3396
|
+
return (o$1(p$1, { children: [o$1(TreeMap, { root: root, onNodeHover: (node) => {
|
|
3388
3397
|
setTooltipNode(node);
|
|
3389
3398
|
setShowTooltip(true);
|
|
3390
3399
|
}, selectedNode: selectedNode, onNodeClick: (node) => {
|
|
3391
3400
|
setSelectedNode(selectedNode === node ? undefined : node);
|
|
3392
|
-
} }),
|
|
3401
|
+
} }), o$1(Tooltip, { visible: showTooltip, node: tooltipNode, root: root, sizeProperty: sizeProperty })] }));
|
|
3393
3402
|
};
|
|
3394
3403
|
|
|
3395
3404
|
const Main = () => {
|
|
3396
3405
|
const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = q(StaticContext);
|
|
3397
|
-
const [sizeProperty, setSizeProperty] =
|
|
3398
|
-
const [selectedNode, setSelectedNode] =
|
|
3406
|
+
const [sizeProperty, setSizeProperty] = p(availableSizeProperties[0]);
|
|
3407
|
+
const [selectedNode, setSelectedNode] = p(undefined);
|
|
3399
3408
|
const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter();
|
|
3400
3409
|
console.time("getNodeSizeMultiplier");
|
|
3401
3410
|
const getNodeSizeMultiplier = F(() => {
|
|
@@ -3450,7 +3459,7 @@ var drawChart = (function (exports) {
|
|
|
3450
3459
|
sizeProperty,
|
|
3451
3460
|
]);
|
|
3452
3461
|
console.timeEnd("root hierarchy compute");
|
|
3453
|
-
return (
|
|
3462
|
+
return (o$1(p$1, { children: [o$1(SideBar, { sizeProperty: sizeProperty, availableSizeProperties: availableSizeProperties, setSizeProperty: setSizeProperty, onExcludeChange: setExcludeFilter, onIncludeChange: setIncludeFilter }), o$1(Chart, { root: root, sizeProperty: sizeProperty, selectedNode: selectedNode, setSelectedNode: setSelectedNode })] }));
|
|
3454
3463
|
};
|
|
3455
3464
|
|
|
3456
3465
|
function initRange(domain, range) {
|
|
@@ -3886,6 +3895,179 @@ var drawChart = (function (exports) {
|
|
|
3886
3895
|
: m1) * 255;
|
|
3887
3896
|
}
|
|
3888
3897
|
|
|
3898
|
+
const radians = Math.PI / 180;
|
|
3899
|
+
const degrees = 180 / Math.PI;
|
|
3900
|
+
|
|
3901
|
+
// https://observablehq.com/@mbostock/lab-and-rgb
|
|
3902
|
+
const K = 18,
|
|
3903
|
+
Xn = 0.96422,
|
|
3904
|
+
Yn = 1,
|
|
3905
|
+
Zn = 0.82521,
|
|
3906
|
+
t0$1 = 4 / 29,
|
|
3907
|
+
t1$1 = 6 / 29,
|
|
3908
|
+
t2 = 3 * t1$1 * t1$1,
|
|
3909
|
+
t3 = t1$1 * t1$1 * t1$1;
|
|
3910
|
+
|
|
3911
|
+
function labConvert(o) {
|
|
3912
|
+
if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
|
|
3913
|
+
if (o instanceof Hcl) return hcl2lab(o);
|
|
3914
|
+
if (!(o instanceof Rgb)) o = rgbConvert(o);
|
|
3915
|
+
var r = rgb2lrgb(o.r),
|
|
3916
|
+
g = rgb2lrgb(o.g),
|
|
3917
|
+
b = rgb2lrgb(o.b),
|
|
3918
|
+
y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z;
|
|
3919
|
+
if (r === g && g === b) x = z = y; else {
|
|
3920
|
+
x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);
|
|
3921
|
+
z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);
|
|
3922
|
+
}
|
|
3923
|
+
return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
|
|
3924
|
+
}
|
|
3925
|
+
|
|
3926
|
+
function lab(l, a, b, opacity) {
|
|
3927
|
+
return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
function Lab(l, a, b, opacity) {
|
|
3931
|
+
this.l = +l;
|
|
3932
|
+
this.a = +a;
|
|
3933
|
+
this.b = +b;
|
|
3934
|
+
this.opacity = +opacity;
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
define(Lab, lab, extend(Color, {
|
|
3938
|
+
brighter(k) {
|
|
3939
|
+
return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
|
|
3940
|
+
},
|
|
3941
|
+
darker(k) {
|
|
3942
|
+
return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
|
|
3943
|
+
},
|
|
3944
|
+
rgb() {
|
|
3945
|
+
var y = (this.l + 16) / 116,
|
|
3946
|
+
x = isNaN(this.a) ? y : y + this.a / 500,
|
|
3947
|
+
z = isNaN(this.b) ? y : y - this.b / 200;
|
|
3948
|
+
x = Xn * lab2xyz(x);
|
|
3949
|
+
y = Yn * lab2xyz(y);
|
|
3950
|
+
z = Zn * lab2xyz(z);
|
|
3951
|
+
return new Rgb(
|
|
3952
|
+
lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z),
|
|
3953
|
+
lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z),
|
|
3954
|
+
lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z),
|
|
3955
|
+
this.opacity
|
|
3956
|
+
);
|
|
3957
|
+
}
|
|
3958
|
+
}));
|
|
3959
|
+
|
|
3960
|
+
function xyz2lab(t) {
|
|
3961
|
+
return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0$1;
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
function lab2xyz(t) {
|
|
3965
|
+
return t > t1$1 ? t * t * t : t2 * (t - t0$1);
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
function lrgb2rgb(x) {
|
|
3969
|
+
return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);
|
|
3970
|
+
}
|
|
3971
|
+
|
|
3972
|
+
function rgb2lrgb(x) {
|
|
3973
|
+
return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
|
|
3974
|
+
}
|
|
3975
|
+
|
|
3976
|
+
function hclConvert(o) {
|
|
3977
|
+
if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
|
|
3978
|
+
if (!(o instanceof Lab)) o = labConvert(o);
|
|
3979
|
+
if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);
|
|
3980
|
+
var h = Math.atan2(o.b, o.a) * degrees;
|
|
3981
|
+
return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
|
|
3982
|
+
}
|
|
3983
|
+
|
|
3984
|
+
function hcl(h, c, l, opacity) {
|
|
3985
|
+
return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
function Hcl(h, c, l, opacity) {
|
|
3989
|
+
this.h = +h;
|
|
3990
|
+
this.c = +c;
|
|
3991
|
+
this.l = +l;
|
|
3992
|
+
this.opacity = +opacity;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
function hcl2lab(o) {
|
|
3996
|
+
if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
|
|
3997
|
+
var h = o.h * radians;
|
|
3998
|
+
return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
define(Hcl, hcl, extend(Color, {
|
|
4002
|
+
brighter(k) {
|
|
4003
|
+
return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
|
|
4004
|
+
},
|
|
4005
|
+
darker(k) {
|
|
4006
|
+
return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
|
|
4007
|
+
},
|
|
4008
|
+
rgb() {
|
|
4009
|
+
return hcl2lab(this).rgb();
|
|
4010
|
+
}
|
|
4011
|
+
}));
|
|
4012
|
+
|
|
4013
|
+
var A = -0.14861,
|
|
4014
|
+
B = +1.78277,
|
|
4015
|
+
C = -0.29227,
|
|
4016
|
+
D = -0.90649,
|
|
4017
|
+
E = +1.97294,
|
|
4018
|
+
ED = E * D,
|
|
4019
|
+
EB = E * B,
|
|
4020
|
+
BC_DA = B * C - D * A;
|
|
4021
|
+
|
|
4022
|
+
function cubehelixConvert(o) {
|
|
4023
|
+
if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);
|
|
4024
|
+
if (!(o instanceof Rgb)) o = rgbConvert(o);
|
|
4025
|
+
var r = o.r / 255,
|
|
4026
|
+
g = o.g / 255,
|
|
4027
|
+
b = o.b / 255,
|
|
4028
|
+
l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),
|
|
4029
|
+
bl = b - l,
|
|
4030
|
+
k = (E * (g - l) - C * bl) / D,
|
|
4031
|
+
s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1
|
|
4032
|
+
h = s ? Math.atan2(k, bl) * degrees - 120 : NaN;
|
|
4033
|
+
return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
function cubehelix$1(h, s, l, opacity) {
|
|
4037
|
+
return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
function Cubehelix(h, s, l, opacity) {
|
|
4041
|
+
this.h = +h;
|
|
4042
|
+
this.s = +s;
|
|
4043
|
+
this.l = +l;
|
|
4044
|
+
this.opacity = +opacity;
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
define(Cubehelix, cubehelix$1, extend(Color, {
|
|
4048
|
+
brighter(k) {
|
|
4049
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
4050
|
+
return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
|
|
4051
|
+
},
|
|
4052
|
+
darker(k) {
|
|
4053
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
4054
|
+
return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
|
|
4055
|
+
},
|
|
4056
|
+
rgb() {
|
|
4057
|
+
var h = isNaN(this.h) ? 0 : (this.h + 120) * radians,
|
|
4058
|
+
l = +this.l,
|
|
4059
|
+
a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
|
|
4060
|
+
cosh = Math.cos(h),
|
|
4061
|
+
sinh = Math.sin(h);
|
|
4062
|
+
return new Rgb(
|
|
4063
|
+
255 * (l + a * (A * cosh + B * sinh)),
|
|
4064
|
+
255 * (l + a * (C * cosh + D * sinh)),
|
|
4065
|
+
255 * (l + a * (E * cosh)),
|
|
4066
|
+
this.opacity
|
|
4067
|
+
);
|
|
4068
|
+
}
|
|
4069
|
+
}));
|
|
4070
|
+
|
|
3889
4071
|
var constant = x => () => x;
|
|
3890
4072
|
|
|
3891
4073
|
function linear$1(a, d) {
|
|
@@ -3900,6 +4082,11 @@ var drawChart = (function (exports) {
|
|
|
3900
4082
|
};
|
|
3901
4083
|
}
|
|
3902
4084
|
|
|
4085
|
+
function hue(a, b) {
|
|
4086
|
+
var d = b - a;
|
|
4087
|
+
return d ? linear$1(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
|
|
4088
|
+
}
|
|
4089
|
+
|
|
3903
4090
|
function gamma(y) {
|
|
3904
4091
|
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
3905
4092
|
return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
|
|
@@ -4081,6 +4268,105 @@ var drawChart = (function (exports) {
|
|
|
4081
4268
|
};
|
|
4082
4269
|
}
|
|
4083
4270
|
|
|
4271
|
+
var epsilon2 = 1e-12;
|
|
4272
|
+
|
|
4273
|
+
function cosh(x) {
|
|
4274
|
+
return ((x = Math.exp(x)) + 1 / x) / 2;
|
|
4275
|
+
}
|
|
4276
|
+
|
|
4277
|
+
function sinh(x) {
|
|
4278
|
+
return ((x = Math.exp(x)) - 1 / x) / 2;
|
|
4279
|
+
}
|
|
4280
|
+
|
|
4281
|
+
function tanh(x) {
|
|
4282
|
+
return ((x = Math.exp(2 * x)) - 1) / (x + 1);
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
((function zoomRho(rho, rho2, rho4) {
|
|
4286
|
+
|
|
4287
|
+
// p0 = [ux0, uy0, w0]
|
|
4288
|
+
// p1 = [ux1, uy1, w1]
|
|
4289
|
+
function zoom(p0, p1) {
|
|
4290
|
+
var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],
|
|
4291
|
+
ux1 = p1[0], uy1 = p1[1], w1 = p1[2],
|
|
4292
|
+
dx = ux1 - ux0,
|
|
4293
|
+
dy = uy1 - uy0,
|
|
4294
|
+
d2 = dx * dx + dy * dy,
|
|
4295
|
+
i,
|
|
4296
|
+
S;
|
|
4297
|
+
|
|
4298
|
+
// Special case for u0 ≅ u1.
|
|
4299
|
+
if (d2 < epsilon2) {
|
|
4300
|
+
S = Math.log(w1 / w0) / rho;
|
|
4301
|
+
i = function(t) {
|
|
4302
|
+
return [
|
|
4303
|
+
ux0 + t * dx,
|
|
4304
|
+
uy0 + t * dy,
|
|
4305
|
+
w0 * Math.exp(rho * t * S)
|
|
4306
|
+
];
|
|
4307
|
+
};
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4310
|
+
// General case.
|
|
4311
|
+
else {
|
|
4312
|
+
var d1 = Math.sqrt(d2),
|
|
4313
|
+
b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),
|
|
4314
|
+
b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),
|
|
4315
|
+
r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),
|
|
4316
|
+
r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);
|
|
4317
|
+
S = (r1 - r0) / rho;
|
|
4318
|
+
i = function(t) {
|
|
4319
|
+
var s = t * S,
|
|
4320
|
+
coshr0 = cosh(r0),
|
|
4321
|
+
u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));
|
|
4322
|
+
return [
|
|
4323
|
+
ux0 + u * dx,
|
|
4324
|
+
uy0 + u * dy,
|
|
4325
|
+
w0 * coshr0 / cosh(rho * s + r0)
|
|
4326
|
+
];
|
|
4327
|
+
};
|
|
4328
|
+
}
|
|
4329
|
+
|
|
4330
|
+
i.duration = S * 1000 * rho / Math.SQRT2;
|
|
4331
|
+
|
|
4332
|
+
return i;
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4335
|
+
zoom.rho = function(_) {
|
|
4336
|
+
var _1 = Math.max(1e-3, +_), _2 = _1 * _1, _4 = _2 * _2;
|
|
4337
|
+
return zoomRho(_1, _2, _4);
|
|
4338
|
+
};
|
|
4339
|
+
|
|
4340
|
+
return zoom;
|
|
4341
|
+
}))(Math.SQRT2, 2, 4);
|
|
4342
|
+
|
|
4343
|
+
function cubehelix(hue) {
|
|
4344
|
+
return (function cubehelixGamma(y) {
|
|
4345
|
+
y = +y;
|
|
4346
|
+
|
|
4347
|
+
function cubehelix(start, end) {
|
|
4348
|
+
var h = hue((start = cubehelix$1(start)).h, (end = cubehelix$1(end)).h),
|
|
4349
|
+
s = nogamma(start.s, end.s),
|
|
4350
|
+
l = nogamma(start.l, end.l),
|
|
4351
|
+
opacity = nogamma(start.opacity, end.opacity);
|
|
4352
|
+
return function(t) {
|
|
4353
|
+
start.h = h(t);
|
|
4354
|
+
start.s = s(t);
|
|
4355
|
+
start.l = l(Math.pow(t, y));
|
|
4356
|
+
start.opacity = opacity(t);
|
|
4357
|
+
return start + "";
|
|
4358
|
+
};
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
cubehelix.gamma = cubehelixGamma;
|
|
4362
|
+
|
|
4363
|
+
return cubehelix;
|
|
4364
|
+
})(1);
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4367
|
+
cubehelix(hue);
|
|
4368
|
+
cubehelix(nogamma);
|
|
4369
|
+
|
|
4084
4370
|
function constants(x) {
|
|
4085
4371
|
return function() {
|
|
4086
4372
|
return x;
|
|
@@ -4136,7 +4422,7 @@ var drawChart = (function (exports) {
|
|
|
4136
4422
|
}
|
|
4137
4423
|
|
|
4138
4424
|
return function(x) {
|
|
4139
|
-
var i =
|
|
4425
|
+
var i = bisectRight(domain, x, 1, j) - 1;
|
|
4140
4426
|
return r[i](d[i](x));
|
|
4141
4427
|
};
|
|
4142
4428
|
}
|
|
@@ -4372,7 +4658,7 @@ var drawChart = (function (exports) {
|
|
|
4372
4658
|
var map = Array.prototype.map,
|
|
4373
4659
|
prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
|
|
4374
4660
|
|
|
4375
|
-
function formatLocale(locale) {
|
|
4661
|
+
function formatLocale$1(locale) {
|
|
4376
4662
|
var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + ""),
|
|
4377
4663
|
currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
|
|
4378
4664
|
currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
|
|
@@ -4509,21 +4795,21 @@ var drawChart = (function (exports) {
|
|
|
4509
4795
|
};
|
|
4510
4796
|
}
|
|
4511
4797
|
|
|
4512
|
-
var locale;
|
|
4798
|
+
var locale$1;
|
|
4513
4799
|
var format;
|
|
4514
4800
|
var formatPrefix;
|
|
4515
4801
|
|
|
4516
|
-
defaultLocale({
|
|
4802
|
+
defaultLocale$1({
|
|
4517
4803
|
thousands: ",",
|
|
4518
4804
|
grouping: [3],
|
|
4519
4805
|
currency: ["$", ""]
|
|
4520
4806
|
});
|
|
4521
4807
|
|
|
4522
|
-
function defaultLocale(definition) {
|
|
4523
|
-
locale = formatLocale(definition);
|
|
4524
|
-
format = locale.format;
|
|
4525
|
-
formatPrefix = locale.formatPrefix;
|
|
4526
|
-
return locale;
|
|
4808
|
+
function defaultLocale$1(definition) {
|
|
4809
|
+
locale$1 = formatLocale$1(definition);
|
|
4810
|
+
format = locale$1.format;
|
|
4811
|
+
formatPrefix = locale$1.formatPrefix;
|
|
4812
|
+
return locale$1;
|
|
4527
4813
|
}
|
|
4528
4814
|
|
|
4529
4815
|
function precisionFixed(step) {
|
|
@@ -4632,6 +4918,1055 @@ var drawChart = (function (exports) {
|
|
|
4632
4918
|
return linearish(scale);
|
|
4633
4919
|
}
|
|
4634
4920
|
|
|
4921
|
+
const t0 = new Date, t1 = new Date;
|
|
4922
|
+
|
|
4923
|
+
function timeInterval(floori, offseti, count, field) {
|
|
4924
|
+
|
|
4925
|
+
function interval(date) {
|
|
4926
|
+
return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date;
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4929
|
+
interval.floor = (date) => {
|
|
4930
|
+
return floori(date = new Date(+date)), date;
|
|
4931
|
+
};
|
|
4932
|
+
|
|
4933
|
+
interval.ceil = (date) => {
|
|
4934
|
+
return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
|
|
4935
|
+
};
|
|
4936
|
+
|
|
4937
|
+
interval.round = (date) => {
|
|
4938
|
+
const d0 = interval(date), d1 = interval.ceil(date);
|
|
4939
|
+
return date - d0 < d1 - date ? d0 : d1;
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
interval.offset = (date, step) => {
|
|
4943
|
+
return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
|
|
4944
|
+
};
|
|
4945
|
+
|
|
4946
|
+
interval.range = (start, stop, step) => {
|
|
4947
|
+
const range = [];
|
|
4948
|
+
start = interval.ceil(start);
|
|
4949
|
+
step = step == null ? 1 : Math.floor(step);
|
|
4950
|
+
if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date
|
|
4951
|
+
let previous;
|
|
4952
|
+
do range.push(previous = new Date(+start)), offseti(start, step), floori(start);
|
|
4953
|
+
while (previous < start && start < stop);
|
|
4954
|
+
return range;
|
|
4955
|
+
};
|
|
4956
|
+
|
|
4957
|
+
interval.filter = (test) => {
|
|
4958
|
+
return timeInterval((date) => {
|
|
4959
|
+
if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
|
|
4960
|
+
}, (date, step) => {
|
|
4961
|
+
if (date >= date) {
|
|
4962
|
+
if (step < 0) while (++step <= 0) {
|
|
4963
|
+
while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty
|
|
4964
|
+
} else while (--step >= 0) {
|
|
4965
|
+
while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty
|
|
4966
|
+
}
|
|
4967
|
+
}
|
|
4968
|
+
});
|
|
4969
|
+
};
|
|
4970
|
+
|
|
4971
|
+
if (count) {
|
|
4972
|
+
interval.count = (start, end) => {
|
|
4973
|
+
t0.setTime(+start), t1.setTime(+end);
|
|
4974
|
+
floori(t0), floori(t1);
|
|
4975
|
+
return Math.floor(count(t0, t1));
|
|
4976
|
+
};
|
|
4977
|
+
|
|
4978
|
+
interval.every = (step) => {
|
|
4979
|
+
step = Math.floor(step);
|
|
4980
|
+
return !isFinite(step) || !(step > 0) ? null
|
|
4981
|
+
: !(step > 1) ? interval
|
|
4982
|
+
: interval.filter(field
|
|
4983
|
+
? (d) => field(d) % step === 0
|
|
4984
|
+
: (d) => interval.count(0, d) % step === 0);
|
|
4985
|
+
};
|
|
4986
|
+
}
|
|
4987
|
+
|
|
4988
|
+
return interval;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4991
|
+
const millisecond = timeInterval(() => {
|
|
4992
|
+
// noop
|
|
4993
|
+
}, (date, step) => {
|
|
4994
|
+
date.setTime(+date + step);
|
|
4995
|
+
}, (start, end) => {
|
|
4996
|
+
return end - start;
|
|
4997
|
+
});
|
|
4998
|
+
|
|
4999
|
+
// An optimized implementation for this simple case.
|
|
5000
|
+
millisecond.every = (k) => {
|
|
5001
|
+
k = Math.floor(k);
|
|
5002
|
+
if (!isFinite(k) || !(k > 0)) return null;
|
|
5003
|
+
if (!(k > 1)) return millisecond;
|
|
5004
|
+
return timeInterval((date) => {
|
|
5005
|
+
date.setTime(Math.floor(date / k) * k);
|
|
5006
|
+
}, (date, step) => {
|
|
5007
|
+
date.setTime(+date + step * k);
|
|
5008
|
+
}, (start, end) => {
|
|
5009
|
+
return (end - start) / k;
|
|
5010
|
+
});
|
|
5011
|
+
};
|
|
5012
|
+
|
|
5013
|
+
millisecond.range;
|
|
5014
|
+
|
|
5015
|
+
const durationSecond = 1000;
|
|
5016
|
+
const durationMinute = durationSecond * 60;
|
|
5017
|
+
const durationHour = durationMinute * 60;
|
|
5018
|
+
const durationDay = durationHour * 24;
|
|
5019
|
+
const durationWeek = durationDay * 7;
|
|
5020
|
+
|
|
5021
|
+
const second = timeInterval((date) => {
|
|
5022
|
+
date.setTime(date - date.getMilliseconds());
|
|
5023
|
+
}, (date, step) => {
|
|
5024
|
+
date.setTime(+date + step * durationSecond);
|
|
5025
|
+
}, (start, end) => {
|
|
5026
|
+
return (end - start) / durationSecond;
|
|
5027
|
+
}, (date) => {
|
|
5028
|
+
return date.getUTCSeconds();
|
|
5029
|
+
});
|
|
5030
|
+
|
|
5031
|
+
second.range;
|
|
5032
|
+
|
|
5033
|
+
const timeMinute = timeInterval((date) => {
|
|
5034
|
+
date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);
|
|
5035
|
+
}, (date, step) => {
|
|
5036
|
+
date.setTime(+date + step * durationMinute);
|
|
5037
|
+
}, (start, end) => {
|
|
5038
|
+
return (end - start) / durationMinute;
|
|
5039
|
+
}, (date) => {
|
|
5040
|
+
return date.getMinutes();
|
|
5041
|
+
});
|
|
5042
|
+
|
|
5043
|
+
timeMinute.range;
|
|
5044
|
+
|
|
5045
|
+
const utcMinute = timeInterval((date) => {
|
|
5046
|
+
date.setUTCSeconds(0, 0);
|
|
5047
|
+
}, (date, step) => {
|
|
5048
|
+
date.setTime(+date + step * durationMinute);
|
|
5049
|
+
}, (start, end) => {
|
|
5050
|
+
return (end - start) / durationMinute;
|
|
5051
|
+
}, (date) => {
|
|
5052
|
+
return date.getUTCMinutes();
|
|
5053
|
+
});
|
|
5054
|
+
|
|
5055
|
+
utcMinute.range;
|
|
5056
|
+
|
|
5057
|
+
const timeHour = timeInterval((date) => {
|
|
5058
|
+
date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);
|
|
5059
|
+
}, (date, step) => {
|
|
5060
|
+
date.setTime(+date + step * durationHour);
|
|
5061
|
+
}, (start, end) => {
|
|
5062
|
+
return (end - start) / durationHour;
|
|
5063
|
+
}, (date) => {
|
|
5064
|
+
return date.getHours();
|
|
5065
|
+
});
|
|
5066
|
+
|
|
5067
|
+
timeHour.range;
|
|
5068
|
+
|
|
5069
|
+
const utcHour = timeInterval((date) => {
|
|
5070
|
+
date.setUTCMinutes(0, 0, 0);
|
|
5071
|
+
}, (date, step) => {
|
|
5072
|
+
date.setTime(+date + step * durationHour);
|
|
5073
|
+
}, (start, end) => {
|
|
5074
|
+
return (end - start) / durationHour;
|
|
5075
|
+
}, (date) => {
|
|
5076
|
+
return date.getUTCHours();
|
|
5077
|
+
});
|
|
5078
|
+
|
|
5079
|
+
utcHour.range;
|
|
5080
|
+
|
|
5081
|
+
const timeDay = timeInterval(
|
|
5082
|
+
date => date.setHours(0, 0, 0, 0),
|
|
5083
|
+
(date, step) => date.setDate(date.getDate() + step),
|
|
5084
|
+
(start, end) => (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay,
|
|
5085
|
+
date => date.getDate() - 1
|
|
5086
|
+
);
|
|
5087
|
+
|
|
5088
|
+
timeDay.range;
|
|
5089
|
+
|
|
5090
|
+
const utcDay = timeInterval((date) => {
|
|
5091
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
5092
|
+
}, (date, step) => {
|
|
5093
|
+
date.setUTCDate(date.getUTCDate() + step);
|
|
5094
|
+
}, (start, end) => {
|
|
5095
|
+
return (end - start) / durationDay;
|
|
5096
|
+
}, (date) => {
|
|
5097
|
+
return date.getUTCDate() - 1;
|
|
5098
|
+
});
|
|
5099
|
+
|
|
5100
|
+
utcDay.range;
|
|
5101
|
+
|
|
5102
|
+
const unixDay = timeInterval((date) => {
|
|
5103
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
5104
|
+
}, (date, step) => {
|
|
5105
|
+
date.setUTCDate(date.getUTCDate() + step);
|
|
5106
|
+
}, (start, end) => {
|
|
5107
|
+
return (end - start) / durationDay;
|
|
5108
|
+
}, (date) => {
|
|
5109
|
+
return Math.floor(date / durationDay);
|
|
5110
|
+
});
|
|
5111
|
+
|
|
5112
|
+
unixDay.range;
|
|
5113
|
+
|
|
5114
|
+
function timeWeekday(i) {
|
|
5115
|
+
return timeInterval((date) => {
|
|
5116
|
+
date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
|
|
5117
|
+
date.setHours(0, 0, 0, 0);
|
|
5118
|
+
}, (date, step) => {
|
|
5119
|
+
date.setDate(date.getDate() + step * 7);
|
|
5120
|
+
}, (start, end) => {
|
|
5121
|
+
return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;
|
|
5122
|
+
});
|
|
5123
|
+
}
|
|
5124
|
+
|
|
5125
|
+
const timeSunday = timeWeekday(0);
|
|
5126
|
+
const timeMonday = timeWeekday(1);
|
|
5127
|
+
const timeTuesday = timeWeekday(2);
|
|
5128
|
+
const timeWednesday = timeWeekday(3);
|
|
5129
|
+
const timeThursday = timeWeekday(4);
|
|
5130
|
+
const timeFriday = timeWeekday(5);
|
|
5131
|
+
const timeSaturday = timeWeekday(6);
|
|
5132
|
+
|
|
5133
|
+
timeSunday.range;
|
|
5134
|
+
timeMonday.range;
|
|
5135
|
+
timeTuesday.range;
|
|
5136
|
+
timeWednesday.range;
|
|
5137
|
+
timeThursday.range;
|
|
5138
|
+
timeFriday.range;
|
|
5139
|
+
timeSaturday.range;
|
|
5140
|
+
|
|
5141
|
+
function utcWeekday(i) {
|
|
5142
|
+
return timeInterval((date) => {
|
|
5143
|
+
date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
|
|
5144
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
5145
|
+
}, (date, step) => {
|
|
5146
|
+
date.setUTCDate(date.getUTCDate() + step * 7);
|
|
5147
|
+
}, (start, end) => {
|
|
5148
|
+
return (end - start) / durationWeek;
|
|
5149
|
+
});
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5152
|
+
const utcSunday = utcWeekday(0);
|
|
5153
|
+
const utcMonday = utcWeekday(1);
|
|
5154
|
+
const utcTuesday = utcWeekday(2);
|
|
5155
|
+
const utcWednesday = utcWeekday(3);
|
|
5156
|
+
const utcThursday = utcWeekday(4);
|
|
5157
|
+
const utcFriday = utcWeekday(5);
|
|
5158
|
+
const utcSaturday = utcWeekday(6);
|
|
5159
|
+
|
|
5160
|
+
utcSunday.range;
|
|
5161
|
+
utcMonday.range;
|
|
5162
|
+
utcTuesday.range;
|
|
5163
|
+
utcWednesday.range;
|
|
5164
|
+
utcThursday.range;
|
|
5165
|
+
utcFriday.range;
|
|
5166
|
+
utcSaturday.range;
|
|
5167
|
+
|
|
5168
|
+
const timeMonth = timeInterval((date) => {
|
|
5169
|
+
date.setDate(1);
|
|
5170
|
+
date.setHours(0, 0, 0, 0);
|
|
5171
|
+
}, (date, step) => {
|
|
5172
|
+
date.setMonth(date.getMonth() + step);
|
|
5173
|
+
}, (start, end) => {
|
|
5174
|
+
return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
|
|
5175
|
+
}, (date) => {
|
|
5176
|
+
return date.getMonth();
|
|
5177
|
+
});
|
|
5178
|
+
|
|
5179
|
+
timeMonth.range;
|
|
5180
|
+
|
|
5181
|
+
const utcMonth = timeInterval((date) => {
|
|
5182
|
+
date.setUTCDate(1);
|
|
5183
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
5184
|
+
}, (date, step) => {
|
|
5185
|
+
date.setUTCMonth(date.getUTCMonth() + step);
|
|
5186
|
+
}, (start, end) => {
|
|
5187
|
+
return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
|
|
5188
|
+
}, (date) => {
|
|
5189
|
+
return date.getUTCMonth();
|
|
5190
|
+
});
|
|
5191
|
+
|
|
5192
|
+
utcMonth.range;
|
|
5193
|
+
|
|
5194
|
+
const timeYear = timeInterval((date) => {
|
|
5195
|
+
date.setMonth(0, 1);
|
|
5196
|
+
date.setHours(0, 0, 0, 0);
|
|
5197
|
+
}, (date, step) => {
|
|
5198
|
+
date.setFullYear(date.getFullYear() + step);
|
|
5199
|
+
}, (start, end) => {
|
|
5200
|
+
return end.getFullYear() - start.getFullYear();
|
|
5201
|
+
}, (date) => {
|
|
5202
|
+
return date.getFullYear();
|
|
5203
|
+
});
|
|
5204
|
+
|
|
5205
|
+
// An optimized implementation for this simple case.
|
|
5206
|
+
timeYear.every = (k) => {
|
|
5207
|
+
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : timeInterval((date) => {
|
|
5208
|
+
date.setFullYear(Math.floor(date.getFullYear() / k) * k);
|
|
5209
|
+
date.setMonth(0, 1);
|
|
5210
|
+
date.setHours(0, 0, 0, 0);
|
|
5211
|
+
}, (date, step) => {
|
|
5212
|
+
date.setFullYear(date.getFullYear() + step * k);
|
|
5213
|
+
});
|
|
5214
|
+
};
|
|
5215
|
+
|
|
5216
|
+
timeYear.range;
|
|
5217
|
+
|
|
5218
|
+
const utcYear = timeInterval((date) => {
|
|
5219
|
+
date.setUTCMonth(0, 1);
|
|
5220
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
5221
|
+
}, (date, step) => {
|
|
5222
|
+
date.setUTCFullYear(date.getUTCFullYear() + step);
|
|
5223
|
+
}, (start, end) => {
|
|
5224
|
+
return end.getUTCFullYear() - start.getUTCFullYear();
|
|
5225
|
+
}, (date) => {
|
|
5226
|
+
return date.getUTCFullYear();
|
|
5227
|
+
});
|
|
5228
|
+
|
|
5229
|
+
// An optimized implementation for this simple case.
|
|
5230
|
+
utcYear.every = (k) => {
|
|
5231
|
+
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : timeInterval((date) => {
|
|
5232
|
+
date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
|
|
5233
|
+
date.setUTCMonth(0, 1);
|
|
5234
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
5235
|
+
}, (date, step) => {
|
|
5236
|
+
date.setUTCFullYear(date.getUTCFullYear() + step * k);
|
|
5237
|
+
});
|
|
5238
|
+
};
|
|
5239
|
+
|
|
5240
|
+
utcYear.range;
|
|
5241
|
+
|
|
5242
|
+
function localDate(d) {
|
|
5243
|
+
if (0 <= d.y && d.y < 100) {
|
|
5244
|
+
var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
|
|
5245
|
+
date.setFullYear(d.y);
|
|
5246
|
+
return date;
|
|
5247
|
+
}
|
|
5248
|
+
return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
|
|
5249
|
+
}
|
|
5250
|
+
|
|
5251
|
+
function utcDate(d) {
|
|
5252
|
+
if (0 <= d.y && d.y < 100) {
|
|
5253
|
+
var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
|
|
5254
|
+
date.setUTCFullYear(d.y);
|
|
5255
|
+
return date;
|
|
5256
|
+
}
|
|
5257
|
+
return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
|
|
5258
|
+
}
|
|
5259
|
+
|
|
5260
|
+
function newDate(y, m, d) {
|
|
5261
|
+
return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0};
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
function formatLocale(locale) {
|
|
5265
|
+
var locale_dateTime = locale.dateTime,
|
|
5266
|
+
locale_date = locale.date,
|
|
5267
|
+
locale_time = locale.time,
|
|
5268
|
+
locale_periods = locale.periods,
|
|
5269
|
+
locale_weekdays = locale.days,
|
|
5270
|
+
locale_shortWeekdays = locale.shortDays,
|
|
5271
|
+
locale_months = locale.months,
|
|
5272
|
+
locale_shortMonths = locale.shortMonths;
|
|
5273
|
+
|
|
5274
|
+
var periodRe = formatRe(locale_periods),
|
|
5275
|
+
periodLookup = formatLookup(locale_periods),
|
|
5276
|
+
weekdayRe = formatRe(locale_weekdays),
|
|
5277
|
+
weekdayLookup = formatLookup(locale_weekdays),
|
|
5278
|
+
shortWeekdayRe = formatRe(locale_shortWeekdays),
|
|
5279
|
+
shortWeekdayLookup = formatLookup(locale_shortWeekdays),
|
|
5280
|
+
monthRe = formatRe(locale_months),
|
|
5281
|
+
monthLookup = formatLookup(locale_months),
|
|
5282
|
+
shortMonthRe = formatRe(locale_shortMonths),
|
|
5283
|
+
shortMonthLookup = formatLookup(locale_shortMonths);
|
|
5284
|
+
|
|
5285
|
+
var formats = {
|
|
5286
|
+
"a": formatShortWeekday,
|
|
5287
|
+
"A": formatWeekday,
|
|
5288
|
+
"b": formatShortMonth,
|
|
5289
|
+
"B": formatMonth,
|
|
5290
|
+
"c": null,
|
|
5291
|
+
"d": formatDayOfMonth,
|
|
5292
|
+
"e": formatDayOfMonth,
|
|
5293
|
+
"f": formatMicroseconds,
|
|
5294
|
+
"g": formatYearISO,
|
|
5295
|
+
"G": formatFullYearISO,
|
|
5296
|
+
"H": formatHour24,
|
|
5297
|
+
"I": formatHour12,
|
|
5298
|
+
"j": formatDayOfYear,
|
|
5299
|
+
"L": formatMilliseconds,
|
|
5300
|
+
"m": formatMonthNumber,
|
|
5301
|
+
"M": formatMinutes,
|
|
5302
|
+
"p": formatPeriod,
|
|
5303
|
+
"q": formatQuarter,
|
|
5304
|
+
"Q": formatUnixTimestamp,
|
|
5305
|
+
"s": formatUnixTimestampSeconds,
|
|
5306
|
+
"S": formatSeconds,
|
|
5307
|
+
"u": formatWeekdayNumberMonday,
|
|
5308
|
+
"U": formatWeekNumberSunday,
|
|
5309
|
+
"V": formatWeekNumberISO,
|
|
5310
|
+
"w": formatWeekdayNumberSunday,
|
|
5311
|
+
"W": formatWeekNumberMonday,
|
|
5312
|
+
"x": null,
|
|
5313
|
+
"X": null,
|
|
5314
|
+
"y": formatYear,
|
|
5315
|
+
"Y": formatFullYear,
|
|
5316
|
+
"Z": formatZone,
|
|
5317
|
+
"%": formatLiteralPercent
|
|
5318
|
+
};
|
|
5319
|
+
|
|
5320
|
+
var utcFormats = {
|
|
5321
|
+
"a": formatUTCShortWeekday,
|
|
5322
|
+
"A": formatUTCWeekday,
|
|
5323
|
+
"b": formatUTCShortMonth,
|
|
5324
|
+
"B": formatUTCMonth,
|
|
5325
|
+
"c": null,
|
|
5326
|
+
"d": formatUTCDayOfMonth,
|
|
5327
|
+
"e": formatUTCDayOfMonth,
|
|
5328
|
+
"f": formatUTCMicroseconds,
|
|
5329
|
+
"g": formatUTCYearISO,
|
|
5330
|
+
"G": formatUTCFullYearISO,
|
|
5331
|
+
"H": formatUTCHour24,
|
|
5332
|
+
"I": formatUTCHour12,
|
|
5333
|
+
"j": formatUTCDayOfYear,
|
|
5334
|
+
"L": formatUTCMilliseconds,
|
|
5335
|
+
"m": formatUTCMonthNumber,
|
|
5336
|
+
"M": formatUTCMinutes,
|
|
5337
|
+
"p": formatUTCPeriod,
|
|
5338
|
+
"q": formatUTCQuarter,
|
|
5339
|
+
"Q": formatUnixTimestamp,
|
|
5340
|
+
"s": formatUnixTimestampSeconds,
|
|
5341
|
+
"S": formatUTCSeconds,
|
|
5342
|
+
"u": formatUTCWeekdayNumberMonday,
|
|
5343
|
+
"U": formatUTCWeekNumberSunday,
|
|
5344
|
+
"V": formatUTCWeekNumberISO,
|
|
5345
|
+
"w": formatUTCWeekdayNumberSunday,
|
|
5346
|
+
"W": formatUTCWeekNumberMonday,
|
|
5347
|
+
"x": null,
|
|
5348
|
+
"X": null,
|
|
5349
|
+
"y": formatUTCYear,
|
|
5350
|
+
"Y": formatUTCFullYear,
|
|
5351
|
+
"Z": formatUTCZone,
|
|
5352
|
+
"%": formatLiteralPercent
|
|
5353
|
+
};
|
|
5354
|
+
|
|
5355
|
+
var parses = {
|
|
5356
|
+
"a": parseShortWeekday,
|
|
5357
|
+
"A": parseWeekday,
|
|
5358
|
+
"b": parseShortMonth,
|
|
5359
|
+
"B": parseMonth,
|
|
5360
|
+
"c": parseLocaleDateTime,
|
|
5361
|
+
"d": parseDayOfMonth,
|
|
5362
|
+
"e": parseDayOfMonth,
|
|
5363
|
+
"f": parseMicroseconds,
|
|
5364
|
+
"g": parseYear,
|
|
5365
|
+
"G": parseFullYear,
|
|
5366
|
+
"H": parseHour24,
|
|
5367
|
+
"I": parseHour24,
|
|
5368
|
+
"j": parseDayOfYear,
|
|
5369
|
+
"L": parseMilliseconds,
|
|
5370
|
+
"m": parseMonthNumber,
|
|
5371
|
+
"M": parseMinutes,
|
|
5372
|
+
"p": parsePeriod,
|
|
5373
|
+
"q": parseQuarter,
|
|
5374
|
+
"Q": parseUnixTimestamp,
|
|
5375
|
+
"s": parseUnixTimestampSeconds,
|
|
5376
|
+
"S": parseSeconds,
|
|
5377
|
+
"u": parseWeekdayNumberMonday,
|
|
5378
|
+
"U": parseWeekNumberSunday,
|
|
5379
|
+
"V": parseWeekNumberISO,
|
|
5380
|
+
"w": parseWeekdayNumberSunday,
|
|
5381
|
+
"W": parseWeekNumberMonday,
|
|
5382
|
+
"x": parseLocaleDate,
|
|
5383
|
+
"X": parseLocaleTime,
|
|
5384
|
+
"y": parseYear,
|
|
5385
|
+
"Y": parseFullYear,
|
|
5386
|
+
"Z": parseZone,
|
|
5387
|
+
"%": parseLiteralPercent
|
|
5388
|
+
};
|
|
5389
|
+
|
|
5390
|
+
// These recursive directive definitions must be deferred.
|
|
5391
|
+
formats.x = newFormat(locale_date, formats);
|
|
5392
|
+
formats.X = newFormat(locale_time, formats);
|
|
5393
|
+
formats.c = newFormat(locale_dateTime, formats);
|
|
5394
|
+
utcFormats.x = newFormat(locale_date, utcFormats);
|
|
5395
|
+
utcFormats.X = newFormat(locale_time, utcFormats);
|
|
5396
|
+
utcFormats.c = newFormat(locale_dateTime, utcFormats);
|
|
5397
|
+
|
|
5398
|
+
function newFormat(specifier, formats) {
|
|
5399
|
+
return function(date) {
|
|
5400
|
+
var string = [],
|
|
5401
|
+
i = -1,
|
|
5402
|
+
j = 0,
|
|
5403
|
+
n = specifier.length,
|
|
5404
|
+
c,
|
|
5405
|
+
pad,
|
|
5406
|
+
format;
|
|
5407
|
+
|
|
5408
|
+
if (!(date instanceof Date)) date = new Date(+date);
|
|
5409
|
+
|
|
5410
|
+
while (++i < n) {
|
|
5411
|
+
if (specifier.charCodeAt(i) === 37) {
|
|
5412
|
+
string.push(specifier.slice(j, i));
|
|
5413
|
+
if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);
|
|
5414
|
+
else pad = c === "e" ? " " : "0";
|
|
5415
|
+
if (format = formats[c]) c = format(date, pad);
|
|
5416
|
+
string.push(c);
|
|
5417
|
+
j = i + 1;
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
|
|
5421
|
+
string.push(specifier.slice(j, i));
|
|
5422
|
+
return string.join("");
|
|
5423
|
+
};
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
function newParse(specifier, Z) {
|
|
5427
|
+
return function(string) {
|
|
5428
|
+
var d = newDate(1900, undefined, 1),
|
|
5429
|
+
i = parseSpecifier(d, specifier, string += "", 0),
|
|
5430
|
+
week, day;
|
|
5431
|
+
if (i != string.length) return null;
|
|
5432
|
+
|
|
5433
|
+
// If a UNIX timestamp is specified, return it.
|
|
5434
|
+
if ("Q" in d) return new Date(d.Q);
|
|
5435
|
+
if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0));
|
|
5436
|
+
|
|
5437
|
+
// If this is utcParse, never use the local timezone.
|
|
5438
|
+
if (Z && !("Z" in d)) d.Z = 0;
|
|
5439
|
+
|
|
5440
|
+
// The am-pm flag is 0 for AM, and 1 for PM.
|
|
5441
|
+
if ("p" in d) d.H = d.H % 12 + d.p * 12;
|
|
5442
|
+
|
|
5443
|
+
// If the month was not specified, inherit from the quarter.
|
|
5444
|
+
if (d.m === undefined) d.m = "q" in d ? d.q : 0;
|
|
5445
|
+
|
|
5446
|
+
// Convert day-of-week and week-of-year to day-of-year.
|
|
5447
|
+
if ("V" in d) {
|
|
5448
|
+
if (d.V < 1 || d.V > 53) return null;
|
|
5449
|
+
if (!("w" in d)) d.w = 1;
|
|
5450
|
+
if ("Z" in d) {
|
|
5451
|
+
week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
|
|
5452
|
+
week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);
|
|
5453
|
+
week = utcDay.offset(week, (d.V - 1) * 7);
|
|
5454
|
+
d.y = week.getUTCFullYear();
|
|
5455
|
+
d.m = week.getUTCMonth();
|
|
5456
|
+
d.d = week.getUTCDate() + (d.w + 6) % 7;
|
|
5457
|
+
} else {
|
|
5458
|
+
week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
|
|
5459
|
+
week = day > 4 || day === 0 ? timeMonday.ceil(week) : timeMonday(week);
|
|
5460
|
+
week = timeDay.offset(week, (d.V - 1) * 7);
|
|
5461
|
+
d.y = week.getFullYear();
|
|
5462
|
+
d.m = week.getMonth();
|
|
5463
|
+
d.d = week.getDate() + (d.w + 6) % 7;
|
|
5464
|
+
}
|
|
5465
|
+
} else if ("W" in d || "U" in d) {
|
|
5466
|
+
if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
|
|
5467
|
+
day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
|
|
5468
|
+
d.m = 0;
|
|
5469
|
+
d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
|
|
5470
|
+
}
|
|
5471
|
+
|
|
5472
|
+
// If a time zone is specified, all fields are interpreted as UTC and then
|
|
5473
|
+
// offset according to the specified time zone.
|
|
5474
|
+
if ("Z" in d) {
|
|
5475
|
+
d.H += d.Z / 100 | 0;
|
|
5476
|
+
d.M += d.Z % 100;
|
|
5477
|
+
return utcDate(d);
|
|
5478
|
+
}
|
|
5479
|
+
|
|
5480
|
+
// Otherwise, all fields are in local time.
|
|
5481
|
+
return localDate(d);
|
|
5482
|
+
};
|
|
5483
|
+
}
|
|
5484
|
+
|
|
5485
|
+
function parseSpecifier(d, specifier, string, j) {
|
|
5486
|
+
var i = 0,
|
|
5487
|
+
n = specifier.length,
|
|
5488
|
+
m = string.length,
|
|
5489
|
+
c,
|
|
5490
|
+
parse;
|
|
5491
|
+
|
|
5492
|
+
while (i < n) {
|
|
5493
|
+
if (j >= m) return -1;
|
|
5494
|
+
c = specifier.charCodeAt(i++);
|
|
5495
|
+
if (c === 37) {
|
|
5496
|
+
c = specifier.charAt(i++);
|
|
5497
|
+
parse = parses[c in pads ? specifier.charAt(i++) : c];
|
|
5498
|
+
if (!parse || ((j = parse(d, string, j)) < 0)) return -1;
|
|
5499
|
+
} else if (c != string.charCodeAt(j++)) {
|
|
5500
|
+
return -1;
|
|
5501
|
+
}
|
|
5502
|
+
}
|
|
5503
|
+
|
|
5504
|
+
return j;
|
|
5505
|
+
}
|
|
5506
|
+
|
|
5507
|
+
function parsePeriod(d, string, i) {
|
|
5508
|
+
var n = periodRe.exec(string.slice(i));
|
|
5509
|
+
return n ? (d.p = periodLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5510
|
+
}
|
|
5511
|
+
|
|
5512
|
+
function parseShortWeekday(d, string, i) {
|
|
5513
|
+
var n = shortWeekdayRe.exec(string.slice(i));
|
|
5514
|
+
return n ? (d.w = shortWeekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5515
|
+
}
|
|
5516
|
+
|
|
5517
|
+
function parseWeekday(d, string, i) {
|
|
5518
|
+
var n = weekdayRe.exec(string.slice(i));
|
|
5519
|
+
return n ? (d.w = weekdayLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5522
|
+
function parseShortMonth(d, string, i) {
|
|
5523
|
+
var n = shortMonthRe.exec(string.slice(i));
|
|
5524
|
+
return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5527
|
+
function parseMonth(d, string, i) {
|
|
5528
|
+
var n = monthRe.exec(string.slice(i));
|
|
5529
|
+
return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
|
|
5530
|
+
}
|
|
5531
|
+
|
|
5532
|
+
function parseLocaleDateTime(d, string, i) {
|
|
5533
|
+
return parseSpecifier(d, locale_dateTime, string, i);
|
|
5534
|
+
}
|
|
5535
|
+
|
|
5536
|
+
function parseLocaleDate(d, string, i) {
|
|
5537
|
+
return parseSpecifier(d, locale_date, string, i);
|
|
5538
|
+
}
|
|
5539
|
+
|
|
5540
|
+
function parseLocaleTime(d, string, i) {
|
|
5541
|
+
return parseSpecifier(d, locale_time, string, i);
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
function formatShortWeekday(d) {
|
|
5545
|
+
return locale_shortWeekdays[d.getDay()];
|
|
5546
|
+
}
|
|
5547
|
+
|
|
5548
|
+
function formatWeekday(d) {
|
|
5549
|
+
return locale_weekdays[d.getDay()];
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
function formatShortMonth(d) {
|
|
5553
|
+
return locale_shortMonths[d.getMonth()];
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5556
|
+
function formatMonth(d) {
|
|
5557
|
+
return locale_months[d.getMonth()];
|
|
5558
|
+
}
|
|
5559
|
+
|
|
5560
|
+
function formatPeriod(d) {
|
|
5561
|
+
return locale_periods[+(d.getHours() >= 12)];
|
|
5562
|
+
}
|
|
5563
|
+
|
|
5564
|
+
function formatQuarter(d) {
|
|
5565
|
+
return 1 + ~~(d.getMonth() / 3);
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
function formatUTCShortWeekday(d) {
|
|
5569
|
+
return locale_shortWeekdays[d.getUTCDay()];
|
|
5570
|
+
}
|
|
5571
|
+
|
|
5572
|
+
function formatUTCWeekday(d) {
|
|
5573
|
+
return locale_weekdays[d.getUTCDay()];
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5576
|
+
function formatUTCShortMonth(d) {
|
|
5577
|
+
return locale_shortMonths[d.getUTCMonth()];
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
function formatUTCMonth(d) {
|
|
5581
|
+
return locale_months[d.getUTCMonth()];
|
|
5582
|
+
}
|
|
5583
|
+
|
|
5584
|
+
function formatUTCPeriod(d) {
|
|
5585
|
+
return locale_periods[+(d.getUTCHours() >= 12)];
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
function formatUTCQuarter(d) {
|
|
5589
|
+
return 1 + ~~(d.getUTCMonth() / 3);
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
return {
|
|
5593
|
+
format: function(specifier) {
|
|
5594
|
+
var f = newFormat(specifier += "", formats);
|
|
5595
|
+
f.toString = function() { return specifier; };
|
|
5596
|
+
return f;
|
|
5597
|
+
},
|
|
5598
|
+
parse: function(specifier) {
|
|
5599
|
+
var p = newParse(specifier += "", false);
|
|
5600
|
+
p.toString = function() { return specifier; };
|
|
5601
|
+
return p;
|
|
5602
|
+
},
|
|
5603
|
+
utcFormat: function(specifier) {
|
|
5604
|
+
var f = newFormat(specifier += "", utcFormats);
|
|
5605
|
+
f.toString = function() { return specifier; };
|
|
5606
|
+
return f;
|
|
5607
|
+
},
|
|
5608
|
+
utcParse: function(specifier) {
|
|
5609
|
+
var p = newParse(specifier += "", true);
|
|
5610
|
+
p.toString = function() { return specifier; };
|
|
5611
|
+
return p;
|
|
5612
|
+
}
|
|
5613
|
+
};
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
var pads = {"-": "", "_": " ", "0": "0"},
|
|
5617
|
+
numberRe = /^\s*\d+/, // note: ignores next directive
|
|
5618
|
+
percentRe = /^%/,
|
|
5619
|
+
requoteRe = /[\\^$*+?|[\]().{}]/g;
|
|
5620
|
+
|
|
5621
|
+
function pad(value, fill, width) {
|
|
5622
|
+
var sign = value < 0 ? "-" : "",
|
|
5623
|
+
string = (sign ? -value : value) + "",
|
|
5624
|
+
length = string.length;
|
|
5625
|
+
return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
function requote(s) {
|
|
5629
|
+
return s.replace(requoteRe, "\\$&");
|
|
5630
|
+
}
|
|
5631
|
+
|
|
5632
|
+
function formatRe(names) {
|
|
5633
|
+
return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
function formatLookup(names) {
|
|
5637
|
+
return new Map(names.map((name, i) => [name.toLowerCase(), i]));
|
|
5638
|
+
}
|
|
5639
|
+
|
|
5640
|
+
function parseWeekdayNumberSunday(d, string, i) {
|
|
5641
|
+
var n = numberRe.exec(string.slice(i, i + 1));
|
|
5642
|
+
return n ? (d.w = +n[0], i + n[0].length) : -1;
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
function parseWeekdayNumberMonday(d, string, i) {
|
|
5646
|
+
var n = numberRe.exec(string.slice(i, i + 1));
|
|
5647
|
+
return n ? (d.u = +n[0], i + n[0].length) : -1;
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
function parseWeekNumberSunday(d, string, i) {
|
|
5651
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5652
|
+
return n ? (d.U = +n[0], i + n[0].length) : -1;
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
function parseWeekNumberISO(d, string, i) {
|
|
5656
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5657
|
+
return n ? (d.V = +n[0], i + n[0].length) : -1;
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
function parseWeekNumberMonday(d, string, i) {
|
|
5661
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5662
|
+
return n ? (d.W = +n[0], i + n[0].length) : -1;
|
|
5663
|
+
}
|
|
5664
|
+
|
|
5665
|
+
function parseFullYear(d, string, i) {
|
|
5666
|
+
var n = numberRe.exec(string.slice(i, i + 4));
|
|
5667
|
+
return n ? (d.y = +n[0], i + n[0].length) : -1;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
function parseYear(d, string, i) {
|
|
5671
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5672
|
+
return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;
|
|
5673
|
+
}
|
|
5674
|
+
|
|
5675
|
+
function parseZone(d, string, i) {
|
|
5676
|
+
var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
|
|
5677
|
+
return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
|
|
5678
|
+
}
|
|
5679
|
+
|
|
5680
|
+
function parseQuarter(d, string, i) {
|
|
5681
|
+
var n = numberRe.exec(string.slice(i, i + 1));
|
|
5682
|
+
return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
|
|
5683
|
+
}
|
|
5684
|
+
|
|
5685
|
+
function parseMonthNumber(d, string, i) {
|
|
5686
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5687
|
+
return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
function parseDayOfMonth(d, string, i) {
|
|
5691
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5692
|
+
return n ? (d.d = +n[0], i + n[0].length) : -1;
|
|
5693
|
+
}
|
|
5694
|
+
|
|
5695
|
+
function parseDayOfYear(d, string, i) {
|
|
5696
|
+
var n = numberRe.exec(string.slice(i, i + 3));
|
|
5697
|
+
return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
|
|
5698
|
+
}
|
|
5699
|
+
|
|
5700
|
+
function parseHour24(d, string, i) {
|
|
5701
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5702
|
+
return n ? (d.H = +n[0], i + n[0].length) : -1;
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5705
|
+
function parseMinutes(d, string, i) {
|
|
5706
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5707
|
+
return n ? (d.M = +n[0], i + n[0].length) : -1;
|
|
5708
|
+
}
|
|
5709
|
+
|
|
5710
|
+
function parseSeconds(d, string, i) {
|
|
5711
|
+
var n = numberRe.exec(string.slice(i, i + 2));
|
|
5712
|
+
return n ? (d.S = +n[0], i + n[0].length) : -1;
|
|
5713
|
+
}
|
|
5714
|
+
|
|
5715
|
+
function parseMilliseconds(d, string, i) {
|
|
5716
|
+
var n = numberRe.exec(string.slice(i, i + 3));
|
|
5717
|
+
return n ? (d.L = +n[0], i + n[0].length) : -1;
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
function parseMicroseconds(d, string, i) {
|
|
5721
|
+
var n = numberRe.exec(string.slice(i, i + 6));
|
|
5722
|
+
return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
|
|
5723
|
+
}
|
|
5724
|
+
|
|
5725
|
+
function parseLiteralPercent(d, string, i) {
|
|
5726
|
+
var n = percentRe.exec(string.slice(i, i + 1));
|
|
5727
|
+
return n ? i + n[0].length : -1;
|
|
5728
|
+
}
|
|
5729
|
+
|
|
5730
|
+
function parseUnixTimestamp(d, string, i) {
|
|
5731
|
+
var n = numberRe.exec(string.slice(i));
|
|
5732
|
+
return n ? (d.Q = +n[0], i + n[0].length) : -1;
|
|
5733
|
+
}
|
|
5734
|
+
|
|
5735
|
+
function parseUnixTimestampSeconds(d, string, i) {
|
|
5736
|
+
var n = numberRe.exec(string.slice(i));
|
|
5737
|
+
return n ? (d.s = +n[0], i + n[0].length) : -1;
|
|
5738
|
+
}
|
|
5739
|
+
|
|
5740
|
+
function formatDayOfMonth(d, p) {
|
|
5741
|
+
return pad(d.getDate(), p, 2);
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5744
|
+
function formatHour24(d, p) {
|
|
5745
|
+
return pad(d.getHours(), p, 2);
|
|
5746
|
+
}
|
|
5747
|
+
|
|
5748
|
+
function formatHour12(d, p) {
|
|
5749
|
+
return pad(d.getHours() % 12 || 12, p, 2);
|
|
5750
|
+
}
|
|
5751
|
+
|
|
5752
|
+
function formatDayOfYear(d, p) {
|
|
5753
|
+
return pad(1 + timeDay.count(timeYear(d), d), p, 3);
|
|
5754
|
+
}
|
|
5755
|
+
|
|
5756
|
+
function formatMilliseconds(d, p) {
|
|
5757
|
+
return pad(d.getMilliseconds(), p, 3);
|
|
5758
|
+
}
|
|
5759
|
+
|
|
5760
|
+
function formatMicroseconds(d, p) {
|
|
5761
|
+
return formatMilliseconds(d, p) + "000";
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
function formatMonthNumber(d, p) {
|
|
5765
|
+
return pad(d.getMonth() + 1, p, 2);
|
|
5766
|
+
}
|
|
5767
|
+
|
|
5768
|
+
function formatMinutes(d, p) {
|
|
5769
|
+
return pad(d.getMinutes(), p, 2);
|
|
5770
|
+
}
|
|
5771
|
+
|
|
5772
|
+
function formatSeconds(d, p) {
|
|
5773
|
+
return pad(d.getSeconds(), p, 2);
|
|
5774
|
+
}
|
|
5775
|
+
|
|
5776
|
+
function formatWeekdayNumberMonday(d) {
|
|
5777
|
+
var day = d.getDay();
|
|
5778
|
+
return day === 0 ? 7 : day;
|
|
5779
|
+
}
|
|
5780
|
+
|
|
5781
|
+
function formatWeekNumberSunday(d, p) {
|
|
5782
|
+
return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5785
|
+
function dISO(d) {
|
|
5786
|
+
var day = d.getDay();
|
|
5787
|
+
return (day >= 4 || day === 0) ? timeThursday(d) : timeThursday.ceil(d);
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5790
|
+
function formatWeekNumberISO(d, p) {
|
|
5791
|
+
d = dISO(d);
|
|
5792
|
+
return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);
|
|
5793
|
+
}
|
|
5794
|
+
|
|
5795
|
+
function formatWeekdayNumberSunday(d) {
|
|
5796
|
+
return d.getDay();
|
|
5797
|
+
}
|
|
5798
|
+
|
|
5799
|
+
function formatWeekNumberMonday(d, p) {
|
|
5800
|
+
return pad(timeMonday.count(timeYear(d) - 1, d), p, 2);
|
|
5801
|
+
}
|
|
5802
|
+
|
|
5803
|
+
function formatYear(d, p) {
|
|
5804
|
+
return pad(d.getFullYear() % 100, p, 2);
|
|
5805
|
+
}
|
|
5806
|
+
|
|
5807
|
+
function formatYearISO(d, p) {
|
|
5808
|
+
d = dISO(d);
|
|
5809
|
+
return pad(d.getFullYear() % 100, p, 2);
|
|
5810
|
+
}
|
|
5811
|
+
|
|
5812
|
+
function formatFullYear(d, p) {
|
|
5813
|
+
return pad(d.getFullYear() % 10000, p, 4);
|
|
5814
|
+
}
|
|
5815
|
+
|
|
5816
|
+
function formatFullYearISO(d, p) {
|
|
5817
|
+
var day = d.getDay();
|
|
5818
|
+
d = (day >= 4 || day === 0) ? timeThursday(d) : timeThursday.ceil(d);
|
|
5819
|
+
return pad(d.getFullYear() % 10000, p, 4);
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
function formatZone(d) {
|
|
5823
|
+
var z = d.getTimezoneOffset();
|
|
5824
|
+
return (z > 0 ? "-" : (z *= -1, "+"))
|
|
5825
|
+
+ pad(z / 60 | 0, "0", 2)
|
|
5826
|
+
+ pad(z % 60, "0", 2);
|
|
5827
|
+
}
|
|
5828
|
+
|
|
5829
|
+
function formatUTCDayOfMonth(d, p) {
|
|
5830
|
+
return pad(d.getUTCDate(), p, 2);
|
|
5831
|
+
}
|
|
5832
|
+
|
|
5833
|
+
function formatUTCHour24(d, p) {
|
|
5834
|
+
return pad(d.getUTCHours(), p, 2);
|
|
5835
|
+
}
|
|
5836
|
+
|
|
5837
|
+
function formatUTCHour12(d, p) {
|
|
5838
|
+
return pad(d.getUTCHours() % 12 || 12, p, 2);
|
|
5839
|
+
}
|
|
5840
|
+
|
|
5841
|
+
function formatUTCDayOfYear(d, p) {
|
|
5842
|
+
return pad(1 + utcDay.count(utcYear(d), d), p, 3);
|
|
5843
|
+
}
|
|
5844
|
+
|
|
5845
|
+
function formatUTCMilliseconds(d, p) {
|
|
5846
|
+
return pad(d.getUTCMilliseconds(), p, 3);
|
|
5847
|
+
}
|
|
5848
|
+
|
|
5849
|
+
function formatUTCMicroseconds(d, p) {
|
|
5850
|
+
return formatUTCMilliseconds(d, p) + "000";
|
|
5851
|
+
}
|
|
5852
|
+
|
|
5853
|
+
function formatUTCMonthNumber(d, p) {
|
|
5854
|
+
return pad(d.getUTCMonth() + 1, p, 2);
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5857
|
+
function formatUTCMinutes(d, p) {
|
|
5858
|
+
return pad(d.getUTCMinutes(), p, 2);
|
|
5859
|
+
}
|
|
5860
|
+
|
|
5861
|
+
function formatUTCSeconds(d, p) {
|
|
5862
|
+
return pad(d.getUTCSeconds(), p, 2);
|
|
5863
|
+
}
|
|
5864
|
+
|
|
5865
|
+
function formatUTCWeekdayNumberMonday(d) {
|
|
5866
|
+
var dow = d.getUTCDay();
|
|
5867
|
+
return dow === 0 ? 7 : dow;
|
|
5868
|
+
}
|
|
5869
|
+
|
|
5870
|
+
function formatUTCWeekNumberSunday(d, p) {
|
|
5871
|
+
return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
|
|
5872
|
+
}
|
|
5873
|
+
|
|
5874
|
+
function UTCdISO(d) {
|
|
5875
|
+
var day = d.getUTCDay();
|
|
5876
|
+
return (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
|
|
5877
|
+
}
|
|
5878
|
+
|
|
5879
|
+
function formatUTCWeekNumberISO(d, p) {
|
|
5880
|
+
d = UTCdISO(d);
|
|
5881
|
+
return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
|
|
5882
|
+
}
|
|
5883
|
+
|
|
5884
|
+
function formatUTCWeekdayNumberSunday(d) {
|
|
5885
|
+
return d.getUTCDay();
|
|
5886
|
+
}
|
|
5887
|
+
|
|
5888
|
+
function formatUTCWeekNumberMonday(d, p) {
|
|
5889
|
+
return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5892
|
+
function formatUTCYear(d, p) {
|
|
5893
|
+
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
5894
|
+
}
|
|
5895
|
+
|
|
5896
|
+
function formatUTCYearISO(d, p) {
|
|
5897
|
+
d = UTCdISO(d);
|
|
5898
|
+
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
5899
|
+
}
|
|
5900
|
+
|
|
5901
|
+
function formatUTCFullYear(d, p) {
|
|
5902
|
+
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
5903
|
+
}
|
|
5904
|
+
|
|
5905
|
+
function formatUTCFullYearISO(d, p) {
|
|
5906
|
+
var day = d.getUTCDay();
|
|
5907
|
+
d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);
|
|
5908
|
+
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
5909
|
+
}
|
|
5910
|
+
|
|
5911
|
+
function formatUTCZone() {
|
|
5912
|
+
return "+0000";
|
|
5913
|
+
}
|
|
5914
|
+
|
|
5915
|
+
function formatLiteralPercent() {
|
|
5916
|
+
return "%";
|
|
5917
|
+
}
|
|
5918
|
+
|
|
5919
|
+
function formatUnixTimestamp(d) {
|
|
5920
|
+
return +d;
|
|
5921
|
+
}
|
|
5922
|
+
|
|
5923
|
+
function formatUnixTimestampSeconds(d) {
|
|
5924
|
+
return Math.floor(+d / 1000);
|
|
5925
|
+
}
|
|
5926
|
+
|
|
5927
|
+
var locale;
|
|
5928
|
+
var utcFormat;
|
|
5929
|
+
var utcParse;
|
|
5930
|
+
|
|
5931
|
+
defaultLocale({
|
|
5932
|
+
dateTime: "%x, %X",
|
|
5933
|
+
date: "%-m/%-d/%Y",
|
|
5934
|
+
time: "%-I:%M:%S %p",
|
|
5935
|
+
periods: ["AM", "PM"],
|
|
5936
|
+
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
5937
|
+
shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
5938
|
+
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
5939
|
+
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
5940
|
+
});
|
|
5941
|
+
|
|
5942
|
+
function defaultLocale(definition) {
|
|
5943
|
+
locale = formatLocale(definition);
|
|
5944
|
+
locale.format;
|
|
5945
|
+
locale.parse;
|
|
5946
|
+
utcFormat = locale.utcFormat;
|
|
5947
|
+
utcParse = locale.utcParse;
|
|
5948
|
+
return locale;
|
|
5949
|
+
}
|
|
5950
|
+
|
|
5951
|
+
var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";
|
|
5952
|
+
|
|
5953
|
+
function formatIsoNative(date) {
|
|
5954
|
+
return date.toISOString();
|
|
5955
|
+
}
|
|
5956
|
+
|
|
5957
|
+
Date.prototype.toISOString
|
|
5958
|
+
? formatIsoNative
|
|
5959
|
+
: utcFormat(isoSpecifier);
|
|
5960
|
+
|
|
5961
|
+
function parseIsoNative(string) {
|
|
5962
|
+
var date = new Date(string);
|
|
5963
|
+
return isNaN(date) ? null : date;
|
|
5964
|
+
}
|
|
5965
|
+
|
|
5966
|
+
+new Date("2000-01-01T00:00:00.000Z")
|
|
5967
|
+
? parseIsoNative
|
|
5968
|
+
: utcParse(isoSpecifier);
|
|
5969
|
+
|
|
4635
5970
|
function transformer() {
|
|
4636
5971
|
var x0 = 0,
|
|
4637
5972
|
x1 = 1,
|
|
@@ -4752,7 +6087,7 @@ var drawChart = (function (exports) {
|
|
|
4752
6087
|
};
|
|
4753
6088
|
};
|
|
4754
6089
|
|
|
4755
|
-
const StaticContext =
|
|
6090
|
+
const StaticContext = B$2({});
|
|
4756
6091
|
const drawChart = (parentNode, data, width, height) => {
|
|
4757
6092
|
const availableSizeProperties = getAvailableSizeOptions(data.options);
|
|
4758
6093
|
console.time("layout create");
|
|
@@ -4796,7 +6131,7 @@ var drawChart = (function (exports) {
|
|
|
4796
6131
|
console.time("color");
|
|
4797
6132
|
const getModuleColor = createRainbowColor(rawHierarchy);
|
|
4798
6133
|
console.timeEnd("color");
|
|
4799
|
-
|
|
6134
|
+
P(o$1(StaticContext.Provider, Object.assign({ value: {
|
|
4800
6135
|
data,
|
|
4801
6136
|
availableSizeProperties,
|
|
4802
6137
|
width,
|
|
@@ -4806,7 +6141,7 @@ var drawChart = (function (exports) {
|
|
|
4806
6141
|
getModuleColor,
|
|
4807
6142
|
rawHierarchy,
|
|
4808
6143
|
layout,
|
|
4809
|
-
}, children:
|
|
6144
|
+
} }, { children: o$1(Main, {}) })), parentNode);
|
|
4810
6145
|
};
|
|
4811
6146
|
|
|
4812
6147
|
exports.StaticContext = StaticContext;
|
|
@@ -4822,7 +6157,7 @@ var drawChart = (function (exports) {
|
|
|
4822
6157
|
</script>
|
|
4823
6158
|
<script>
|
|
4824
6159
|
/*<!--*/
|
|
4825
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"starfish-editor.es.js","uid":"69097e52-1"},{"name":"main.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src","children":[{"name":"styles/index.scss","uid":"69097e52-3"},{"name":"utils","children":[{"uid":"69097e52-5","name":"vm.ts"},{"uid":"69097e52-11","name":"_.ts"},{"uid":"69097e52-33","name":"formKeycon.ts"},{"uid":"69097e52-51","name":"shortcutKey.ts"}]},{"name":"controller","children":[{"uid":"69097e52-7","name":"history.ts"},{"uid":"69097e52-9","name":"form.ts"},{"uid":"69097e52-13","name":"ui.ts"},{"uid":"69097e52-31","name":"shortcut.ts"},{"uid":"69097e52-49","name":"action.ts"}]},{"name":"components","children":[{"uid":"69097e52-17","name":"FormPreview.vue"},{"uid":"69097e52-29","name":"PropsPanel.vue"},{"uid":"69097e52-35","name":"Shape.vue"},{"uid":"69097e52-37","name":"Workspace.vue"},{"uid":"69097e52-39","name":"ComponentList.vue"},{"uid":"69097e52-41","name":"NavList.vue"},{"uid":"69097e52-43","name":"Nav.vue"}]},{"name":"layouts","children":[{"uid":"69097e52-19","name":"ShortcutKey.vue"},{"uid":"69097e52-21","name":"ControlEditSize.vue"},{"uid":"69097e52-45","name":"Resizer.vue"},{"uid":"69097e52-47","name":"Framework.vue"}]},{"name":"common","children":[{"uid":"69097e52-23","name":"formJson.ts"},{"uid":"69097e52-25","name":"Loading.vue?vue&type=style&index=0&scoped=true&lang.scss"},{"uid":"69097e52-27","name":"Loading.vue"}]},{"uid":"69097e52-53","name":"starfish-editor.vue?vue&type=style&index=0&lang.css"},{"uid":"69097e52-55","name":"starfish-editor.vue"},{"uid":"69097e52-56","name":"main.ts"}]},{"uid":"69097e52-15","name":"plugin-vue:export-helper"}]},{"name":"CustomDialog.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common","children":[{"uid":"69097e52-58","name":"CustomDialog.vue?vue&type=style&index=0&scoped=true&lang.css"},{"uid":"69097e52-60","name":"CustomDialog.vue"}]}]},{"name":"ConditionSelect.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect.vue","uid":"69097e52-62"}]},{"name":"ConditionModule.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect","children":[{"uid":"69097e52-64","name":"ConditionTanc.vue"},{"uid":"69097e52-66","name":"ConditionGroup.vue"},{"uid":"69097e52-68","name":"ConditionModule.vue"}]}]},{"name":"formStyle.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/formStyle.vue","uid":"69097e52-70"}]},{"name":"jsonCode.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/jsonCode.vue","uid":"69097e52-72"}]},{"name":"jsonEditor.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/jsonEditor.vue","uid":"69097e52-74"}]},{"name":"globalFormList.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/globalFormList.vue","uid":"69097e52-76"}]}],"isRoot":true},"nodeParts":{"69097e52-1":{"id":"starfish-editor.es.js","gzipLength":0,"brotliLength":0,"renderedLength":1261,"metaUid":"69097e52-0"},"69097e52-3":{"renderedLength":15,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-2"},"69097e52-5":{"renderedLength":16,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-4"},"69097e52-7":{"renderedLength":1613,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-6"},"69097e52-9":{"renderedLength":5429,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-8"},"69097e52-11":{"renderedLength":9431,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-10"},"69097e52-13":{"renderedLength":2025,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-12"},"69097e52-15":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-14"},"69097e52-17":{"renderedLength":7701,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-16"},"69097e52-19":{"renderedLength":1810,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-18"},"69097e52-21":{"renderedLength":2659,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-20"},"69097e52-23":{"renderedLength":2487,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-22"},"69097e52-25":{"renderedLength":99,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-24"},"69097e52-27":{"renderedLength":401,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-26"},"69097e52-29":{"renderedLength":13499,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-28"},"69097e52-31":{"renderedLength":1832,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-30"},"69097e52-33":{"renderedLength":457,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-32"},"69097e52-35":{"renderedLength":6395,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-34"},"69097e52-37":{"renderedLength":8228,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-36"},"69097e52-39":{"renderedLength":5815,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-38"},"69097e52-41":{"renderedLength":20487,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-40"},"69097e52-43":{"renderedLength":8550,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-42"},"69097e52-45":{"renderedLength":1138,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-44"},"69097e52-47":{"renderedLength":2724,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-46"},"69097e52-49":{"renderedLength":466,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-48"},"69097e52-51":{"renderedLength":1024,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-50"},"69097e52-53":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-52"},"69097e52-55":{"renderedLength":4015,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-54"},"69097e52-56":{"renderedLength":1226,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-0"},"69097e52-58":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-57"},"69097e52-60":{"renderedLength":2123,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-59"},"69097e52-62":{"renderedLength":18838,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-61"},"69097e52-64":{"renderedLength":17287,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-63"},"69097e52-66":{"renderedLength":8006,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-65"},"69097e52-68":{"renderedLength":5824,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-67"},"69097e52-70":{"renderedLength":7155,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-69"},"69097e52-72":{"renderedLength":1528,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-71"},"69097e52-74":{"renderedLength":1338,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-73"},"69097e52-76":{"renderedLength":1017,"gzipLength":0,"brotliLength":0,"metaUid":"69097e52-75"}},"nodeMetas":{"69097e52-0":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/main.ts","moduleParts":{"starfish-editor.es.js":"69097e52-1","main.js":"69097e52-56"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-78"},{"uid":"69097e52-2"},{"uid":"69097e52-79"},{"uid":"69097e52-80"},{"uid":"69097e52-4"},{"uid":"69097e52-10"},{"uid":"69097e52-81"},{"uid":"69097e52-54"},{"uid":"69097e52-26"},{"uid":"69097e52-59","dynamic":true},{"uid":"69097e52-61","dynamic":true},{"uid":"69097e52-67","dynamic":true},{"uid":"69097e52-82","dynamic":true},{"uid":"69097e52-34","dynamic":true},{"uid":"69097e52-69","dynamic":true}],"importedBy":[],"isEntry":true},"69097e52-2":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/styles/index.scss","moduleParts":{"main.js":"69097e52-3"},"imported":[],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-4":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/vm.ts","moduleParts":{"main.js":"69097e52-5"},"imported":[{"uid":"69097e52-83"}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-6":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/history.ts","moduleParts":{"main.js":"69097e52-7"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-8"}],"importedBy":[{"uid":"69097e52-54"},{"uid":"69097e52-8"},{"uid":"69097e52-50"}]},"69097e52-8":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/form.ts","moduleParts":{"main.js":"69097e52-9"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-6"}],"importedBy":[{"uid":"69097e52-10"},{"uid":"69097e52-54"},{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-16"},{"uid":"69097e52-38"},{"uid":"69097e52-6"},{"uid":"69097e52-30"}]},"69097e52-10":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/_.ts","moduleParts":{"main.js":"69097e52-11"},"imported":[{"uid":"69097e52-84"},{"uid":"69097e52-85"},{"uid":"69097e52-8"}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-12":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/ui.ts","moduleParts":{"main.js":"69097e52-13"},"imported":[{"uid":"69097e52-77"}],"importedBy":[{"uid":"69097e52-54"},{"uid":"69097e52-16"}]},"69097e52-14":{"id":"plugin-vue:export-helper","moduleParts":{"main.js":"69097e52-15"},"imported":[],"importedBy":[{"uid":"69097e52-54"},{"uid":"69097e52-26"},{"uid":"69097e52-59"},{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-34"},{"uid":"69097e52-69"},{"uid":"69097e52-16"},{"uid":"69097e52-28"},{"uid":"69097e52-36"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-42"},{"uid":"69097e52-46"},{"uid":"69097e52-65"},{"uid":"69097e52-71"},{"uid":"69097e52-20"},{"uid":"69097e52-73"},{"uid":"69097e52-75"},{"uid":"69097e52-44"},{"uid":"69097e52-63"},{"uid":"69097e52-18"}]},"69097e52-16":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/FormPreview.vue","moduleParts":{"main.js":"69097e52-17"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-91"},{"uid":"69097e52-94"},{"uid":"69097e52-77"},{"uid":"69097e52-8"},{"uid":"69097e52-80"},{"uid":"69097e52-12"},{"uid":"69097e52-105"},{"uid":"69097e52-106"},{"uid":"69097e52-14"},{"uid":"69097e52-71","dynamic":true}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-18":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/ShortcutKey.vue","moduleParts":{"main.js":"69097e52-19"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-20"}]},"69097e52-20":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/ControlEditSize.vue","moduleParts":{"main.js":"69097e52-21"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-18"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-28"}]},"69097e52-22":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/formJson.ts","moduleParts":{"main.js":"69097e52-23"},"imported":[],"importedBy":[{"uid":"69097e52-28"}]},"69097e52-24":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/Loading.vue?vue&type=style&index=0&scoped=true&lang.scss","moduleParts":{"main.js":"69097e52-25"},"imported":[],"importedBy":[{"uid":"69097e52-26"}]},"69097e52-26":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/Loading.vue","moduleParts":{"main.js":"69097e52-27"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-88"},{"uid":"69097e52-77"},{"uid":"69097e52-24"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-0"},{"uid":"69097e52-28"}]},"69097e52-28":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/PropsPanel.vue","moduleParts":{"main.js":"69097e52-29"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-107"},{"uid":"69097e52-108"},{"uid":"69097e52-109"},{"uid":"69097e52-110"},{"uid":"69097e52-96"},{"uid":"69097e52-97"},{"uid":"69097e52-77"},{"uid":"69097e52-20"},{"uid":"69097e52-22"},{"uid":"69097e52-26"},{"uid":"69097e52-14"},{"uid":"69097e52-111"},{"uid":"69097e52-73","dynamic":true},{"uid":"69097e52-75","dynamic":true}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-30":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/shortcut.ts","moduleParts":{"main.js":"69097e52-31"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-8"}],"importedBy":[{"uid":"69097e52-54"},{"uid":"69097e52-32"}]},"69097e52-32":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/formKeycon.ts","moduleParts":{"main.js":"69097e52-33"},"imported":[{"uid":"69097e52-30"}],"importedBy":[{"uid":"69097e52-54"},{"uid":"69097e52-34"},{"uid":"69097e52-36"},{"uid":"69097e52-40"}]},"69097e52-34":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/Shape.vue","moduleParts":{"main.js":"69097e52-35"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-32"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-0"},{"uid":"69097e52-36"}]},"69097e52-36":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/Workspace.vue","moduleParts":{"main.js":"69097e52-37"},"imported":[{"uid":"69097e52-34"},{"uid":"69097e52-77"},{"uid":"69097e52-32"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-38":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/ComponentList.vue","moduleParts":{"main.js":"69097e52-39"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-109"},{"uid":"69097e52-94"},{"uid":"69097e52-98"},{"uid":"69097e52-77"},{"uid":"69097e52-8"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-40":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/NavList.vue","moduleParts":{"main.js":"69097e52-41"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-91"},{"uid":"69097e52-112"},{"uid":"69097e52-94"},{"uid":"69097e52-113"},{"uid":"69097e52-114"},{"uid":"69097e52-98"},{"uid":"69097e52-102"},{"uid":"69097e52-77"},{"uid":"69097e52-32"},{"uid":"69097e52-106"},{"uid":"69097e52-14"},{"uid":"69097e52-71","dynamic":true}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-42":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/Nav.vue","moduleParts":{"main.js":"69097e52-43"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-44":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/Resizer.vue","moduleParts":{"main.js":"69097e52-45"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-118"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-46"}]},"69097e52-46":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/Framework.vue","moduleParts":{"main.js":"69097e52-47"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-44"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-48":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/action.ts","moduleParts":{"main.js":"69097e52-49"},"imported":[{"uid":"69097e52-77"}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-50":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/shortcutKey.ts","moduleParts":{"main.js":"69097e52-51"},"imported":[{"uid":"69097e52-115"},{"uid":"69097e52-6"}],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-52":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/starfish-editor.vue?vue&type=style&index=0&lang.css","moduleParts":{"main.js":"69097e52-53"},"imported":[],"importedBy":[{"uid":"69097e52-54"}]},"69097e52-54":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/starfish-editor.vue","moduleParts":{"main.js":"69097e52-55"},"imported":[{"uid":"69097e52-16"},{"uid":"69097e52-28"},{"uid":"69097e52-36"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-42"},{"uid":"69097e52-77"},{"uid":"69097e52-46"},{"uid":"69097e52-12"},{"uid":"69097e52-6"},{"uid":"69097e52-8"},{"uid":"69097e52-48"},{"uid":"69097e52-30"},{"uid":"69097e52-50"},{"uid":"69097e52-32"},{"uid":"69097e52-52"},{"uid":"69097e52-14"},{"uid":"69097e52-16","dynamic":true}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-57":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/CustomDialog.vue?vue&type=style&index=0&scoped=true&lang.css","moduleParts":{"CustomDialog.js":"69097e52-58"},"imported":[],"importedBy":[{"uid":"69097e52-59"}]},"69097e52-59":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/CustomDialog.vue","moduleParts":{"CustomDialog.js":"69097e52-60"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-89"},{"uid":"69097e52-77"},{"uid":"69097e52-57"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-61":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect.vue","moduleParts":{"ConditionSelect.js":"69097e52-62"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-90"},{"uid":"69097e52-91"},{"uid":"69097e52-92"},{"uid":"69097e52-93"},{"uid":"69097e52-94"},{"uid":"69097e52-95"},{"uid":"69097e52-96"},{"uid":"69097e52-97"},{"uid":"69097e52-98"},{"uid":"69097e52-99"},{"uid":"69097e52-100"},{"uid":"69097e52-101"},{"uid":"69097e52-77"},{"uid":"69097e52-8"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-63":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect/ConditionTanc.vue","moduleParts":{"ConditionModule.js":"69097e52-64"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-90"},{"uid":"69097e52-91"},{"uid":"69097e52-92"},{"uid":"69097e52-93"},{"uid":"69097e52-94"},{"uid":"69097e52-95"},{"uid":"69097e52-96"},{"uid":"69097e52-97"},{"uid":"69097e52-98"},{"uid":"69097e52-99"},{"uid":"69097e52-100"},{"uid":"69097e52-101"},{"uid":"69097e52-77"},{"uid":"69097e52-14"},{"uid":"69097e52-106"}],"importedBy":[{"uid":"69097e52-65"}]},"69097e52-65":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect/ConditionGroup.vue","moduleParts":{"ConditionModule.js":"69097e52-66"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-94"},{"uid":"69097e52-100"},{"uid":"69097e52-101"},{"uid":"69097e52-63"},{"uid":"69097e52-77"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-67"}]},"69097e52-67":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect/ConditionModule.vue","moduleParts":{"ConditionModule.js":"69097e52-68"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-90"},{"uid":"69097e52-91"},{"uid":"69097e52-94"},{"uid":"69097e52-92"},{"uid":"69097e52-65"},{"uid":"69097e52-8"},{"uid":"69097e52-77"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-69":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/formStyle.vue","moduleParts":{"formStyle.js":"69097e52-70"},"imported":[{"uid":"69097e52-86"},{"uid":"69097e52-87"},{"uid":"69097e52-91"},{"uid":"69097e52-94"},{"uid":"69097e52-102"},{"uid":"69097e52-77"},{"uid":"69097e52-103"},{"uid":"69097e52-104"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-0"}]},"69097e52-71":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/jsonCode.vue","moduleParts":{"jsonCode.js":"69097e52-72"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-116"},{"uid":"69097e52-104"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-16"},{"uid":"69097e52-40"}]},"69097e52-73":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/jsonEditor.vue","moduleParts":{"jsonEditor.js":"69097e52-74"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-117"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-28"}]},"69097e52-75":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/globalFormList.vue","moduleParts":{"globalFormList.js":"69097e52-76"},"imported":[{"uid":"69097e52-77"},{"uid":"69097e52-14"}],"importedBy":[{"uid":"69097e52-28"}]},"69097e52-77":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-0"},{"uid":"69097e52-54"},{"uid":"69097e52-26"},{"uid":"69097e52-59"},{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-34"},{"uid":"69097e52-69"},{"uid":"69097e52-8"},{"uid":"69097e52-16"},{"uid":"69097e52-28"},{"uid":"69097e52-36"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-42"},{"uid":"69097e52-46"},{"uid":"69097e52-12"},{"uid":"69097e52-6"},{"uid":"69097e52-48"},{"uid":"69097e52-30"},{"uid":"69097e52-65"},{"uid":"69097e52-71"},{"uid":"69097e52-20"},{"uid":"69097e52-73"},{"uid":"69097e52-75"},{"uid":"69097e52-44"},{"uid":"69097e52-63"},{"uid":"69097e52-18"}],"isExternal":true},"69097e52-78":{"id":"element-plus/dist/index.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-0"}],"isExternal":true},"69097e52-79":{"id":"jsoneditor/dist/jsoneditor.min.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-0"}],"isExternal":true},"69097e52-80":{"id":"starfish-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-0"},{"uid":"69097e52-16"}],"isExternal":true},"69097e52-81":{"id":"starfish-form/dist/style.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-0"}],"isExternal":true},"69097e52-82":{"id":"vuedraggable","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-0"}],"isExternal":true},"69097e52-83":{"id":"mitt","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-4"}],"isExternal":true},"69097e52-84":{"id":"element-plus","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-10"}],"isExternal":true},"69097e52-85":{"id":"nanoid","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-10"}],"isExternal":true},"69097e52-86":{"id":"element-plus/es","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-26"},{"uid":"69097e52-59"},{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-69"},{"uid":"69097e52-16"},{"uid":"69097e52-28"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-65"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-87":{"id":"element-plus/es/components/base/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-26"},{"uid":"69097e52-59"},{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-69"},{"uid":"69097e52-16"},{"uid":"69097e52-28"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-65"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-88":{"id":"element-plus/es/components/loading/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-26"}],"isExternal":true},"69097e52-89":{"id":"element-plus/es/components/dialog/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-59"}],"isExternal":true},"69097e52-90":{"id":"element-plus/es/components/container/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-91":{"id":"element-plus/es/components/footer/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-69"},{"uid":"69097e52-16"},{"uid":"69097e52-40"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-92":{"id":"element-plus/es/components/main/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-93":{"id":"element-plus/es/components/table/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-94":{"id":"element-plus/es/components/button/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-67"},{"uid":"69097e52-69"},{"uid":"69097e52-16"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-65"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-95":{"id":"element-plus/es/components/switch/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-96":{"id":"element-plus/es/components/form/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-28"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-97":{"id":"element-plus/es/components/form-item/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-28"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-98":{"id":"element-plus/es/components/input/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-38"},{"uid":"69097e52-40"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-99":{"id":"element-plus/es/components/table-column/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-100":{"id":"element-plus/es/components/select/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-65"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-101":{"id":"element-plus/es/components/option/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-61"},{"uid":"69097e52-65"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-102":{"id":"element-plus/es/components/tooltip/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-69"},{"uid":"69097e52-40"}],"isExternal":true},"69097e52-103":{"id":"@codemirror/lang-css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-69"}],"isExternal":true},"69097e52-104":{"id":"vue-codemirror","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-69"},{"uid":"69097e52-71"}],"isExternal":true},"69097e52-105":{"id":"clipboard","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-16"}],"isExternal":true},"69097e52-106":{"id":"element-plus/es/components/message/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-16"},{"uid":"69097e52-40"},{"uid":"69097e52-63"}],"isExternal":true},"69097e52-107":{"id":"element-plus/es/components/tabs/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-28"}],"isExternal":true},"69097e52-108":{"id":"element-plus/es/components/tab-pane/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-28"}],"isExternal":true},"69097e52-109":{"id":"element-plus/es/components/scrollbar/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-28"},{"uid":"69097e52-38"}],"isExternal":true},"69097e52-110":{"id":"element-plus/es/components/empty/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-28"}],"isExternal":true},"69097e52-111":{"id":"element-plus/es/components/notification/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-28"}],"isExternal":true},"69097e52-112":{"id":"element-plus/es/components/upload/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-40"}],"isExternal":true},"69097e52-113":{"id":"element-plus/es/components/drawer/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-40"}],"isExternal":true},"69097e52-114":{"id":"element-plus/es/components/tree/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-40"}],"isExternal":true},"69097e52-115":{"id":"keycon","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-50"}],"isExternal":true},"69097e52-116":{"id":"@codemirror/lang-json","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-71"}],"isExternal":true},"69097e52-117":{"id":"jsoneditor","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-73"}],"isExternal":true},"69097e52-118":{"id":"gesto","moduleParts":{},"imported":[],"importedBy":[{"uid":"69097e52-44"}],"isExternal":true}},"env":{"rollup":"2.77.3"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
6160
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"starfish-editor.es.js","uid":"804e-1"},{"name":"main.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src","children":[{"name":"styles/index.scss","uid":"804e-3"},{"name":"utils","children":[{"uid":"804e-5","name":"vm.ts"},{"uid":"804e-11","name":"_.ts"},{"uid":"804e-33","name":"formKeycon.ts"},{"uid":"804e-51","name":"shortcutKey.ts"}]},{"name":"controller","children":[{"uid":"804e-7","name":"history.ts"},{"uid":"804e-9","name":"form.ts"},{"uid":"804e-13","name":"ui.ts"},{"uid":"804e-31","name":"shortcut.ts"},{"uid":"804e-49","name":"action.ts"}]},{"name":"components","children":[{"uid":"804e-17","name":"FormPreview.vue"},{"uid":"804e-29","name":"PropsPanel.vue"},{"uid":"804e-35","name":"Shape.vue"},{"uid":"804e-37","name":"Workspace.vue"},{"uid":"804e-39","name":"ComponentList.vue"},{"uid":"804e-41","name":"NavList.vue"},{"uid":"804e-43","name":"Nav.vue"}]},{"name":"layouts","children":[{"uid":"804e-19","name":"ShortcutKey.vue"},{"uid":"804e-21","name":"ControlEditSize.vue"},{"uid":"804e-45","name":"Resizer.vue"},{"uid":"804e-47","name":"Framework.vue"}]},{"name":"common","children":[{"uid":"804e-23","name":"formJson.ts"},{"uid":"804e-25","name":"Loading.vue?vue&type=style&index=0&scoped=true&lang.scss"},{"uid":"804e-27","name":"Loading.vue"}]},{"uid":"804e-53","name":"starfish-editor.vue?vue&type=style&index=0&lang.css"},{"uid":"804e-55","name":"starfish-editor.vue"},{"uid":"804e-56","name":"main.ts"}]},{"uid":"804e-15","name":"plugin-vue:export-helper"}]},{"name":"CustomDialog.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common","children":[{"uid":"804e-58","name":"CustomDialog.vue?vue&type=style&index=0&scoped=true&lang.css"},{"uid":"804e-60","name":"CustomDialog.vue"}]}]},{"name":"ConditionSelect.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect.vue","uid":"804e-62"}]},{"name":"ConditionModule.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect","children":[{"uid":"804e-64","name":"ConditionTanc.vue"},{"uid":"804e-66","name":"ConditionGroup.vue"},{"uid":"804e-68","name":"ConditionModule.vue"}]}]},{"name":"formStyle.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common","children":[{"uid":"804e-70","name":"formStyle.vue?vue&type=style&index=0&lang.scss"},{"uid":"804e-72","name":"formStyle.vue"}]}]},{"name":"jsonCode.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common","children":[{"uid":"804e-74","name":"jsonCode.vue?vue&type=style&index=0&lang.scss"},{"uid":"804e-76","name":"jsonCode.vue"}]}]},{"name":"jsonEditor.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/jsonEditor.vue","uid":"804e-78"}]},{"name":"globalFormList.js","children":[{"name":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/globalFormList.vue","uid":"804e-80"}]}],"isRoot":true},"nodeParts":{"804e-1":{"id":"starfish-editor.es.js","gzipLength":0,"brotliLength":0,"renderedLength":1275,"metaUid":"804e-0"},"804e-3":{"renderedLength":66654,"gzipLength":0,"brotliLength":0,"metaUid":"804e-2"},"804e-5":{"renderedLength":16,"gzipLength":0,"brotliLength":0,"metaUid":"804e-4"},"804e-7":{"renderedLength":1613,"gzipLength":0,"brotliLength":0,"metaUid":"804e-6"},"804e-9":{"renderedLength":5429,"gzipLength":0,"brotliLength":0,"metaUid":"804e-8"},"804e-11":{"renderedLength":9431,"gzipLength":0,"brotliLength":0,"metaUid":"804e-10"},"804e-13":{"renderedLength":2025,"gzipLength":0,"brotliLength":0,"metaUid":"804e-12"},"804e-15":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"804e-14"},"804e-17":{"renderedLength":7683,"gzipLength":0,"brotliLength":0,"metaUid":"804e-16"},"804e-19":{"renderedLength":1858,"gzipLength":0,"brotliLength":0,"metaUid":"804e-18"},"804e-21":{"renderedLength":2836,"gzipLength":0,"brotliLength":0,"metaUid":"804e-20"},"804e-23":{"renderedLength":1815,"gzipLength":0,"brotliLength":0,"metaUid":"804e-22"},"804e-25":{"renderedLength":192,"gzipLength":0,"brotliLength":0,"metaUid":"804e-24"},"804e-27":{"renderedLength":400,"gzipLength":0,"brotliLength":0,"metaUid":"804e-26"},"804e-29":{"renderedLength":13337,"gzipLength":0,"brotliLength":0,"metaUid":"804e-28"},"804e-31":{"renderedLength":1832,"gzipLength":0,"brotliLength":0,"metaUid":"804e-30"},"804e-33":{"renderedLength":457,"gzipLength":0,"brotliLength":0,"metaUid":"804e-32"},"804e-35":{"renderedLength":6369,"gzipLength":0,"brotliLength":0,"metaUid":"804e-34"},"804e-37":{"renderedLength":8177,"gzipLength":0,"brotliLength":0,"metaUid":"804e-36"},"804e-39":{"renderedLength":6067,"gzipLength":0,"brotliLength":0,"metaUid":"804e-38"},"804e-41":{"renderedLength":20536,"gzipLength":0,"brotliLength":0,"metaUid":"804e-40"},"804e-43":{"renderedLength":8406,"gzipLength":0,"brotliLength":0,"metaUid":"804e-42"},"804e-45":{"renderedLength":1138,"gzipLength":0,"brotliLength":0,"metaUid":"804e-44"},"804e-47":{"renderedLength":2712,"gzipLength":0,"brotliLength":0,"metaUid":"804e-46"},"804e-49":{"renderedLength":466,"gzipLength":0,"brotliLength":0,"metaUid":"804e-48"},"804e-51":{"renderedLength":1024,"gzipLength":0,"brotliLength":0,"metaUid":"804e-50"},"804e-53":{"renderedLength":260,"gzipLength":0,"brotliLength":0,"metaUid":"804e-52"},"804e-55":{"renderedLength":3983,"gzipLength":0,"brotliLength":0,"metaUid":"804e-54"},"804e-56":{"renderedLength":1112,"gzipLength":0,"brotliLength":0,"metaUid":"804e-0"},"804e-58":{"renderedLength":272,"gzipLength":0,"brotliLength":0,"metaUid":"804e-57"},"804e-60":{"renderedLength":2123,"gzipLength":0,"brotliLength":0,"metaUid":"804e-59"},"804e-62":{"renderedLength":18742,"gzipLength":0,"brotliLength":0,"metaUid":"804e-61"},"804e-64":{"renderedLength":17222,"gzipLength":0,"brotliLength":0,"metaUid":"804e-63"},"804e-66":{"renderedLength":8014,"gzipLength":0,"brotliLength":0,"metaUid":"804e-65"},"804e-68":{"renderedLength":5784,"gzipLength":0,"brotliLength":0,"metaUid":"804e-67"},"804e-70":{"renderedLength":166,"gzipLength":0,"brotliLength":0,"metaUid":"804e-69"},"804e-72":{"renderedLength":6954,"gzipLength":0,"brotliLength":0,"metaUid":"804e-71"},"804e-74":{"renderedLength":187,"gzipLength":0,"brotliLength":0,"metaUid":"804e-73"},"804e-76":{"renderedLength":1553,"gzipLength":0,"brotliLength":0,"metaUid":"804e-75"},"804e-78":{"renderedLength":1338,"gzipLength":0,"brotliLength":0,"metaUid":"804e-77"},"804e-80":{"renderedLength":1017,"gzipLength":0,"brotliLength":0,"metaUid":"804e-79"}},"nodeMetas":{"804e-0":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/main.ts","moduleParts":{"starfish-editor.es.js":"804e-1","main.js":"804e-56"},"imported":[{"uid":"804e-81"},{"uid":"804e-82"},{"uid":"804e-2"},{"uid":"804e-83"},{"uid":"804e-84"},{"uid":"804e-4"},{"uid":"804e-10"},{"uid":"804e-85"},{"uid":"804e-54"},{"uid":"804e-26"},{"uid":"804e-59","dynamic":true},{"uid":"804e-61","dynamic":true},{"uid":"804e-67","dynamic":true},{"uid":"804e-86","dynamic":true},{"uid":"804e-34","dynamic":true},{"uid":"804e-71","dynamic":true}],"importedBy":[],"isEntry":true},"804e-2":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/styles/index.scss","moduleParts":{"main.js":"804e-3"},"imported":[],"importedBy":[{"uid":"804e-0"}]},"804e-4":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/vm.ts","moduleParts":{"main.js":"804e-5"},"imported":[{"uid":"804e-87"}],"importedBy":[{"uid":"804e-0"}]},"804e-6":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/history.ts","moduleParts":{"main.js":"804e-7"},"imported":[{"uid":"804e-81"},{"uid":"804e-8"}],"importedBy":[{"uid":"804e-54"},{"uid":"804e-8"},{"uid":"804e-50"}]},"804e-8":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/form.ts","moduleParts":{"main.js":"804e-9"},"imported":[{"uid":"804e-81"},{"uid":"804e-6"}],"importedBy":[{"uid":"804e-10"},{"uid":"804e-54"},{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-16"},{"uid":"804e-38"},{"uid":"804e-6"},{"uid":"804e-30"}]},"804e-10":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/_.ts","moduleParts":{"main.js":"804e-11"},"imported":[{"uid":"804e-88"},{"uid":"804e-89"},{"uid":"804e-8"}],"importedBy":[{"uid":"804e-0"}]},"804e-12":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/ui.ts","moduleParts":{"main.js":"804e-13"},"imported":[{"uid":"804e-81"}],"importedBy":[{"uid":"804e-54"},{"uid":"804e-16"}]},"804e-14":{"id":"plugin-vue:export-helper","moduleParts":{"main.js":"804e-15"},"imported":[],"importedBy":[{"uid":"804e-54"},{"uid":"804e-26"},{"uid":"804e-59"},{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-34"},{"uid":"804e-71"},{"uid":"804e-16"},{"uid":"804e-28"},{"uid":"804e-36"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-42"},{"uid":"804e-46"},{"uid":"804e-65"},{"uid":"804e-75"},{"uid":"804e-20"},{"uid":"804e-77"},{"uid":"804e-79"},{"uid":"804e-44"},{"uid":"804e-63"},{"uid":"804e-18"}]},"804e-16":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/FormPreview.vue","moduleParts":{"main.js":"804e-17"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-95"},{"uid":"804e-98"},{"uid":"804e-81"},{"uid":"804e-8"},{"uid":"804e-84"},{"uid":"804e-12"},{"uid":"804e-109"},{"uid":"804e-14"},{"uid":"804e-110"},{"uid":"804e-75","dynamic":true}],"importedBy":[{"uid":"804e-54"}]},"804e-18":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/ShortcutKey.vue","moduleParts":{"main.js":"804e-19"},"imported":[{"uid":"804e-81"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-20"}]},"804e-20":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/ControlEditSize.vue","moduleParts":{"main.js":"804e-21"},"imported":[{"uid":"804e-81"},{"uid":"804e-18"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-28"}]},"804e-22":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/formJson.ts","moduleParts":{"main.js":"804e-23"},"imported":[],"importedBy":[{"uid":"804e-28"}]},"804e-24":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/Loading.vue?vue&type=style&index=0&scoped=true&lang.scss","moduleParts":{"main.js":"804e-25"},"imported":[],"importedBy":[{"uid":"804e-26"}]},"804e-26":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/Loading.vue","moduleParts":{"main.js":"804e-27"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-92"},{"uid":"804e-81"},{"uid":"804e-24"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-0"},{"uid":"804e-28"}]},"804e-28":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/PropsPanel.vue","moduleParts":{"main.js":"804e-29"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-111"},{"uid":"804e-112"},{"uid":"804e-113"},{"uid":"804e-114"},{"uid":"804e-100"},{"uid":"804e-101"},{"uid":"804e-81"},{"uid":"804e-20"},{"uid":"804e-22"},{"uid":"804e-26"},{"uid":"804e-14"},{"uid":"804e-115"},{"uid":"804e-77","dynamic":true},{"uid":"804e-79","dynamic":true}],"importedBy":[{"uid":"804e-54"}]},"804e-30":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/shortcut.ts","moduleParts":{"main.js":"804e-31"},"imported":[{"uid":"804e-81"},{"uid":"804e-8"}],"importedBy":[{"uid":"804e-54"},{"uid":"804e-32"}]},"804e-32":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/formKeycon.ts","moduleParts":{"main.js":"804e-33"},"imported":[{"uid":"804e-30"}],"importedBy":[{"uid":"804e-54"},{"uid":"804e-34"},{"uid":"804e-36"},{"uid":"804e-40"}]},"804e-34":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/Shape.vue","moduleParts":{"main.js":"804e-35"},"imported":[{"uid":"804e-81"},{"uid":"804e-32"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-0"},{"uid":"804e-36"}]},"804e-36":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/Workspace.vue","moduleParts":{"main.js":"804e-37"},"imported":[{"uid":"804e-34"},{"uid":"804e-81"},{"uid":"804e-32"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-54"}]},"804e-38":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/ComponentList.vue","moduleParts":{"main.js":"804e-39"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-113"},{"uid":"804e-98"},{"uid":"804e-102"},{"uid":"804e-81"},{"uid":"804e-8"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-54"}]},"804e-40":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/NavList.vue","moduleParts":{"main.js":"804e-41"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-95"},{"uid":"804e-116"},{"uid":"804e-98"},{"uid":"804e-117"},{"uid":"804e-118"},{"uid":"804e-102"},{"uid":"804e-106"},{"uid":"804e-81"},{"uid":"804e-32"},{"uid":"804e-110"},{"uid":"804e-14"},{"uid":"804e-75","dynamic":true}],"importedBy":[{"uid":"804e-54"}]},"804e-42":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/Nav.vue","moduleParts":{"main.js":"804e-43"},"imported":[{"uid":"804e-81"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-54"}]},"804e-44":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/Resizer.vue","moduleParts":{"main.js":"804e-45"},"imported":[{"uid":"804e-81"},{"uid":"804e-122"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-46"}]},"804e-46":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/layouts/Framework.vue","moduleParts":{"main.js":"804e-47"},"imported":[{"uid":"804e-81"},{"uid":"804e-44"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-54"}]},"804e-48":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/controller/action.ts","moduleParts":{"main.js":"804e-49"},"imported":[{"uid":"804e-81"}],"importedBy":[{"uid":"804e-54"}]},"804e-50":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/utils/shortcutKey.ts","moduleParts":{"main.js":"804e-51"},"imported":[{"uid":"804e-119"},{"uid":"804e-6"}],"importedBy":[{"uid":"804e-54"}]},"804e-52":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/starfish-editor.vue?vue&type=style&index=0&lang.css","moduleParts":{"main.js":"804e-53"},"imported":[],"importedBy":[{"uid":"804e-54"}]},"804e-54":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/starfish-editor.vue","moduleParts":{"main.js":"804e-55"},"imported":[{"uid":"804e-16"},{"uid":"804e-28"},{"uid":"804e-36"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-42"},{"uid":"804e-81"},{"uid":"804e-46"},{"uid":"804e-12"},{"uid":"804e-6"},{"uid":"804e-8"},{"uid":"804e-48"},{"uid":"804e-30"},{"uid":"804e-50"},{"uid":"804e-32"},{"uid":"804e-52"},{"uid":"804e-14"},{"uid":"804e-16","dynamic":true}],"importedBy":[{"uid":"804e-0"}]},"804e-57":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/CustomDialog.vue?vue&type=style&index=0&scoped=true&lang.css","moduleParts":{"CustomDialog.js":"804e-58"},"imported":[],"importedBy":[{"uid":"804e-59"}]},"804e-59":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/CustomDialog.vue","moduleParts":{"CustomDialog.js":"804e-60"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-93"},{"uid":"804e-81"},{"uid":"804e-57"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-0"}]},"804e-61":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect.vue","moduleParts":{"ConditionSelect.js":"804e-62"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-94"},{"uid":"804e-95"},{"uid":"804e-96"},{"uid":"804e-97"},{"uid":"804e-98"},{"uid":"804e-99"},{"uid":"804e-100"},{"uid":"804e-101"},{"uid":"804e-102"},{"uid":"804e-103"},{"uid":"804e-104"},{"uid":"804e-105"},{"uid":"804e-81"},{"uid":"804e-8"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-0"}]},"804e-63":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect/ConditionTanc.vue","moduleParts":{"ConditionModule.js":"804e-64"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-94"},{"uid":"804e-95"},{"uid":"804e-96"},{"uid":"804e-97"},{"uid":"804e-98"},{"uid":"804e-99"},{"uid":"804e-100"},{"uid":"804e-101"},{"uid":"804e-102"},{"uid":"804e-103"},{"uid":"804e-104"},{"uid":"804e-105"},{"uid":"804e-110"},{"uid":"804e-81"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-65"}]},"804e-65":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect/ConditionGroup.vue","moduleParts":{"ConditionModule.js":"804e-66"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-98"},{"uid":"804e-104"},{"uid":"804e-105"},{"uid":"804e-63"},{"uid":"804e-81"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-67"}]},"804e-67":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/ConditionSelect/ConditionModule.vue","moduleParts":{"ConditionModule.js":"804e-68"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-94"},{"uid":"804e-95"},{"uid":"804e-98"},{"uid":"804e-96"},{"uid":"804e-65"},{"uid":"804e-8"},{"uid":"804e-81"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-0"}]},"804e-69":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/formStyle.vue?vue&type=style&index=0&lang.scss","moduleParts":{"formStyle.js":"804e-70"},"imported":[],"importedBy":[{"uid":"804e-71"}]},"804e-71":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/formStyle.vue","moduleParts":{"formStyle.js":"804e-72"},"imported":[{"uid":"804e-90"},{"uid":"804e-91"},{"uid":"804e-95"},{"uid":"804e-98"},{"uid":"804e-106"},{"uid":"804e-81"},{"uid":"804e-107"},{"uid":"804e-108"},{"uid":"804e-69"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-0"}]},"804e-73":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/jsonCode.vue?vue&type=style&index=0&lang.scss","moduleParts":{"jsonCode.js":"804e-74"},"imported":[],"importedBy":[{"uid":"804e-75"}]},"804e-75":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/common/jsonCode.vue","moduleParts":{"jsonCode.js":"804e-76"},"imported":[{"uid":"804e-81"},{"uid":"804e-120"},{"uid":"804e-108"},{"uid":"804e-73"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-16"},{"uid":"804e-40"}]},"804e-77":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/jsonEditor.vue","moduleParts":{"jsonEditor.js":"804e-78"},"imported":[{"uid":"804e-81"},{"uid":"804e-121"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-28"}]},"804e-79":{"id":"C:/Users/jiton/project/vue-form-design/vue-form-design/packages/editor/src/components/globalFormList.vue","moduleParts":{"globalFormList.js":"804e-80"},"imported":[{"uid":"804e-81"},{"uid":"804e-14"}],"importedBy":[{"uid":"804e-28"}]},"804e-81":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-0"},{"uid":"804e-54"},{"uid":"804e-26"},{"uid":"804e-59"},{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-34"},{"uid":"804e-71"},{"uid":"804e-8"},{"uid":"804e-16"},{"uid":"804e-28"},{"uid":"804e-36"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-42"},{"uid":"804e-46"},{"uid":"804e-12"},{"uid":"804e-6"},{"uid":"804e-48"},{"uid":"804e-30"},{"uid":"804e-65"},{"uid":"804e-75"},{"uid":"804e-20"},{"uid":"804e-77"},{"uid":"804e-79"},{"uid":"804e-44"},{"uid":"804e-63"},{"uid":"804e-18"}],"isExternal":true},"804e-82":{"id":"element-plus/dist/index.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-0"}],"isExternal":true},"804e-83":{"id":"jsoneditor/dist/jsoneditor.min.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-0"}],"isExternal":true},"804e-84":{"id":"starfish-form-custom","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-0"},{"uid":"804e-16"}],"isExternal":true},"804e-85":{"id":"starfish-form-custom/dist/style.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-0"}],"isExternal":true},"804e-86":{"id":"vuedraggable","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-0"}],"isExternal":true},"804e-87":{"id":"mitt","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-4"}],"isExternal":true},"804e-88":{"id":"element-plus","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-10"}],"isExternal":true},"804e-89":{"id":"nanoid","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-10"}],"isExternal":true},"804e-90":{"id":"element-plus/es","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-26"},{"uid":"804e-59"},{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-71"},{"uid":"804e-16"},{"uid":"804e-28"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-65"},{"uid":"804e-63"}],"isExternal":true},"804e-91":{"id":"element-plus/es/components/base/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-26"},{"uid":"804e-59"},{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-71"},{"uid":"804e-16"},{"uid":"804e-28"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-65"},{"uid":"804e-63"}],"isExternal":true},"804e-92":{"id":"element-plus/es/components/loading/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-26"}],"isExternal":true},"804e-93":{"id":"element-plus/es/components/dialog/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-59"}],"isExternal":true},"804e-94":{"id":"element-plus/es/components/container/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-63"}],"isExternal":true},"804e-95":{"id":"element-plus/es/components/footer/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-71"},{"uid":"804e-16"},{"uid":"804e-40"},{"uid":"804e-63"}],"isExternal":true},"804e-96":{"id":"element-plus/es/components/main/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-63"}],"isExternal":true},"804e-97":{"id":"element-plus/es/components/table/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-63"}],"isExternal":true},"804e-98":{"id":"element-plus/es/components/button/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-67"},{"uid":"804e-71"},{"uid":"804e-16"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-65"},{"uid":"804e-63"}],"isExternal":true},"804e-99":{"id":"element-plus/es/components/switch/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-63"}],"isExternal":true},"804e-100":{"id":"element-plus/es/components/form/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-28"},{"uid":"804e-63"}],"isExternal":true},"804e-101":{"id":"element-plus/es/components/form-item/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-28"},{"uid":"804e-63"}],"isExternal":true},"804e-102":{"id":"element-plus/es/components/input/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-38"},{"uid":"804e-40"},{"uid":"804e-63"}],"isExternal":true},"804e-103":{"id":"element-plus/es/components/table-column/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-63"}],"isExternal":true},"804e-104":{"id":"element-plus/es/components/select/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-65"},{"uid":"804e-63"}],"isExternal":true},"804e-105":{"id":"element-plus/es/components/option/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-61"},{"uid":"804e-65"},{"uid":"804e-63"}],"isExternal":true},"804e-106":{"id":"element-plus/es/components/tooltip/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-71"},{"uid":"804e-40"}],"isExternal":true},"804e-107":{"id":"@codemirror/lang-css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-71"}],"isExternal":true},"804e-108":{"id":"vue-codemirror","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-71"},{"uid":"804e-75"}],"isExternal":true},"804e-109":{"id":"clipboard","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-16"}],"isExternal":true},"804e-110":{"id":"element-plus/es/components/message/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-16"},{"uid":"804e-40"},{"uid":"804e-63"}],"isExternal":true},"804e-111":{"id":"element-plus/es/components/tabs/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-28"}],"isExternal":true},"804e-112":{"id":"element-plus/es/components/tab-pane/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-28"}],"isExternal":true},"804e-113":{"id":"element-plus/es/components/scrollbar/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-28"},{"uid":"804e-38"}],"isExternal":true},"804e-114":{"id":"element-plus/es/components/empty/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-28"}],"isExternal":true},"804e-115":{"id":"element-plus/es/components/notification/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-28"}],"isExternal":true},"804e-116":{"id":"element-plus/es/components/upload/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-40"}],"isExternal":true},"804e-117":{"id":"element-plus/es/components/drawer/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-40"}],"isExternal":true},"804e-118":{"id":"element-plus/es/components/tree/style/css","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-40"}],"isExternal":true},"804e-119":{"id":"keycon","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-50"}],"isExternal":true},"804e-120":{"id":"@codemirror/lang-json","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-75"}],"isExternal":true},"804e-121":{"id":"jsoneditor","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-77"}],"isExternal":true},"804e-122":{"id":"gesto","moduleParts":{},"imported":[],"importedBy":[{"uid":"804e-44"}],"isExternal":true}},"env":{"rollup":"2.75.6"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
4826
6161
|
|
|
4827
6162
|
const run = () => {
|
|
4828
6163
|
const width = window.innerWidth;
|