data-navigator 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/chunk-MPFBSVCV.js +1 -0
  2. package/dist/{chunk-PEL3ZYDS.mjs → chunk-TZKH227U.js} +1 -1
  3. package/dist/consts.cjs +1 -0
  4. package/dist/consts.js +1 -1
  5. package/dist/examples/basic_list/bokeh.d.ts +1 -0
  6. package/dist/examples/bokeh.d.ts +1 -0
  7. package/dist/examples/docs.d.ts +1 -0
  8. package/dist/examples/force-graph.d.ts +3 -1
  9. package/dist/index.cjs +1453 -0
  10. package/dist/index.js +1262 -1375
  11. package/dist/input.cjs +1 -0
  12. package/dist/input.js +1 -1
  13. package/dist/rendering.cjs +1 -0
  14. package/dist/rendering.js +1 -1
  15. package/dist/structure.cjs +1 -0
  16. package/dist/structure.js +1 -1
  17. package/dist/utilities.cjs +1 -0
  18. package/dist/utilities.js +1 -1
  19. package/package.json +9 -17
  20. package/LICENSE +0 -21
  21. package/README.md +0 -79
  22. package/dist/chunk-2RRWU73A.mjs +0 -1
  23. package/dist/chunk-AJKFNWNF.mjs +0 -1
  24. package/dist/chunk-CCACYVYB.mjs +0 -1
  25. package/dist/chunk-CR5KNX3N.mjs +0 -1
  26. package/dist/chunk-FFVDZNCV.mjs +0 -1
  27. package/dist/chunk-GP5LYFFJ.mjs +0 -1
  28. package/dist/chunk-QTJ23SVE.mjs +0 -18
  29. package/dist/chunk-SQY245BV.mjs +0 -177
  30. package/dist/chunk-UIGW7IEM.mjs +0 -1
  31. package/dist/chunk-XICEDMQZ.mjs +0 -1
  32. package/dist/chunk-ZAQVAU5P.mjs +0 -1
  33. package/dist/consts.mjs +0 -1
  34. package/dist/index.mjs +0 -1339
  35. package/dist/input.mjs +0 -1
  36. package/dist/rendering.mjs +0 -1
  37. package/dist/structure.mjs +0 -1
  38. package/dist/utilities.mjs +0 -1
  39. /package/dist/{chunk-K476QBP2.mjs → chunk-YE5N6UCT.js} +0 -0
  40. /package/dist/{src/test-cases.d.ts → examples/basic_list/basic_list.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ var e={Escape:!0,Enter:!0,Backspace:!0,ArrowLeft:!0,ArrowRight:!0,ArrowUp:!0,ArrowDown:!0},r={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},t=["KeyW","KeyJ","LeftBracket","RightBracket","Slash","Backslash"],i=["KeyW","KeyJ"],o=[["LeftBracket","RightBracket"],["Slash","Backslash"]],a={left:{key:"ArrowLeft",direction:"source"},right:{key:"ArrowRight",direction:"target"},up:{key:"ArrowUp",direction:"source"},down:{key:"ArrowDown",direction:"target"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},backward:{key:"Comma",direction:"source"},forward:{key:"Period",direction:"target"},previous:{key:"Semicolon",direction:"source"},next:{key:"Quote",direction:"target"},exit:{key:"Escape",direction:"target"},help:{key:"KeyY",direction:"target"},undo:{key:"KeyZ",direction:"target"}},n=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],c={left:["left","right"],right:["left","right"],up:["up","down"],down:["up","down"],backward:["backward","forward"],forward:["backward","forward"],previous:["previous","next"],next:["previous","next"],parent:["parent","child"],child:["parent","child"],exit:["exit","undo"],undo:["undo","undo"]},d={right:{key:"ArrowRight",direction:"target"},left:{key:"ArrowLeft",direction:"source"},down:{key:"ArrowDown",direction:"target"},up:{key:"ArrowUp",direction:"source"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},exit:{key:"Escape",direction:"target"},undo:{key:"Period",direction:"target"},legend:{key:"KeyL",direction:"target"}},s={cssClass:void 0,spatialProperties:{x:0,y:0,width:0,height:0,path:""},semantics:{label:"",elementType:"div",role:"image",attributes:void 0},parentSemantics:{label:"",elementType:"figure",role:"figure",attributes:void 0},existingElement:{useForSpatialProperties:!1,spatialProperties:void 0}};export{e as a,r as b,t as c,i as d,o as e,a as f,n as g,c as h,d as i,s as j};
@@ -1 +1 @@
1
- var e={Escape:!0,Enter:!0,Backspace:!0,ArrowLeft:!0,ArrowRight:!0,ArrowUp:!0,ArrowDown:!0},r={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},t=["KeyW","KeyJ","LeftBracket","RightBracket","Slash","Backslash"],i=["KeyW","KeyJ"],o=[["LeftBracket","RightBracket"],["Slash","Backslash"]],a={left:{key:"ArrowLeft",direction:"source"},right:{key:"ArrowRight",direction:"target"},up:{key:"ArrowUp",direction:"source"},down:{key:"ArrowDown",direction:"target"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},backward:{key:"Comma",direction:"source"},forward:{key:"Period",direction:"target"},previous:{key:"Semicolon",direction:"source"},next:{key:"Quote",direction:"target"},exit:{key:"Escape",direction:"target"},help:{key:"KeyY",direction:"target"},undo:{key:"KeyZ",direction:"target"}},n=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],c={left:["left","right"],right:["left","right"],up:["up","down"],down:["up","down"],backward:["backward","forward"],forward:["backward","forward"],previous:["previous","next"],next:["previous","next"],parent:["parent","child"],child:["parent","child"],exit:["exit","undo"],undo:["undo","undo"]},d={right:{key:"ArrowRight",direction:"target"},left:{key:"ArrowLeft",direction:"source"},down:{key:"ArrowDown",direction:"target"},up:{key:"ArrowUp",direction:"source"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},exit:{key:"Escape",direction:"target"},undo:{key:"Period",direction:"target"},legend:{key:"KeyL",direction:"target"}},s={cssClass:"",spatialProperties:{x:0,y:0,width:0,height:0,path:""},semantics:{label:"",elementType:"div",role:"image",attributes:void 0},parentSemantics:{label:"",elementType:"figure",role:"figure",attributes:void 0},existingElement:{useForSpatialProperties:!1,spatialProperties:void 0}};export{e as a,r as b,t as c,i as d,o as e,a as f,n as g,c as h,d as i,s as j};
1
+ var e={Escape:!0,Enter:!0,Backspace:!0,ArrowLeft:!0,ArrowRight:!0,ArrowUp:!0,ArrowDown:!0},r={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},t=["KeyW","KeyJ","LeftBracket","RightBracket","Slash","Backslash"],i=["KeyW","KeyJ"],o=[["LeftBracket","RightBracket"],["Slash","Backslash"]],a={left:{key:"ArrowLeft",direction:"source"},right:{key:"ArrowRight",direction:"target"},up:{key:"ArrowUp",direction:"source"},down:{key:"ArrowDown",direction:"target"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},backward:{key:"Comma",direction:"source"},forward:{key:"Period",direction:"target"},previous:{key:"Semicolon",direction:"source"},next:{key:"Quote",direction:"target"},exit:{key:"Escape",direction:"target"},help:{key:"KeyY",direction:"target"},undo:{key:"KeyZ",direction:"target"}},c=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],d={left:["left","right"],right:["left","right"],up:["up","down"],down:["up","down"],backward:["backward","forward"],forward:["backward","forward"],previous:["previous","next"],next:["previous","next"],parent:["parent","child"],child:["parent","child"],exit:["exit","undo"],undo:["undo","undo"]},n={right:{key:"ArrowRight",direction:"target"},left:{key:"ArrowLeft",direction:"source"},down:{key:"ArrowDown",direction:"target"},up:{key:"ArrowUp",direction:"source"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},exit:{key:"Escape",direction:"target"},undo:{key:"Period",direction:"target"},legend:{key:"KeyL",direction:"target"}},s={cssClass:"",spatialProperties:{x:0,y:0,width:0,height:0,path:""},semantics:{label:"",elementType:"div",role:"image",attributes:void 0},parentSemantics:{label:"",elementType:"figure",role:"figure",attributes:void 0},existingElement:{useForSpatialProperties:!1,spatialProperties:void 0}};export{e as a,r as b,t as c,i as d,o as e,a as f,c as g,d as h,n as i,s as j};
@@ -0,0 +1 @@
1
+ function e(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}var r=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var o=function e(e,t){for(var i in t)r(e,i,{get:t[i],enumerable:!0})},a=function o(o,a,c,l){var u=true,d=false,s=undefined;if(a&&(typeof a==="undefined"?"undefined":e(a))=="object"||typeof a=="function")try{var y=function(){var e=f.value;!n.call(o,e)&&e!==c&&r(o,e,{get:function r(){return a[e]},enumerable:!(l=t(a,e))||l.enumerable})};for(var p=i(a)[Symbol.iterator](),f;!(u=(f=p.next()).done);u=true)y()}catch(e){d=true;s=e}finally{try{if(!u&&p.return!=null){p.return()}}finally{if(d){throw s}}}return o};var c=function e(e){return a(r({},"__esModule",{value:!0}),e)};var l={};o(l,{GenericFullNavigationDimensions:function e(){return g},GenericFullNavigationPairs:function e(){return v},GenericFullNavigationRules:function e(){return f},GenericLimitedNavigationRules:function e(){return w},NodeElementDefaults:function e(){return k},SemanticKeys:function e(){return u},TypicallyUnreservedKeyPairs:function e(){return p},TypicallyUnreservedKeys:function e(){return s},TypicallyUnreservedSoloKeys:function e(){return y},defaultKeyBindings:function e(){return d}});module.exports=c(l);var u={Escape:!0,Enter:!0,Backspace:!0,ArrowLeft:!0,ArrowRight:!0,ArrowUp:!0,ArrowDown:!0},d={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},s=["KeyW","KeyJ","LeftBracket","RightBracket","Slash","Backslash"],y=["KeyW","KeyJ"],p=[["LeftBracket","RightBracket"],["Slash","Backslash"]],f={left:{key:"ArrowLeft",direction:"source"},right:{key:"ArrowRight",direction:"target"},up:{key:"ArrowUp",direction:"source"},down:{key:"ArrowDown",direction:"target"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},backward:{key:"Comma",direction:"source"},forward:{key:"Period",direction:"target"},previous:{key:"Semicolon",direction:"source"},next:{key:"Quote",direction:"target"},exit:{key:"Escape",direction:"target"},help:{key:"KeyY",direction:"target"},undo:{key:"KeyZ",direction:"target"}},g=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],v={left:["left","right"],right:["left","right"],up:["up","down"],down:["up","down"],backward:["backward","forward"],forward:["backward","forward"],previous:["previous","next"],next:["previous","next"],parent:["parent","child"],child:["parent","child"],exit:["exit","undo"],undo:["undo","undo"]},w={right:{key:"ArrowRight",direction:"target"},left:{key:"ArrowLeft",direction:"source"},down:{key:"ArrowDown",direction:"target"},up:{key:"ArrowUp",direction:"source"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},exit:{key:"Escape",direction:"target"},undo:{key:"Period",direction:"target"},legend:{key:"KeyL",direction:"target"}},k={cssClass:void 0,spatialProperties:{x:0,y:0,width:0,height:0,path:""},semantics:{label:"",elementType:"div",role:"image",attributes:void 0},parentSemantics:{label:"",elementType:"figure",role:"figure",attributes:void 0},existingElement:{useForSpatialProperties:!1,spatialProperties:void 0}};0&&(module.exports={GenericFullNavigationDimensions:GenericFullNavigationDimensions,GenericFullNavigationPairs:GenericFullNavigationPairs,GenericFullNavigationRules:GenericFullNavigationRules,GenericLimitedNavigationRules:GenericLimitedNavigationRules,NodeElementDefaults:NodeElementDefaults,SemanticKeys:SemanticKeys,TypicallyUnreservedKeyPairs:TypicallyUnreservedKeyPairs,TypicallyUnreservedKeys:TypicallyUnreservedKeys,TypicallyUnreservedSoloKeys:TypicallyUnreservedSoloKeys,defaultKeyBindings:defaultKeyBindings});
package/dist/consts.js CHANGED
@@ -1 +1 @@
1
- var e=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var t=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var n=function(r,t){for(var i in t)e(r,i,{get:t[i],enumerable:!0})},o=function(n,o,a,c){var l=true,u=false,s=undefined;if(o&&typeof o=="object"||typeof o=="function")try{var d=function(){var t=p.value;!i.call(n,t)&&t!==a&&e(n,t,{get:function(){return o[t]},enumerable:!(c=r(o,t))||c.enumerable})};for(var y=t(o)[Symbol.iterator](),p;!(l=(p=y.next()).done);l=true)d()}catch(e){u=true;s=e}finally{try{if(!l&&y.return!=null){y.return()}}finally{if(u){throw s}}}return n};var a=function(r){return o(e({},"__esModule",{value:!0}),r)};var c={};n(c,{GenericFullNavigationDimensions:function(){return f},GenericFullNavigationPairs:function(){return g},GenericFullNavigationRules:function(){return p},GenericLimitedNavigationRules:function(){return v},NodeElementDefaults:function(){return w},SemanticKeys:function(){return l},TypicallyUnreservedKeyPairs:function(){return y},TypicallyUnreservedKeys:function(){return s},TypicallyUnreservedSoloKeys:function(){return d},defaultKeyBindings:function(){return u}});module.exports=a(c);var l={Escape:!0,Enter:!0,Backspace:!0,ArrowLeft:!0,ArrowRight:!0,ArrowUp:!0,ArrowDown:!0},u={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},s=["KeyW","KeyJ","LeftBracket","RightBracket","Slash","Backslash"],d=["KeyW","KeyJ"],y=[["LeftBracket","RightBracket"],["Slash","Backslash"]],p={left:{key:"ArrowLeft",direction:"source"},right:{key:"ArrowRight",direction:"target"},up:{key:"ArrowUp",direction:"source"},down:{key:"ArrowDown",direction:"target"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},backward:{key:"Comma",direction:"source"},forward:{key:"Period",direction:"target"},previous:{key:"Semicolon",direction:"source"},next:{key:"Quote",direction:"target"},exit:{key:"Escape",direction:"target"},help:{key:"KeyY",direction:"target"},undo:{key:"KeyZ",direction:"target"}},f=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],g={left:["left","right"],right:["left","right"],up:["up","down"],down:["up","down"],backward:["backward","forward"],forward:["backward","forward"],previous:["previous","next"],next:["previous","next"],parent:["parent","child"],child:["parent","child"],exit:["exit","undo"],undo:["undo","undo"]},v={right:{key:"ArrowRight",direction:"target"},left:{key:"ArrowLeft",direction:"source"},down:{key:"ArrowDown",direction:"target"},up:{key:"ArrowUp",direction:"source"},child:{key:"Enter",direction:"target"},parent:{key:"Backspace",direction:"source"},exit:{key:"Escape",direction:"target"},undo:{key:"Period",direction:"target"},legend:{key:"KeyL",direction:"target"}},w={cssClass:"",spatialProperties:{x:0,y:0,width:0,height:0,path:""},semantics:{label:"",elementType:"div",role:"image",attributes:void 0},parentSemantics:{label:"",elementType:"figure",role:"figure",attributes:void 0},existingElement:{useForSpatialProperties:!1,spatialProperties:void 0}};0&&(module.exports={GenericFullNavigationDimensions:GenericFullNavigationDimensions,GenericFullNavigationPairs:GenericFullNavigationPairs,GenericFullNavigationRules:GenericFullNavigationRules,GenericLimitedNavigationRules:GenericLimitedNavigationRules,NodeElementDefaults:NodeElementDefaults,SemanticKeys:SemanticKeys,TypicallyUnreservedKeyPairs:TypicallyUnreservedKeyPairs,TypicallyUnreservedKeys:TypicallyUnreservedKeys,TypicallyUnreservedSoloKeys:TypicallyUnreservedSoloKeys,defaultKeyBindings:defaultKeyBindings});
1
+ import{a,b,c,d,e,f,g,h,i,j}from"./chunk-MPFBSVCV.js";export{g as GenericFullNavigationDimensions,h as GenericFullNavigationPairs,f as GenericFullNavigationRules,i as GenericLimitedNavigationRules,j as NodeElementDefaults,a as SemanticKeys,e as TypicallyUnreservedKeyPairs,c as TypicallyUnreservedKeys,d as TypicallyUnreservedSoloKeys,b as defaultKeyBindings};
@@ -0,0 +1 @@
1
+ export function plot(id: any, focusData: any): void;
@@ -0,0 +1 @@
1
+ export function plot(id: any, focusData: any): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
1
  export function ForceGraph({ nodes, links }: {
2
2
  nodes: any;
3
3
  links: any;
4
- }, { nodeId, nodeGroup, nodeGroups, nodeTitle, nodeFill, nodeStroke, nodeStrokeWidth, nodeStrokeOpacity, nodeRadius, nodeStrength, linkSource, linkTarget, linkStroke, linkStrokeOpacity, linkStrokeWidth, linkStrokeLinecap, linkStrength, colors, width, height, invalidation }?: {
4
+ }, { nodeId, nodeGroup, nodeGroups, nodeTitle, nodeFill, nodeStroke, nodeStrokeWidth, nodeStrokeOpacity, nodeRadius, nodeStrength, linkSource, linkTarget, linkStroke, linkStrokeOpacity, linkStrokeWidth, linkStrokeLinecap, linkStrength, colors, width, height, invalidation, description, hide }?: {
5
5
  nodeId?: (d: any) => any;
6
6
  nodeGroup: any;
7
7
  nodeGroups: any;
@@ -27,4 +27,6 @@ export function ForceGraph({ nodes, links }: {
27
27
  width?: number;
28
28
  height?: number;
29
29
  invalidation: any;
30
+ description: any;
31
+ hide: any;
30
32
  }): any;