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
package/dist/chunk-SQY245BV.mjs
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
// src/consts.ts
|
|
2
|
-
var SemanticKeys = {
|
|
3
|
-
Escape: true,
|
|
4
|
-
Enter: true,
|
|
5
|
-
Backspace: true,
|
|
6
|
-
ArrowLeft: true,
|
|
7
|
-
ArrowRight: true,
|
|
8
|
-
ArrowUp: true,
|
|
9
|
-
ArrowDown: true
|
|
10
|
-
};
|
|
11
|
-
var defaultKeyBindings = {
|
|
12
|
-
ArrowLeft: "left",
|
|
13
|
-
ArrowRight: "right",
|
|
14
|
-
ArrowUp: "up",
|
|
15
|
-
ArrowDown: "down",
|
|
16
|
-
Period: "forward",
|
|
17
|
-
Comma: "backward",
|
|
18
|
-
Escape: "parent",
|
|
19
|
-
Enter: "child"
|
|
20
|
-
};
|
|
21
|
-
var TypicallyUnreservedKeys = ["KeyW", "KeyJ", "LeftBracket", "RightBracket", "Slash", "Backslash"];
|
|
22
|
-
var TypicallyUnreservedSoloKeys = ["KeyW", "KeyJ"];
|
|
23
|
-
var TypicallyUnreservedKeyPairs = [
|
|
24
|
-
["LeftBracket", "RightBracket"],
|
|
25
|
-
["Slash", "Backslash"]
|
|
26
|
-
];
|
|
27
|
-
var GenericFullNavigationRules = {
|
|
28
|
-
left: {
|
|
29
|
-
key: "ArrowLeft",
|
|
30
|
-
direction: "source"
|
|
31
|
-
},
|
|
32
|
-
right: {
|
|
33
|
-
key: "ArrowRight",
|
|
34
|
-
direction: "target"
|
|
35
|
-
},
|
|
36
|
-
up: {
|
|
37
|
-
key: "ArrowUp",
|
|
38
|
-
direction: "source"
|
|
39
|
-
},
|
|
40
|
-
down: {
|
|
41
|
-
key: "ArrowDown",
|
|
42
|
-
direction: "target"
|
|
43
|
-
},
|
|
44
|
-
child: {
|
|
45
|
-
key: "Enter",
|
|
46
|
-
direction: "target"
|
|
47
|
-
},
|
|
48
|
-
parent: {
|
|
49
|
-
key: "Backspace",
|
|
50
|
-
direction: "source"
|
|
51
|
-
},
|
|
52
|
-
backward: {
|
|
53
|
-
key: "Comma",
|
|
54
|
-
direction: "source"
|
|
55
|
-
},
|
|
56
|
-
forward: {
|
|
57
|
-
key: "Period",
|
|
58
|
-
direction: "target"
|
|
59
|
-
},
|
|
60
|
-
previous: {
|
|
61
|
-
key: "Semicolon",
|
|
62
|
-
direction: "source"
|
|
63
|
-
},
|
|
64
|
-
next: {
|
|
65
|
-
key: "Quote",
|
|
66
|
-
direction: "target"
|
|
67
|
-
},
|
|
68
|
-
exit: {
|
|
69
|
-
key: "Escape",
|
|
70
|
-
direction: "target"
|
|
71
|
-
},
|
|
72
|
-
help: {
|
|
73
|
-
key: "KeyY",
|
|
74
|
-
direction: "target"
|
|
75
|
-
},
|
|
76
|
-
undo: {
|
|
77
|
-
key: "KeyZ",
|
|
78
|
-
direction: "target"
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
var GenericFullNavigationDimensions = [
|
|
82
|
-
["left", "right"],
|
|
83
|
-
["up", "down"],
|
|
84
|
-
["backward", "forward"],
|
|
85
|
-
["previous", "next"]
|
|
86
|
-
];
|
|
87
|
-
var GenericFullNavigationPairs = {
|
|
88
|
-
left: ["left", "right"],
|
|
89
|
-
right: ["left", "right"],
|
|
90
|
-
up: ["up", "down"],
|
|
91
|
-
down: ["up", "down"],
|
|
92
|
-
backward: ["backward", "forward"],
|
|
93
|
-
forward: ["backward", "forward"],
|
|
94
|
-
previous: ["previous", "next"],
|
|
95
|
-
next: ["previous", "next"],
|
|
96
|
-
parent: ["parent", "child"],
|
|
97
|
-
child: ["parent", "child"],
|
|
98
|
-
exit: ["exit", "undo"],
|
|
99
|
-
undo: ["undo", "undo"]
|
|
100
|
-
};
|
|
101
|
-
var GenericLimitedNavigationRules = {
|
|
102
|
-
right: {
|
|
103
|
-
key: "ArrowRight",
|
|
104
|
-
direction: "target"
|
|
105
|
-
},
|
|
106
|
-
left: {
|
|
107
|
-
key: "ArrowLeft",
|
|
108
|
-
direction: "source"
|
|
109
|
-
},
|
|
110
|
-
down: {
|
|
111
|
-
key: "ArrowDown",
|
|
112
|
-
direction: "target"
|
|
113
|
-
},
|
|
114
|
-
up: {
|
|
115
|
-
key: "ArrowUp",
|
|
116
|
-
direction: "source"
|
|
117
|
-
},
|
|
118
|
-
child: {
|
|
119
|
-
key: "Enter",
|
|
120
|
-
direction: "target"
|
|
121
|
-
},
|
|
122
|
-
parent: {
|
|
123
|
-
key: "Backspace",
|
|
124
|
-
direction: "source"
|
|
125
|
-
},
|
|
126
|
-
exit: {
|
|
127
|
-
key: "Escape",
|
|
128
|
-
direction: "target"
|
|
129
|
-
},
|
|
130
|
-
undo: {
|
|
131
|
-
key: "Period",
|
|
132
|
-
direction: "target"
|
|
133
|
-
},
|
|
134
|
-
legend: {
|
|
135
|
-
key: "KeyL",
|
|
136
|
-
direction: "target"
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
var NodeElementDefaults = {
|
|
140
|
-
cssClass: "",
|
|
141
|
-
spatialProperties: {
|
|
142
|
-
x: 0,
|
|
143
|
-
y: 0,
|
|
144
|
-
width: 0,
|
|
145
|
-
height: 0,
|
|
146
|
-
path: ""
|
|
147
|
-
},
|
|
148
|
-
semantics: {
|
|
149
|
-
label: "",
|
|
150
|
-
elementType: "div",
|
|
151
|
-
role: "image",
|
|
152
|
-
attributes: void 0
|
|
153
|
-
},
|
|
154
|
-
parentSemantics: {
|
|
155
|
-
label: "",
|
|
156
|
-
elementType: "figure",
|
|
157
|
-
role: "figure",
|
|
158
|
-
attributes: void 0
|
|
159
|
-
},
|
|
160
|
-
existingElement: {
|
|
161
|
-
useForSpatialProperties: false,
|
|
162
|
-
spatialProperties: void 0
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
export {
|
|
167
|
-
SemanticKeys,
|
|
168
|
-
defaultKeyBindings,
|
|
169
|
-
TypicallyUnreservedKeys,
|
|
170
|
-
TypicallyUnreservedSoloKeys,
|
|
171
|
-
TypicallyUnreservedKeyPairs,
|
|
172
|
-
GenericFullNavigationRules,
|
|
173
|
-
GenericFullNavigationDimensions,
|
|
174
|
-
GenericFullNavigationPairs,
|
|
175
|
-
GenericLimitedNavigationRules,
|
|
176
|
-
NodeElementDefaults
|
|
177
|
-
};
|
package/dist/chunk-UIGW7IEM.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},t={down:{keyCode:"ArrowDown",direction:"target"},left:{keyCode:"ArrowLeft",direction:"source"},right:{keyCode:"ArrowRight",direction:"target"},up:{keyCode:"ArrowUp",direction:"source"},backward:{keyCode:"Comma",direction:"source"},child:{keyCode:"Enter",direction:"target"},parent:{keyCode:"Backspace",direction:"source"},forward:{keyCode:"Period",direction:"target"},exit:{keyCode:"Escape",direction:"target"},undo:{keyCode:"KeyZ",direction:"target"}},r={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"}},i={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,t as b,r as c,i as d};
|
package/dist/chunk-XICEDMQZ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},t={down:{keyCode:"ArrowDown",direction:"target"},left:{keyCode:"ArrowLeft",direction:"source"},right:{keyCode:"ArrowRight",direction:"target"},up:{keyCode:"ArrowUp",direction:"source"},backward:{keyCode:"Comma",direction:"source"},child:{keyCode:"Enter",direction:"target"},parent:{keyCode:"Backspace",direction:"source"},forward:{keyCode:"Period",direction:"target"},exit:{keyCode:"Escape",direction:"target"},undo:{keyCode:"KeyZ",direction:"target"}},r=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],i={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"]},o={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"}},a={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,t as b,r as c,i as d,o as e,a as f};
|
package/dist/chunk-ZAQVAU5P.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ArrowLeft:"left",ArrowRight:"right",ArrowUp:"up",ArrowDown:"down",Period:"forward",Comma:"backward",Escape:"parent",Enter:"child"},t=[{key:"KeyW"},{key:"KeyJ"},{key:"LeftBracket"},{key:"RightBracket"},{key:"Slash"},{key:"Backslash"}],r=[{key:"KeyW"},{key:"KeyJ"}],i=[[{key:"LeftBracket"},{key:"RightBracket"}],[{key:"Slash"},{key:"Backslash"}]],o={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"}},a=[["left","right"],["up","down"],["backward","forward"],["previous","next"]],n={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"]},c={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"}},d={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,t as b,r as c,i as d,o as e,a as f,n as g,c as h,d as i};
|
package/dist/consts.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j}from"./chunk-PEL3ZYDS.mjs";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};
|