corpushub-design-system 0.0.23 → 0.1.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/configs/Localization.js +2 -0
- package/dist/configs/localization/ParserRuleGroupsTexts.d.ts +53 -0
- package/dist/configs/localization/ParserRuleGroupsTexts.js +53 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupItem.d.ts +9 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupItem.js +18 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupsEditor.d.ts +17 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupsEditor.js +129 -0
- package/dist/features/ParserRuleGroups/index.d.ts +2 -0
- package/dist/features/ParserRuleGroups/index.js +2 -0
- package/dist/features/ParserRuleGroups/style.scss +81 -0
- package/dist/features/index.d.ts +2 -0
- package/dist/features/index.js +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import { HistoryTexts } from "./localization/HistoryTexts";
|
|
|
14
14
|
import { SentenceTexts } from "./localization/SentenceTexts";
|
|
15
15
|
import { ConlluGraphTexts } from "./localization/ConlluGraphTexts";
|
|
16
16
|
import { ExportTexts } from "./localization/ExportTexts";
|
|
17
|
+
import { ParserRuleGroupsTexts } from "./localization/ParserRuleGroupsTexts";
|
|
17
18
|
import { TreeTexts } from "./localization/TreeTexts";
|
|
18
19
|
import { UploadTexts } from "./localization/UploadTexts";
|
|
19
20
|
function buildResources(namespaces) {
|
|
@@ -37,6 +38,7 @@ const FEATURE_NAMESPACES = {
|
|
|
37
38
|
comments: CommentsTexts,
|
|
38
39
|
'conllu-graph': ConlluGraphTexts,
|
|
39
40
|
'corpus-owner': CorpusOwnerTexts,
|
|
41
|
+
'parser-rule-groups': ParserRuleGroupsTexts,
|
|
40
42
|
tree: TreeTexts,
|
|
41
43
|
sentence: SentenceTexts,
|
|
42
44
|
history: HistoryTexts,
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const ParserRuleGroupsTexts: {
|
|
2
|
+
en: {
|
|
3
|
+
'label.title': string;
|
|
4
|
+
'table.column.rule': string;
|
|
5
|
+
'table.column.group': string;
|
|
6
|
+
'menu.import': string;
|
|
7
|
+
'menu.export': string;
|
|
8
|
+
'menu.load.defaults': string;
|
|
9
|
+
'menu.close': string;
|
|
10
|
+
'modal.import.title': string;
|
|
11
|
+
'placeholder.input': string;
|
|
12
|
+
'button.save.row': string;
|
|
13
|
+
'button.cancel.row': string;
|
|
14
|
+
'button.edit.row': string;
|
|
15
|
+
'button.delete.row': string;
|
|
16
|
+
'button.add.row': string;
|
|
17
|
+
'default.group.name': string;
|
|
18
|
+
};
|
|
19
|
+
'pt-BR': {
|
|
20
|
+
'label.title': string;
|
|
21
|
+
'table.column.rule': string;
|
|
22
|
+
'table.column.group': string;
|
|
23
|
+
'menu.import': string;
|
|
24
|
+
'menu.export': string;
|
|
25
|
+
'menu.load.defaults': string;
|
|
26
|
+
'menu.close': string;
|
|
27
|
+
'modal.import.title': string;
|
|
28
|
+
'placeholder.input': string;
|
|
29
|
+
'button.save.row': string;
|
|
30
|
+
'button.cancel.row': string;
|
|
31
|
+
'button.edit.row': string;
|
|
32
|
+
'button.delete.row': string;
|
|
33
|
+
'button.add.row': string;
|
|
34
|
+
'default.group.name': string;
|
|
35
|
+
};
|
|
36
|
+
it: {
|
|
37
|
+
'label.title': string;
|
|
38
|
+
'table.column.rule': string;
|
|
39
|
+
'table.column.group': string;
|
|
40
|
+
'menu.import': string;
|
|
41
|
+
'menu.export': string;
|
|
42
|
+
'menu.load.defaults': string;
|
|
43
|
+
'menu.close': string;
|
|
44
|
+
'modal.import.title': string;
|
|
45
|
+
'placeholder.input': string;
|
|
46
|
+
'button.save.row': string;
|
|
47
|
+
'button.cancel.row': string;
|
|
48
|
+
'button.edit.row': string;
|
|
49
|
+
'button.delete.row': string;
|
|
50
|
+
'button.add.row': string;
|
|
51
|
+
'default.group.name': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export const ParserRuleGroupsTexts = {
|
|
2
|
+
en: {
|
|
3
|
+
'label.title': 'Parser rule groups',
|
|
4
|
+
'table.column.rule': 'Rule',
|
|
5
|
+
'table.column.group': 'Group',
|
|
6
|
+
'menu.import': 'Import groups',
|
|
7
|
+
'menu.export': 'Export groups',
|
|
8
|
+
'menu.load.defaults': 'Load parser defaults',
|
|
9
|
+
'menu.close': 'Close',
|
|
10
|
+
'modal.import.title': 'Import groups',
|
|
11
|
+
'placeholder.input': 'Group name',
|
|
12
|
+
'button.save.row': 'Save',
|
|
13
|
+
'button.cancel.row': 'Cancel',
|
|
14
|
+
'button.edit.row': 'Edit',
|
|
15
|
+
'button.delete.row': 'Delete',
|
|
16
|
+
'button.add.row': 'Add',
|
|
17
|
+
'default.group.name': 'new group',
|
|
18
|
+
},
|
|
19
|
+
'pt-BR': {
|
|
20
|
+
'label.title': 'Grupos de regras do parser',
|
|
21
|
+
'table.column.rule': 'Regra',
|
|
22
|
+
'table.column.group': 'Grupo',
|
|
23
|
+
'menu.import': 'Importar grupos',
|
|
24
|
+
'menu.export': 'Exportar grupos',
|
|
25
|
+
'menu.load.defaults': 'Carregar padrões do parser',
|
|
26
|
+
'menu.close': 'Fechar',
|
|
27
|
+
'modal.import.title': 'Importar grupos',
|
|
28
|
+
'placeholder.input': 'Nome do grupo',
|
|
29
|
+
'button.save.row': 'Salvar',
|
|
30
|
+
'button.cancel.row': 'Cancelar',
|
|
31
|
+
'button.edit.row': 'Editar',
|
|
32
|
+
'button.delete.row': 'Excluir',
|
|
33
|
+
'button.add.row': 'Adicionar',
|
|
34
|
+
'default.group.name': 'novo grupo',
|
|
35
|
+
},
|
|
36
|
+
it: {
|
|
37
|
+
'label.title': 'Gruppi di regole del parser',
|
|
38
|
+
'table.column.rule': 'Regola',
|
|
39
|
+
'table.column.group': 'Gruppo',
|
|
40
|
+
'menu.import': 'Importa gruppi',
|
|
41
|
+
'menu.export': 'Esporta gruppi',
|
|
42
|
+
'menu.load.defaults': 'Carica predefiniti del parser',
|
|
43
|
+
'menu.close': 'Chiudi',
|
|
44
|
+
'modal.import.title': 'Importa gruppi',
|
|
45
|
+
'placeholder.input': 'Nome del gruppo',
|
|
46
|
+
'button.save.row': 'Salva',
|
|
47
|
+
'button.cancel.row': 'Annulla',
|
|
48
|
+
'button.edit.row': 'Modifica',
|
|
49
|
+
'button.delete.row': 'Elimina',
|
|
50
|
+
'button.add.row': 'Aggiungi',
|
|
51
|
+
'default.group.name': 'nuovo gruppo',
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type ParserRuleGroupItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
group?: string;
|
|
5
|
+
};
|
|
6
|
+
/** Build the persisted map (rule id → group name) from items that have a group. */
|
|
7
|
+
export declare function toParserRuleGroupsMap(items: ParserRuleGroupItem[]): Record<string, string>;
|
|
8
|
+
/** Apply a groups map onto items; missing keys clear the group. */
|
|
9
|
+
export declare function applyParserRuleGroupsMap(items: ParserRuleGroupItem[], groups: Record<string, string>): ParserRuleGroupItem[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Build the persisted map (rule id → group name) from items that have a group. */
|
|
2
|
+
export function toParserRuleGroupsMap(items) {
|
|
3
|
+
return items
|
|
4
|
+
.filter((item) => item.group)
|
|
5
|
+
.reduce((acc, item) => {
|
|
6
|
+
acc[item.id] = item.group || '';
|
|
7
|
+
return acc;
|
|
8
|
+
}, {});
|
|
9
|
+
}
|
|
10
|
+
/** Apply a groups map onto items; missing keys clear the group. */
|
|
11
|
+
export function applyParserRuleGroupsMap(items, groups) {
|
|
12
|
+
return items.map((item) => {
|
|
13
|
+
if (Object.prototype.hasOwnProperty.call(groups, item.id)) {
|
|
14
|
+
return { ...item, group: groups[item.id] };
|
|
15
|
+
}
|
|
16
|
+
return { ...item, group: undefined };
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DropdownMenuItem } from '../../primitives';
|
|
2
|
+
import { type ParserRuleGroupItem } from './ParserRuleGroupItem';
|
|
3
|
+
import './style.scss';
|
|
4
|
+
export type ParserRuleGroupsEditorProps = {
|
|
5
|
+
items: ParserRuleGroupItem[];
|
|
6
|
+
onChange: (items: ParserRuleGroupItem[]) => void;
|
|
7
|
+
/** Persist committed group changes (row save, delete, import). */
|
|
8
|
+
onSave: (items: ParserRuleGroupItem[]) => void;
|
|
9
|
+
title?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
exportFileName?: string;
|
|
12
|
+
/** Extra card menu actions (e.g. load defaults in revision). */
|
|
13
|
+
extraOptions?: DropdownMenuItem[];
|
|
14
|
+
/** When set (e.g. revision modal), adds a Close item to the card menu. */
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
};
|
|
17
|
+
export default function ParserRuleGroupsEditor({ items, onChange, onSave, title, className, exportFileName, extraOptions, onClose, }: ParserRuleGroupsEditorProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import cx from 'classnames';
|
|
3
|
+
import { saveAs } from 'file-saver';
|
|
4
|
+
import { useState } from 'react';
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
6
|
+
import AppCard from '../../common/AppCard/AppCard';
|
|
7
|
+
import AppDropzoneLocal from '../../common/AppDropzoneLocal';
|
|
8
|
+
import { Button, IconButton } from '../../primitives';
|
|
9
|
+
import { applyParserRuleGroupsMap, toParserRuleGroupsMap, } from './ParserRuleGroupItem';
|
|
10
|
+
import './style.scss';
|
|
11
|
+
const JSON_ACCEPT = {
|
|
12
|
+
'application/json': ['.json'],
|
|
13
|
+
'text/plain': ['.json'],
|
|
14
|
+
};
|
|
15
|
+
export default function ParserRuleGroupsEditor({ items, onChange, onSave, title, className, exportFileName = 'parser-rule-groups.json', extraOptions = [], onClose, }) {
|
|
16
|
+
const { t } = useTranslation('parser-rule-groups');
|
|
17
|
+
const [drafts, setDrafts] = useState({});
|
|
18
|
+
const [openImport, setOpenImport] = useState(false);
|
|
19
|
+
const isEditing = (line) => Object.prototype.hasOwnProperty.call(drafts, line.id);
|
|
20
|
+
const commit = (next) => {
|
|
21
|
+
onChange(next);
|
|
22
|
+
onSave(next);
|
|
23
|
+
};
|
|
24
|
+
const handleChange = (item, value) => {
|
|
25
|
+
const idx = items.findIndex((s) => s.id === item.id);
|
|
26
|
+
if (idx < 0)
|
|
27
|
+
return;
|
|
28
|
+
commit([
|
|
29
|
+
...items.slice(0, idx),
|
|
30
|
+
{ ...item, group: value || undefined },
|
|
31
|
+
...items.slice(idx + 1),
|
|
32
|
+
]);
|
|
33
|
+
};
|
|
34
|
+
const getDraft = (line) => drafts[line.id] !== undefined ? drafts[line.id] : line.group || '';
|
|
35
|
+
const startEdit = (line, initial) => {
|
|
36
|
+
setDrafts((prev) => ({ ...prev, [line.id]: initial }));
|
|
37
|
+
};
|
|
38
|
+
const clearDraft = (line) => {
|
|
39
|
+
setDrafts((prev) => {
|
|
40
|
+
const next = { ...prev };
|
|
41
|
+
delete next[line.id];
|
|
42
|
+
return next;
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
const handleGroupSave = (line) => {
|
|
46
|
+
const value = getDraft(line).trim();
|
|
47
|
+
handleChange(line, value || undefined);
|
|
48
|
+
clearDraft(line);
|
|
49
|
+
};
|
|
50
|
+
const handleGroupCancel = (line) => {
|
|
51
|
+
clearDraft(line);
|
|
52
|
+
};
|
|
53
|
+
const handleAdd = (line) => {
|
|
54
|
+
startEdit(line, t('default.group.name'));
|
|
55
|
+
};
|
|
56
|
+
const handleEdit = (line) => {
|
|
57
|
+
startEdit(line, line.group || '');
|
|
58
|
+
};
|
|
59
|
+
const handleDelete = (line) => {
|
|
60
|
+
handleChange(line);
|
|
61
|
+
clearDraft(line);
|
|
62
|
+
};
|
|
63
|
+
const handleExport = () => {
|
|
64
|
+
const blob = new Blob([JSON.stringify(toParserRuleGroupsMap(items))], {
|
|
65
|
+
type: 'application/json;charset=utf-8',
|
|
66
|
+
});
|
|
67
|
+
saveAs(blob, exportFileName);
|
|
68
|
+
};
|
|
69
|
+
const handleImportSuccess = (files) => {
|
|
70
|
+
const content = files[0]?.content;
|
|
71
|
+
if (!content) {
|
|
72
|
+
setOpenImport(false);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
let groups;
|
|
76
|
+
try {
|
|
77
|
+
groups = JSON.parse(content);
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
console.error('Failed to parse imported groups:', error);
|
|
81
|
+
setOpenImport(false);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
commit(applyParserRuleGroupsMap(items, groups));
|
|
85
|
+
setDrafts({});
|
|
86
|
+
setOpenImport(false);
|
|
87
|
+
};
|
|
88
|
+
const menuOptions = [
|
|
89
|
+
{
|
|
90
|
+
icon: 'upload',
|
|
91
|
+
label: t('menu.import'),
|
|
92
|
+
onClick: () => setOpenImport(true),
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
icon: 'download',
|
|
96
|
+
label: t('menu.export'),
|
|
97
|
+
onClick: handleExport,
|
|
98
|
+
},
|
|
99
|
+
...extraOptions,
|
|
100
|
+
...(onClose
|
|
101
|
+
? [
|
|
102
|
+
{
|
|
103
|
+
icon: 'close',
|
|
104
|
+
label: t('menu.close'),
|
|
105
|
+
onClick: onClose,
|
|
106
|
+
},
|
|
107
|
+
]
|
|
108
|
+
: []),
|
|
109
|
+
];
|
|
110
|
+
const renderGroupCell = (line) => {
|
|
111
|
+
if (isEditing(line)) {
|
|
112
|
+
return (_jsxs("div", { className: "group-edit", children: [_jsx("input", { type: "text", className: "group-name-input", value: getDraft(line), onChange: (e) => setDrafts((prev) => ({ ...prev, [line.id]: e.target.value })), placeholder: t('placeholder.input'), "aria-label": t('placeholder.input'), autoFocus: true }), _jsx(Button, { text: t('button.save.row'), size: "x-small", onClick: () => handleGroupSave(line) })] }));
|
|
113
|
+
}
|
|
114
|
+
if (line.group) {
|
|
115
|
+
return _jsx("span", { className: "group-name", children: line.group });
|
|
116
|
+
}
|
|
117
|
+
return null;
|
|
118
|
+
};
|
|
119
|
+
const renderActions = (line) => {
|
|
120
|
+
if (isEditing(line)) {
|
|
121
|
+
return (_jsx(IconButton, { name: "close", size: "small", title: t('button.cancel.row'), onClick: () => handleGroupCancel(line) }));
|
|
122
|
+
}
|
|
123
|
+
if (line.group) {
|
|
124
|
+
return (_jsxs("div", { className: "group-actions", children: [_jsx(IconButton, { name: "edit", size: "small", title: t('button.edit.row'), onClick: () => handleEdit(line) }), _jsx(IconButton, { name: "delete", size: "small", color: "danger", title: t('button.delete.row'), onClick: () => handleDelete(line) })] }));
|
|
125
|
+
}
|
|
126
|
+
return (_jsx(IconButton, { name: "add", size: "small", title: t('button.add.row'), onClick: () => handleAdd(line) }));
|
|
127
|
+
};
|
|
128
|
+
return (_jsxs(_Fragment, { children: [_jsx(AppCard, { title: title ?? t('label.title'), className: cx('ds-parser-rule-groups', className), options: menuOptions, children: _jsxs("table", { className: "table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("td", { width: "55%", children: t('table.column.rule') }), _jsx("td", { width: "45%", children: t('table.column.group') }), _jsx("td", { children: "\u00A0" })] }) }), _jsx("tbody", { children: items.map((line) => (_jsxs("tr", { children: [_jsx("td", { children: line.label }), _jsx("td", { children: renderGroupCell(line) }), _jsx("td", { children: renderActions(line) })] }, line.id))) })] }) }), openImport && (_jsx(AppDropzoneLocal, { accept: JSON_ACCEPT, title: t('modal.import.title'), onClose: () => setOpenImport(false), onSuccess: handleImportSuccess }))] }));
|
|
129
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.ds-parser-rule-groups {
|
|
2
|
+
.ds-app-card-body,
|
|
3
|
+
.body {
|
|
4
|
+
overflow: auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.table {
|
|
8
|
+
width: 100%;
|
|
9
|
+
border-collapse: collapse;
|
|
10
|
+
|
|
11
|
+
> thead {
|
|
12
|
+
> tr {
|
|
13
|
+
> td {
|
|
14
|
+
border-bottom: 1px solid var(--border-accent-2);
|
|
15
|
+
padding: 8px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
> tbody {
|
|
21
|
+
> tr {
|
|
22
|
+
> td {
|
|
23
|
+
border-bottom: 1px solid var(--border-subtle-2);
|
|
24
|
+
padding: 8px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.group-name {
|
|
31
|
+
display: inline-block;
|
|
32
|
+
max-width: 100%;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.group-edit {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: var(--spacing-100);
|
|
42
|
+
min-width: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.group-actions {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: var(--spacing-50, 4px);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.group-name-input {
|
|
52
|
+
flex: 1;
|
|
53
|
+
min-width: 0;
|
|
54
|
+
max-width: 220px;
|
|
55
|
+
height: 32px;
|
|
56
|
+
padding: 0 12px;
|
|
57
|
+
border: 1px solid var(--border-accent-2, #eaeaeb);
|
|
58
|
+
border-radius: 4px;
|
|
59
|
+
background: var(--surface-primary, #fff);
|
|
60
|
+
color: var(--text-primary);
|
|
61
|
+
font: inherit;
|
|
62
|
+
font-size: 14px;
|
|
63
|
+
line-height: 1.2;
|
|
64
|
+
outline: none;
|
|
65
|
+
transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
|
|
66
|
+
|
|
67
|
+
&::placeholder {
|
|
68
|
+
color: var(--text-placeholder);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
border-color: var(--border-accent-1, #c8c8cb);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:focus {
|
|
76
|
+
border-color: var(--border-focus, var(--color-accent, #3d5a80));
|
|
77
|
+
box-shadow: 0 0 0 2px
|
|
78
|
+
color-mix(in srgb, var(--color-accent, #3d5a80) 25%, transparent);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
package/dist/features/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export { AccessUsers, AccessUser, AccessGrant, AccessControlService, EMPTY_ACCES
|
|
|
8
8
|
export type { AccessUsersProps, AccessUsersFilter, AccessResponse, UserAccessRequest, UserAccessResponse, CorpusGroup, CorpusGroupRole, CorpusGroupStatus, PortalInformation, PortalInformationRequest, PortalRole, } from "./AccessControl";
|
|
9
9
|
export { CorpusOwner } from "./CorpusOwner";
|
|
10
10
|
export type { CorpusOwnerProps, CorpusOwnerUser } from "./CorpusOwner";
|
|
11
|
+
export { ParserRuleGroupsEditor, applyParserRuleGroupsMap, toParserRuleGroupsMap, } from "./ParserRuleGroups";
|
|
12
|
+
export type { ParserRuleGroupsEditorProps, ParserRuleGroupItem, } from "./ParserRuleGroups";
|
|
11
13
|
export { default as SentenceView } from "./SentenceView";
|
|
12
14
|
export { default as TreeView } from "./TreeView";
|
|
13
15
|
export { default as ConlluGraphViewer } from "./ConlluGraphViewer";
|
package/dist/features/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export { default as CommentService } from "./Comments/CommentService";
|
|
|
4
4
|
export { BackupTable, BackupRestore, BackupService, EMPTY_BACKUP_SEARCH_FILTER, } from "./Backup";
|
|
5
5
|
export { AccessUsers, AccessUser, AccessGrant, AccessControlService, EMPTY_ACCESS_SEARCH_FILTER, EMPTY_PORTAL, PortalRoleName, } from "./AccessControl";
|
|
6
6
|
export { CorpusOwner } from "./CorpusOwner";
|
|
7
|
+
export { ParserRuleGroupsEditor, applyParserRuleGroupsMap, toParserRuleGroupsMap, } from "./ParserRuleGroups";
|
|
7
8
|
export { default as SentenceView } from "./SentenceView";
|
|
8
9
|
export { default as TreeView } from "./TreeView";
|
|
9
10
|
export { default as ConlluGraphViewer } from "./ConlluGraphViewer";
|