data-navigator 2.1.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.
- package/dist/chunk-MPFBSVCV.js +1 -0
- package/dist/{chunk-PEL3ZYDS.mjs → chunk-TZKH227U.js} +1 -1
- package/dist/consts.cjs +1 -0
- package/dist/consts.js +1 -1
- package/dist/examples/basic_list/bokeh.d.ts +1 -0
- package/dist/examples/bokeh.d.ts +1 -0
- package/dist/examples/docs.d.ts +1 -0
- package/dist/examples/force-graph.d.ts +3 -1
- package/dist/index.cjs +1453 -0
- package/dist/index.js +1262 -1353
- package/dist/input.cjs +1 -0
- package/dist/input.js +1 -1
- package/dist/rendering.cjs +1 -0
- package/dist/rendering.js +1 -1
- package/dist/src/data-navigator.d.ts +4 -0
- package/dist/structure.cjs +1 -0
- package/dist/structure.js +1 -1
- package/dist/utilities.cjs +1 -0
- package/dist/utilities.js +1 -1
- package/package.json +9 -17
- package/LICENSE +0 -21
- package/README.md +0 -79
- package/dist/chunk-2RRWU73A.mjs +0 -1
- package/dist/chunk-AJKFNWNF.mjs +0 -1
- package/dist/chunk-CCACYVYB.mjs +0 -1
- package/dist/chunk-CR5KNX3N.mjs +0 -1
- package/dist/chunk-FFVDZNCV.mjs +0 -1
- package/dist/chunk-GP5LYFFJ.mjs +0 -1
- package/dist/chunk-QTJ23SVE.mjs +0 -18
- package/dist/chunk-SQY245BV.mjs +0 -177
- package/dist/chunk-UIGW7IEM.mjs +0 -1
- package/dist/chunk-XICEDMQZ.mjs +0 -1
- package/dist/chunk-ZAQVAU5P.mjs +0 -1
- package/dist/consts.mjs +0 -1
- package/dist/index.mjs +0 -1307
- package/dist/input.mjs +0 -1
- package/dist/rendering.mjs +0 -1
- package/dist/structure.mjs +0 -1
- package/dist/utilities.mjs +0 -1
- /package/dist/{chunk-K476QBP2.mjs → chunk-YE5N6UCT.js} +0 -0
- /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"}},
|
|
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};
|
package/dist/consts.cjs
ADDED
|
@@ -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
|
-
|
|
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;
|