tycho-components 0.2.2-SNAPSHOT-12 → 0.2.2-SNAPSHOT-14

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.
@@ -22,7 +22,14 @@ export default function TreeView({ struct, expression, onExpand, selector = 'can
22
22
  element.innerHTML = '';
23
23
  if (!struct)
24
24
  return;
25
- const tree = new CytoscapeTreeConverter().execute(struct, showInfo);
25
+ let tree;
26
+ try {
27
+ tree = new CytoscapeTreeConverter().execute(struct, showInfo);
28
+ }
29
+ catch (e) {
30
+ setInvalid(true);
31
+ return;
32
+ }
26
33
  if (!tree) {
27
34
  setInvalid(true);
28
35
  return;
@@ -161,6 +161,9 @@ export declare const commonResources: {
161
161
  'label.tag': string;
162
162
  'label.morphemes': string;
163
163
  'label.empty': string;
164
+ 'label.tier.original': string;
165
+ 'label.tier.junction': string;
166
+ 'label.tier.segmentation': string;
164
167
  'label.tier.spelling': string;
165
168
  'label.tier.expansion': string;
166
169
  'label.tier.correction': string;
@@ -329,6 +332,9 @@ export declare const commonResources: {
329
332
  'label.tag': string;
330
333
  'label.morphemes': string;
331
334
  'label.empty': string;
335
+ 'label.tier.original': string;
336
+ 'label.tier.junction': string;
337
+ 'label.tier.segmentation': string;
332
338
  'label.tier.spelling': string;
333
339
  'label.tier.expansion': string;
334
340
  'label.tier.correction': string;
@@ -508,6 +514,9 @@ export declare const commonResources: {
508
514
  'label.tag': string;
509
515
  'label.morphemes': string;
510
516
  'label.empty': string;
517
+ 'label.tier.original': string;
518
+ 'label.tier.junction': string;
519
+ 'label.tier.segmentation': string;
511
520
  'label.tier.spelling': string;
512
521
  'label.tier.expansion': string;
513
522
  'label.tier.correction': string;
@@ -5,6 +5,9 @@ export declare const SentenceTexts: {
5
5
  'label.tag': string;
6
6
  'label.morphemes': string;
7
7
  'label.empty': string;
8
+ 'label.tier.original': string;
9
+ 'label.tier.junction': string;
10
+ 'label.tier.segmentation': string;
8
11
  'label.tier.spelling': string;
9
12
  'label.tier.expansion': string;
10
13
  'label.tier.correction': string;
@@ -20,6 +23,9 @@ export declare const SentenceTexts: {
20
23
  'label.tag': string;
21
24
  'label.morphemes': string;
22
25
  'label.empty': string;
26
+ 'label.tier.original': string;
27
+ 'label.tier.junction': string;
28
+ 'label.tier.segmentation': string;
23
29
  'label.tier.spelling': string;
24
30
  'label.tier.expansion': string;
25
31
  'label.tier.correction': string;
@@ -35,6 +41,9 @@ export declare const SentenceTexts: {
35
41
  'label.tag': string;
36
42
  'label.morphemes': string;
37
43
  'label.empty': string;
44
+ 'label.tier.original': string;
45
+ 'label.tier.junction': string;
46
+ 'label.tier.segmentation': string;
38
47
  'label.tier.spelling': string;
39
48
  'label.tier.expansion': string;
40
49
  'label.tier.correction': string;
@@ -5,6 +5,9 @@ export const SentenceTexts = {
5
5
  'label.tag': 'Tag',
6
6
  'label.morphemes': 'Morphemes',
7
7
  'label.empty': '-',
8
+ 'label.tier.original': 'original',
9
+ 'label.tier.junction': 'junction',
10
+ 'label.tier.segmentation': 'segmentation',
8
11
  'label.tier.spelling': 'spelling',
9
12
  'label.tier.expansion': 'expansion',
10
13
  'label.tier.correction': 'correction',
@@ -20,6 +23,9 @@ export const SentenceTexts = {
20
23
  'label.tag': 'Etiqueta',
21
24
  'label.morphemes': 'Morfemas',
22
25
  'label.empty': '-',
26
+ 'label.tier.original': 'original',
27
+ 'label.tier.junction': 'junção',
28
+ 'label.tier.segmentation': 'segmentação',
23
29
  'label.tier.spelling': 'grafia',
24
30
  'label.tier.expansion': 'expansão',
25
31
  'label.tier.correction': 'correção',
@@ -35,6 +41,9 @@ export const SentenceTexts = {
35
41
  'label.tag': 'Etichetta',
36
42
  'label.morphemes': 'Morfemi',
37
43
  'label.empty': '-',
44
+ 'label.tier.original': 'originale',
45
+ 'label.tier.junction': 'giunzione',
46
+ 'label.tier.segmentation': 'segmentazione',
38
47
  'label.tier.spelling': 'ortografia',
39
48
  'label.tier.expansion': 'espansione',
40
49
  'label.tier.correction': 'correzione',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.2.2-SNAPSHOT-12",
4
+ "version": "0.2.2-SNAPSHOT-14",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {