nopaque/app/static/js/CorpusAnalysis/QueryBuilder.js

20 lines
687 B
JavaScript
Raw Normal View History

2022-07-13 12:06:22 +00:00
class ConcordanceQueryBuilder {
2022-09-07 07:06:21 +00:00
constructor() {
2023-08-02 12:14:46 +00:00
this.elements = new ElementReferencesQueryBuilder();
this.generalFunctions = new GeneralFunctionsQueryBuilder(this.elements);
this.tokenAttributeBuilderFunctions = new TokenAttributeBuilderFunctionsQueryBuilder(this.elements);
this.structuralAttributeBuilderFunctions = new StructuralAttributeBuilderFunctionsQueryBuilder(this.elements);
2022-09-07 07:06:21 +00:00
this.elements.positionalAttrModal = M.Modal.init(
2023-08-08 14:00:30 +00:00
document.querySelector('#corpus-analysis-concordance-positional-attr-modal'),
2023-07-25 12:56:07 +00:00
{
onOpenStart: () => {
this.tokenAttributeBuilderFunctions.optionToggleHandler();
2023-07-25 12:56:07 +00:00
}
}
);
2022-09-07 07:06:21 +00:00
}
2022-07-13 12:06:22 +00:00
}