@internetarchive/ia-item-navigator 0.0.0 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +29 -19
- package/demo/app-root.ts +113 -22
- package/demo/index.html +12 -4
- package/dist/demo/app-root.d.ts +27 -7
- package/dist/demo/app-root.js +98 -23
- package/dist/demo/app-root.js.map +1 -1
- package/dist/src/interfaces/custom-theater-interface.d.ts +20 -0
- package/dist/src/interfaces/custom-theater-interface.js +2 -0
- package/dist/src/interfaces/custom-theater-interface.js.map +1 -0
- package/dist/src/interfaces/event-interfaces.d.ts +13 -23
- package/dist/src/interfaces/event-interfaces.js.map +1 -1
- package/dist/src/interfaces/menu-interfaces.d.ts +7 -7
- package/dist/src/interfaces/menu-interfaces.js.map +1 -1
- package/dist/src/interfaces/nav-controller-interface.d.ts +11 -6
- package/dist/src/interfaces/nav-controller-interface.js.map +1 -1
- package/dist/src/item-inspector/files-by-type/files-by-type-provider.js +5 -3
- package/dist/src/item-inspector/files-by-type/files-by-type-provider.js.map +1 -1
- package/dist/src/item-inspector/files-by-type/ia-files-by-type.d.ts +1 -0
- package/dist/src/item-inspector/files-by-type/ia-files-by-type.js +14 -0
- package/dist/src/item-inspector/files-by-type/ia-files-by-type.js.map +1 -1
- package/dist/src/item-inspector/item-inspector.d.ts +0 -31
- package/dist/src/item-inspector/item-inspector.js +253 -181
- package/dist/src/item-inspector/item-inspector.js.map +1 -1
- package/dist/src/item-inspector/visual-mod-provider.d.ts +19 -0
- package/dist/src/item-inspector/visual-mod-provider.js +46 -0
- package/dist/src/item-inspector/visual-mod-provider.js.map +1 -0
- package/dist/src/item-navigator.d.ts +50 -28
- package/dist/src/item-navigator.js +216 -132
- package/dist/src/item-navigator.js.map +1 -1
- package/dist/src/loader.d.ts +5 -0
- package/dist/src/loader.js +8 -2
- package/dist/src/loader.js.map +1 -1
- package/dist/src/no-theater-available.d.ts +9 -0
- package/dist/src/no-theater-available.js +79 -0
- package/dist/src/no-theater-available.js.map +1 -0
- package/dist/test/book-nav-stub.d.ts +22 -0
- package/dist/test/book-nav-stub.js +49 -0
- package/dist/test/book-nav-stub.js.map +1 -0
- package/dist/test/ia-item-navigator.test.d.ts +2 -0
- package/dist/test/ia-item-navigator.test.js +317 -0
- package/dist/test/ia-item-navigator.test.js.map +1 -0
- package/dist/test/ia-stub-goody.d.ts +210 -0
- package/dist/test/ia-stub-goody.js +276 -0
- package/dist/test/ia-stub-goody.js.map +1 -0
- package/dist/test/ia-stub.d.ts +22 -0
- package/dist/test/ia-stub.js +35 -0
- package/dist/test/ia-stub.js.map +1 -0
- package/dist/test/no-theater-available.test.d.ts +1 -0
- package/dist/test/no-theater-available.test.js +27 -0
- package/dist/test/no-theater-available.test.js.map +1 -0
- package/package.json +14 -5
- package/src/interfaces/custom-theater-interface.ts +28 -0
- package/src/interfaces/event-interfaces.ts +17 -24
- package/src/interfaces/menu-interfaces.ts +10 -9
- package/src/item-navigator.ts +257 -155
- package/src/loader.ts +9 -2
- package/src/no-theater-available.ts +85 -0
- package/test/book-nav-stub.ts +47 -0
- package/test/ia-item-navigator.test.ts +438 -0
- package/test/ia-stub.ts +79 -0
- package/test/no-theater-available.test.ts +32 -0
- package/demo/demo-book-manifest.json +0 -1163
- package/demo/demo-item-md.json +0 -247
- package/src/interfaces/nav-controller-interface.ts +0 -18
- package/src/item-inspector/files-by-type/files-by-type-provider.ts +0 -41
- package/src/item-inspector/files-by-type/ia-files-by-type.ts +0 -84
- package/src/item-inspector/item-inspector.ts +0 -202
- package/src/item-inspector/share-provider.ts +0 -51
- package/src/item-navigator-js.js +0 -372
- package/test/your-webcomponent.test.ts +0 -40
@@ -0,0 +1,210 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
rawResponse: {
|
3
|
+
created: number;
|
4
|
+
d1: string;
|
5
|
+
d2: string;
|
6
|
+
dir: string;
|
7
|
+
files: ({
|
8
|
+
name: string;
|
9
|
+
source: string;
|
10
|
+
mtime: string;
|
11
|
+
size: string;
|
12
|
+
md5: string;
|
13
|
+
crc32: string;
|
14
|
+
sha1: string;
|
15
|
+
format: string;
|
16
|
+
rotation: string;
|
17
|
+
original?: undefined;
|
18
|
+
btih?: undefined;
|
19
|
+
summation?: undefined;
|
20
|
+
} | {
|
21
|
+
name: string;
|
22
|
+
source: string;
|
23
|
+
format: string;
|
24
|
+
original: string;
|
25
|
+
mtime: string;
|
26
|
+
size: string;
|
27
|
+
md5: string;
|
28
|
+
crc32: string;
|
29
|
+
sha1: string;
|
30
|
+
rotation?: undefined;
|
31
|
+
btih?: undefined;
|
32
|
+
summation?: undefined;
|
33
|
+
} | {
|
34
|
+
name: string;
|
35
|
+
source: string;
|
36
|
+
btih: string;
|
37
|
+
mtime: string;
|
38
|
+
size: string;
|
39
|
+
md5: string;
|
40
|
+
crc32: string;
|
41
|
+
sha1: string;
|
42
|
+
format: string;
|
43
|
+
rotation?: undefined;
|
44
|
+
original?: undefined;
|
45
|
+
summation?: undefined;
|
46
|
+
} | {
|
47
|
+
name: string;
|
48
|
+
source: string;
|
49
|
+
format: string;
|
50
|
+
md5: string;
|
51
|
+
summation: string;
|
52
|
+
mtime?: undefined;
|
53
|
+
size?: undefined;
|
54
|
+
crc32?: undefined;
|
55
|
+
sha1?: undefined;
|
56
|
+
rotation?: undefined;
|
57
|
+
original?: undefined;
|
58
|
+
btih?: undefined;
|
59
|
+
} | {
|
60
|
+
name: string;
|
61
|
+
source: string;
|
62
|
+
mtime: string;
|
63
|
+
size: string;
|
64
|
+
md5: string;
|
65
|
+
crc32: string;
|
66
|
+
sha1: string;
|
67
|
+
format: string;
|
68
|
+
rotation?: undefined;
|
69
|
+
original?: undefined;
|
70
|
+
btih?: undefined;
|
71
|
+
summation?: undefined;
|
72
|
+
})[];
|
73
|
+
files_count: number;
|
74
|
+
item_last_updated: number;
|
75
|
+
item_size: number;
|
76
|
+
metadata: {
|
77
|
+
identifier: string;
|
78
|
+
mediatype: string;
|
79
|
+
collection: string[];
|
80
|
+
description: string;
|
81
|
+
scanner: string;
|
82
|
+
subject: string;
|
83
|
+
title: string;
|
84
|
+
uploader: string;
|
85
|
+
publicdate: string;
|
86
|
+
addeddate: string;
|
87
|
+
curation: string;
|
88
|
+
};
|
89
|
+
server: string;
|
90
|
+
uniq: number;
|
91
|
+
workable_servers: string[];
|
92
|
+
};
|
93
|
+
created: number;
|
94
|
+
d1: string;
|
95
|
+
d2: string;
|
96
|
+
dir: string;
|
97
|
+
files: ({
|
98
|
+
name: string;
|
99
|
+
source: string;
|
100
|
+
md5: string;
|
101
|
+
format: string;
|
102
|
+
mtime: string;
|
103
|
+
crc32: string;
|
104
|
+
sha1: string;
|
105
|
+
size: number;
|
106
|
+
original?: undefined;
|
107
|
+
btih?: undefined;
|
108
|
+
} | {
|
109
|
+
name: string;
|
110
|
+
source: string;
|
111
|
+
md5: string;
|
112
|
+
format: string;
|
113
|
+
mtime: string;
|
114
|
+
crc32: string;
|
115
|
+
sha1: string;
|
116
|
+
original: string;
|
117
|
+
size: number;
|
118
|
+
btih?: undefined;
|
119
|
+
} | {
|
120
|
+
name: string;
|
121
|
+
source: string;
|
122
|
+
btih: string;
|
123
|
+
md5: string;
|
124
|
+
format: string;
|
125
|
+
mtime: string;
|
126
|
+
crc32: string;
|
127
|
+
sha1: string;
|
128
|
+
size: number;
|
129
|
+
original?: undefined;
|
130
|
+
} | {
|
131
|
+
name: string;
|
132
|
+
source: string;
|
133
|
+
md5: string;
|
134
|
+
format: string;
|
135
|
+
mtime?: undefined;
|
136
|
+
crc32?: undefined;
|
137
|
+
sha1?: undefined;
|
138
|
+
size?: undefined;
|
139
|
+
original?: undefined;
|
140
|
+
btih?: undefined;
|
141
|
+
})[];
|
142
|
+
files_count: number;
|
143
|
+
item_last_updated: number;
|
144
|
+
item_size: number;
|
145
|
+
metadata: {
|
146
|
+
rawMetadata: {
|
147
|
+
identifier: string;
|
148
|
+
mediatype: string;
|
149
|
+
collection: string[];
|
150
|
+
description: string;
|
151
|
+
scanner: string;
|
152
|
+
subject: string;
|
153
|
+
title: string;
|
154
|
+
uploader: string;
|
155
|
+
publicdate: string;
|
156
|
+
addeddate: string;
|
157
|
+
curation: string;
|
158
|
+
};
|
159
|
+
identifier: string;
|
160
|
+
addeddate: {
|
161
|
+
values: string[];
|
162
|
+
parser: {};
|
163
|
+
rawValue: string;
|
164
|
+
};
|
165
|
+
publicdate: {
|
166
|
+
values: string[];
|
167
|
+
parser: {};
|
168
|
+
rawValue: string;
|
169
|
+
};
|
170
|
+
collection: {
|
171
|
+
values: string[];
|
172
|
+
parser: {};
|
173
|
+
rawValue: string[];
|
174
|
+
};
|
175
|
+
description: {
|
176
|
+
values: string[];
|
177
|
+
parser: {};
|
178
|
+
rawValue: string;
|
179
|
+
};
|
180
|
+
mediatype: {
|
181
|
+
values: string[];
|
182
|
+
parser: {};
|
183
|
+
rawValue: string;
|
184
|
+
};
|
185
|
+
scanner: {
|
186
|
+
values: string[];
|
187
|
+
parser: {};
|
188
|
+
rawValue: string;
|
189
|
+
};
|
190
|
+
subject: {
|
191
|
+
values: string[];
|
192
|
+
parser: {};
|
193
|
+
rawValue: string;
|
194
|
+
};
|
195
|
+
title: {
|
196
|
+
values: string[];
|
197
|
+
parser: {};
|
198
|
+
rawValue: string;
|
199
|
+
};
|
200
|
+
uploader: {
|
201
|
+
values: string[];
|
202
|
+
parser: {};
|
203
|
+
rawValue: string;
|
204
|
+
};
|
205
|
+
};
|
206
|
+
server: string;
|
207
|
+
uniq: number;
|
208
|
+
workable_servers: string[];
|
209
|
+
};
|
210
|
+
export default _default;
|